aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/power
diff options
context:
space:
mode:
authorVinod Koul <vkoul@kernel.org>2018-06-28 20:38:49 +0530
committerSebastian Reichel <sre@kernel.org>2018-07-07 22:22:23 +0200
commit7914c67667a06d7b5dbc297dfff49285b9c3a0d4 (patch)
tree5664762c7183b5db06bde5cbb23cfa086fee3721 /Documentation/devicetree/bindings/power
parentadp5061: New driver for ADP5061 I2C battery charger (diff)
downloadlinux-dev-7914c67667a06d7b5dbc297dfff49285b9c3a0d4.tar.xz
linux-dev-7914c67667a06d7b5dbc297dfff49285b9c3a0d4.zip
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 <vkoul@kernel.org> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Diffstat (limited to 'Documentation/devicetree/bindings/power')
-rw-r--r--Documentation/devicetree/bindings/power/reset/qcom,pon.txt14
1 files changed, 12 insertions, 2 deletions
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 = <KEY_POWER>;
};
+
+ resin {
+ compatible = "qcom,pm8941-resin";
+ interrupts = <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>;
+ debounce = <15625>;
+ bias-pull-up;
+ linux,code = <KEY_VOLUMEDOWN>;
+ };
};