提交 7914c676 编写于 作者: V Vinod Koul 提交者: Sebastian Reichel

dt-bindings: power: reset: qcom: Add resin binding

Resin is similar to pwrkey, add the description and example
for resin bindings
Signed-off-by: NVinod Koul <vkoul@kernel.org>
Reviewed-by: NRob Herring <robh@kernel.org>
Signed-off-by: NSebastian Reichel <sebastian.reichel@collabora.co.uk>
上级 fe8e81b7
...@@ -7,6 +7,7 @@ PROPERTIES ...@@ -7,6 +7,7 @@ PROPERTIES
Value type: <string> Value type: <string>
Definition: must be one of: Definition: must be one of:
"qcom,pm8941-pwrkey" "qcom,pm8941-pwrkey"
"qcom,pm8941-resin"
- reg: - reg:
Usage: required Usage: required
......
Qualcomm PON Device Qualcomm PON Device
The Power On device for Qualcomm PM8xxx is MFD supporting pwrkey 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: Required Properties:
-compatible: "qcom,pm8916-pon" -compatible: "qcom,pm8916-pon"
...@@ -12,6 +12,8 @@ Required Properties: ...@@ -12,6 +12,8 @@ Required Properties:
Optional subnode: Optional subnode:
-pwrkey: Specifies the subnode pwrkey and should follow the -pwrkey: Specifies the subnode pwrkey and should follow the
qcom,pm8941-pwrkey.txt description. 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 The rest of the properties should follow the generic reboot-mode description
found in reboot-mode.txt found in reboot-mode.txt
...@@ -32,4 +34,12 @@ Example: ...@@ -32,4 +34,12 @@ Example:
bias-pull-up; bias-pull-up;
linux,code = <KEY_POWER>; 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>;
};
}; };
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册