From patchwork Mon Apr 9 06:38:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 133001 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp883707ljb; Sun, 8 Apr 2018 23:40:01 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/A9mFGqUTqwkynCZrlis1YJBAO4WKiI0vqp1VgaL+egfbZyHcQ58s5XIia/iUpfDWhuH8Q X-Received: by 2002:a17:902:d685:: with SMTP id v5-v6mr901382ply.284.1523256001517; Sun, 08 Apr 2018 23:40:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523256001; cv=none; d=google.com; s=arc-20160816; b=QZ9QBNiaGqEiUf9AI0aBG6gRo3JGb7W6VzrhFhcUiH6ECG0qD2eIY+v+r55BWSwivO wyW3MUMvRTfM95uvok6VFgVdboRtgBO9JcmmC35DWSxSCPh8Robeg6ChomtupoH8pr2b 0k3oDpxR0iJ3hxTc8LYL+85L1Iid2tx0aPcukDtgYaORKveoXDXyMk8K8jfr5TRo3QEE otIEmG4rBvjFTrzSNXSDa1YVzVbijHe+iLL8W8Dd1LiaT60BxZ23dk9MWRpzYExpp2o6 Zc8GWGEEvmFS8ismfROLrXa11+KNI8vwYp7Q5I/k+71irV4T18mnK/euk/Qa6w4B/Iv1 pUqA== 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=NNL28HdPtRznmhjzouWbH9lWgpwmfGxg4nCKEQR9is4=; b=QVNLm0kDKys+YWZzrXIXhzKWG/Q77z+Iqa8ZZ154iShjQkaQ9a+tjh02TBmlJnisJw UNErbFuiEfS5rl9iKukBC7rLWi7cXLKgaG7yZhFixs5SBA/+i3W9TmnDpnCKTle++mNS /qDz/TvxzgmCSK/VCxJnTYEPQU2EHkupYhUjly+WvCC70QK/a+04tcLxXPERfDBQkHiN WdjMqARKso1p3pBaCTguCGKK35h2dPwRkIO3Df1nDEVruMIiz5YiL8eODBgIiIERcpZ9 LeAHsBt8m5Rv/m8UJ0Eo2s87PtZ1u6hGNnKFQp7BeJMxMWp+cB/lNUbEJ2NSifIQh14s JhIw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 r8-v6si16274180pli.12.2018.04.08.23.40.01; Sun, 08 Apr 2018 23:40:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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 linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752296AbeDIGj5 (ORCPT + 29 others); Mon, 9 Apr 2018 02:39:57 -0400 Received: from mx.socionext.com ([202.248.49.38]:3259 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750877AbeDIGjF (ORCPT ); Mon, 9 Apr 2018 02:39:05 -0400 Received: from unknown (HELO kinkan-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 09 Apr 2018 15:39:03 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id DC98B180237; Mon, 9 Apr 2018 15:39:03 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Mon, 9 Apr 2018 15:39:03 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan.css.socionext.com (Postfix) with ESMTP id 2CD641A0DEC; Mon, 9 Apr 2018 15:39:03 +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 2/3] dt-bindings: net: ave: add syscon-phy-mode property to configure phy-mode setting Date: Mon, 9 Apr 2018 15:38:44 +0900 Message-Id: <1523255925-6469-3-git-send-email-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1523255925-6469-1-git-send-email-hayashi.kunihiko@socionext.com> References: <1523255925-6469-1-git-send-email-hayashi.kunihiko@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 --- Documentation/devicetree/bindings/net/socionext,uniphier-ave4.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) -- 2.7.4 Reviewed-by: Rob Herring 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 {