diff mbox series

arm64: dts: qcom: qcs404: Add pshold node

Message ID 20181130073400.28100-1-bjorn.andersson@linaro.org (mailing list archive)
State New, archived
Headers show
Series arm64: dts: qcom: qcs404: Add pshold node | expand

Commit Message

Bjorn Andersson Nov. 30, 2018, 7:34 a.m. UTC
The pshold block is used to drive pshold towards the PMIC, which is used
to trigger a configurable event, such as reboot or poweroff of the
QCS404 platform. Add the necessary node to enable this functionality.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
---
 arch/arm64/boot/dts/qcom/qcs404.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Vinod Koul Dec. 3, 2018, 11:43 a.m. UTC | #1
On 29-11-18, 23:34, Bjorn Andersson wrote:
> The pshold block is used to drive pshold towards the PMIC, which is used
> to trigger a configurable event, such as reboot or poweroff of the
> QCS404 platform. Add the necessary node to enable this functionality.

Reviewed-by: Vinod Koul <vkoul@kernel.org>
Tested-by: Vinod Koul <vkoul@kernel.org>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi
index 9b5c16562bbe..ce00fe678e5b 100644
--- a/arch/arm64/boot/dts/qcom/qcs404.dtsi
+++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi
@@ -260,6 +260,11 @@ 
 			clock-names = "core";
 		};
 
+		pshold@4ab000 {
+			compatible = "qcom,pshold";
+			reg = <0x004ab000 0x1000>;
+		};
+
 		tlmm: pinctrl@1000000 {
 			compatible = "qcom,qcs404-pinctrl";
 			reg = <0x01000000 0x200000>,