Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1413533
| From | John Stultz <john.stultz@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 1/5] dts: bindings: Add binding documentation for hisilicon,hi6552-powerkey |
| Date | 2016-06-04 00:20 +0200 |
| Message-ID | <rG5BF-xM-29@gated-at.bofh.it> (permalink) |
| References | <rG5BE-xM-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Adds binding documentation for hi6552 pmic powerkey button.
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Kumar Gala <galak@codeaurora.org>
Cc: Lee Jones <lee.jones@linaro.org>
Cc: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
Cc: Wei Xu <xuwei5@hisilicon.com>
Cc: Guodong Xu <guodong.xu@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
---
.../bindings/input/hisilicon,hi6552-powerkey.txt | 40 ++++++++++++++++++++++
1 file changed, 40 insertions(+)
create mode 100644 Documentation/devicetree/bindings/input/hisilicon,hi6552-powerkey.txt
diff --git a/Documentation/devicetree/bindings/input/hisilicon,hi6552-powerkey.txt b/Documentation/devicetree/bindings/input/hisilicon,hi6552-powerkey.txt
new file mode 100644
index 0000000..7f09124
--- /dev/null
+++ b/Documentation/devicetree/bindings/input/hisilicon,hi6552-powerkey.txt
@@ -0,0 +1,40 @@
+HiSilicon hi6552 PMIC Power Key
+
+PROPERTIES
+
+- compatible:
+ Usage: required
+ Value type: <string>
+ Definition: must be one of:
+ "hisilicon,hi6552-powerkey"
+
+- interrupt-parent
+ Usage: (required if interrupt property is defined)
+ Value type: <phandle>
+ Definition: A single <phandle> value that points to the interrupt
+ parent to which the child domain is being mapped.
+
+- interrupts:
+ Usage: required
+ Value type: <prop-encoded-array>
+ Definition: The first interrupt specifies the key release interrupt
+ and the second interrupt specifies the key press interrupt,
+ the third defines the timed key-hold interrupt.
+ The format of the specifier is defined by the binding
+ document describing the node's interrupt parent.
+
+- interrupt-names:
+ Usage: required
+ Value type: "down", "up", "hold 4s"
+ Definition: String names for the press, release and timed hold
+ interrupts.
+
+
+EXAMPLE
+
+ powerkey:powerkey@b1{
+ compatible = "hisilicon,hi6552-powerkey";
+ interrupt-parent = <&pmic>;
+ interrupts = <6 0>, <5 0>, <4 0>;
+ interrupt-names = "down", "up", "hold 4s";
+ };
--
1.9.1
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/5] Hi655x powerkey support for HiKey (v2) John Stultz <john.stultz@linaro.org> - 2016-06-04 00:20 +0200 [PATCH 4/5] drivers: input: powerkey for HISI 65xx SoC John Stultz <john.stultz@linaro.org> - 2016-06-04 00:20 +0200 [PATCH 1/5] dts: bindings: Add binding documentation for hisilicon,hi6552-powerkey John Stultz <john.stultz@linaro.org> - 2016-06-04 00:20 +0200 [PATCH 2/5] hi655x-pmic: Make hi655x pmic logic probe child nodes in the dt John Stultz <john.stultz@linaro.org> - 2016-06-04 00:20 +0200 Re: [PATCH 0/5] Hi655x powerkey support for HiKey (v2) Lee Jones <lee.jones@linaro.org> - 2016-06-08 17:40 +0200
csiph-web