diff mbox series

[v3,1/2] dt-bindings: input: Add Add Spreadtrum SC27xx vibrator documentation

Message ID e2f85ec0b1fb66baa41dd85bb31e8113e23c704b.1524733425.git.baolin.wang@linaro.org
State New
Headers show
Series [v3,1/2] dt-bindings: input: Add Add Spreadtrum SC27xx vibrator documentation | expand

Commit Message

(Exiting) Baolin Wang April 26, 2018, 9:12 a.m. UTC
From: Xiaotong Lu <xiaotong.lu@spreadtrum.com>


This patch adds the binding documentation for Spreadtrum SC27xx series
vibrator device.

Signed-off-by: Xiaotong Lu <xiaotong.lu@spreadtrum.com>

Signed-off-by: Baolin Wang <baolin.wang@linaro.org>

---
Changes since v2:
 - No updates.

Changes since v1:
 - No updates.
---
 .../bindings/input/sprd,sc27xx-vibra.txt           |   12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/input/sprd,sc27xx-vibra.txt

-- 
1.7.9.5

Comments

Rob Herring April 27, 2018, 2:51 p.m. UTC | #1
On Thu, Apr 26, 2018 at 05:12:33PM +0800, Baolin Wang wrote:
> From: Xiaotong Lu <xiaotong.lu@spreadtrum.com>

> 

> This patch adds the binding documentation for Spreadtrum SC27xx series

> vibrator device.

> 

> Signed-off-by: Xiaotong Lu <xiaotong.lu@spreadtrum.com>

> Signed-off-by: Baolin Wang <baolin.wang@linaro.org>

> ---

> Changes since v2:

>  - No updates.

> 

> Changes since v1:

>  - No updates.

> ---

>  .../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>;


What bus is this on? A mmio bus needs a length. Is this part of some 
other block?

Rob
diff mbox series

Patch

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>;
+};