clk: rockchip: add clock-id for HCLK_HDMI on rk3066
authorHeiko Stuebner <heiko@sntech.de>
Sat, 27 Jan 2018 22:21:12 +0000 (23:21 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 11 Oct 2018 12:57:25 +0000 (14:57 +0200)
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

index b9462b7d3dfe67bf495431786d19f53b61f4a8cf..dc2101a634befe28eb2d240c7a38055cd806de79 100644 (file)
 #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