Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp4328810rwb; Mon, 16 Jan 2023 22:26:54 -0800 (PST) X-Google-Smtp-Source: AMrXdXvGDlARQsAjMppnnj152VM3zWuxTuqjkl/vTQMTUrwdf1ExR8DDODI/DH0LyN4CgDXB+0hL X-Received: by 2002:a17:906:f889:b0:86f:c7df:4a63 with SMTP id lg9-20020a170906f88900b0086fc7df4a63mr1565952ejb.56.1673936813806; Mon, 16 Jan 2023 22:26:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673936813; cv=none; d=google.com; s=arc-20160816; b=mYQyTmCWZ1DM9i6P2cKlhO3tkJJHZEfwNxPQrBRTZ+1rIuRCiYdw3GEsJP2vR/hcsy IDtI8wiFPr63GINXeXsDIO4JbGMJzzpLEhCSjo50X6H+NeQ9ysH7TBcE2NLC7NUxpTVI 4aWvlnd8VeYgAwx1RvfcBNl1sFuGJ23hvmAfy30AlLFhyvrMBptaencVzsWxN3JXBSC+ jqKLobfwqUabpqCi95IhZSB8lL5fE8uMtQMP1WA2szzpVRJIlZZcWt7fidJyFb3640rI xq8N3e4RMHgNh6YZb7Iv/rUN2bfRAtWDbcR4t9ikco9mVOsgZxcy4ylNauqbQpwXPIuY mBlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=hBrCgVGRusIcY7u2DnlVJKVaPNEdeQll6rowglQyKOU=; b=mCvwmCmrldYGBMxoMwuxqdXrDSfToAW5xPzpFdBGsOqrfYU0xkX4Ey98o9RhNb0oHV /e/Cjg0S0MSjmH9APxKBetGRpG525+sMtEb8wyglSoMjIrKL5HdXDil/hVMYMaqZ9sGs 1pJzte0lV038rMmfE6p+WhkXmYfRyfcYxS5MhXZtH1Ly1oDQMb3HhM6+nMyT80ZGltBV P5yjmLlniEnByUBQOo8LNC9JKD9eR10Zw7Onbjuyv3ZUP68VDkL3ntFNGpkX1RAqKOXU GBligY4Bb2WPWwWWCKYcBwIPKwiiEw45fxcN9IwdjCMbB+/hBZpiAA/n6r+kU2cD2p9W O7vw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id en25-20020a056402529900b00459b51c2b25si30373916edb.438.2023.01.16.22.26.41; Mon, 16 Jan 2023 22:26:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235785AbjAQGQF (ORCPT + 51 others); Tue, 17 Jan 2023 01:16:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235629AbjAQGPl (ORCPT ); Tue, 17 Jan 2023 01:15:41 -0500 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A2C7233C1 for ; Mon, 16 Jan 2023 22:15:40 -0800 (PST) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pHfFb-0002TK-Dp; Tue, 17 Jan 2023 07:15:15 +0100 Received: from [2a0a:edc0:0:1101:1d::ac] (helo=dude04.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1pHfFZ-006c02-1K; Tue, 17 Jan 2023 07:15:13 +0100 Received: from ore by dude04.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1pHfFW-00Fcih-TQ; Tue, 17 Jan 2023 07:15:10 +0100 From: Oleksij Rempel To: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Abel Vesa , Michael Turquette , Stephen Boyd , Richard Cochran Cc: Oleksij Rempel , kernel@pengutronix.de, Fabio Estevam , NXP Linux Team , Russell King , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH v2 04/19] ARM: dts: imx6qdl: use enet_clk_ref instead of enet_out for the FEC node Date: Tue, 17 Jan 2023 07:14:38 +0100 Message-Id: <20230117061453.3723649-5-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230117061453.3723649-1-o.rempel@pengutronix.de> References: <20230117061453.3723649-1-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Old imx6q machine code makes RGMII/RMII clock direction decision based on configuration of "ptp" clock. "enet_out" is not used and make no real sense, since we can't configure it as output or use it as clock provider. Instead of "enet_out" use "enet_clk_ref" which is actual selector to choose between internal and external clock source: FEC MAC <---------- enet_clk_ref <--------- SoC PLL \ ^------<-> refclock PAD (bi directional) Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/imx6qdl.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi index ff1e0173b39b..71522263031a 100644 --- a/arch/arm/boot/dts/imx6qdl.dtsi +++ b/arch/arm/boot/dts/imx6qdl.dtsi @@ -1050,8 +1050,8 @@ fec: ethernet@2188000 { clocks = <&clks IMX6QDL_CLK_ENET>, <&clks IMX6QDL_CLK_ENET>, <&clks IMX6QDL_CLK_ENET_REF>, - <&clks IMX6QDL_CLK_ENET_REF>; - clock-names = "ipg", "ahb", "ptp", "enet_out"; + <&clks IMX6QDL_CLK_ENET_REF_SEL>; + clock-names = "ipg", "ahb", "ptp", "enet_clk_ref"; fsl,stop-mode = <&gpr 0x34 27>; status = "disabled"; }; -- 2.30.2