From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Magnus Damm <magnus.damm@gmail.com>,
Rob Herring <robh+dt@kernel.org>,
Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>,
devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org,
linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org,
Andrzej Hajda <andrzej.hajda@intel.com>,
Neil Armstrong <neil.armstrong@linaro.org>,
Robert Foss <robert.foss@linaro.org>,
Jonas Karlman <jonas@kwiboo.se>,
Jernej Skrabec <jernej.skrabec@gmail.com>,
Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com>
Subject: Re: [PATCH v1 3/8] clk: renesas: r8a779g0: Add display related clocks
Date: Tue, 22 Nov 2022 04:52:17 +0200 [thread overview]
Message-ID: <Y3w5YSqCI9GYrWTS@pendragon.ideasonboard.com> (raw)
In-Reply-To: <166869413781.50677.10862438013473651942@Monstersaurus>
On Thu, Nov 17, 2022 at 02:08:57PM +0000, Kieran Bingham wrote:
> Quoting Tomi Valkeinen (2022-11-17 12:25:42)
> > From: Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com>
> >
> > Add clocks related to display which are needed to get the DSI output
> > working.
> >
> > Extracted from Renesas BSP tree.
> >
> > Signed-off-by: Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com>
> > ---
> > drivers/clk/renesas/r8a779g0-cpg-mssr.c | 14 ++++++++++++++
> > 1 file changed, 14 insertions(+)
> >
> > diff --git a/drivers/clk/renesas/r8a779g0-cpg-mssr.c b/drivers/clk/renesas/r8a779g0-cpg-mssr.c
> > index c6337a408e5e..6937f1aee677 100644
> > --- a/drivers/clk/renesas/r8a779g0-cpg-mssr.c
> > +++ b/drivers/clk/renesas/r8a779g0-cpg-mssr.c
> > @@ -145,6 +145,8 @@ static const struct cpg_core_clk r8a779g0_core_clks[] __initconst = {
> > DEF_FIXED("viobusd2", R8A779G0_CLK_VIOBUSD2, CLK_VIO, 2, 1),
> > DEF_FIXED("vcbus", R8A779G0_CLK_VCBUS, CLK_VC, 1, 1),
> > DEF_FIXED("vcbusd2", R8A779G0_CLK_VCBUSD2, CLK_VC, 2, 1),
> > + DEF_FIXED("dsiref", R8A779G0_CLK_DSIREF, CLK_PLL5_DIV4, 48, 1),
> > + DEF_DIV6P1("dsiext", R8A779G0_CLK_DSIEXT, CLK_PLL5_DIV4, 0x884),
> >
> > DEF_GEN4_SDH("sd0h", R8A779G0_CLK_SD0H, CLK_SDSRC, 0x870),
> > DEF_GEN4_SD("sd0", R8A779G0_CLK_SD0, R8A779G0_CLK_SD0H, 0x870),
> > @@ -161,6 +163,14 @@ static const struct mssr_mod_clk r8a779g0_mod_clks[] __initconst = {
> > DEF_MOD("avb0", 211, R8A779G0_CLK_S0D4_HSC),
> > DEF_MOD("avb1", 212, R8A779G0_CLK_S0D4_HSC),
> > DEF_MOD("avb2", 213, R8A779G0_CLK_S0D4_HSC),
> > +
> > + DEF_MOD("dis0", 411, R8A779G0_CLK_S0D3),
>
> dsi0?
>
> Oh - how curious - it's listed as dis0 in the datasheet.
> Ok - so this is the DU *display* not DSI ;-)
>
> > + DEF_MOD("dsitxlink0", 415, R8A779G0_CLK_DSIREF),
> > + DEF_MOD("dsitxlink1", 416, R8A779G0_CLK_DSIREF),
> > +
> > + DEF_MOD("fcpvd0", 508, R8A779G0_CLK_S0D3),
> > + DEF_MOD("fcpvd1", 509, R8A779G0_CLK_S0D3),
> > +
>
> checks out. I guess the fcpcs is the CSI related FCP ? Anyway, if it's
> not needed it can be ignored for now.
>
>
> > DEF_MOD("hscif0", 514, R8A779G0_CLK_SASYNCPERD1),
> > DEF_MOD("hscif1", 515, R8A779G0_CLK_SASYNCPERD1),
> > DEF_MOD("hscif2", 516, R8A779G0_CLK_SASYNCPERD1),
> > @@ -193,6 +203,10 @@ static const struct mssr_mod_clk r8a779g0_mod_clks[] __initconst = {
> > DEF_MOD("tmu3", 716, R8A779G0_CLK_SASYNCPERD2),
> > DEF_MOD("tmu4", 717, R8A779G0_CLK_SASYNCPERD2),
> > DEF_MOD("tpu0", 718, R8A779G0_CLK_SASYNCPERD4),
> > +
> > + DEF_MOD("vspd0", 830, R8A779G0_CLK_S0D1_VIO),
> > + DEF_MOD("vspd1", 831, R8A779G0_CLK_S0D1_VIO),
> > +
>
> Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
I can't verify the MSTP clock parents, I assume they come from the BSP,
so
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> > DEF_MOD("wdt1:wdt0", 907, R8A779G0_CLK_R),
> > DEF_MOD("cmt0", 910, R8A779G0_CLK_R),
> > DEF_MOD("cmt1", 911, R8A779G0_CLK_R),
--
Regards,
Laurent Pinchart
next prev parent reply other threads:[~2022-11-22 2:52 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-17 12:25 [PATCH v1 0/8] Renesas V4H DSI & DP output support Tomi Valkeinen
2022-11-17 12:25 ` [PATCH v1 1/8] dt-bindings: display: renesas,du: Provide bindings for r8a779g0 Tomi Valkeinen
2022-11-17 13:56 ` Kieran Bingham
2022-11-17 18:07 ` Krzysztof Kozlowski
2022-11-22 2:44 ` Laurent Pinchart
2022-11-17 12:25 ` [PATCH v1 2/8] dt-bindings: display: bridge: renesas,dsi-csi2-tx: Add r8a779g0 Tomi Valkeinen
2022-11-17 13:58 ` Kieran Bingham
2022-11-17 15:14 ` Geert Uytterhoeven
2022-11-22 2:45 ` Laurent Pinchart
2022-11-22 8:20 ` Tomi Valkeinen
2022-11-22 8:55 ` Geert Uytterhoeven
2022-11-17 18:07 ` Krzysztof Kozlowski
2022-11-17 12:25 ` [PATCH v1 3/8] clk: renesas: r8a779g0: Add display related clocks Tomi Valkeinen
2022-11-17 14:08 ` Kieran Bingham
2022-11-22 2:52 ` Laurent Pinchart [this message]
2022-11-17 12:25 ` [PATCH v1 4/8] arm64: dts: renesas: r8a779g0: Add display related data Tomi Valkeinen
2022-11-17 15:03 ` Kieran Bingham
2022-11-22 3:00 ` Laurent Pinchart
2022-11-22 8:35 ` Tomi Valkeinen
2022-11-17 12:25 ` [PATCH v1 5/8] arm64: dts: renesas: white-hawk-cpu: Add DP output support Tomi Valkeinen
2022-11-17 15:05 ` Kieran Bingham
2022-11-22 3:01 ` Laurent Pinchart
2022-11-17 12:25 ` [PATCH v1 6/8] drm: rcar-du: Add r8a779g0 support Tomi Valkeinen
2022-11-17 15:08 ` Kieran Bingham
2022-11-22 3:05 ` Laurent Pinchart
2022-11-22 8:42 ` Tomi Valkeinen
2022-11-17 12:25 ` [PATCH v1 7/8] drm: rcar-du: dsi: Add r8A779g0 support Tomi Valkeinen
2022-11-17 15:46 ` Kieran Bingham
2022-11-17 15:49 ` Tomi Valkeinen
2022-11-17 15:56 ` Kieran Bingham
2022-11-22 8:50 ` Tomi Valkeinen
2022-11-29 0:43 ` Laurent Pinchart
2022-11-29 6:57 ` Tomi Valkeinen
2022-11-17 12:25 ` [PATCH v1 8/8] HACK: drm: rcar-du: dsi: use-extal-clk hack Tomi Valkeinen
2022-11-17 12:28 ` [PATCH v1 0/8] Renesas V4H DSI & DP output support Tomi Valkeinen
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=Y3w5YSqCI9GYrWTS@pendragon.ideasonboard.com \
--to=laurent.pinchart@ideasonboard.com \
--cc=andrzej.hajda@intel.com \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=geert+renesas@glider.be \
--cc=jernej.skrabec@gmail.com \
--cc=jonas@kwiboo.se \
--cc=kieran.bingham+renesas@ideasonboard.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=magnus.damm@gmail.com \
--cc=neil.armstrong@linaro.org \
--cc=robert.foss@linaro.org \
--cc=robh+dt@kernel.org \
--cc=tomi.valkeinen+renesas@ideasonboard.com \
--cc=tomi.valkeinen@ideasonboard.com \
/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