From patchwork Wed Jan 30 01:24:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Ungerer X-Patchwork-Id: 10787477 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 96A3A1390 for ; Wed, 30 Jan 2019 01:24:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 86C2E2C97C for ; Wed, 30 Jan 2019 01:24:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7AD462C980; Wed, 30 Jan 2019 01:24:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2DDF52C97C for ; Wed, 30 Jan 2019 01:24:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=wM44kg6RTYJqHUxFlXdh5upN+57/jFbXM2QUk/KmOd8=; b=gGALLxQQPC7/ElPraSCmWGiOra 3q9wTEvq0+f2Nb0IHDsFxs/TBEEjbmKeGMOFOuOoD7J58hj7ZhfmXorZbbICVhy+ZJVWEGyWlLBfc ff2pU//H2E6veY6QJqNB0xNDdAA4LAtf8Agde7MzH0P1GG+62iiLKmgdL2BEgjK5kl/WwKVnXh2nb DmuvW6MFsYYAahjGCMqrNCH8XCjEEpo7O15Z7VRIVrPVCkecQcJ1UpDMqjt62Wz7gXRnW+S3fdrcq Oi+ZAr/ZOIK95VJTIu1lceq+M8h/H02W3dZKEHch+okPQN1WKnu4mSjbjwNt7q1h8vLlaUWHeA45L 02Aj1k9Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1goecO-0001IG-Qd; Wed, 30 Jan 2019 01:24:44 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1goecL-0001Gd-Os for linux-mediatek@lists.infradead.org; Wed, 30 Jan 2019 01:24:43 +0000 Received: from goober.digi.com (unknown [103.48.210.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2E5912175B; Wed, 30 Jan 2019 01:24:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548811481; bh=T+WkZ8b+qRj2Jw5j2bfR41c5SUHBaghxX7U2GhSEx8s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VArIQ66jqtVZLK2HQG64K/hELUBgA947R2mM3fvyZE3S8wvHPE5kA/UnbmUzfNJfy Cj/nGpiVqsr+EOIPFZTjAuGw8dB5JisRM3PLKs7jLms9P875iYtx/yMXLQaW4X/Gr3 VQEdSU8EA2QqbYvyNa9CMBUUFHRGwzsIBwJrjyy4= 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 Subject: [PATCHv4 3/3] dt-bindings: net: dsa: add new MT7530 binding to support MT7621 Date: Wed, 30 Jan 2019 11:24:06 +1000 Message-Id: <20190130012406.28271-4-gerg@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190130012406.28271-1-gerg@kernel.org> References: <20190130012406.28271-1-gerg@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190129_172442_030204_EC5498E3 X-CRM114-Status: UNSURE ( 9.36 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: neil@brown.name, Greg Ungerer , rene@vdorst.com, john@phrozen.org MIME-Version: 1.0 Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Greg Ungerer Add devicetree binding to support the compatible mt7530 switch as used in the MediaTek MT7621 SoC. Signed-off-by: Greg Ungerer Reviewed-by: Andrew Lunn Reviewed-by: Florian Fainelli Acked-by: Sean Wang --- 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