From patchwork Mon Nov 26 00:15:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 151961 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp4970735ljp; Sun, 25 Nov 2018 16:16:10 -0800 (PST) X-Google-Smtp-Source: AJdET5dZoiz3tdFJc0IR4WbWdRjveZux+Bl2BYqsIUNFdFcBMcR0z2Cvk0zAgcd0nztyO7ZdbMhb X-Received: by 2002:a62:3241:: with SMTP id y62-v6mr25828400pfy.218.1543191370413; Sun, 25 Nov 2018 16:16:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543191370; cv=none; d=google.com; s=arc-20160816; b=MyEFPMAcMXpakMFG0+CF5yrEhRWl/OnCChQNM9POS8FFClblAooylxEvZeeC/oXg9f XmMArEPiH/xyVoJqnSHIq8TM3yE4DzFQeYIu7hDM+Y5/02qdO9o6i+FF1bpGj9KdcuaY LdtO7xEZrHu7S1AdBNPZTkrrwskdNHmoLfc4DstV6voU6GtMe69h0mjKleTnGknBpqzr npBPapiDbbxJ8wPM1IM8NoVtu4y5W4c6azj2wsCR8kUEHNaPtDuBAxNdE8E635v6RmDB LnEy8rSE05K4Mb4BfmDZneWW1buTrlI4rAO9wFkMUhoDJHf/pySZXxGOzaDg5utcRcB8 0u2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=RVbVvIQMEYfgKcI8mdFI8i+ks89mDVs4o2Ygrv/Mnzs=; b=CMPCxWqBvUvgBep6WiZa0eZj6bSN67RGOX20JLVd/EpmmlwJpABtSLyp+jNusX5K55 sG9lHy51zZOA0MtzDN6orJiof0jF4jMERQGBV6hetfI74NxSvaGgdYPuVXBszy4IRoiS 168DaDF09YkaA2GKBQE9M/4c/Xg2xHAXlWgMPjXLLyPpgnoj6qGYtFlZ+jjubj2kfWoZ Jyrjv24Lu239sXJvGTgZxS5i23dU6E0l0hSlPicXDI/fch/rDoopslevnoDH6jZTkYZ8 3/3F/Rt07L0CvxH/CpZBqAECJ2xya8kp1fZ0Vgpmr42OO3VGFEvQjgPCU2l3Wk2Lg0nZ m8PA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=S3F+qrT2; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v5si58559537pgg.1.2018.11.25.16.16.10; Sun, 25 Nov 2018 16:16:10 -0800 (PST) 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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=S3F+qrT2; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726425AbeKZLI3 (ORCPT + 32 others); Mon, 26 Nov 2018 06:08:29 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:55958 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726384AbeKZLI2 (ORCPT ); Mon, 26 Nov 2018 06:08:28 -0500 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id wAQ0FYvw037344; Sun, 25 Nov 2018 18:15:34 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1543191334; bh=RVbVvIQMEYfgKcI8mdFI8i+ks89mDVs4o2Ygrv/Mnzs=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=S3F+qrT2pRybn6aoZf4quJg6jIsF/xqyLIccjnlv59FumjS872AN5XbM8QD0TSqwO yn6N+F1xGDh1O2if1OI91citlBbxQ6GfqMRtszIDsUPpU7ahlq2RxtuCeG0eb2wUZ2 CCcn9FJ1JxAetHiBRYYoyPG2KlUEqNVTq9cMro9o= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id wAQ0FYiZ101836 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Sun, 25 Nov 2018 18:15:34 -0600 Received: from DLEE109.ent.ti.com (157.170.170.41) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Sun, 25 Nov 2018 18:15:33 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Sun, 25 Nov 2018 18:15:33 -0600 Received: from legion.dal.desgin.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id wAQ0FXkF005250; Sun, 25 Nov 2018 18:15:33 -0600 Received: from localhost (uda0226610.dhcp.ti.com [128.247.59.147]) by legion.dal.desgin.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id wAQ0FXU04346; Sun, 25 Nov 2018 18:15:33 -0600 (CST) From: Grygorii Strashko To: "David S. Miller" , Tony Lindgren , Kishon Vijay Abraham I , Rob Herring CC: , Sekhar Nori , , , Andrew Lunn , , , Grygorii Strashko Subject: [PATCH linux-next 03/10] dt-bindings: net: ti: cpsw: switch to use phy-gmii-sel phy Date: Sun, 25 Nov 2018 18:15:24 -0600 Message-ID: <20181126001531.12974-4-grygorii.strashko@ti.com> X-Mailer: git-send-email 2.10.5 In-Reply-To: <20181126001531.12974-1-grygorii.strashko@ti.com> References: <20181126001531.12974-1-grygorii.strashko@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The cpsw-phy-sel driver was replaced with new PHY driver phy-gmii-sel, so deprecate cpsw-phy-sel bindings and update CPSW binding to use phy-gmii-sel PHY bindings. Cc: Kishon Vijay Abraham I Cc: Tony Lindgren Signed-off-by: Grygorii Strashko --- Documentation/devicetree/bindings/net/cpsw.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) -- 2.10.5 diff --git a/Documentation/devicetree/bindings/net/cpsw.txt b/Documentation/devicetree/bindings/net/cpsw.txt index b3acebe..3264e19 100644 --- a/Documentation/devicetree/bindings/net/cpsw.txt +++ b/Documentation/devicetree/bindings/net/cpsw.txt @@ -22,7 +22,8 @@ Required properties: - cpsw-phy-sel : Specifies the phandle to the CPSW phy mode selection device. See also cpsw-phy-sel.txt for it's binding. Note that in legacy cases cpsw-phy-sel may be - a child device instead of a phandle. + a child device instead of a phandle + (DEPRECATED, use phys property instead). Optional properties: - ti,hwmods : Must be "cpgmac0" @@ -44,6 +45,7 @@ Optional properties: Slave Properties: Required properties: - phy-mode : See ethernet.txt file in the same directory +- phys : phandle on phy-gmii-sel PHY (see phy/ti-phy-gmii-sel.txt) Optional properties: - dual_emac_res_vlan : Specifies VID to be used to segregate the ports @@ -85,12 +87,14 @@ Examples: phy-mode = "rgmii-txid"; /* Filled in by U-Boot */ mac-address = [ 00 00 00 00 00 00 ]; + phys = <&phy_gmii_sel 1 0>; }; cpsw_emac1: slave@1 { phy_id = <&davinci_mdio>, <1>; phy-mode = "rgmii-txid"; /* Filled in by U-Boot */ mac-address = [ 00 00 00 00 00 00 ]; + phys = <&phy_gmii_sel 2 0>; }; }; @@ -114,11 +118,13 @@ Examples: phy-mode = "rgmii-txid"; /* Filled in by U-Boot */ mac-address = [ 00 00 00 00 00 00 ]; + phys = <&phy_gmii_sel 1 0>; }; cpsw_emac1: slave@1 { phy_id = <&davinci_mdio>, <1>; phy-mode = "rgmii-txid"; /* Filled in by U-Boot */ mac-address = [ 00 00 00 00 00 00 ]; + phys = <&phy_gmii_sel 2 0>; }; };