]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: dts: qcom: apq8064 - add RPM regulators support
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Fri, 10 Apr 2015 20:42:44 +0000 (21:42 +0100)
committerKumar Gala <galak@codeaurora.org>
Mon, 27 Apr 2015 21:09:45 +0000 (16:09 -0500)
This patch adds rpm node to apq8064 dt as rpm would be used by other
devices for regulator support.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Kumar Gala <galak@codeaurora.org>
arch/arm/boot/dts/qcom-apq8064.dtsi

index 6c1511263a55deacd582b96bd4c57edad59300a8..19629c9c957c2397668b8fbf29be23101e8f7735 100644 (file)
                        #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      = <GIC_SPI 19 IRQ_TYPE_EDGE_RISING>,
+                                         <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>,
+                                         <GIC_SPI 22 IRQ_TYPE_EDGE_RISING>;
+                       interrupt-names = "ack", "err", "wakeup";
+
+                       regulators {
+                               compatible = "qcom,rpm-pm8921-regulators";
+
+                               pm8921_hdmi_switch: hdmi-switch {
+                                       bias-pull-down;
+                               };
+                       };
+               };
+
                /* Temporary fixed regulator */
                vsdcc_fixed: vsdcc-regulator {
                        compatible = "regulator-fixed";