clk: rockchip: add ids for rk3399 testclks used for camera handling
authorEddie Cai <eddie.cai.linux@gmail.com>
Tue, 25 Apr 2017 06:41:10 +0000 (14:41 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 2 Jun 2017 12:48:38 +0000 (14:48 +0200)
clk_testout1 and clk_testout2 are used for camera handling, so add their ids.

Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/clk/rockchip/clk-rk3399.c

index fa3cbef0877632de2954c6861eccb457e4da105a..6847120b61cdeff87b7de7995c412df5a7d6449c 100644 (file)
@@ -1066,13 +1066,13 @@ static struct rockchip_clk_branch rk3399_clk_branches[] __initdata = {
        /* 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),