cvbs: add clk path select
authorNian Jing <nian.jing@amlogic.com>
Tue, 6 Mar 2018 08:48:28 +0000 (16:48 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Tue, 13 Mar 2018 05:29:45 +0000 (21:29 -0800)
commit045d6671ed60d3648fadc79f1d95a472ab899866
tree46983478e5b5fb5ad3f081ca9b468e7d83473881
parentd2e3e132cc729ce6081ce811e7d770b8296ff068
cvbs: add clk path select

PD#156734: add clk path select
0: vid_pll vid2_clk (default)
1: gp0_pll vid2_clk
2: vid_pll vid1_clk
3: gp0_pll vid1_clk
use below command to change clk path:
echo set_clkpath 1 >/sys/class/cvbs/debug

Change-Id: Ib0e2e9dd284f1b103c945602050ba91737537037
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
MAINTAINERS
arch/arm64/boot/dts/amlogic/g12a_s905d2_skt.dts
arch/arm64/boot/dts/amlogic/g12a_s905d2_skt_buildroot.dts
arch/arm64/boot/dts/amlogic/g12a_s905d2_u200.dts
arch/arm64/boot/dts/amlogic/g12a_s905x2_u211.dts
arch/arm64/boot/dts/amlogic/g12a_s905y2_u221.dts
drivers/amlogic/media/vout/cvbs/cvbs_out.c
drivers/amlogic/media/vout/cvbs/cvbs_out_reg.h
drivers/amlogic/media/vout/cvbs/cvbsregs.h
drivers/amlogic/media/vout/cvbs/enc_clk_config.c
drivers/amlogic/media/vout/cvbs/enc_clk_config.h