From: Vinod Koul <vkoul@kernel.org>
To: linux-input@vger.kernel.org, linux-pm@vger.kernel.org
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>,
Dmitry Torokhov <dmitry.torokhov@gmail.com>,
Rob Herring <robh+dt@kernel.org>,
Sebastian Reichel <sre@kernel.org>,
devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org,
Vinod Koul <vkoul@kernel.org>
Subject: [PATCH v4 5/6] dt-bindings: power: reset: qcom: Add resin binding
Date: Wed, 27 Jun 2018 17:23:00 +0530 [thread overview]
Message-ID: <20180627115301.21330-6-vkoul@kernel.org> (raw)
In-Reply-To: <20180627115301.21330-1-vkoul@kernel.org>
Resin is similar to pwrkey, add the description and example
for resin bindings
Signed-off-by: Vinod Koul <vkoul@kernel.org>
---
.../devicetree/bindings/input/qcom,pm8941-pwrkey.txt | 1 +
Documentation/devicetree/bindings/power/reset/qcom,pon.txt | 14 ++++++++++++--
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/input/qcom,pm8941-pwrkey.txt b/Documentation/devicetree/bindings/input/qcom,pm8941-pwrkey.txt
index bf719396eadd..34ab5763f494 100644
--- a/Documentation/devicetree/bindings/input/qcom,pm8941-pwrkey.txt
+++ b/Documentation/devicetree/bindings/input/qcom,pm8941-pwrkey.txt
@@ -7,6 +7,7 @@ PROPERTIES
Value type: <string>
Definition: must be one of:
"qcom,pm8941-pwrkey"
+ "qcom,pm8941-resin"
- reg:
Usage: required
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>;
+ };
};
--
2.14.4
next prev parent reply other threads:[~2018-06-27 11:53 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-27 11:52 [PATCH v4 0/6] input: pm8941-pwrkey: Add support for reboot reason Vinod Koul
2018-06-27 11:52 ` [PATCH v4 1/6] dt-bindings: power: reset: Add qcom pon binding Vinod Koul
2018-06-27 11:52 ` [PATCH v4 2/6] power: reset: qcom-pon: Add Qcom PON driver Vinod Koul
2018-06-28 11:59 ` Sebastian Reichel
2018-06-28 12:59 ` Vinod
2018-06-28 13:16 ` Sebastian Reichel
2018-06-28 13:27 ` Vinod
2018-06-28 15:03 ` Vinod
2018-06-27 11:52 ` [PATCH v4 3/6] dt-bindings: Input: Add additional property to qcom pwrkey Vinod Koul
2018-06-27 11:52 ` [PATCH v4 4/6] input: pm8941-pwrkey: Abstract register offsets and event code Vinod Koul
2018-06-27 11:53 ` Vinod Koul [this message]
2018-06-27 17:26 ` [PATCH v4 5/6] dt-bindings: power: reset: qcom: Add resin binding Bjorn Andersson
2018-06-27 11:53 ` [PATCH v4 6/6] input: pm8941-pwrkey: Add resin entry Vinod Koul
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180627115301.21330-6-vkoul@kernel.org \
--to=vkoul@kernel.org \
--cc=bjorn.andersson@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=sre@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).