diff mbox series

[1/2] clk: rockchip: add clock-id for HCLK_HDMI on rk3066

Message ID 20181008120247.31242-1-heiko@sntech.de (mailing list archive)
State New, archived
Headers show
Series [1/2] clk: rockchip: add clock-id for HCLK_HDMI on rk3066 | expand

Commit Message

Heiko Stuebner Oct. 8, 2018, 12:02 p.m. UTC
RK3066 and RK3188 share most of the clock controller but the rk3066 does
have an internal hdmi encoder and associated clock. Therefore add a
clock-id so that this clock can be used.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
---
 include/dt-bindings/clock/rk3188-cru-common.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Heiko Stuebner Oct. 11, 2018, 12:57 p.m. UTC | #1
Am Montag, 8. Oktober 2018, 14:02:46 CEST schrieb Heiko Stuebner:
> RK3066 and RK3188 share most of the clock controller but the rk3066 does
> have an internal hdmi encoder and associated clock. Therefore add a
> clock-id so that this clock can be used.
> 
> Signed-off-by: Heiko Stuebner <heiko@sntech.de>

applied both for 4.20
diff mbox series

Patch

diff --git a/include/dt-bindings/clock/rk3188-cru-common.h b/include/dt-bindings/clock/rk3188-cru-common.h
index b9462b7d3dfe..dc2101a634be 100644
--- a/include/dt-bindings/clock/rk3188-cru-common.h
+++ b/include/dt-bindings/clock/rk3188-cru-common.h
@@ -139,8 +139,9 @@ 
 #define HCLK_CIF1		470
 #define HCLK_VEPU		471
 #define HCLK_VDPU		472
+#define HCLK_HDMI		473
 
-#define CLK_NR_CLKS		(HCLK_VDPU + 1)
+#define CLK_NR_CLKS		(HCLK_HDMI + 1)
 
 /* soft-reset indices */
 #define SRST_MCORE		2