From 19d54791d0732a77cbc64f2e29681f257ec0d5eb Mon Sep 17 00:00:00 2001 From: Taniya Das Date: Fri, 10 Dec 2021 22:26:00 +0530 Subject: [PATCH] ARM: dts: msm: Update the camera clock node for PARROT Update the camera clock controller node and corresponding GDSC's for parrot. Change-Id: I43376ef5a16147a878dc735c00b9aec1b6c79b2c --- qcom/parrot-rumi.dtsi | 5 +++++ qcom/parrot.dtsi | 14 +++++++++++--- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/qcom/parrot-rumi.dtsi b/qcom/parrot-rumi.dtsi index 6e62c0a2..2c1b8e13 100644 --- a/qcom/parrot-rumi.dtsi +++ b/qcom/parrot-rumi.dtsi @@ -1,3 +1,4 @@ +#include #include &soc { @@ -136,3 +137,7 @@ <&ufs_phy_rx_symbol_1_clk>, <&ufs_phy_tx_symbol_0_clk>, <&usb3_phy_wrapper_gcc_usb30_pipe_clk>; }; + +&camcc { + clocks = <&bi_tcxo>, <&gcc GCC_CAMERA_AHB_CLK>; +}; diff --git a/qcom/parrot.dtsi b/qcom/parrot.dtsi index f8c61f1f..0086f6e1 100644 --- a/qcom/parrot.dtsi +++ b/qcom/parrot.dtsi @@ -636,8 +636,14 @@ }; camcc: clock-controller@ade0000 { - compatible = "qcom,dummycc"; - clock-output-names = "camcc_clocks"; + compatible = "qcom,parrot-camcc", "syscon"; + reg = <0xade0000 0x20000>; + reg-name = "cc_base"; + vdd_cx-supply = <&VDD_CX_LEVEL>; + vdd_mxa-supply = <&VDD_MXA_LEVEL>; + clocks = <&rpmhcc RPMH_CXO_CLK>, + <&gcc GCC_CAMERA_AHB_CLK>; + clock-names = "bi_tcxo", "iface"; #clock-cells = <1>; #reset-cells = <1>; }; @@ -940,7 +946,9 @@ }; &cam_cc_camss_top_gdsc { - compatible = "regulator-fixed"; + parent-supply = <&VDD_CX_LEVEL>; + clocks = <&gcc GCC_CAMERA_AHB_CLK>; + clock-names = "ahb_clk"; status = "ok"; };