Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dd470448 authored by Lee Jones's avatar Lee Jones Committed by Mike Turquette
Browse files

clk: ux500: Provide device enumeration number suffix for SMSC911x



First Ethernet device has a ".0" appended onto the device name. It
appears that we need this in order to obtain the correct clock.

Without this fix Ethernet does not function on Ux500 devices, which is a
regression.

Cc: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarMike Turquette <mturquette@linaro.org>
[mturquette@linaro.org: improved changelog]
parent e4aa937e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -325,7 +325,7 @@ void u8500_clk_init(u32 clkrst1_base, u32 clkrst2_base, u32 clkrst3_base,
	clk = clk_reg_prcc_pclk("p3_pclk0", "per3clk", clkrst3_base,
				BIT(0), 0);
	clk_register_clkdev(clk, "fsmc", NULL);
	clk_register_clkdev(clk, NULL, "smsc911x");
	clk_register_clkdev(clk, NULL, "smsc911x.0");

	clk = clk_reg_prcc_pclk("p3_pclk1", "per3clk", clkrst3_base,
				BIT(1), 0);