ARM: dts: msm: Add support for camera clock controllers on Tuna
Add support for CAMCC and CAM_BIST_MCLK_CC clock controller nodes on Tuna platform. While at it, move camcc gdsc's to real. Change-Id: I14e7add272a549cd21c39083a26baac4c50de31e Signed-off-by: Ajit Pandey <quic_ajipan@quicinc.com>
This commit is contained in:
@@ -757,15 +757,40 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
cambistmclkcc: clock-controller@1760000 {
|
cambistmclkcc: clock-controller@1760000 {
|
||||||
compatible = "qcom,dummycc";
|
compatible = "qcom,tuna-cambistmclkcc", "syscon";
|
||||||
clock-output-names = "cambistmclkcc_clocks";
|
reg = <0x1760000 0x6000>;
|
||||||
|
reg-name = "cc_base";
|
||||||
|
vdd_mx-supply = <&VDD_MX_LEVEL>;
|
||||||
|
clocks = <&rpmhcc RPMH_CXO_CLK>,
|
||||||
|
<&sleep_clk>,
|
||||||
|
<&gcc GCC_CAMERA_AHB_CLK>;
|
||||||
|
clock-names = "bi_tcxo",
|
||||||
|
"sleep_clk",
|
||||||
|
"iface";
|
||||||
#clock-cells = <1>;
|
#clock-cells = <1>;
|
||||||
#reset-cells = <1>;
|
#reset-cells = <1>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
cam_crm: syscon@adcd600 {
|
||||||
|
compatible = "syscon";
|
||||||
|
reg = <0xadcd600 0x2000>;
|
||||||
|
};
|
||||||
|
|
||||||
camcc: clock-controller@ade0000 {
|
camcc: clock-controller@ade0000 {
|
||||||
compatible = "qcom,dummycc";
|
compatible = "qcom,tuna-camcc", "syscon";
|
||||||
clock-output-names = "camcc_clocks";
|
reg = <0xade0000 0x20000>;
|
||||||
|
reg-name = "cc_base";
|
||||||
|
vdd_mm-supply = <&VDD_MM_LEVEL>;
|
||||||
|
vdd_mx-supply = <&VDD_MX_LEVEL>;
|
||||||
|
vdd_mxc-supply = <&VDD_MXC_LEVEL>;
|
||||||
|
clocks = <&rpmhcc RPMH_CXO_CLK>,
|
||||||
|
<&sleep_clk>,
|
||||||
|
<&gcc GCC_CAMERA_AHB_CLK>;
|
||||||
|
clock-names = "bi_tcxo",
|
||||||
|
"sleep_clk",
|
||||||
|
"iface";
|
||||||
|
qcom,cam_crm-crmc = <&cam_crm>;
|
||||||
#clock-cells = <1>;
|
#clock-cells = <1>;
|
||||||
#reset-cells = <1>;
|
#reset-cells = <1>;
|
||||||
};
|
};
|
||||||
@@ -992,32 +1017,33 @@
|
|||||||
#include "tuna-gdsc.dtsi"
|
#include "tuna-gdsc.dtsi"
|
||||||
|
|
||||||
&cam_cc_ipe_0_gdsc {
|
&cam_cc_ipe_0_gdsc {
|
||||||
compatible = "regulator-fixed";
|
compatible = "qcom,gdsc";
|
||||||
status = "ok";
|
status = "ok";
|
||||||
};
|
};
|
||||||
|
|
||||||
&cam_cc_ofe_gdsc {
|
&cam_cc_ofe_gdsc {
|
||||||
compatible = "regulator-fixed";
|
compatible = "qcom,gdsc";
|
||||||
status = "ok";
|
status = "ok";
|
||||||
};
|
};
|
||||||
|
|
||||||
&cam_cc_tfe_0_gdsc {
|
&cam_cc_tfe_0_gdsc {
|
||||||
compatible = "regulator-fixed";
|
compatible = "qcom,gdsc";
|
||||||
status = "ok";
|
status = "ok";
|
||||||
};
|
};
|
||||||
|
|
||||||
&cam_cc_tfe_1_gdsc {
|
&cam_cc_tfe_1_gdsc {
|
||||||
compatible = "regulator-fixed";
|
compatible = "qcom,gdsc";
|
||||||
status = "ok";
|
status = "ok";
|
||||||
};
|
};
|
||||||
|
|
||||||
&cam_cc_tfe_2_gdsc {
|
&cam_cc_tfe_2_gdsc {
|
||||||
compatible = "regulator-fixed";
|
compatible = "qcom,gdsc";
|
||||||
status = "ok";
|
status = "ok";
|
||||||
};
|
};
|
||||||
|
|
||||||
&cam_cc_titan_top_gdsc {
|
&cam_cc_titan_top_gdsc {
|
||||||
compatible = "regulator-fixed";
|
compatible = "qcom,gdsc";
|
||||||
|
parent-supply = <&VDD_MM_MXC_VOTER_LEVEL>;
|
||||||
status = "ok";
|
status = "ok";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user