linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: devfreq: rk3399_dmc: fix clocks in example
@ 2021-10-01 15:00 Chukun Pan
  2021-10-12  1:04 ` Rob Herring
  0 siblings, 1 reply; 2+ messages in thread
From: Chukun Pan @ 2021-10-01 15:00 UTC (permalink / raw)
  To: Lin Huang
  Cc: MyungJoo Ham, Kyungmin Park, Chanwoo Choi, Rob Herring, linux-pm,
	devicetree, linux-kernel, Chukun Pan

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 <amadeus@jmu.edu.cn>
---
 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] dt-bindings: devfreq: rk3399_dmc: fix clocks in example
  2021-10-01 15:00 [PATCH] dt-bindings: devfreq: rk3399_dmc: fix clocks in example Chukun Pan
@ 2021-10-12  1:04 ` Rob Herring
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2021-10-12  1:04 UTC (permalink / raw)
  To: Chukun Pan
  Cc: Kyungmin Park, MyungJoo Ham, devicetree, linux-pm, Rob Herring,
	Chanwoo Choi, Lin Huang, linux-kernel

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 <amadeus@jmu.edu.cn>
> ---
>  Documentation/devicetree/bindings/devfreq/rk3399_dmc.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Applied, thanks!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-12  1:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-01 15:00 [PATCH] dt-bindings: devfreq: rk3399_dmc: fix clocks in example Chukun Pan
2021-10-12  1:04 ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).