Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752290AbbBWHzB (ORCPT ); Mon, 23 Feb 2015 02:55:01 -0500 Received: from mail-wg0-f46.google.com ([74.125.82.46]:50850 "EHLO mail-wg0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752237AbbBWHy7 (ORCPT ); Mon, 23 Feb 2015 02:54:59 -0500 From: Srinivas Kandagatla To: Kumar Gala , linux-arm-msm@vger.kernel.org Cc: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Russell King , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH 01/12] ARM: dts: apq8064: add RPM regulators support Date: Mon, 23 Feb 2015 07:54:53 +0000 Message-Id: <1424678093-12966-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <424678035-12862-1-git-send-email-srinivas.kandagatla@linaro.org> References: <424678035-12862-1-git-send-email-srinivas.kandagatla@linaro.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 6842 Lines: 275 This patch adds rpm node to apq8064 dt as rpm would be used by other devices for regulator support. Also adds all the regulators in the rpm. Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/qcom-apq8064.dtsi | 241 ++++++++++++++++++++++++++++++++++++ 1 file changed, 241 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi index b3154c0..db5fc59 100644 --- a/arch/arm/boot/dts/qcom-apq8064.dtsi +++ b/arch/arm/boot/dts/qcom-apq8064.dtsi @@ -3,6 +3,7 @@ #include "skeleton.dtsi" #include #include +#include #include #include @@ -246,6 +247,246 @@ #reset-cells = <1>; }; + l2cc: clock-controller@2011000 { + compatible = "syscon"; + reg = <0x2011000 0x1000>; + }; + + rpm@108000 { + compatible = "qcom,rpm-apq8064"; + reg = <0x108000 0x1000>; + qcom,ipc = <&l2cc 0x8 2>; + + interrupts = <0 19 0>, <0 21 0>, <0 22 0>; + interrupt-names = "ack", "err", "wakeup"; + + #address-cells = <1>; + #size-cells = <0>; + + /* Buck SMPS */ + pm8921_s1: pm8921-s1 { + compatible = "qcom,rpm-pm8921-smps"; + reg = ; + }; + + pm8921_s2: pm8921-s2 { + compatible = "qcom,rpm-pm8921-smps"; + reg = ; + }; + + pm8921_s3: pm8921-s3 { + compatible = "qcom,rpm-pm8921-smps"; + reg = ; + }; + + pm8921_s4: pm8921-s4 { + compatible = "qcom,rpm-pm8921-smps"; + reg = ; + }; + + pm8921_s5: pm8921-s5 { + compatible = "qcom,rpm-pm8921-ftsmps"; + reg = ; + }; + + pm8921_s6: pm8921-s6 { + compatible = "qcom,rpm-pm8921-ftsmps"; + reg = ; + }; + + pm8921_s7: pm8921-s7 { + compatible = "qcom,rpm-pm8921-smps"; + reg = ; + }; + + pm8921_s8: pm8921-s8 { + compatible = "qcom,rpm-pm8921-smps"; + reg = ; + }; + + /* PMOS LDO */ + pm8921_l1: pm8921-l1 { + compatible = "qcom,rpm-pm8921-nldo"; + reg = ; + }; + + pm8921_l2: pm8921-l2 { + compatible = "qcom,rpm-pm8921-nldo"; + reg = ; + }; + + pm8921_l3: pm8921-l3 { + compatible = "qcom,rpm-pm8921-pldo"; + reg = ; + }; + + pm8921_l4: pm8921-l4 { + compatible = "qcom,rpm-pm8921-pldo"; + reg = ; + }; + + pm8921_l5: pm8921-l5 { + compatible = "qcom,rpm-pm8921-pldo"; + reg = ; + }; + + pm8921_l6: pm8921-l6 { + compatible = "qcom,rpm-pm8921-pldo"; + reg = ; + }; + + pm8921_l7: pm8921-l7 { + compatible = "qcom,rpm-pm8921-pldo"; + reg = ; + }; + + pm8921_l8: pm8921-l8 { + compatible = "qcom,rpm-pm8921-pldo"; + reg = ; + }; + + pm8921_l9: pm8921-l9 { + compatible = "qcom,rpm-pm8921-pldo"; + reg = ; + }; + + pm8921_l10: pm8921-l10 { + compatible = "qcom,rpm-pm8921-pldo"; + reg = ; + }; + + pm8921_l11: pm8921-l11 { + compatible = "qcom,rpm-pm8921-pldo"; + reg = ; + }; + + pm8921_l12: pm8921-l12 { + compatible = "qcom,rpm-pm8921-nldo"; + reg = ; + }; + + pm8921_l14: pm8921-l14 { + compatible = "qcom,rpm-pm8921-pldo"; + reg = ; + }; + + pm8921_l15: pm8921-l15 { + compatible = "qcom,rpm-pm8921-pldo"; + reg = ; + }; + + pm8921_l16: pm8921-l16 { + compatible = "qcom,rpm-pm8921-pldo"; + reg = ; + }; + + pm8921_l17: pm8921-l17 { + compatible = "qcom,rpm-pm8921-pldo"; + reg = ; + }; + + pm8921_l18: pm8921-l18 { + compatible = "qcom,rpm-pm8921-nldo"; + reg = ; + }; + + pm8921_l21: pm8921-l21 { + compatible = "qcom,rpm-pm8921-pldo"; + reg = ; + }; + + pm8921_l22: pm8921-l22 { + compatible = "qcom,rpm-pm8921-pldo"; + reg = ; + }; + + pm8921_l23: pm8921-l23 { + compatible = "qcom,rpm-pm8921-pldo"; + reg = ; + }; + + pm8921_l24: pm8921-l24 { + compatible = "qcom,rpm-pm8921-nldo1200"; + reg = ; + }; + + pm8921_l25: pm8921-l25 { + compatible = "qcom,rpm-pm8921-nldo1200"; + reg = ; + }; + + pm8921_l26: pm8921-l26 { + compatible = "qcom,rpm-pm8921-nldo1200"; + reg = ; + }; + + pm8921_l27: pm8921-l27 { + compatible = "qcom,rpm-pm8921-nldo1200"; + reg = ; + }; + + pm8921_l28: pm8921-l28 { + compatible = "qcom,rpm-pm8921-nldo1200"; + reg = ; + }; + + pm8921_l29: pm8921-l29 { + compatible = "qcom,rpm-pm8921-pldo"; + reg = ; + }; + + /* Low Voltage Switch */ + pm8921_lvs1: pm8921-lvs1 { + compatible = "qcom,rpm-pm8921-switch"; + reg = ; + }; + + pm8921_lvs2: pm8921-lvs2 { + compatible = "qcom,rpm-pm8921-switch"; + reg = ; + }; + + pm8921_lvs3: pm8921-lvs3 { + compatible = "qcom,rpm-pm8921-switch"; + reg = ; + }; + + pm8921_lvs4: pm8921-lvs4 { + compatible = "qcom,rpm-pm8921-switch"; + reg = ; + }; + + pm8921_lvs5: pm8921-lvs5 { + compatible = "qcom,rpm-pm8921-switch"; + reg = ; + }; + + pm8921_lvs6: pm8921-lvs6 { + compatible = "qcom,rpm-pm8921-switch"; + reg = ; + }; + + pm8921_lvs7: pm8921-lvs7 { + compatible = "qcom,rpm-pm8921-switch"; + reg = ; + }; + + pm8921_usb_switch: pm8921-usb-switch { + compatible = "qcom,rpm-pm8921-switch"; + reg = ; + }; + + pm8921_hdmi_switch: pm8921-hdmi-switch { + compatible = "qcom,rpm-pm8921-switch"; + reg = ; + }; + + pm8921_ncp: pm8921-ncp { + compatible = "qcom,rpm-pm8921-ncp"; + reg = ; + }; + }; + /* Temporary fixed regulator */ vsdcc_fixed: vsdcc-regulator { compatible = "regulator-fixed"; -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/