From patchwork Mon Oct 8 23:49:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 148464 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp4242990lji; Mon, 8 Oct 2018 16:49:58 -0700 (PDT) X-Google-Smtp-Source: ACcGV60eXKII+U7xsgiIKZI92HIwIMTMp1AehiI1K7py9cR/kbE6rnvT9RmV00QAC4UTNk+B+7PQ X-Received: by 2002:a17:902:7207:: with SMTP id ba7-v6mr25993267plb.266.1539042598021; Mon, 08 Oct 2018 16:49:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539042598; cv=none; d=google.com; s=arc-20160816; b=ZQ8rnHi0+bukf+aDATmp4gnHcjTMtK9sr6gaWYx8OyTXDvg17O+MWc9fes2dGiCeOV 3amV4Yz2nL2dLg9JGzsi76/ZvpIYzwIoRM7O50UEyOIi9f3gnvmKyVWJubOt+iNnOqBT 3HN+btcGUeay7yZi0+tcblYbSnftQxe58fKJfNwtFY3bI02fSx0hcSRcLBJkMEs/UJUf H++6wMVdl6qkN39qAd8/mfJqy9RxLjXjuHdVVDcmwTx+AA5A2qNOKc4YF++a4RY44/PB 5Rf6jpvtfpFvU2Mwss7xXG43//zJh1Yv6TDC9DTvVIIx22DbSeasF1sybgUnl3/gRDxG mQKg== 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=/YUt4V04pjeIgvInpsN2sY9oZn1a18NB1gqu+pwAhzI=; b=XP84Hthy5G4xOBp3CUe3sojcLkvv46RQA4EXto2J7rOG8cYuGpOTtzP438ubV/DXv/ jDj3RgyCsFhp2VYak92b4ZO769Sa/hD4T4eBYB+2sbAGcY1WH/1e0Vdgvx2nV1qnFd2s tokxwJ3fUACmjdsYu4SovGpzegRAy3IkKLK9FcRlJ6l/fvbqcuhG4mHVTlZCxkviYEZr DUmv8QnuEMk4Pj4CFJB45w/Q2U5bVMHM9H58u/U40FEzWKwzRsWc+83RXQDIFQbj1dTX jN06dumtS2WYxPT6yxI4gO4yzNJwtwQdRzIG5mUbL1fcP5nh7CUszj7RMEbkKdG+sTnU UU8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=w2bpsZxg; 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; 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 b89-v6si21026297plb.143.2018.10.08.16.49.57; Mon, 08 Oct 2018 16:49:58 -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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=w2bpsZxg; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725823AbeJIHEG (ORCPT + 6 others); Tue, 9 Oct 2018 03:04:06 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:34600 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725803AbeJIHEG (ORCPT ); Tue, 9 Oct 2018 03:04:06 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id w98NnqZs052731; Mon, 8 Oct 2018 18:49:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1539042592; bh=/YUt4V04pjeIgvInpsN2sY9oZn1a18NB1gqu+pwAhzI=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=w2bpsZxgWD7QdK/nBQZP39en4SurexjXwvRS+wix4WNt/MHLrLHlUnX2VMgWLKZXn KWcEGDJKLUEjIR54ZU7EMUPSZ2nNS1trqLBFLcJc+oWt4meDAfY37vuYIMLHlp+z4t Zg5gRkS0CWUprCQwjpyg+Mv4i8+h3IyLpyRyC8v0= Received: from DLEE104.ent.ti.com (dlee104.ent.ti.com [157.170.170.34]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w98NnqZM023955; Mon, 8 Oct 2018 18:49:52 -0500 Received: from DLEE102.ent.ti.com (157.170.170.32) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Mon, 8 Oct 2018 18:49:52 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Mon, 8 Oct 2018 18:49:52 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w98NnqCK023116; Mon, 8 Oct 2018 18:49:52 -0500 Received: from localhost (uda0226610.dhcp.ti.com [128.247.59.147]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id w98Nnqx25224; Mon, 8 Oct 2018 18:49:52 -0500 (CDT) From: Grygorii Strashko To: "David S. Miller" , , Tony Lindgren , Rob Herring , Kishon Vijay Abraham I CC: Sekhar Nori , , , , Grygorii Strashko Subject: [RFC PATCH 04/11] dt-bindings: net: ti: cpsw: switch to use phy-gmii-sel phy Date: Mon, 8 Oct 2018 18:49:42 -0500 Message-ID: <20181008234949.15416-5-grygorii.strashko@ti.com> X-Mailer: git-send-email 2.10.5 In-Reply-To: <20181008234949.15416-1-grygorii.strashko@ti.com> References: <20181008234949.15416-1-grygorii.strashko@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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..69d7ef8 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 phy-gmii-sel PHY phandle). 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>; }; };