From patchwork Tue May 10 01:52:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nobuhiro Iwamatsu X-Patchwork-Id: 12844402 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9A3E7C433F5 for ; Tue, 10 May 2022 01:56:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=o94X0KQfbLI6xg4OhTXVJ5ncJqE+5Pw2JmLRLHPCRIg=; b=g0HHT+SbIpXmwV KDm4d+7UvlZamkfjIwHm5Jko1te4uuS+Cvtw/fGIllLt+Kt36dXDJQiXs2UrZtl95pzRMOpspUb1D SdypL11g+X2fSJ2sOZBGnm3CeQOwgqumwdgqW+dfDcjY9jYySExhHEWvoomqNQyv07BezFnQ0IHL+ A0bTDbj4fESUEACa4fe51qwJ7oMk9GqM5Y2d3engGXrTQxvo2vm3u8nrRGYjho88LZhJkVZ9Vo8E7 tqnPyKNZfrpYU5L+AIYTxC+qLFAYL+Ze3YPBu7ExjtyVoYuZmpULva7WAR9osy0CakL40ar2Z9YH/ YYhwi2ykudXaUuBDw+fg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1noF5O-00H4TJ-EO; Tue, 10 May 2022 01:54:50 +0000 Received: from mo-csw1514.securemx.jp ([210.130.202.153] helo=mo-csw.securemx.jp) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1noF3i-00H3lE-Hp for linux-arm-kernel@lists.infradead.org; Tue, 10 May 2022 01:53:10 +0000 Received: by mo-csw.securemx.jp (mx-mo-csw1514) id 24A1qjqG003910; Tue, 10 May 2022 10:52:45 +0900 X-Iguazu-Qid: 34tKqc85ajEnMmVoyl X-Iguazu-QSIG: v=2; s=0; t=1652147564; q=34tKqc85ajEnMmVoyl; m=FJsIshXhcRlbdePv3gtM7h+YGqRqdamPFVtbsucn8fk= Received: from imx2-a.toshiba.co.jp (imx2-a.toshiba.co.jp [106.186.93.35]) by relay.securemx.jp (mx-mr1513) id 24A1qiow010902 (version=TLSv1.2 cipher=AES128-GCM-SHA256 bits=128 verify=NOT); Tue, 10 May 2022 10:52:44 +0900 From: Nobuhiro Iwamatsu To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Rob Herring , Arnd Bergmann , Olof Johansson , yuji2.ishikawa@toshiba.co.jp, Nobuhiro Iwamatsu Subject: [PATCH 5/9] arm64: dts: visconti: Update the clock providers for ethernet device Date: Tue, 10 May 2022 10:52:25 +0900 X-TSB-HOP2: ON Message-Id: <20220510015229.139818-6-nobuhiro1.iwamatsu@toshiba.co.jp> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20220510015229.139818-1-nobuhiro1.iwamatsu@toshiba.co.jp> References: <20220510015229.139818-1-nobuhiro1.iwamatsu@toshiba.co.jp> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220509_185306_830943_275FC7FB X-CRM114-Status: GOOD ( 10.18 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Remove fixed clock and source common clock for ethernet device. Signed-off-by: Nobuhiro Iwamatsu --- arch/arm64/boot/dts/toshiba/tmpv7708-rm-mbrc.dts | 2 -- .../boot/dts/toshiba/tmpv7708-visrobo-vrb.dts | 2 -- arch/arm64/boot/dts/toshiba/tmpv7708.dtsi | 16 ++-------------- 3 files changed, 2 insertions(+), 18 deletions(-) diff --git a/arch/arm64/boot/dts/toshiba/tmpv7708-rm-mbrc.dts b/arch/arm64/boot/dts/toshiba/tmpv7708-rm-mbrc.dts index 45ddf6f03175..527bb437dd90 100644 --- a/arch/arm64/boot/dts/toshiba/tmpv7708-rm-mbrc.dts +++ b/arch/arm64/boot/dts/toshiba/tmpv7708-rm-mbrc.dts @@ -42,8 +42,6 @@ &piether { status = "okay"; phy-handle = <&phy0>; phy-mode = "rgmii-id"; - clocks = <&clk300mhz>, <&clk125mhz>; - clock-names = "stmmaceth", "phy_ref_clk"; mdio0 { #address-cells = <1>; diff --git a/arch/arm64/boot/dts/toshiba/tmpv7708-visrobo-vrb.dts b/arch/arm64/boot/dts/toshiba/tmpv7708-visrobo-vrb.dts index 56701e0e1dab..ed7aa7e457b1 100644 --- a/arch/arm64/boot/dts/toshiba/tmpv7708-visrobo-vrb.dts +++ b/arch/arm64/boot/dts/toshiba/tmpv7708-visrobo-vrb.dts @@ -42,8 +42,6 @@ &piether { status = "okay"; phy-handle = <&phy0>; phy-mode = "rgmii-id"; - clocks = <&clk300mhz>, <&clk125mhz>; - clock-names = "stmmaceth", "phy_ref_clk"; mdio0 { #address-cells = <1>; diff --git a/arch/arm64/boot/dts/toshiba/tmpv7708.dtsi b/arch/arm64/boot/dts/toshiba/tmpv7708.dtsi index 196cda7b5d90..7c80a9434e10 100644 --- a/arch/arm64/boot/dts/toshiba/tmpv7708.dtsi +++ b/arch/arm64/boot/dts/toshiba/tmpv7708.dtsi @@ -136,20 +136,6 @@ clk25mhz: clk25mhz { clock-output-names = "clk25mhz"; }; - clk125mhz: clk125mhz { - compatible = "fixed-clock"; - clock-frequency = <125000000>; - #clock-cells = <0>; - clock-output-names = "clk125mhz"; - }; - - clk300mhz: clk300mhz { - compatible = "fixed-clock"; - clock-frequency = <300000000>; - #clock-cells = <0>; - clock-output-names = "clk300mhz"; - }; - clk600mhz: clk600mhz { compatible = "fixed-clock"; #clock-cells = <0>; @@ -485,6 +471,8 @@ piether: ethernet@28000000 { snps,txpbl = <4>; snps,rxpbl = <4>; snps,tso; + clocks = <&pismu TMPV770X_CLK_PIETHER_BUS>, <&pismu TMPV770X_CLK_PIETHER_125M>; + clock-names = "stmmaceth", "phy_ref_clk"; status = "disabled"; };