From 7914c67667a06d7b5dbc297dfff49285b9c3a0d4 Mon Sep 17 00:00:00 2001 From: Vinod Koul Date: Thu, 28 Jun 2018 20:38:49 +0530 Subject: dt-bindings: power: reset: qcom: Add resin binding Resin is similar to pwrkey, add the description and example for resin bindings Signed-off-by: Vinod Koul Reviewed-by: Rob Herring Signed-off-by: Sebastian Reichel --- Documentation/devicetree/bindings/power/reset/qcom,pon.txt | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'Documentation/devicetree/bindings/power/reset') diff --git a/Documentation/devicetree/bindings/power/reset/qcom,pon.txt b/Documentation/devicetree/bindings/power/reset/qcom,pon.txt index f32cdd358267..651491bb63b7 100644 --- a/Documentation/devicetree/bindings/power/reset/qcom,pon.txt +++ b/Documentation/devicetree/bindings/power/reset/qcom,pon.txt @@ -1,9 +1,9 @@ Qualcomm PON Device The Power On device for Qualcomm PM8xxx is MFD supporting pwrkey -along with the Android reboot-mode. +and resin along with the Android reboot-mode. -This DT node has pwrkey as sub node. +This DT node has pwrkey and resin as sub nodes. Required Properties: -compatible: "qcom,pm8916-pon" @@ -12,6 +12,8 @@ Required Properties: Optional subnode: -pwrkey: Specifies the subnode pwrkey and should follow the qcom,pm8941-pwrkey.txt description. +-resin: Specifies the subnode resin and should follow the + qcom,pm8xxx-pwrkey.txt description. The rest of the properties should follow the generic reboot-mode description found in reboot-mode.txt @@ -32,4 +34,12 @@ Example: bias-pull-up; linux,code = ; }; + + resin { + compatible = "qcom,pm8941-resin"; + interrupts = <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>; + debounce = <15625>; + bias-pull-up; + linux,code = ; + }; }; -- cgit v1.2.3-55-g7522