dt-bindings: clock: rk3188-common: add PCLK_CIF0/PCLK_CIF1
Subsystems (3)
PATCH v2 1/2 dt-bindings: clock: rk3188-common: add PCLK_CIF0/PCLK_CIF1
Add missing clock IDs for the CIF (Camera InterFace) blocks on the RK3188/RK3066.
Signed-off-by Val Packett <[email protected]>
---
v2: split dt-bindings into separate patch
(oops, thought that only applies to actual yaml and not headers)
include/dt-bindings/clock/rk3188-cru-common.h | 2 ++ 1 file changed, 2 insertions(+)
include/dt-bindings/clock/rk3188-cru-common.h +2 -0
@@ -103,6 +103,8 @@#define PCLK_PERI 351#define PCLK_DDRUPCTL 352#define PCLK_PUBL 353 +#define PCLK_CIF0 354 +#define PCLK_CIF1 355/* hclk gates */ #define HCLK_SDMMC 448
Signature · 1 line
2.47.1
PATCH v2 2/2 clk: rockchip: use PCLK_CIF0/1 clock IDs on RK3066
RK3066 has two "CIF" video capture interface blocks, reference the newly added IDs for their PCLK clocks.
Signed-off-by Val Packett <[email protected]>
--- drivers/clk/rockchip/clk-rk3188.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/clk/rockchip/clk-rk3188.c +2 -2
@@ -344,7 +344,7 @@ static struct rockchip_clk_branch common_clk_branches[] __initdata = {GATE (0 ,"pclkin_cif0" ,"ext_cif0" ,0 ,RK2928_CLKGATE_CON (3 ),3 ,GFLAGS ), -INVERTER (0 ,"pclk_cif0" ,"pclkin_cif0" , +INVERTER (PCLK_CIF0 ,"pclk_cif0" ,"pclkin_cif0" ,RK2928_CLKSEL_CON (30 ),8 ,IFLAGS ), FACTOR(0, "xin12m", "xin24m", 0, 1, 2),
@@ -602,7 +602,7 @@ static struct rockchip_clk_branch rk3066a_clk_branches[] __initdata = {GATE (0 ,"pclkin_cif1" ,"ext_cif1" ,0 ,RK2928_CLKGATE_CON (3 ),4 ,GFLAGS ), -INVERTER (0 ,"pclk_cif1" ,"pclkin_cif1" , +INVERTER (PCLK_CIF1 ,"pclk_cif1" ,"pclkin_cif1" ,RK2928_CLKSEL_CON (30 ),12 ,IFLAGS ), COMPOSITE(0, "aclk_gpu_src", mux_pll_src_cpll_gpll_p, 0,
Signature · 1 line
2.47.1
Quoted 4 lines · Val Packett
Add missing clock IDs for the CIF (Camera InterFace) blocks on the RK3188/RK3066.
Signed-off-by Val Packett <[email protected]>
Acked-by Conor Dooley <[email protected]>
Quoted 4 lines · Val Packett
Add missing clock IDs for the CIF (Camera InterFace) blocks on the RK3188/RK3066.
Applied, thanks!
[1/2] dt-bindings: clock: rk3188-common: add PCLK_CIF0/PCLK_CIF1
commit: 7c9804031626c51d4ddbc8c6e82bbd8496cf6e56
[2/2] clk: rockchip: use PCLK_CIF0/1 clock IDs on RK3066
commit: 4a918309d53f800dd07b94c4a4b1fcdb6289eca5Best regards,
Signature · 1 line
Heiko Stuebner <[email protected]>