Loading arch/arm/boot/dts/qcom/msm8996-camera.dtsi +27 −24 Original line number Diff line number Diff line Loading @@ -738,44 +738,47 @@ }; &i2c_freq_100Khz { qcom,hw-thigh = <78>; qcom,hw-tlow = <114>; qcom,hw-tsu-sto = <28>; qcom,hw-tsu-sta = <28>; qcom,hw-thd-dat = <10>; qcom,hw-thd-sta = <77>; qcom,hw-tbuf = <118>; qcom,hw-thigh = <201>; qcom,hw-tlow = <174>; qcom,hw-tsu-sto = <204>; qcom,hw-tsu-sta = <231>; qcom,hw-thd-dat = <22>; qcom,hw-thd-sta = <162>; qcom,hw-tbuf = <227>; qcom,hw-scl-stretch-en = <0>; qcom,hw-trdhld = <6>; qcom,hw-tsp = <1>; qcom,hw-tsp = <3>; qcom,cci-clk-src = <37500000>; status = "ok"; }; &i2c_freq_400Khz { qcom,hw-thigh = <20>; qcom,hw-tlow = <28>; qcom,hw-tsu-sto = <21>; qcom,hw-tsu-sta = <21>; qcom,hw-thd-dat = <13>; qcom,hw-thd-sta = <18>; qcom,hw-tbuf = <32>; qcom,hw-thigh = <38>; qcom,hw-tlow = <56>; qcom,hw-tsu-sto = <40>; qcom,hw-tsu-sta = <40>; qcom,hw-thd-dat = <22>; qcom,hw-thd-sta = <35>; qcom,hw-tbuf = <62>; qcom,hw-scl-stretch-en = <0>; qcom,hw-trdhld = <6>; qcom,hw-tsp = <3>; qcom,cci-clk-src = <37500000>; status = "ok"; }; &i2c_freq_custom { qcom,hw-thigh = <15>; qcom,hw-tlow = <28>; qcom,hw-tsu-sto = <21>; qcom,hw-tsu-sta = <21>; qcom,hw-thd-dat = <13>; qcom,hw-thd-sta = <18>; qcom,hw-tbuf = <25>; qcom,hw-thigh = <38>; qcom,hw-tlow = <56>; qcom,hw-tsu-sto = <40>; qcom,hw-tsu-sta = <40>; qcom,hw-thd-dat = <22>; qcom,hw-thd-sta = <35>; qcom,hw-tbuf = <62>; qcom,hw-scl-stretch-en = <1>; qcom,hw-trdhld = <6>; qcom,hw-tsp = <3>; qcom,cci-clk-src = <37500000>; status = "ok"; }; Loading @@ -786,8 +789,8 @@ qcom,hw-tsu-sta = <18>; qcom,hw-thd-dat = <16>; qcom,hw-thd-sta = <15>; qcom,hw-tbuf = <19>; qcom,hw-scl-stretch-en = <1>; qcom,hw-tbuf = <24>; qcom,hw-scl-stretch-en = <0>; qcom,hw-trdhld = <3>; qcom,hw-tsp = <3>; qcom,cci-clk-src = <37500000>; Loading drivers/media/platform/msm/camera_v2/sensor/cci/msm_cci.c +9 −9 Original line number Diff line number Diff line Loading @@ -1820,17 +1820,17 @@ static void msm_cci_init_default_clk_params(struct cci_device *cci_dev, uint8_t index) { /* default clock params are for 100Khz */ cci_dev->cci_clk_params[index].hw_thigh = 78; cci_dev->cci_clk_params[index].hw_tlow = 114; cci_dev->cci_clk_params[index].hw_tsu_sto = 28; cci_dev->cci_clk_params[index].hw_tsu_sta = 28; cci_dev->cci_clk_params[index].hw_thd_dat = 10; cci_dev->cci_clk_params[index].hw_thd_sta = 77; cci_dev->cci_clk_params[index].hw_tbuf = 118; cci_dev->cci_clk_params[index].hw_thigh = 201; cci_dev->cci_clk_params[index].hw_tlow = 174; cci_dev->cci_clk_params[index].hw_tsu_sto = 204; cci_dev->cci_clk_params[index].hw_tsu_sta = 231; cci_dev->cci_clk_params[index].hw_thd_dat = 22; cci_dev->cci_clk_params[index].hw_thd_sta = 162; cci_dev->cci_clk_params[index].hw_tbuf = 227; cci_dev->cci_clk_params[index].hw_scl_stretch_en = 0; cci_dev->cci_clk_params[index].hw_trdhld = 6; cci_dev->cci_clk_params[index].hw_tsp = 1; cci_dev->cci_clk_params[index].cci_clk_src = 19200000; cci_dev->cci_clk_params[index].hw_tsp = 3; cci_dev->cci_clk_params[index].cci_clk_src = 37500000; } static void msm_cci_init_clk_params(struct cci_device *cci_dev) Loading Loading
arch/arm/boot/dts/qcom/msm8996-camera.dtsi +27 −24 Original line number Diff line number Diff line Loading @@ -738,44 +738,47 @@ }; &i2c_freq_100Khz { qcom,hw-thigh = <78>; qcom,hw-tlow = <114>; qcom,hw-tsu-sto = <28>; qcom,hw-tsu-sta = <28>; qcom,hw-thd-dat = <10>; qcom,hw-thd-sta = <77>; qcom,hw-tbuf = <118>; qcom,hw-thigh = <201>; qcom,hw-tlow = <174>; qcom,hw-tsu-sto = <204>; qcom,hw-tsu-sta = <231>; qcom,hw-thd-dat = <22>; qcom,hw-thd-sta = <162>; qcom,hw-tbuf = <227>; qcom,hw-scl-stretch-en = <0>; qcom,hw-trdhld = <6>; qcom,hw-tsp = <1>; qcom,hw-tsp = <3>; qcom,cci-clk-src = <37500000>; status = "ok"; }; &i2c_freq_400Khz { qcom,hw-thigh = <20>; qcom,hw-tlow = <28>; qcom,hw-tsu-sto = <21>; qcom,hw-tsu-sta = <21>; qcom,hw-thd-dat = <13>; qcom,hw-thd-sta = <18>; qcom,hw-tbuf = <32>; qcom,hw-thigh = <38>; qcom,hw-tlow = <56>; qcom,hw-tsu-sto = <40>; qcom,hw-tsu-sta = <40>; qcom,hw-thd-dat = <22>; qcom,hw-thd-sta = <35>; qcom,hw-tbuf = <62>; qcom,hw-scl-stretch-en = <0>; qcom,hw-trdhld = <6>; qcom,hw-tsp = <3>; qcom,cci-clk-src = <37500000>; status = "ok"; }; &i2c_freq_custom { qcom,hw-thigh = <15>; qcom,hw-tlow = <28>; qcom,hw-tsu-sto = <21>; qcom,hw-tsu-sta = <21>; qcom,hw-thd-dat = <13>; qcom,hw-thd-sta = <18>; qcom,hw-tbuf = <25>; qcom,hw-thigh = <38>; qcom,hw-tlow = <56>; qcom,hw-tsu-sto = <40>; qcom,hw-tsu-sta = <40>; qcom,hw-thd-dat = <22>; qcom,hw-thd-sta = <35>; qcom,hw-tbuf = <62>; qcom,hw-scl-stretch-en = <1>; qcom,hw-trdhld = <6>; qcom,hw-tsp = <3>; qcom,cci-clk-src = <37500000>; status = "ok"; }; Loading @@ -786,8 +789,8 @@ qcom,hw-tsu-sta = <18>; qcom,hw-thd-dat = <16>; qcom,hw-thd-sta = <15>; qcom,hw-tbuf = <19>; qcom,hw-scl-stretch-en = <1>; qcom,hw-tbuf = <24>; qcom,hw-scl-stretch-en = <0>; qcom,hw-trdhld = <3>; qcom,hw-tsp = <3>; qcom,cci-clk-src = <37500000>; Loading
drivers/media/platform/msm/camera_v2/sensor/cci/msm_cci.c +9 −9 Original line number Diff line number Diff line Loading @@ -1820,17 +1820,17 @@ static void msm_cci_init_default_clk_params(struct cci_device *cci_dev, uint8_t index) { /* default clock params are for 100Khz */ cci_dev->cci_clk_params[index].hw_thigh = 78; cci_dev->cci_clk_params[index].hw_tlow = 114; cci_dev->cci_clk_params[index].hw_tsu_sto = 28; cci_dev->cci_clk_params[index].hw_tsu_sta = 28; cci_dev->cci_clk_params[index].hw_thd_dat = 10; cci_dev->cci_clk_params[index].hw_thd_sta = 77; cci_dev->cci_clk_params[index].hw_tbuf = 118; cci_dev->cci_clk_params[index].hw_thigh = 201; cci_dev->cci_clk_params[index].hw_tlow = 174; cci_dev->cci_clk_params[index].hw_tsu_sto = 204; cci_dev->cci_clk_params[index].hw_tsu_sta = 231; cci_dev->cci_clk_params[index].hw_thd_dat = 22; cci_dev->cci_clk_params[index].hw_thd_sta = 162; cci_dev->cci_clk_params[index].hw_tbuf = 227; cci_dev->cci_clk_params[index].hw_scl_stretch_en = 0; cci_dev->cci_clk_params[index].hw_trdhld = 6; cci_dev->cci_clk_params[index].hw_tsp = 1; cci_dev->cci_clk_params[index].cci_clk_src = 19200000; cci_dev->cci_clk_params[index].hw_tsp = 3; cci_dev->cci_clk_params[index].cci_clk_src = 37500000; } static void msm_cci_init_clk_params(struct cci_device *cci_dev) Loading