From patchwork Thu Apr 19 07:24:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 133703 Delivered-To: patch@linaro.org Received: by 10.46.66.142 with SMTP id h14csp319040ljf; Thu, 19 Apr 2018 00:25:13 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+TcVw6QUBH6CarOkRh06KX0FBNdlHZg94rxIANtYSyxL4/tyFGLLxQoDHpXqUq0GnM+vYM X-Received: by 10.99.98.66 with SMTP id w63mr4122169pgb.377.1524122713263; Thu, 19 Apr 2018 00:25:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524122713; cv=none; d=google.com; s=arc-20160816; b=MXhgyx4ya/3sdvbmRGKr8EOH25vMxueDASh/aUE6LgD2dpiDZWDNduoXZCjL95Zr6u Yj3LaadIVVdOfKmnGeeyGqZpupZhC0pNJz8vklI1pKiZ0ddfg1LNNK/d/v8GbdHSHraZ +PJsACslLYsVwx4Za+HrFhB18z0ypr/ToATFtUchW0iFNkaE2iMkTBsydfuoR6GitK+a LvF1rlSLmg4Y4AcwroAHxZU3SlY1AV8nkHqthPpKDs92UamTSsgmuRJlrxuj6Jb9zozu 6s5Bd+pnkT7/H59qUApH722wCeTOejDp5VkryHikoeg2rnQ/WNa7X+WI+9fZS1D2tS9p aF6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=SC9V3PnDUv7h8o8ktHU/fI9pP3G+HPOwEwnz9WhRJcw=; b=tD7DSQbFA1k1nyFNFFZ22t69XMApKOL/4QjbYQfpFT6RiMtWtl9lr8w3tHdZuTZTzl AYM9gDAzHRAQtm5GfePO+RVgbMSF6pm4uuACU5qDBJLgoQzM2ObiNsl2yfEWvhpSFQBJ MC7LgUxgAFSa2m9Bo9ScpFDbXatuJACgYu2YCG3fW1ycXzsEtNWQc0i4aQq78Nwjm0eQ k9mwSP/EP41cUey2XAT9frw5Xy7Y7xZ0OH6ufBpIICLFVdoqkF8MTwpCYiVDqKgYm47c PvgrkmHWYq6btLBwnx0e7LpkAFuzQ4nHPasU4DC/GD13ifPRpazvdJosTauhHgD7I3Xw rGTg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k20-v6si2800107pll.569.2018.04.19.00.25.12; Thu, 19 Apr 2018 00:25:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752255AbeDSHZK (ORCPT + 6 others); Thu, 19 Apr 2018 03:25:10 -0400 Received: from mx.socionext.com ([202.248.49.38]:32897 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750732AbeDSHZI (ORCPT ); Thu, 19 Apr 2018 03:25:08 -0400 Received: from unknown (HELO kinkan-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 19 Apr 2018 16:25:07 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id A42A6180B67; Thu, 19 Apr 2018 16:25:07 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Thu, 19 Apr 2018 16:25:07 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan.css.socionext.com (Postfix) with ESMTP id 0D59F1A1279; Thu, 19 Apr 2018 16:25:07 +0900 (JST) From: Kunihiko Hayashi To: David Miller , netdev@vger.kernel.org Cc: Andrew Lunn , Florian Fainelli , Rob Herring , Mark Rutland , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Masahiro Yamada , Masami Hiramatsu , Jassi Brar , Kunihiko Hayashi Subject: [PATCH net-next v2 2/3] dt-bindings: net: ave: add syscon-phy-mode property to configure phy-mode setting Date: Thu, 19 Apr 2018 16:24:54 +0900 Message-Id: <1524122695-19597-3-git-send-email-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1524122695-19597-1-git-send-email-hayashi.kunihiko@socionext.com> References: <1524122695-19597-1-git-send-email-hayashi.kunihiko@socionext.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add "socionext,syscon-phy-mode" property to specify system controller that configures the settings about phy-mode. Signed-off-by: Kunihiko Hayashi Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/net/socionext,uniphier-ave4.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/devicetree/bindings/net/socionext,uniphier-ave4.txt b/Documentation/devicetree/bindings/net/socionext,uniphier-ave4.txt index 85e0c49..fc8f017 100644 --- a/Documentation/devicetree/bindings/net/socionext,uniphier-ave4.txt +++ b/Documentation/devicetree/bindings/net/socionext,uniphier-ave4.txt @@ -13,7 +13,8 @@ Required properties: - reg: Address where registers are mapped and size of region. - interrupts: Should contain the MAC interrupt. - phy-mode: See ethernet.txt in the same directory. Allow to choose - "rgmii", "rmii", or "mii" according to the PHY. + "rgmii", "rmii", "mii", or "internal" according to the PHY. + The acceptable mode is SoC-dependent. - phy-handle: Should point to the external phy device. See ethernet.txt file in the same directory. - clocks: A phandle to the clock for the MAC. @@ -27,6 +28,8 @@ Required properties: - reset-names: Should contain - "ether", "gio" for Pro4 SoC - "ether" for others + - socionext,syscon-phy-mode: A phandle to syscon with one argument + that configures phy mode. The argument is the ID of MAC instance. Optional properties: - local-mac-address: See ethernet.txt in the same directory. @@ -47,6 +50,7 @@ Example: clocks = <&sys_clk 6>; reset-names = "ether"; resets = <&sys_rst 6>; + socionext,syscon-phy-mode = <&soc_glue 0>; local-mac-address = [00 00 00 00 00 00]; mdio {