From: Alexander Stein <alexander.stein@ew.tq-group.com>
To: Adam Ford <aford173@gmail.com>
Cc: Abel Vesa <abel.vesa@nxp.com>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>, Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
NXP Linux Team <linux-imx@nxp.com>,
linux-clk <linux-clk@vger.kernel.org>,
arm-soc <linux-arm-kernel@lists.infradead.org>,
Fabio Estevam <festevam@gmail.com>
Subject: Re: (EXT) Re: [PATCH 1/1] clk: imx8m: Do not set IMX_COMPOSITE_CORE for non-regular composites
Date: Wed, 03 Nov 2021 15:33:09 +0100 [thread overview]
Message-ID: <58a9758565f4cd6d7afd2c781fa51f2afe4d2ca9.camel@ew.tq-group.com> (raw)
In-Reply-To: <CAHCN7xJw02XxfWYt_DCKX0p02sPxTMgghYCLaVMJJ4mJXpsKMw@mail.gmail.com>
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
> >
next prev parent reply other threads:[~2021-11-03 14:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-03 12:39 [PATCH 1/1] clk: imx8m: Do not set IMX_COMPOSITE_CORE for non-regular composites Alexander Stein
2021-11-03 14:25 ` Adam Ford
2021-11-03 14:33 ` Alexander Stein [this message]
2021-11-03 18:23 ` (EXT) " Adam Ford
2021-11-03 20:45 ` Abel Vesa
2021-11-05 22:26 ` Stephen Boyd
2021-11-05 22:27 ` Stephen Boyd
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=58a9758565f4cd6d7afd2c781fa51f2afe4d2ca9.camel@ew.tq-group.com \
--to=alexander.stein@ew.tq-group.com \
--cc=abel.vesa@nxp.com \
--cc=aford173@gmail.com \
--cc=festevam@gmail.com \
--cc=kernel@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-imx@nxp.com \
--cc=mturquette@baylibre.com \
--cc=s.hauer@pengutronix.de \
--cc=sboyd@kernel.org \
--cc=shawnguo@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox