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=-10.2 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,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 0D904C31D63 for ; Mon, 21 Jan 2019 07:12:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C5D48217F9 for ; Mon, 21 Jan 2019 07:12:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548054729; bh=uLmfaGbqSZ23dl9B1+wViW34AOiPfZaWD7CL5D/34lM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=ECE0Cxp1KHKSx+X3e2Lh7aFua+odlec9x4jkfagb9n/gjvY0ChQzhNg+CZuhb8vy/ 4qVW+y2vmuOcqjMMQ3//QL0nfwtBh9Wrk/vUehdaJlNaGdypVitd7kmI04xa9apUqZ V/jVffpJNIdXPpkyoOrsRSQQ0ldY6x9JBvTU9nMg= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727695AbfAUHMI (ORCPT ); Mon, 21 Jan 2019 02:12:08 -0500 Received: from mail.kernel.org ([198.145.29.99]:37038 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727556AbfAUHMI (ORCPT ); Mon, 21 Jan 2019 02:12:08 -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 8F269217F4; Mon, 21 Jan 2019 07:12:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548054727; bh=uLmfaGbqSZ23dl9B1+wViW34AOiPfZaWD7CL5D/34lM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nTkBHCbC0tUcjZGJVSoqvWqr7gCg7A6pG9PQMtOEusoRJfQoH7PH/jC2bu+RMgmRn +M8xasQzW/3NIfPP9eF6iS/I5zxTtuKPA6n7l2+Wt1hYBDSowTly/lLfhpllMX8fwg a+OEG8urM+QKhqx1WhlPcQsFrBV9Zv2n93up0phA= From: gerg@kernel.org To: sean.wang@mediatek.com, 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: [PATCHv3 3/3] dt-bindings: net: dsa: add new MT7530 binding to support MT7621 Date: Mon, 21 Jan 2019 17:11:40 +1000 Message-Id: <20190121071140.23089-4-gerg@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190121071140.23089-1-gerg@kernel.org> References: <20190121071140.23089-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 --- 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 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