All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@kernel.org>,
	Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>,
	linux-clk@vger.kernel.org, linux-renesas-soc@vger.kernel.org
Subject: Re: [PATCH 09/13] clk: renesas: r8a77995: Correct parent clock of DU
Date: Thu, 29 Nov 2018 14:28:35 +0200	[thread overview]
Message-ID: <2350048.0LZWSkXjt6@avalon> (raw)
In-Reply-To: <20181129105008.10239-10-geert+renesas@glider.be>

Hi Geert,

Thank you for the patch.

On Thursday, 29 November 2018 12:50:04 EET Geert Uytterhoeven wrote:
> According to the R-Car Gen3 Hardware Manual Rev 1.00, the parent clock
> of the DU module clocks on R-Car D3 is S1D1.
> 
> Fixes: d71e851d82c6cfe5 ("clk: renesas: cpg-mssr: Add R8A77995 support")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

The patch has no effect on the DU operation as the rcar-du driver hardcodes a 
different clock source for the dot clock. However, after hacking the driver to 
hardcode usage of this clock, operation off the LVDS output is improved. I 
thus believe this change to be correct in addition to not having any effect 
with the current mainline code :-)

Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

> ---
>  drivers/clk/renesas/r8a77995-cpg-mssr.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/clk/renesas/r8a77995-cpg-mssr.c
> b/drivers/clk/renesas/r8a77995-cpg-mssr.c index
> 47e60e3dbe05ff18..ad95dc225e9c039a 100644
> --- a/drivers/clk/renesas/r8a77995-cpg-mssr.c
> +++ b/drivers/clk/renesas/r8a77995-cpg-mssr.c
> @@ -146,8 +146,8 @@ static const struct mssr_mod_clk r8a77995_mod_clks[]
> __initconst = { DEF_MOD("vspbs",		 627,	R8A77995_CLK_S0D1),
>  	DEF_MOD("ehci0",		 703,	R8A77995_CLK_S3D2),
>  	DEF_MOD("hsusb",		 704,	R8A77995_CLK_S3D2),
> -	DEF_MOD("du1",			 723,	R8A77995_CLK_S2D1),
> -	DEF_MOD("du0",			 724,	R8A77995_CLK_S2D1),
> +	DEF_MOD("du1",			 723,	R8A77995_CLK_S1D1),
> +	DEF_MOD("du0",			 724,	R8A77995_CLK_S1D1),
>  	DEF_MOD("lvds",			 727,	R8A77995_CLK_S2D1),
>  	DEF_MOD("vin7",			 804,	R8A77995_CLK_S1D2),
>  	DEF_MOD("vin6",			 805,	R8A77995_CLK_S1D2),

-- 
Regards,

Laurent Pinchart




  reply	other threads:[~2018-11-29 12:28 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-29 10:49 [PATCH 00/13] clk: renesas: Miscellaneous fixes Geert Uytterhoeven
2018-11-29 10:49 ` [PATCH 01/13] dt-bindings: clock: r8a7795: Remove CSIREF clock Geert Uytterhoeven
2018-11-29 10:49 ` [PATCH 02/13] dt-bindings: clock: r8a7796: " Geert Uytterhoeven
2018-11-29 10:49 ` [PATCH 03/13] clk: renesas: r8a774a1: Add CPEX clock Geert Uytterhoeven
2018-11-29 10:49 ` [PATCH 04/13] clk: renesas: r8a7795: " Geert Uytterhoeven
2018-11-29 10:50 ` [PATCH 05/13] clk: renesas: r8a7796: " Geert Uytterhoeven
2018-11-29 10:50 ` [PATCH 06/13] clk: renesas: r8a77965: " Geert Uytterhoeven
2018-11-29 10:50 ` [PATCH 07/13] clk: renesas: r8a77970: " Geert Uytterhoeven
2018-11-29 10:50 ` [PATCH 08/13] clk: renesas: r8a77990: Correct parent clock of DU Geert Uytterhoeven
2018-11-29 12:25   ` Laurent Pinchart
2018-11-29 10:50 ` [PATCH 09/13] clk: renesas: r8a77995: " Geert Uytterhoeven
2018-11-29 12:28   ` Laurent Pinchart [this message]
2018-11-29 10:50 ` [PATCH 10/13] clk: renesas: r8a77995: Remove non-existent VIN5-7 module clocks Geert Uytterhoeven
2018-11-29 10:50 ` [PATCH 11/13] clk: renesas: r8a77995: Remove non-existent SSP clocks Geert Uytterhoeven
2018-11-29 10:50 ` [PATCH 12/13] clk: renesas: r8a77995: Add missing CPEX clock Geert Uytterhoeven
2018-11-29 10:50 ` [PATCH 13/13] clk: renesas: r8a77995: Simplify PLL3 multiplier/divider Geert Uytterhoeven
2018-11-29 12:31 ` [PATCH 00/13] clk: renesas: Miscellaneous fixes Laurent Pinchart
2018-11-29 21:49 ` 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=2350048.0LZWSkXjt6@avalon \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=geert+renesas@glider.be \
    --cc=kieran.bingham+renesas@ideasonboard.com \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=mturquette@baylibre.com \
    --cc=sboyd@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.