[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0b3f6954-273c-d15d-94c3-a80c7df23f56@lucaceresoli.net>
Date: Fri, 18 Dec 2020 23:18:42 +0100
From: Luca Ceresoli <luca@...aceresoli.net>
To: Geert Uytterhoeven <geert+renesas@...der.be>,
Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>,
Adam Ford <aford173@...il.com>,
Rob Herring <robh+dt@...nel.org>
Cc: linux-clk@...r.kernel.org, devicetree@...r.kernel.org,
linux-renesas-soc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] clk: vc5: Use "idt,voltage-microvolt" instead of
"idt,voltage-microvolts"
Hi Geert,
On 18/12/20 13:52, Geert Uytterhoeven wrote:
> Commit 45c940184b501fc6 ("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: 260249f929e81d3d ("clk: vc5: Enable addition output configurations of the Versaclock")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@...der.be>
> ---
> There are no upstream users yet, but they are planned for v5.12, so I
> think this should be in v5.11-rc1.
>
> Thanks!
> ---
> drivers/clk/clk-versaclock5.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/clk/clk-versaclock5.c b/drivers/clk/clk-versaclock5.c
> index c90460e7ef2153fe..43db67337bc06824 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)) {
Reviewed-by: Luca Ceresoli <luca@...aceresoli.net>
Now the example in the bindings needs the same fix. I guess you doing it
in your "Miscellaneous fixes and improvements" v2 series, otherwise I
can do that.
Thanks,
--
Luca
Powered by blists - more mailing lists