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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 41574C433EF for ; Wed, 3 Nov 2021 14:34:58 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 0A80360F5A for ; Wed, 3 Nov 2021 14:34:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 0A80360F5A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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: Date:Cc:To:From:Subject:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=9TiW+CG1GA2XrOB9UyZC5gbkzIFV/J2YsQi66JIU8TY=; b=c0SLAPjvzck0xi bg5AiZ8DE+AoaITvrXVI2QP7c5fOtMAuSoDdRZ3ZygVH5mXcMP8vFy6+Og+KLgRtlm+gmgDNNOLGG 69gYw/Xd5Q9l2FkYobpqnmoXWscHJOnkcb7M+KpojB0Z6RlaB0N/K1AnUcYZyUbAmq+LTsiW54RCl SvbJBJsTX1lZt9cWGAMowRaAePklSlP9YwLaaP2vAuMWbD2eaT1YIViMasj0q2Ec0aEG6r9FNwjMa NvjdM8flxVeeOYeUx3hjyfsxFYCl2zcCRJxzR/qLbUMXa/l8nT11gQU/FlVxANwBu5Ir7P0E4DNSt +NOpKkaYih45jIxyUaQA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1miHKJ-005SBJ-4Y; Wed, 03 Nov 2021 14:33:19 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1miHKE-005SAR-Eu for linux-arm-kernel@lists.infradead.org; Wed, 03 Nov 2021 14:33:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1635949994; x=1667485994; h=message-id:subject:from:to:cc:date:in-reply-to: references:mime-version:content-transfer-encoding; bh=pJAsKtNWJZ+3fuNEDZ1Kmz6SYBd89CM0v2sSHcQlJEw=; b=TMkXTBq64U3/P1/CeZvN85LHOvhgG61llVgC8w4/lo34KMkQbVy95Hz9 MnrQEtdjzYo7Pa2KSAZ1bTXS/v5N0HSZlg1lTi5X46kdG54XUnnUAatuv zwUKS19S+atjYIaJE9opAc4uqiXEfLgBp7ebFlTMqFT6HCNQkPEg0Isvu GCD29hUP/m5aGFA9wNPuSRtXoJk8qgNaaq2uDCZ8DO3bulA7wa19onCx6 qYIAvwsnQ9gt9N0sc2nXfngFr1URDv17mZNIJCUDkgMsdwGELEhUMgNGl 42TxoS1rfJR5M904ADBL+qm+IOWgC2fsoRByWQ4Rq9NniDO+LCHyO7MZn A==; X-IronPort-AV: E=Sophos;i="5.87,206,1631570400"; d="scan'208";a="20326900" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 03 Nov 2021 15:33:11 +0100 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Wed, 03 Nov 2021 15:33:11 +0100 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Wed, 03 Nov 2021 15:33:11 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1635949991; x=1667485991; h=message-id:subject:from:to:cc:date:in-reply-to: references:mime-version:content-transfer-encoding; bh=pJAsKtNWJZ+3fuNEDZ1Kmz6SYBd89CM0v2sSHcQlJEw=; b=BFtD4qL3i2YeLHCy16pev6cLxY/mmLdBQa0AMlHMfxn2blvOFhAloCjX sDPx+holsqeMO1vOe9fEmvV1Y7OZdmOWSf6TID/IVOSP0UFCiLmRFk23r 8W/9nqWukrs6TCo0WQpyuiZ1OSGbkZNlp5c0rr8xxPIW7BHT6Y9fHhc0h UskMZMBIQyCPGyZWDj2IznyDXeC1svQpunLDbHtp4eMaCncABRdAZKj4F 8pOzOPJyU71tW716o5/JjvIKB8GcTA7xPDirKE30UbJWd9rNDXABj0qkm U8CGtQpk6TvGN4rvsFC5ovuggFfSVGm8HtUSU2+c1/kbSCe0cmWs3NvGV w==; X-IronPort-AV: E=Sophos;i="5.87,206,1631570400"; d="scan'208";a="20326899" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 03 Nov 2021 15:33:11 +0100 Received: from steina-w (unknown [10.123.49.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 93497280065; Wed, 3 Nov 2021 15:33:11 +0100 (CET) Message-ID: <58a9758565f4cd6d7afd2c781fa51f2afe4d2ca9.camel@ew.tq-group.com> Subject: Re: (EXT) Re: [PATCH 1/1] clk: imx8m: Do not set IMX_COMPOSITE_CORE for non-regular composites From: Alexander Stein To: Adam Ford Cc: Abel Vesa , Michael Turquette , Stephen Boyd , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , NXP Linux Team , linux-clk , arm-soc , Fabio Estevam Date: Wed, 03 Nov 2021 15:33:09 +0100 In-Reply-To: References: <20211103123947.3222443-1-alexander.stein@ew.tq-group.com> User-Agent: Evolution 3.36.5-0ubuntu1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211103_073314_887630_8530FA63 X-CRM114-Status: GOOD ( 21.74 ) 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 Am Mittwoch, dem 03.11.2021 um 09:25 -0500 schrieb Adam Ford: > On Wed, Nov 3, 2021 at 7:41 AM Alexander Stein > < > alexander.stein@ew.tq-group.com > > wrote: > > Only imx8m_clk_hw_composite_core needs to set this flag. > > > > Fixes: a60fe746df94 ("clk: imx: Rework all imx_clk_hw_composite > > wrappers") > > Signed-off-by: Alexander Stein < > > alexander.stein@ew.tq-group.com > > > > > --- > > This is from clk_summary on a imx8mq custom board where you can > > clearly > > see the before the divider is limited to 8 (core composite) > > > > before: > > video_pll1_out 2 2 0 1031999997 0 > > 0 50000 Y > > dsi_phy_ref 1 1 0 129000000 0 > > 0 50000 Y > > lcdif_pixel 2 2 0 129000000 0 > > 0 50000 Y > > > > after: > > video_pll1_out 2 2 0 1031999997 0 > > 0 50000 Y > > dsi_phy_ref 1 1 0 24000000 0 > > 0 50000 Y > > lcdif_pixel 2 2 0 68800000 0 > > 0 50000 Y > > > > drivers/clk/imx/clk.h | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/drivers/clk/imx/clk.h b/drivers/clk/imx/clk.h > > I attempted to apply this against linux/master and it doesn't apply. > What branch did you use? The referenced commit a60fe746df94 is not in Linus' tree yet, but in linux-next. My patch is based on linux-next/next-20211101. Sorry missed to mention that. Best regards, Alexander > > > > > index 819949973db1..7d220a01de1f 100644 > > --- a/drivers/clk/imx/clk.h > > +++ b/drivers/clk/imx/clk.h > > @@ -391,11 +391,11 @@ struct clk_hw *__imx8m_clk_hw_composite(const > > char *name, > > > > #define imx8m_clk_hw_composite(name, parent_names, reg) \ > > _imx8m_clk_hw_composite(name, parent_names, reg, \ > > - IMX_COMPOSITE_CORE, > > IMX_COMPOSITE_CLK_FLAGS_DEFAULT) > > + 0, IMX_COMPOSITE_CLK_FLAGS_DEFAULT) > > > > #define imx8m_clk_hw_composite_critical(name, parent_names, reg) \ > > _imx8m_clk_hw_composite(name, parent_names, reg, \ > > - IMX_COMPOSITE_CORE, > > IMX_COMPOSITE_CLK_FLAGS_CRITICAL) > > + 0, IMX_COMPOSITE_CLK_FLAGS_CRITICAL) > > > > #define imx8m_clk_hw_composite_bus(name, parent_names, reg) \ > > _imx8m_clk_hw_composite(name, parent_names, reg, \ > > -- > > 2.25.1 > > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel