[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <0bfdc811c2b3da3aa1cde2feef278a86503e3804.1523934640.git.baolin.wang@linaro.org>
Date: Tue, 17 Apr 2018 11:18:23 +0800
From: Baolin Wang <baolin.wang@...aro.org>
To: dmitry.torokhov@...il.com, robh+dt@...nel.org,
mark.rutland@....com, orsonzhai@...il.com, zhang.lyra@...il.com
Cc: baolin.wang@...aro.org, linux-input@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
xiaotong.lu@...eadtrum.com
Subject: [PATCH 1/2] dt-bindings: input: Add Add Spreadtrum SC27xx vibrator documentation
From: Xiaotong Lu <xiaotong.lu@...eadtrum.com>
This patch adds the binding documentation for Spreadtrum SC27xx series
vibrator device.
Signed-off-by: Xiaotong Lu <xiaotong.lu@...eadtrum.com>
Signed-off-by: Baolin Wang <baolin.wang@...aro.org>
---
.../bindings/input/sprd,sc27xx-vibra.txt | 12 ++++++++++++
1 file changed, 12 insertions(+)
create mode 100644 Documentation/devicetree/bindings/input/sprd,sc27xx-vibra.txt
diff --git a/Documentation/devicetree/bindings/input/sprd,sc27xx-vibra.txt b/Documentation/devicetree/bindings/input/sprd,sc27xx-vibra.txt
new file mode 100644
index 0000000..92ead29
--- /dev/null
+++ b/Documentation/devicetree/bindings/input/sprd,sc27xx-vibra.txt
@@ -0,0 +1,12 @@
+Spreadtrum SC27xx PMIC Vibrator
+
+Required properties:
+- compatible: should be "sprd,sc27xx-vibrator".
+- reg: address of vibrator control register.
+
+Example :
+
+vibrator@eb4 {
+ compatible = "sprd,sc27xx-vibrator";
+ reg = <0xeb4>;
+};
--
1.7.9.5
Powered by blists - more mailing lists