From patchwork Mon Oct 8 23:49:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 148471 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp4243350lji; Mon, 8 Oct 2018 16:50:29 -0700 (PDT) X-Google-Smtp-Source: ACcGV631IOQDD5EiNXIBYKhPB36LmEszC+l/MAI8QUOIyF6zFYGADOx1Bh0gBlu1Agp5YRYL7b3a X-Received: by 2002:a63:4047:: with SMTP id n68-v6mr18700519pga.224.1539042629159; Mon, 08 Oct 2018 16:50:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539042629; cv=none; d=google.com; s=arc-20160816; b=F34ikJdZEuMA49RjziQ1mtQsXgvI98uzE2sZVjED4nz5LfEyQhpDw+PNNYtaCqRs6W 7Yo3BPp1wNHyv79jCvI6fOV6uQzK5zUxBqeUOah6dvw5UgA56csEh5hhq9KqtiMXQvHP qUOAOCe8ExbbGDOBwkfIgj1qVI/Mm1eZncUejfLQDqjE/x4CnMA9C2frGSeVGw34SsYq HOnD46xG7aYbmaaATfmy1/q4xhzThosKJbxhj2vbKY30GSEGIdZG/rDlIcJY2cjwavka cl2NDecFGxTF4SUMiveawa0RcwqKhsdqEIz4qdCCZE0XhOhspaZ+KOd3lTmDhZ6EdugI MzoA== 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=m5jl84t/Mjd6Nh/RCIiT4/WJ3GASRSNaktzYja4NJ7w=; b=FkwxL0SS/6DDCDnEboVfhbkdXgOJX7Hj/A96KFwbPZDLW7mHfBH+FMSm8zRR/OrFQb b6HALk20r4IS6PjAwRwFzL9pkMk5TjyAtanXluo7GqgnqLl5N7lXCHEyndFtSE+FJodx rTCN7gOYc73slCLjKyFjIL45C5g5d5gfV8iP7o3LgHYPDEcCdIcH/0+y6OPSt59Kpb56 /euxxhB2ilITAomo52Y/277Le/Hae9I9tJVRV0lvXUh6U2Avy6uepzfUIx1RD+NjONFy sz7YM/HDp9xXYY+mulGYpFJUAZvYZiQb8dfJM5U9MCyMtL9AByZTWLy9LmVl/ieEthQV A6rQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=TZPqIoND; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-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 f8-v6si18716180pgu.370.2018.10.08.16.50.28; Mon, 08 Oct 2018 16:50:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-omap-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=TZPqIoND; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-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 S1726935AbeJIHEM (ORCPT + 5 others); Tue, 9 Oct 2018 03:04:12 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:34616 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725803AbeJIHEL (ORCPT ); Tue, 9 Oct 2018 03:04:11 -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 w98Nnrg7052735; Mon, 8 Oct 2018 18:49:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1539042593; bh=m5jl84t/Mjd6Nh/RCIiT4/WJ3GASRSNaktzYja4NJ7w=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=TZPqIoNDQ9fDQhYoBmXa10q8LjqpzNSqm1eYV5vxEmjSoddU3OSWEkeDaLb/4V1PJ c7V4OEBm6vudtlAUX5CqaBtInpvpj1iuxU180vQpM9u27sMBGo/6whqyn/zUQgKFE3 /bB7tP5vyn1QLKWeo3r+Le+TgJmi4eYRYyTuJQNk= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w98Nnr2R023970; Mon, 8 Oct 2018 18:49:53 -0500 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE100.ent.ti.com (157.170.170.30) 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:53 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE100.ent.ti.com (157.170.170.30) 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:53 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w98NnqBm031127; 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 w98Nnqx25236; 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 07/11] ARM: dts: dm814x: switch to use phy-gmii-sel Date: Mon, 8 Oct 2018 18:49:45 -0500 Message-ID: <20181008234949.15416-8-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: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Switch to use phy-gmii-sel PHY instead of cpsw-phy-sel. Cc: Kishon Vijay Abraham I Cc: Tony Lindgren Signed-off-by: Grygorii Strashko --- arch/arm/boot/dts/dm814x.dtsi | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) -- 2.10.5 diff --git a/arch/arm/boot/dts/dm814x.dtsi b/arch/arm/boot/dts/dm814x.dtsi index 601c57a..5728f96 100644 --- a/arch/arm/boot/dts/dm814x.dtsi +++ b/arch/arm/boot/dts/dm814x.dtsi @@ -343,6 +343,12 @@ #size-cells = <1>; ranges = <0 0 0x800>; + phy_gmii_sel: phy-gmii-sel { + compatible = "ti,dm814-phy-gmii-sel"; + syscon-scm = <&scm_conf>; + #phy-cells = <1>; + }; + scm_clocks: clocks { #address-cells = <1>; #size-cells = <0>; @@ -549,17 +555,14 @@ cpsw_emac0: slave@4a100200 { /* Filled in by U-Boot */ mac-address = [ 00 00 00 00 00 00 ]; + phys = <&phy_gmii_sel 1>; + }; cpsw_emac1: slave@4a100300 { /* Filled in by U-Boot */ mac-address = [ 00 00 00 00 00 00 ]; - }; - - phy_sel: cpsw-phy-sel@48140650 { - compatible = "ti,am3352-cpsw-phy-sel"; - reg= <0x48140650 0x4>; - reg-names = "gmii-sel"; + phys = <&phy_gmii_sel 2>; }; }; From patchwork Mon Oct 8 23:49:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 148468 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp4243063lji; Mon, 8 Oct 2018 16:50:04 -0700 (PDT) X-Google-Smtp-Source: ACcGV61ovtajuNhA20YISb1Ul/vC4SQq02p9S3v5qeUZMdK7Eh+0BmhgMe3ql4wGI3yW5bfVetHb X-Received: by 2002:a65:66c9:: with SMTP id c9-v6mr23181847pgw.55.1539042604629; Mon, 08 Oct 2018 16:50:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539042604; cv=none; d=google.com; s=arc-20160816; b=wwenufyLjNdPuWEfa7XYxTZzTO4DapSgXMMoYeFbS4l52vWMkFMyUeAWl9ONhsyiRL eyWNFPJ2T9bh263Geet710lGEFtKxRjhsrd89ks1kEJGRNyCEMjYnYwCzcp9/mRoYrB+ Z7/3pkQLHdGZym3/zv+LHhR4VYeJRuEYu7c05/IatxPBGw4mZAu6dZUlN2lJEAK5RoYC wNsblMh/og4w79h0vpScbH0Ncz9JKGV0NUwc4Jym6qce+6oUnvTHkTcFAIj0nh4N0YVC zZLPmDd4kHwnPhOvuw1KuAFFPQRtE4ncr/K8SMCfqzrnhnj+ropuodHvnU5NrTJLnmaf Cz6g== 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=wibd5CRYV6Uj19ty14uDoJlKqN1IRqXWZd8ylDb1+V4=; b=ysvQtlGQ5Z5vO6LNusP1uJrn+IYqKWdYQc+hBrzVfJEkGSR0FEMrucJDTcK3xDhGKC Hr4nxNbMq6X6/E6VTfmrqUnLUrIASzUiMAgwLP39EDlQa4PZgrxm4/undvr0gZIkDXQX Wwu4S6IVMK7PH1CAglEOZw1iVTji42ibDKKN9ItXFE1cEHLWTqXnNxYmzyQpxs4RX8eX RO8KIGyLsqakGnqYQpvgorzo9CGg26KvL2jEumK9o7mvSc43YBax7xSVdT17/BoapIwF HSinRwVw/Quk2fYY9Y4w0IuL2Bl3ix3lR7li1sctQJAwJsEN/UI6tTZjCRrbB35Xo/WT /mew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=DPGBqYAq; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-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 31-v6si19692037plg.296.2018.10.08.16.50.04; Mon, 08 Oct 2018 16:50:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-omap-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=DPGBqYAq; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-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 S1726982AbeJIHEM (ORCPT + 5 others); Tue, 9 Oct 2018 03:04:12 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:34618 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726479AbeJIHEL (ORCPT ); Tue, 9 Oct 2018 03:04:11 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id w98Nnsl1052746; Mon, 8 Oct 2018 18:49:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1539042594; bh=wibd5CRYV6Uj19ty14uDoJlKqN1IRqXWZd8ylDb1+V4=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=DPGBqYAqYDnMpcIjmtBebH/U1jiQCMLfZZ2Dakwd7cw8ss4CxL4Murmx7vXnKF/bo 9jgYf6yjann5qszFD5JYYT2ExZbPyeTJ38T42z8sC36Z6PJiPC513WiuHLJ7zcESv+ QPai/3wDoVtaJ0ZMw7zy1TY+f2XZVjX6gGeBC/gk= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w98NnrR7004782; Mon, 8 Oct 2018 18:49:53 -0500 Received: from DFLE103.ent.ti.com (10.64.6.24) by DFLE114.ent.ti.com (10.64.6.35) 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:54 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE103.ent.ti.com (10.64.6.24) 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:53 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w98NnrDj027753; Mon, 8 Oct 2018 18:49:53 -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 w98Nnrx25248; Mon, 8 Oct 2018 18:49:53 -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 10/11] dt-bindings: net: ti: deprecate cpsw-phy-sel bindings Date: Mon, 8 Oct 2018 18:49:48 -0500 Message-ID: <20181008234949.15416-11-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: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org The cpsw-phy-sel driver was replaced with new PHY driver phy-gmii-sel, so deprecate cpsw-phy-sel bindings. Cc: Kishon Vijay Abraham I Cc: Tony Lindgren Signed-off-by: Grygorii Strashko --- Documentation/devicetree/bindings/net/cpsw-phy-sel.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.10.5 diff --git a/Documentation/devicetree/bindings/net/cpsw-phy-sel.txt b/Documentation/devicetree/bindings/net/cpsw-phy-sel.txt index 764c0c7..5d76f99 100644 --- a/Documentation/devicetree/bindings/net/cpsw-phy-sel.txt +++ b/Documentation/devicetree/bindings/net/cpsw-phy-sel.txt @@ -1,4 +1,4 @@ -TI CPSW Phy mode Selection Device Tree Bindings +TI CPSW Phy mode Selection Device Tree Bindings (DEPRECATED) ----------------------------------------------- Required properties: