On Tue, Oct 3, 2017 at 7:00 PM, Marek Szyprowski <m.szyprowski@xxxxxxxxxxx> wrote: > S3C2443 SoCs still uses old, non-dt CPUfreq driver, which requires clkdev > aliases to get access to proper clocks. Create those aliases using > samsung_clk_register_alias() function instead of using *_A clock macros, > which will be removed soon. > > Signed-off-by: Marek Szyprowski <m.szyprowski@xxxxxxxxxxx> > --- > drivers/clk/samsung/clk-s3c2443.c | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/drivers/clk/samsung/clk-s3c2443.c b/drivers/clk/samsung/clk-s3c2443.c > index abb935c42916..45166033f638 100644 > --- a/drivers/clk/samsung/clk-s3c2443.c > +++ b/drivers/clk/samsung/clk-s3c2443.c > @@ -117,8 +117,8 @@ struct samsung_mux_clock s3c2443_common_muxes[] __initdata = { > MUX(0, "epllref", epllref_p, CLKSRC, 7, 2), > MUX(ESYSCLK, "esysclk", esysclk_p, CLKSRC, 6, 1), > MUX(0, "mpllref", mpllref_p, CLKSRC, 3, 1), > - MUX_A(MSYSCLK, "msysclk", msysclk_p, CLKSRC, 4, 1, "msysclk"), > - MUX_A(ARMCLK, "armclk", armclk_p, CLKDIV0, 13, 1, "armclk"), > + MUX(MSYSCLK, "msysclk", msysclk_p, CLKSRC, 4, 1), > + MUX(ARMCLK, "armclk", armclk_p, CLKDIV0, 13, 1), > MUX(0, "mux_i2s0", i2s0_p, CLKSRC, 14, 2), > }; > > @@ -189,6 +189,8 @@ struct samsung_gate_clock s3c2443_common_gates[] __initdata = { > }; > > struct samsung_clock_alias s3c2443_common_aliases[] __initdata = { > + ALIAS(MSYSCLK, NULL, "msysclk"), > + ALIAS(ARMCLK, NULL, "armclk"), > ALIAS(HCLK, NULL, "hclk"), > ALIAS(HCLK_SSMC, NULL, "nand"), > ALIAS(PCLK_UART0, "s3c2440-uart.0", "uart"), Acked-by: Chanwoo Choi <cw00.choi@xxxxxxxxxxx> -- Best Regards, Chanwoo Choi Samsung Electronics -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html