Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1513269

Re: [PATCH v4 20/23] ARM: shmobile: rcar-gen2: Stop passing mode pins state to clock driver

From Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Newsgroups linux.kernel
Subject Re: [PATCH v4 20/23] ARM: shmobile: rcar-gen2: Stop passing mode pins state to clock driver
Date 2016-11-01 14:40 +0100
Message-ID <syHsd-Q3-11@gated-at.bofh.it> (permalink)
References <suHTP-60l-5@gated-at.bofh.it> <suI3w-63W-45@gated-at.bofh.it>
Organization Cogent Embedded

Show all headers | View raw


On 10/21/2016 04:17 PM, Geert Uytterhoeven wrote:

> Now the R-Car Gen2 CPG clock driver obtains the state of the mode pins
> from the R-Car RST driver, there's no longer a need to pass this state
> explicitly. Hence we can just call of_clk_init() instead.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> Acked-by: Dirk Behme <dirk.behme@de.bosch.com>
> ---
> v4:
>   - Add Acked-by,
>   - Rebase on top of "ARM: shmobile: rcar-gen2: Obtain extal frequency
>     from DT",
>   - Remove the call to rcar_gen2_read_mode_pins(),
>
> v3:
>   - Drop "select MFD_SYSCON", as the clock driver no longer uses syscon,
>
> v2:
>   - Kill compiler warning if CONFIG_ARM_ARCH_TIMER is not enabled.
> ---
>  arch/arm/mach-shmobile/setup-rcar-gen2.c | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm/mach-shmobile/setup-rcar-gen2.c b/arch/arm/mach-shmobile/setup-rcar-gen2.c
> index afb9fdcd3d9084e2..b527258e0a62e806 100644
> --- a/arch/arm/mach-shmobile/setup-rcar-gen2.c
> +++ b/arch/arm/mach-shmobile/setup-rcar-gen2.c
[...]
> @@ -130,7 +129,7 @@ void __init rcar_gen2_timer_init(void)
>  	iounmap(base);
>  #endif /* CONFIG_ARM_ARCH_TIMER */
>
> -	rcar_gen2_clocks_init(mode);
> +	of_clk_init(NULL);
>  	clocksource_probe();
>  }
>

   This hunk no longer applies to devel.

MBR, Sergei

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [PATCH v4 20/23] ARM: shmobile: rcar-gen2: Stop passing mode pins  state to clock driver Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2016-11-01 14:40 +0100
  Re: [PATCH v4 20/23] ARM: shmobile: rcar-gen2: Stop passing mode pins  state to clock driver Geert Uytterhoeven <geert@linux-m68k.org> - 2016-11-02 09:10 +0100

csiph-web