2021-10-01 18:37:49

by Chukun Pan

[permalink] [raw]
Subject: [PATCH] dt-bindings: devfreq: rk3399_dmc: fix clocks in example

The clocks in the example use 'SCLK_DDRCLK', which does not exist in
the rk3399-cru.h, correct it to 'SCLK_DDRC'.

Ref: commit 7fbdfcd68783 ("clk: rockchip: add SCLK_DDRC id for rk3399 ddrc")
Fixes: c1ceb8f7c167 ("Documentation: bindings: add dt documentation for rk3399 dmc")
Signed-off-by: Chukun Pan <[email protected]>
---
Documentation/devicetree/bindings/devfreq/rk3399_dmc.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/devfreq/rk3399_dmc.txt b/Documentation/devicetree/bindings/devfreq/rk3399_dmc.txt
index 3fbeb3733c48..58fc8a6cebc7 100644
--- a/Documentation/devicetree/bindings/devfreq/rk3399_dmc.txt
+++ b/Documentation/devicetree/bindings/devfreq/rk3399_dmc.txt
@@ -174,7 +174,7 @@ Example:
compatible = "rockchip,rk3399-dmc";
devfreq-events = <&dfi>;
interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
- clocks = <&cru SCLK_DDRCLK>;
+ clocks = <&cru SCLK_DDRC>;
clock-names = "dmc_clk";
operating-points-v2 = <&dmc_opp_table>;
center-supply = <&ppvar_centerlogic>;
--
2.17.1


2021-10-12 01:06:41

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: devfreq: rk3399_dmc: fix clocks in example

On Fri, 01 Oct 2021 23:00:24 +0800, Chukun Pan wrote:
> The clocks in the example use 'SCLK_DDRCLK', which does not exist in
> the rk3399-cru.h, correct it to 'SCLK_DDRC'.
>
> Ref: commit 7fbdfcd68783 ("clk: rockchip: add SCLK_DDRC id for rk3399 ddrc")
> Fixes: c1ceb8f7c167 ("Documentation: bindings: add dt documentation for rk3399 dmc")
> Signed-off-by: Chukun Pan <[email protected]>
> ---
> Documentation/devicetree/bindings/devfreq/rk3399_dmc.txt | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>

Applied, thanks!