From: Geert Uytterhoeven Date: Fri, 18 Dec 2020 12:52:53 +0000 (+0100) Subject: clk: vc5: Use "idt,voltage-microvolt" instead of "idt,voltage-microvolts" X-Git-Tag: baikal/mips/sdk5.9~11904^2^3 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=34e7f76aff444bba48705aa25748f2b0bbe7eb03;p=kernel.git clk: vc5: Use "idt,voltage-microvolt" instead of "idt,voltage-microvolts" Commit c18be6e17a9773c9 ("dt-bindings: clk: versaclock5: convert to yaml") accidentally changed "idt,voltage-microvolts" to "idt,voltage-microvolt" in the DT bindings, while the driver still used the former. Update the driver to match the bindings, as Documentation/devicetree/bindings/property-units.txt actually recommends using "microvolt". Fixes: 3bf579674fef1985 ("clk: vc5: Enable addition output configurations of the Versaclock") Signed-off-by: Geert Uytterhoeven Link: https://lore.kernel.org/r/20201218125253.3815567-1-geert+renesas@glider.be Reviewed-by: Luca Ceresoli Signed-off-by: Stephen Boyd --- diff --git a/drivers/clk/clk-versaclock5.c b/drivers/clk/clk-versaclock5.c index c90460e7ef215..43db67337bc06 100644 --- a/drivers/clk/clk-versaclock5.c +++ b/drivers/clk/clk-versaclock5.c @@ -739,8 +739,8 @@ static int vc5_update_power(struct device_node *np_output, { u32 value; - if (!of_property_read_u32(np_output, - "idt,voltage-microvolts", &value)) { + if (!of_property_read_u32(np_output, "idt,voltage-microvolt", + &value)) { clk_out->clk_output_cfg0_mask |= VC5_CLK_OUTPUT_CFG0_PWR_MASK; switch (value) { case 1800000: