Browse Source

clk: rockchip: add clock-id for HCLK_HDMI on rk3066

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>
Heiko Stuebner 7 năm trước cách đây
mục cha
commit
5f697a0e31

+ 2 - 1
include/dt-bindings/clock/rk3188-cru-common.h

@@ -139,8 +139,9 @@
 #define HCLK_CIF1		470
 #define HCLK_CIF1		470
 #define HCLK_VEPU		471
 #define HCLK_VEPU		471
 #define HCLK_VDPU		472
 #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 */
 /* soft-reset indices */
 #define SRST_MCORE		2
 #define SRST_MCORE		2