public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: Alexandre Belloni <alexandre.belloni@bootlin•com>
To: "David S . Miller" <davem@davemloft•net>
Cc: Alexandre Belloni <alexandre.belloni@bootlin•com>,
	netdev@vger•kernel.org, linux-kernel@vger•kernel.org,
	Vladimir Zapolskiy <vz@mleia•com>,
	Sylvain Lemieux <slemieux.tyco@gmail•com>,
	linux-arm-kernel@lists•infradead.org
Subject: [PATCH 1/2] dt-bindings: net: lpc-eth: document optional properties
Date: Thu, 10 Oct 2019 22:45:29 +0200	[thread overview]
Message-ID: <20191010204530.15150-1-alexandre.belloni@bootlin.com> (raw)

The Ethernet controller is also an mdio controller, to be able to parse
children (phys for example), #address-cells and #size-cells must be
present.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin•com>
---
 Documentation/devicetree/bindings/net/lpc-eth.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/lpc-eth.txt b/Documentation/devicetree/bindings/net/lpc-eth.txt
index b92e927808b6..53884555db05 100644
--- a/Documentation/devicetree/bindings/net/lpc-eth.txt
+++ b/Documentation/devicetree/bindings/net/lpc-eth.txt
@@ -9,6 +9,8 @@ Optional properties:
 - phy-mode: See ethernet.txt file in the same directory. If the property is
   absent, "rmii" is assumed.
 - use-iram: Use LPC32xx internal SRAM (IRAM) for DMA buffering
+- #address-cells: should be present when child phy is decribed. Must be 1.
+- #size-cells: should be present when child phy is decribed. Must be 0.
 
 Example:
 
-- 
2.21.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists•infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

             reply	other threads:[~2019-10-10 20:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-10 20:45 Alexandre Belloni [this message]
2019-10-10 20:45 ` [PATCH 2/2] net: lpc_eth: parse phy nodes from device tree Alexandre Belloni
2019-10-14 23:45   ` Andrew Lunn
2019-10-16  0:22   ` David Miller
2019-10-16 18:23   ` David Miller
2019-10-16 19:14     ` Alexandre Belloni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191010204530.15150-1-alexandre.belloni@bootlin.com \
    --to=alexandre.belloni@bootlin$(echo .)com \
    --cc=davem@davemloft$(echo .)net \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=slemieux.tyco@gmail$(echo .)com \
    --cc=vz@mleia$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox