From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CC76BC282C7 for ; Wed, 30 Jan 2019 01:24:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8C7E72147A for ; Wed, 30 Jan 2019 01:24:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548811483; bh=T+WkZ8b+qRj2Jw5j2bfR41c5SUHBaghxX7U2GhSEx8s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=rQgFolCuDeMBFu7xOWb4fNT7N0XO4RPADVLlXNJQNG5xBUkC0Rnh19OclaHzNomap UYhZ2QTKp3dj1MgfEgRBNEzHybdV6LwSi9BQIV6jeYh2SRWMZyMann3U6f/ULJhvt6 aZjbCp4AyyQLa7mA/cl8fbFccL5s7iHuJuQSYJdI= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728798AbfA3BYm (ORCPT ); Tue, 29 Jan 2019 20:24:42 -0500 Received: from mail.kernel.org ([198.145.29.99]:42538 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727967AbfA3BYm (ORCPT ); Tue, 29 Jan 2019 20:24:42 -0500 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 Cc: rene@vdorst.com, john@phrozen.org, neil@brown.name, Greg Ungerer 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> Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org 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 --- 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