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 19848C433F5 for ; Thu, 20 Jan 2022 22:03:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377990AbiATWD6 (ORCPT ); Thu, 20 Jan 2022 17:03:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347676AbiATWD5 (ORCPT ); Thu, 20 Jan 2022 17:03:57 -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 BF5C4C061574 for ; Thu, 20 Jan 2022 14:03:57 -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 23A77618EA for ; Thu, 20 Jan 2022 22:03:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 79C3CC340E0; Thu, 20 Jan 2022 22:03:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1642716236; bh=5jYAKSQZEZ+oypimInAn0kWHu0t6ZHj8FVn661Mwy9E=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=SAmv6F9hkc4VXRpPlVUKsR1JcQCEoLghPWin/iMNJzSHaxBjiNJDoYTQx1ePjvg9E AXO+8jDhXh9tjqlFwdmRzTqZ+lQ54nIJSwxyDI/zLvhO4coXuZU/SVIfm10qKT3d7w vHIBh9G2c+6DUelpFwiB+Qr0l+0kMGypxJpsxPYoySvmH/21yjxgk9OTIhYSzQgSxV NACzFTfj2o15+cnR7CXm5HQCr84k0OsPtz4NS9q3RACyaPpYtRj+FJdSQXss9C2G9q mU7ExSKO/ZIle8aOO75qyv1Kea5kquT5vuPJWcb57m9G4xvng3JfRoZQD2mikTfe2K G3lEDN+/pCmuA== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20220118202958.1840431-1-marex@denx.de> References: <20220118202958.1840431-1-marex@denx.de> Subject: Re: [PATCH 1/5] clk: stm32mp1: Split ETHCK_K into separate MUX and GATE 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: Thu, 20 Jan 2022 14:03:54 -0800 User-Agent: alot/0.10 Message-Id: <20220120220356.79C3CC340E0@smtp.kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org Quoting Marek Vasut (2022-01-18 12:29:54) > The ETHCK_K are modeled as composite clock of MUX and GATE, however per > STM32MP1 Reference Manual RM0436 Rev 3, Page 574, Figure 83. Peripheral > clock distribution for Ethernet, ETHPTPDIV divider is attached past the > ETHCK_K mux, and ETH_CLK/eth_clk_fb clock are output past ETHCKEN gate. > Therefore, in case ETH_CLK/eth_clk_fb are not in use AND PTP clock are > in use, ETHCKEN gate can be turned off. Current driver does not permit > that, fix it. >=20 > This patch converts ETHCK_K from composite clock into a ETHCKEN gate, > ETHPTP_K from composite clock into ETHPTPDIV divider, and adds another > NO_ID clock "ck_ker_eth" which models the ETHSRC mux and is parent clock > to both ETHCK_K and ETHPTP_K. Therefore, all references to ETHCK_K and > ETHPTP_K remain functional as before. >=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 > --- Any cover letter? What is the merge strategy of this patch series? Do I need to ack the patches?