[PATCH v4 01/15] clk: exynos5420: Rename mux parent arrays

Tomasz Figa tomasz.figa at gmail.com
Tue May 6 11:01:11 PDT 2014


Shaik,

On 06.05.2014 18:26, Shaik Ameer Basha wrote:
> This patch renames the mux parent arrays as per the naming
> convension followed by the other exynos specific clock drivers.
>
> Signed-off-by: Rahul Sharma <rahul.sharma at samsung.com>
> Signed-off-by: Shaik Ameer Basha <shaik.ameer at samsung.com>
> Reviewed-by: Alim Akhtar <alim.akhtar at samsung.com>
> ---
>   drivers/clk/samsung/clk-exynos5420.c |  359 ++++++++++++++++++----------------
>   1 file changed, 186 insertions(+), 173 deletions(-)
>
> diff --git a/drivers/clk/samsung/clk-exynos5420.c b/drivers/clk/samsung/clk-exynos5420.c
> index 7a9e3b4..831670d 100644
> --- a/drivers/clk/samsung/clk-exynos5420.c
> +++ b/drivers/clk/samsung/clk-exynos5420.c

[snip]

>   static struct samsung_mux_clock exynos5420_mux_clks[] __initdata = {
> -	MUX(0, "mout_mspll_kfc", mspll_cpu_p, SRC_TOP7, 8, 2),
> -	MUX(0, "mout_mspll_cpu", mspll_cpu_p, SRC_TOP7, 12, 2),
> -	MUX(0, "mout_apll", apll_p, SRC_CPU, 0, 1),
> -	MUX(0, "mout_cpu", cpu_p, SRC_CPU, 16, 1),
> -	MUX(0, "mout_kpll", kpll_p, SRC_KFC, 0, 1),
> -	MUX(0, "mout_cpu_kfc", kfc_p, SRC_KFC, 16, 1),
> +	MUX(0, "mout_mspll_kfc", mout_mspll_cpu_p, SRC_TOP7, 8, 2),
> +	MUX(0, "mout_mspll_cpu", mout_mspll_cpu_p, SRC_TOP7, 12, 2),
> +	MUX(0, "mout_apll", mout_apll_p, SRC_CPU, 0, 1),
> +	MUX(0, "mout_cpu", mout_cpu_p, SRC_CPU, 16, 1),
> +	MUX(0, "mout_kpll", mout_kpll_p, SRC_KFC, 0, 1),
> +	MUX(0, "mout_kfc", mout_kfc_p, SRC_KFC, 16, 1),

Here the clock name is also changed, but I'll just fix the commit 
message when applying, assuming that this change doesn't break anything.

>
> -	MUX(0, "sclk_bpll", bpll_p, SRC_CDREX, 0, 1),
> +	MUX(0, "sclk_bpll", mout_bpll_p, SRC_CDREX, 0, 1),

[snip]

>   static struct samsung_div_clock exynos5420_div_clks[] __initdata = {
>   	DIV(0, "div_arm", "mout_cpu", DIV_CPU0, 0, 3),
>   	DIV(0, "sclk_apll", "mout_apll", DIV_CPU0, 24, 3),
>   	DIV(0, "armclk2", "div_arm", DIV_CPU0, 28, 3),
> -	DIV(0, "div_kfc", "mout_cpu_kfc", DIV_KFC0, 0, 3),
> +	DIV(0, "div_kfc", "mout_kfc", DIV_KFC0, 0, 3),

Same here.

Best regards,
Tomasz



More information about the linux-arm-kernel mailing list