Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2779846pxb; Sun, 24 Jan 2021 20:45:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJweincCBmhsR9CbdyqUK1xGrPTLZAV8Xa8hPcLoLMhgjej2K0Bt32m2QId/kf2OVZGZMc/u X-Received: by 2002:a05:6402:1c8b:: with SMTP id cy11mr831205edb.256.1611549952724; Sun, 24 Jan 2021 20:45:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611549952; cv=none; d=google.com; s=arc-20160816; b=UDq0bPmNeYNgQDsgKmVD+nbM/q4TNL1LdBPUYjaROqM8tQmNk3bPk49veZ4UVxSZSE 7rOO9/5PbZX/08FTJFdEeQ/5ddk8ssiTuqeNdKkAGNSQkOB0s1UfTn4h+RhsPxf7ol0M PfrOdG2URSwaUfayRZ56G8IeRB0B8ENByBhir/T4DZj8eqWuVat4eDPNEztyug868WtM UAcdJ875QmHOchajN7/ToYk4/gq2bbLAMrI93fGcBh4epl0tcGoAgcUgBX9/yNNcp4ku dhYHBbNOg/c0hxjnZkCcQ/aZyg96XuWYzs65cE8o1OuFWY1vgvmk+05K7qdSedoY9+OF c1cw== 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=T9bTASvod5sbvVwttrc2+CYFICW79RJZhXF8w04wT70=; b=Jef1S0qfs/RSgND38Eav1vQ5m4X3Oql3ZtrpC6Y6qbtMeywpNcjq4TYo8SrY91cXGJ CaVZBQo4W2OLcT0YlSodQOeGJDolLuB7GUj3QlCIF8yNhBvQRQdMQ+hBC9d7tvIHn+rA /vPY5zTy8YDtBbC1CGEBr+Yp//nRJxNGN9ZVnGszDcmz9rZsCwEam8zc4HSXTT2bZ3z8 j3l+dIwfW58X+2SSvSElh8ZDrH8HeAjrpDx8fcwlDOEvf6Sey968FVnH1FrHYNrRz46I kGXMCrS9w9AhX4nHtpPOYS58nYbBL86USYMo60LDn6prdzH1asTSvSloibzCHEfwTteM z5mQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YCSjHPhP; 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 bo15si6703317edb.320.2021.01.24.20.45.29; Sun, 24 Jan 2021 20:45:52 -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=YCSjHPhP; 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 S1727132AbhAYEo1 (ORCPT + 99 others); Sun, 24 Jan 2021 23:44:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726801AbhAYEoZ (ORCPT ); Sun, 24 Jan 2021 23:44:25 -0500 Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7769DC061574; Sun, 24 Jan 2021 20:43:45 -0800 (PST) Received: by mail-pf1-x42c.google.com with SMTP id w14so7697542pfi.2; Sun, 24 Jan 2021 20:43:45 -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=T9bTASvod5sbvVwttrc2+CYFICW79RJZhXF8w04wT70=; b=YCSjHPhPCUPD8tm7Dj9UBzRUCwjeZAiEG4V4XzUYSWKamjwHrWf0cIComjYQaDAL0d 4jYpBLKcAeb3yfxNeadJZjiQLq5JOfqZXO+p8J7suMLTsHAbCjRCzM2Jvc9M8duKQK/P N0uZY2iP2gcRh47De2AnBtNlScdKOM3dhMCrUlgLTBjfAxgP/agf/oT9aztb/u/EbBMp +0/WxaK6gSXmrPnqO5Rmy47k//TdJswKxJZVE/MrTtGDCBZFDyQVBi6xM1D4BXqr29WW EgwXCibdCzvDFgMG+2QCR4la+rci4DEsSOTqWW4oqEOazt8aO/8BEhCzuXnB9E9iub0F Q/rg== 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=T9bTASvod5sbvVwttrc2+CYFICW79RJZhXF8w04wT70=; b=RoiyWamzAlZazOKqfGDjwgAEVgLfUG1mvtJTtn83aAFJNqfRyIY1+lmp1EsjZ1RYjr J/q7ry4lG5F4TeBT2IWZkX8JEDsq4/C/03VZvi41z8Zarry/zvLq/LNfHXzbGzwMsg9I EUnR2QmM0ZhMHIBhGDxkuqhAY8PH7QKk+m2wrKbisXUv8FZc6cnKw89Srsjoaubl3gIq w8d8JPdp8weXm1aQdZuyRkMV6Ubgs/TUIlxuWbXdCHv6BRrGelZEZNcnoNP+IB9NQ2I7 h7Pxa+7ro3XGkEYzC3PVNySz6DaR0rPMXr/NSKhsAhWmspBxRTzGep3PThGZAUGrhqNh 9HAA== X-Gm-Message-State: AOAM530cZjcdd/FJyT2DUl2jbmf4uGkBJZgngi+A+Mb85yFmaXeks91E i+l6ilf98n55oC0s8kswrT0= X-Received: by 2002:a63:4f01:: with SMTP id d1mr129857pgb.279.1611549825010; Sun, 24 Jan 2021 20:43:45 -0800 (PST) Received: from container-ubuntu.lan ([171.211.26.203]) by smtp.gmail.com with ESMTPSA id h4sm11913369pfo.187.2021.01.24.20.43.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Jan 2021 20:43:44 -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 , Linus Walleij , Bartosz Golaszewski , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.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 v2 1/2] dt-bindings: net: dsa: add MT7530 GPIO controller binding Date: Mon, 25 Jan 2021 12:43:21 +0800 Message-Id: <20210125044322.6280-2-dqfext@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210125044322.6280-1-dqfext@gmail.com> References: <20210125044322.6280-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 --- Changes v1 -> v2: No changes. 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