From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6BA8BC433FE for ; Tue, 25 Jan 2022 03:33:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1323324AbiAYD1y (ORCPT ); Mon, 24 Jan 2022 22:27:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349744AbiAYCAn (ORCPT ); Mon, 24 Jan 2022 21:00:43 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CCB12C09B047 for ; Mon, 24 Jan 2022 17:16:32 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4FBC661212 for ; Tue, 25 Jan 2022 01:16:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A3B5FC340E4; Tue, 25 Jan 2022 01:16:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1643073391; bh=kc+g6ITavbbQw+IHrNc9P2tQVl1HkLw8o6r843h1QaI=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=sSxge+ArTE+xYAcpztTaPgmVB2/C9SVXAoPHT4ZcmhvayrDAFPREKThrJQ2eY2My9 waezny0L25haJQJ/nwLmmHy7wo9y4Z1aXSAt0DbdM9OqP70R+jqVU2MTYhmAvjbH/n 1NaepN9wiDgqtx+7ivOfni7t0UjKexi1WHnfv8mQWSLK94E1Rf9addAlRczDF2BZ8F udm6b9/n4jjl2SXNRlX3v3y1srVqZedk9ImWmNbubT2OrTirjJ6OnS4RN66r5L57ah DAX11KH5BZq+PMy3iLnzVfsRlPifhSHqLg7zhaE4PtjC9lH8ZEja5mKKeINLOfpxDb vIw3bYs90V0Bw== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20220118202958.1840431-2-marex@denx.de> References: <20220118202958.1840431-1-marex@denx.de> <20220118202958.1840431-2-marex@denx.de> Subject: Re: [PATCH 2/5] clk: stm32mp1: Add parent_data to ETHRX clock From: Stephen Boyd Cc: jneuhauser@dh-electronics.com, Marek Vasut , Alexandre Torgue , Christophe Roullier , Gabriel Fernandez , Patrice Chotard , Patrick Delaunay , linux-clk@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com To: Marek Vasut , linux-arm-kernel@lists.infradead.org Date: Mon, 24 Jan 2022 17:16:29 -0800 User-Agent: alot/0.10 Message-Id: <20220125011631.A3B5FC340E4@smtp.kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org Quoting Marek Vasut (2022-01-18 12:29:55) > Pass parent_data to ETHRX clock with new fw_name =3D "ETH_RX_CLK/ETH_REF_= CLK". > By default, this change has no impact on the operation of the clock drive= r. > However, due to the fw_name, it permits DT to override ETHRX clock parent, > which might be needed in case the ETHRX clock are supplied by external cl= ock > source. >=20 > Example of MCO2 supplying clock to ETH_RX_CLK via external pad-to-pad wir= e: > &rcc { > clocks =3D <&rcc CK_MCO2>; > clock-names =3D "ETH_RX_CLK/ETH_REF_CLK"; > }; >=20 > Note that while this patch permits to implement this rare usecase, the is= sue > with ethernet RX and TX input clock modeling on MP1 is far more complex a= nd > requires more core plumbing. >=20 > [1] STM32MP1 Reference Manual RM0436 Rev 3, Page 574, > Figure 83. Peripheral clock distribution for Ethernet > https://www.st.com/resource/en/reference_manual/dm00327659-stm32mp157= -advanced-armbased-32bit-mpus-stmicroelectronics.pdf >=20 > Signed-off-by: Marek Vasut > Cc: Alexandre Torgue > Cc: Christophe Roullier > Cc: Gabriel Fernandez > Cc: Patrice Chotard > Cc: Patrick Delaunay > Cc: Stephen Boyd > Cc: linux-clk@vger.kernel.org > Cc: linux-stm32@st-md-mailman.stormreply.com > To: linux-arm-kernel@lists.infradead.org > --- Applied to clk-next From mboxrd@z Thu Jan 1 00:00:00 1970 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 9AE48C433EF for ; Tue, 25 Jan 2022 01:18:55 +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:Message-Id:Date:To:Cc:From:Subject: References:In-Reply-To:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=CzUGGOHkUZ8jqD0GMM2Tegd2hNwJAIVjzGQ9RV82jQ8=; b=z0mokQb+T/xXxm yuXZqwHlDCLdA4jnpCjkO1iPGCMUMy1GpusCZsz4BeA+AU8T1h7gHHOeAvhleR8BtGzdi7ZSoWh7D yJpmkYtjch/Tf2FUW2YRsKtPMS8Dcv8tZK+h13f13sDXqZMm0W7zh3jinMm8ENv1lUXJHcad/FLPr aChwRY5WX0UArN3NSaIakqobri0yuP9IuZ2fGTCDI+yBXaYU0tNm2IuUNV3AS+VX71uBTW31cdiZX 1GxHXANirHh+SmWCRMs2F7zz4DA/Roo1C/O3lhCyHG5kH9z0T8d4Q94Wiq//UJHBQwC141EuXlxn0 +Cny1VtNvjn9sI98KBcw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nCASZ-005zBr-GR; Tue, 25 Jan 2022 01:17:24 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nCARl-005yu5-7z for linux-arm-kernel@lists.infradead.org; Tue, 25 Jan 2022 01:16:36 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4FB8561208; Tue, 25 Jan 2022 01:16:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A3B5FC340E4; Tue, 25 Jan 2022 01:16:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1643073391; bh=kc+g6ITavbbQw+IHrNc9P2tQVl1HkLw8o6r843h1QaI=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=sSxge+ArTE+xYAcpztTaPgmVB2/C9SVXAoPHT4ZcmhvayrDAFPREKThrJQ2eY2My9 waezny0L25haJQJ/nwLmmHy7wo9y4Z1aXSAt0DbdM9OqP70R+jqVU2MTYhmAvjbH/n 1NaepN9wiDgqtx+7ivOfni7t0UjKexi1WHnfv8mQWSLK94E1Rf9addAlRczDF2BZ8F udm6b9/n4jjl2SXNRlX3v3y1srVqZedk9ImWmNbubT2OrTirjJ6OnS4RN66r5L57ah DAX11KH5BZq+PMy3iLnzVfsRlPifhSHqLg7zhaE4PtjC9lH8ZEja5mKKeINLOfpxDb vIw3bYs90V0Bw== MIME-Version: 1.0 In-Reply-To: <20220118202958.1840431-2-marex@denx.de> References: <20220118202958.1840431-1-marex@denx.de> <20220118202958.1840431-2-marex@denx.de> Subject: Re: [PATCH 2/5] clk: stm32mp1: Add parent_data to ETHRX clock From: Stephen Boyd Cc: jneuhauser@dh-electronics.com, Marek Vasut , Alexandre Torgue , Christophe Roullier , Gabriel Fernandez , Patrice Chotard , Patrick Delaunay , linux-clk@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com To: Marek Vasut , linux-arm-kernel@lists.infradead.org Date: Mon, 24 Jan 2022 17:16:29 -0800 User-Agent: alot/0.10 Message-Id: <20220125011631.A3B5FC340E4@smtp.kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220124_171633_358011_935A9E94 X-CRM114-Status: GOOD ( 11.60 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Quoting Marek Vasut (2022-01-18 12:29:55) > Pass parent_data to ETHRX clock with new fw_name = "ETH_RX_CLK/ETH_REF_CLK". > By default, this change has no impact on the operation of the clock driver. > However, due to the fw_name, it permits DT to override ETHRX clock parent, > which might be needed in case the ETHRX clock are supplied by external clock > source. > > Example of MCO2 supplying clock to ETH_RX_CLK via external pad-to-pad wire: > &rcc { > clocks = <&rcc CK_MCO2>; > clock-names = "ETH_RX_CLK/ETH_REF_CLK"; > }; > > Note that while this patch permits to implement this rare usecase, the issue > with ethernet RX and TX input clock modeling on MP1 is far more complex and > requires more core plumbing. > > [1] STM32MP1 Reference Manual RM0436 Rev 3, Page 574, > Figure 83. Peripheral clock distribution for Ethernet > https://www.st.com/resource/en/reference_manual/dm00327659-stm32mp157-advanced-armbased-32bit-mpus-stmicroelectronics.pdf > > Signed-off-by: Marek Vasut > Cc: Alexandre Torgue > Cc: Christophe Roullier > Cc: Gabriel Fernandez > Cc: Patrice Chotard > Cc: Patrick Delaunay > Cc: Stephen Boyd > Cc: linux-clk@vger.kernel.org > Cc: linux-stm32@st-md-mailman.stormreply.com > To: linux-arm-kernel@lists.infradead.org > --- Applied to clk-next _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel