Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: clps711x: Changing the compatibility string to match with the smallest supported chip

This patch changes the compatibility string to match with the smallest
supported chip (EP7209). Since the DT-support for this CPU is not yet
announced, this change is safe.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

authored by

Alexander Shiyan and committed by
Arnd Bergmann
893b7798 f19786f9

+3 -3
+2 -2
Documentation/devicetree/bindings/clock/clps711x-clock.txt
··· 1 1 * Clock bindings for the Cirrus Logic CLPS711X CPUs 2 2 3 3 Required properties: 4 - - compatible : Shall contain "cirrus,clps711x-clk". 4 + - compatible : Shall contain "cirrus,ep7209-clk". 5 5 - reg : Address of the internal register set. 6 6 - startup-frequency: Factory set CPU startup frequency in HZ. 7 7 - #clock-cells : Should be <1>. ··· 13 13 Example: 14 14 clks: clks@80000000 { 15 15 #clock-cells = <1>; 16 - compatible = "cirrus,ep7312-clk", "cirrus,clps711x-clk"; 16 + compatible = "cirrus,ep7312-clk", "cirrus,ep7209-clk"; 17 17 reg = <0x80000000 0xc000>; 18 18 startup-frequency = <73728000>; 19 19 };
+1 -1
drivers/clk/clk-clps711x.c
··· 184 184 of_clk_add_provider(np, of_clk_src_onecell_get, 185 185 &clps711x_clk->clk_data); 186 186 } 187 - CLK_OF_DECLARE(clps711x, "cirrus,clps711x-clk", clps711x_clk_init_dt); 187 + CLK_OF_DECLARE(clps711x, "cirrus,ep7209-clk", clps711x_clk_init_dt); 188 188 #endif