netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: gerg@kernel.org
To: sean.wang@mediatek.com, linux-mediatek@lists.infradead.org,
	bjorn@mork.no, andrew@lunn.ch,
	vivien.didelot@savoirfairelinux.com, f.fainelli@gmail.com,
	netdev@vger.kernel.org
Cc: rene@vdorst.com, john@phrozen.org, neil@brown.name,
	Greg Ungerer <gerg@kernel.org>
Subject: [PATCHv4 3/3] dt-bindings: net: dsa: add new MT7530 binding to support MT7621
Date: Wed, 30 Jan 2019 11:24:06 +1000	[thread overview]
Message-ID: <20190130012406.28271-4-gerg@kernel.org> (raw)
In-Reply-To: <20190130012406.28271-1-gerg@kernel.org>

From: Greg Ungerer <gerg@kernel.org>

Add devicetree binding to support the compatible mt7530 switch as used
in the MediaTek MT7621 SoC.

Signed-off-by: Greg Ungerer <gerg@kernel.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
---
 Documentation/devicetree/bindings/net/dsa/mt7530.txt | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

v1: initial patch
v2: use separate devicetree binding
v3: change text according to feedback, rebase onto 5.0-rc3
v4: rebase onto 5.0-rc4

diff --git a/Documentation/devicetree/bindings/net/dsa/mt7530.txt b/Documentation/devicetree/bindings/net/dsa/mt7530.txt
index aa3527f71fdc..47aa205ee0bd 100644
--- a/Documentation/devicetree/bindings/net/dsa/mt7530.txt
+++ b/Documentation/devicetree/bindings/net/dsa/mt7530.txt
@@ -3,12 +3,16 @@ Mediatek MT7530 Ethernet switch
 
 Required properties:
 
-- compatible: Must be compatible = "mediatek,mt7530";
+- compatible: may be compatible = "mediatek,mt7530"
+	or compatible = "mediatek,mt7621"
 - #address-cells: Must be 1.
 - #size-cells: Must be 0.
 - mediatek,mcm: Boolean; if defined, indicates that either MT7530 is the part
 	on multi-chip module belong to MT7623A has or the remotely standalone
 	chip as the function MT7623N reference board provided for.
+
+If compatible mediatek,mt7530 is set then the following properties are required
+
 - core-supply: Phandle to the regulator node necessary for the core power.
 - io-supply: Phandle to the regulator node necessary for the I/O power.
 	See Documentation/devicetree/bindings/regulator/mt6323-regulator.txt
-- 
2.17.1


  parent reply	other threads:[~2019-01-30  1:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-30  1:24 [PATCHv4 0/3]: net: dsa: mt7530: support MT7530 in the MT7621 SoC gerg
2019-01-30  1:24 ` [PATCHv4 1/3] net: ethernet: mediatek: support MT7621 SoC ethernet hardware gerg
2019-01-30  3:40   ` Florian Fainelli
2019-01-30  3:54     ` Sean Wang
2019-01-30  1:24 ` [PATCHv4 2/3] net: dsa: mt7530: support the 7530 switch on the Mediatek MT7621 SoC gerg
2019-01-30  3:39   ` Florian Fainelli
2019-01-30  3:55     ` Sean Wang
2019-01-30  1:24 ` gerg [this message]
2019-01-30  3:39   ` [PATCHv4 3/3] dt-bindings: net: dsa: add new MT7530 binding to support MT7621 Florian Fainelli
2019-01-30  3:54     ` Sean Wang
2019-01-30 22:30 ` [PATCHv4 0/3]: net: dsa: mt7530: support MT7530 in the MT7621 SoC David Miller

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=20190130012406.28271-4-gerg@kernel.org \
    --to=gerg@kernel.org \
    --cc=andrew@lunn.ch \
    --cc=bjorn@mork.no \
    --cc=f.fainelli@gmail.com \
    --cc=john@phrozen.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=neil@brown.name \
    --cc=netdev@vger.kernel.org \
    --cc=rene@vdorst.com \
    --cc=sean.wang@mediatek.com \
    --cc=vivien.didelot@savoirfairelinux.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).