From afc4761d9f70cd9c27a3e2f82764dd4d7d929155 Mon Sep 17 00:00:00 2001 From: Jishnu Prakash Date: Fri, 1 May 2020 19:00:47 +0530 Subject: [PATCH] ARM: dts: msm: Correct PMK8350 SID number for holi PMK8350 has SID number of 6 for holi, while the default value in the PMK8350 dtsi file is 0. Correct it for holi. In addition, disable PMK8350's PON nodes for holi, as PMK8350 is not the primary PMIC for holi. Change-Id: I67b392acdc5527020014231f50532120683ff56b --- qcom/holi.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/qcom/holi.dtsi b/qcom/holi.dtsi index ea53d85d2508..ccec17e8b67a 100644 --- a/qcom/holi.dtsi +++ b/qcom/holi.dtsi @@ -535,6 +535,8 @@ }; }; +#define PMK8350_SID 6 + #include "holi-pinctrl.dtsi" #include "pm6350.dtsi" #include "pm7250b.dtsi" @@ -544,7 +546,29 @@ #include "holi-gdsc.dtsi" #include "holi-ion.dtsi" +&pmk8350 { + reg = <6 SPMI_USID>; + + pon_pbs@800 { + status = "disabled"; + }; + + pon_hlos@1300 { + status = "disabled"; + }; +}; + +&pmk8350_adc_tm { + interrupts = <0x6 0x34 0x0 IRQ_TYPE_EDGE_RISING>; +}; + +&pmk8350_rtc { + interrupts = <0x6 0x62 0x1 IRQ_TYPE_EDGE_RISING>; +}; + &pmk8350_vadc { + interrupts = <0x6 0x31 0x0 IRQ_TYPE_EDGE_RISING>; + /delete-node/ pm8350_ref_gnd; /delete-node/ pm8350_vref_1p25; /delete-node/ pm8350_die_temp;