From 456ff01d6c64eed9719e8eecf5269a10a0cd9f06 Mon Sep 17 00:00:00 2001 From: Kiran Gunda Date: Tue, 26 May 2020 18:04:08 +0530 Subject: [PATCH] ARM: dts: msm: add SPMI debug bus for shima Add an SPMI debug bus device and associated child devices so that consumers can have unrestricted access to the PMICs on pre-production devices. This helps to make debugging easier. Change-Id: Id534051fef71eb84fbea3dc8976ecb2cbd9eff47 --- qcom/shima.dtsi | 53 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/qcom/shima.dtsi b/qcom/shima.dtsi index c26092c8f518..80934013f724 100644 --- a/qcom/shima.dtsi +++ b/qcom/shima.dtsi @@ -10,6 +10,7 @@ #include #include #include +#include #include #include @@ -1152,6 +1153,58 @@ qcom,ee = <0>; }; + spmi_debug_bus: qcom,spmi-debug@6b12000 { + compatible = "qcom,spmi-pmic-arb-debug"; + reg = <0x6b12000 0x60>, <0x7820b0 0x4>; + reg-names = "core", "fuse"; + clocks = <&aopcc QDSS_CLK>; + clock-names = "core_clk"; + qcom,fuse-disable-bit = <24>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + + qcom,pmk8350-debug@0 { + compatible = "qcom,spmi-pmic"; + reg = <0 SPMI_USID>; + #address-cells = <2>; + #size-cells = <0>; + qcom,can-sleep; + }; + + qcom,pm8350-debug@1 { + compatible = "qcom,spmi-pmic"; + reg = <1 SPMI_USID>; + #address-cells = <2>; + #size-cells = <0>; + qcom,can-sleep; + }; + + qcom,pm8350c-debug@2 { + compatible = "qcom,spmi-pmic"; + reg = <2 SPMI_USID>; + #address-cells = <2>; + #size-cells = <0>; + qcom,can-sleep; + }; + + qcom,pm8350b-debug@3 { + compatible = "qcom,spmi-pmic"; + reg = <3 SPMI_USID>; + #address-cells = <2>; + #size-cells = <0>; + qcom,can-sleep; + }; + + qcom,pmr735b-debug@5 { + compatible = "qcom,spmi-pmic"; + reg = <5 SPMI_USID>; + #address-cells = <2>; + #size-cells = <0>; + qcom,can-sleep; + }; + }; + qcom,chd { compatible = "qcom,core-hang-detect"; label = "core";