Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp2038089pxb; Sun, 10 Jan 2021 21:49:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJy5dQoScL4VK6eeMOQ6kQtLeJGxSaGkxZ8UjN/c/7X0DdunBcUSANVJjU1MnGYGxX66u9y5 X-Received: by 2002:a50:84a9:: with SMTP id 38mr12774363edq.378.1610344176079; Sun, 10 Jan 2021 21:49:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610344176; cv=none; d=google.com; s=arc-20160816; b=mXp5UuwjE3cloGx/UayyIajgWovalrzC7oEUrkuyw9lnYkdwS5wwOW5p+kvXIY6IbW yyP3tya0BOliysn7kKJdhY2hIjWSFNkEyuDjGnQMYZmOcOnJ8tdF2u7y6Eia6ZEiTw2H uqG4weJZbUofsINFB7qQ6TIQSyfW6//ufT1CYAtB6rIdST+6LO/L6VhCUQRgtLQVpBhE 6DFimjr4TqZnJbFTO5fXpqVGc/3zvkiYzEXJTb2GNSKYyvHYFHM6Xg01yp7G+eCr4aS2 7kVmX7b9zcj+ffRldOQ9mxtQ2nBktu5pTqNn/c9O634qaEM8kVsSDco3Ch7vQ0/V4xXe 0weQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=hAuWqa9zlPPGWTNtjhAqXZcvz6sHDTbdxmpDtENLE64=; b=Ld+C+qIIXSLEoREbg4412SRsfdOWgjjDSZs93oWgUyXeWTiytJIFV9brx9ToSEX3sX Pi7NLG00M6Dlsj6dsqVpCARFU7s9RqL7h6zosil3KAeGEnGS6Tp7/HOSKccDG+2ie4Cx TVtdUbaPlVHiSU7QS88ENH6CUOrMW5qviXeeENM4lzbJ2tHIA9whZaYYkb4hkJF1j+4L BJ3fdkAuviw+Po5jXO1CF6lNzprzMLt4h8sFMWv20b0D4TkVJwbtb4evfFEriu42gjBd esbIl3jBWaYcRSVkJPIw0kX9RTBKPSwv2ekip6FPwxslpdcvGaX96Ylzkjtslt+KRqCt 22jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="rVbqmT/X"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q7si6784850edt.86.2021.01.10.21.49.12; Sun, 10 Jan 2021 21:49:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="rVbqmT/X"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727383AbhAKFpr (ORCPT + 99 others); Mon, 11 Jan 2021 00:45:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725957AbhAKFpq (ORCPT ); Mon, 11 Jan 2021 00:45:46 -0500 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 594FBC061794; Sun, 10 Jan 2021 21:45:06 -0800 (PST) Received: by mail-pj1-x1036.google.com with SMTP id f14so7106978pju.4; Sun, 10 Jan 2021 21:45:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hAuWqa9zlPPGWTNtjhAqXZcvz6sHDTbdxmpDtENLE64=; b=rVbqmT/X02rO8QBcLBtux6QeipDc3s5TLMhcnvsfAnV0FdYwRR4249B8XlG0gTcLYd c9ZL9CdNUraHUjRWCVo8yDXS3mIPiuqp7gkFcOBSStM3l8dnoIOfdUKJqYe9h0ladMAH VRWJSUALWmnPTCPXZZele6O3aQIwtlZqp/lGa6H5OLcaGaRMYOtbCneNSSghgma78Ux0 nFN4zeRq1Pq02ync4HzngCCIc1DiaVTqQr61kmqgd08oiTmig90ol8sU5G//3ImlRBr0 bVIiUwZ/z38PAoDYNijItNCO8q1+cbF3ShxzHfozfg22e4JDc2ig/QQ4UGa/+4OmAqER 67gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hAuWqa9zlPPGWTNtjhAqXZcvz6sHDTbdxmpDtENLE64=; b=rY9bhtsy/A2KylFy+lS7hFy0wV1Wx8IK2AIhih9PCOaFpGXiJXegqx7SmnCkOPd1gJ +zC9llv5IXG4EYtJNSzRQyCSnhSPGuid5oTSDSp8scUnazCS95vI7zoPEO3Wp96oT6O1 85FTYiq3f7ikPW+kty5kh4Xdg3EQG5yCFU/3ONDv5R9Z0Lps2tXUN0Vzi6N5zBv+VHkP sU3Q03c4RI6ZfFCP9Q74KjrFylT6112brlsg65mkG9GPjYfiaMnJL/VB+9ESgI9h/E5z Ge5kRpszoo6cgoVBJxI+T/Xt4d1mbUW0Fy/qB/HyrNmjT6fru9ct5LCFoueqBlv1PQbT 02fw== X-Gm-Message-State: AOAM530j+ZvB+R/ICGYmFMcPf5HJfscFUEZu6jFViP+b/PLDV3Bufs3P rzKc4fBdwSvWwHmPls5up/A= X-Received: by 2002:a17:90b:1894:: with SMTP id mn20mr16282586pjb.100.1610343905989; Sun, 10 Jan 2021 21:45:05 -0800 (PST) Received: from container-ubuntu.lan ([218.89.163.70]) by smtp.gmail.com with ESMTPSA id q16sm17548005pfg.139.2021.01.10.21.44.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Jan 2021 21:45:05 -0800 (PST) From: DENG Qingfang To: Andrew Lunn , Vivien Didelot , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Jakub Kicinski , Rob Herring , Matthias Brugger , Sean Wang , Landen Chao , Philipp Zabel , Russell King , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Frank Wunderlich , =?UTF-8?q?Ren=C3=A9=20van=20Dorst?= Subject: [PATCH net-next 1/2] dt-bindings: net: dsa: add MT7530 GPIO controller binding Date: Mon, 11 Jan 2021 13:44:27 +0800 Message-Id: <20210111054428.3273-2-dqfext@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210111054428.3273-1-dqfext@gmail.com> References: <20210111054428.3273-1-dqfext@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add device tree binding to support MT7530 GPIO controller. Signed-off-by: DENG Qingfang --- Documentation/devicetree/bindings/net/dsa/mt7530.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/net/dsa/mt7530.txt b/Documentation/devicetree/bindings/net/dsa/mt7530.txt index 560369efad6c..de04626a8e9d 100644 --- a/Documentation/devicetree/bindings/net/dsa/mt7530.txt +++ b/Documentation/devicetree/bindings/net/dsa/mt7530.txt @@ -76,6 +76,12 @@ phy-mode must be set, see also example 2 below! * mt7621: phy-mode = "rgmii-txid"; * mt7623: phy-mode = "rgmii"; +Optional properties: + +- gpio-controller: Boolean; if defined, MT7530's LED controller will run on + GPIO mode. +- #gpio-cells: Must be 2 if gpio-controller is defined. + See Documentation/devicetree/bindings/net/dsa/dsa.txt for a list of additional required, optional properties and how the integrated switch subnodes must be specified. -- 2.25.1