correct ids for clk_testout
Subsystems (3)
v2 cover correct ids for clk_testout
we use clk_testout1 and clk_testout2 for camera. e.g. mipi 24M mclk. the ids of clk_testout1 and clk_testout2 is wrong. it's time to correct it.
Eddie Cai (2):
clk: rockchip: add ids for camera
clk: rockchip: fix the incorrect ids
drivers/clk/rockchip/clk-rk3399.c | 4 ++-- include/dt-bindings/clock/rk3399-cru.h | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-)
Signature · 1 line
1.9.1
PATCH v2 1/2 clk: rockchip: add ids for camera
we use SCLK_TESTCLKOUT1 and SCLK_TESTCLKOUT2 for camera, so add those ids.
--- include/dt-bindings/clock/rk3399-cru.h | 2 ++ 1 file changed, 2 insertions(+)
include/dt-bindings/clock/rk3399-cru.h +2 -0
@@ -132,6 +132,8 @@#define SCLK_RMII_SRC 166#define SCLK_PCIEPHY_REF100M 167#define SCLK_DDRC 168 +#define SCLK_TESTCLKOUT1 169 +#define SCLK_TESTCLKOUT2 170#define DCLK_VOP0 180#define DCLK_VOP1 181
Signature · 1 line
1.9.1
Heiko Stuebner
maintainerRe: [PATCH V2 1/2] clk: rockchip: add ids for camera
Am Dienstag, 25. April 2017, 14:41:09 CEST schrieb Eddie Cai:
Quoted 3 lines
we use
SCLK_TESTCLKOUT1andSCLK_TESTCLKOUT2for camera, so add those ids.Signed-off-by Eddie Cai <[email protected]>
applied for 4.13
Thanks
Heiko
PATCH v2 2/2 clk: rockchip: fix the incorrect ids
In reply to Eddie Caithe ids of clk_testout1 and clk_testout2 is incorrect now. let's correct it
--- drivers/clk/rockchip/clk-rk3399.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/clk/rockchip/clk-rk3399.c +2 -2
@@ -1066,13 +1066,13 @@ enum rk3399_pmu_plls {/* cif_testout */ MUX (0 ,"clk_testout1_pll_src" , mux_pll_src_cpll_gpll_npll_p,0 ,RK3399_CLKSEL_CON (38 ),6 ,2 ,MFLAGS ), -COMPOSITE (0 ,"clk_testout1" , mux_clk_testout1_p,0 , +COMPOSITE (SCLK_TESTCLKOUT1 ,"clk_testout1" , mux_clk_testout1_p,0 ,RK3399_CLKSEL_CON (38 ),5 ,1 ,MFLAGS ,0 ,5 ,DFLAGS ,RK3399_CLKGATE_CON (13 ),14 ,GFLAGS ),MUX (0 ,"clk_testout2_pll_src" , mux_pll_src_cpll_gpll_npll_p,0 ,RK3399_CLKSEL_CON (38 ),14 ,2 ,MFLAGS ), -COMPOSITE (0 ,"clk_testout2" , mux_clk_testout2_p,0 , +COMPOSITE (SCLK_TESTCLKOUT2 ,"clk_testout2" , mux_clk_testout2_p,0 ,RK3399_CLKSEL_CON (38 ),13 ,1 ,MFLAGS ,8 ,5 ,DFLAGS , RK3399_CLKGATE_CON(13), 15, GFLAGS),
Signature · 1 line
1.9.1
Heiko Stuebner
maintainerRe: [PATCH V2 2/2] clk: rockchip: fix the incorrect ids
Am Dienstag, 25. April 2017, 14:41:10 CEST schrieb Eddie Cai:
Quoted 3 lines
the ids of
clk_testout1andclk_testout2is incorrect now. let's correct itSigned-off-by Eddie Cai <[email protected]>
applied for 4.13, after fixing the subject up a bit [the old ids are not incorrect, there simply weren't any assigned to the testclks yet :-) ]
Thanks
Heiko
Heiko Stübner
maintainerHi Eddie,
Am Dienstag, 25. April 2017, 14:41:08 CEST schrieb Eddie Cai:
Quoted 2 lines
we use
clk_testout1andclk_testout2for camera. e.g. mipi 24M mclk. the ids ofclk_testout1andclk_testout2is wrong. it's time to correct it.
Just to say, patches look good - thanks for explaining what the clocks are going to be used for.
I'll apply them after 4.12-rc1 is released (in roughly 2.5 weeks), due to needing a stable base for the clock-ids.
Heiko