From 9e1f169c58a6aa43764e041b172a2d6ff6e6175d Mon Sep 17 00:00:00 2001 From: linyx10 Date: Sun, 17 Jan 2021 22:01:33 +0800 Subject: [PATCH] holi.dtsi: Tbase MobiCore Driver(mcd) configuration. - Follow sm4250, set the IRQ for mcd with ID 248 to request interrupt. - Use RPM_SMD_CE1_CLK as system clock. Change-Id: I577f91aaab2510bd98b5db6dbba340d5680fe8cf Signed-off-by: linyx10 Reviewed-on: https://gerrit.mot.com/1853305 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Binsheng Que Reviewed-by: Huosheng Liao Submit-Approved: Jira Key --- qcom/holi.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/qcom/holi.dtsi b/qcom/holi.dtsi index 4e041d8fc4b8..58cb194da4a7 100644 --- a/qcom/holi.dtsi +++ b/qcom/holi.dtsi @@ -3158,6 +3158,21 @@ compatible = "qcom,smcinvoke"; }; + mcd { + compatible = "qcom,mcd"; + qcom,ce-hw-instance = <0>; + qcom,ce-device = <0>; + interrupts = <0 248 0>; + interrupt-names = "mcd_irq"; + clock-names = "core_clk_src", "core_clk", "iface_clk", "bus_clk"; + clocks = + <&rpmcc RPM_SMD_CE1_CLK>, + <&rpmcc RPM_SMD_CE1_CLK>, + <&rpmcc RPM_SMD_CE1_CLK>, + <&rpmcc RPM_SMD_CE1_CLK>; + qcom,ce-opp-freq = <192000000>; + }; + eud: qcom,msm-eud@1628000 { compatible = "qcom,msm-eud"; interrupt-names = "eud_irq";