summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/input/sprd,sc27xx-vibrator.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Bindings/input/sprd,sc27xx-vibrator.yaml')
-rw-r--r--dts/Bindings/input/sprd,sc27xx-vibrator.yaml31
1 files changed, 31 insertions, 0 deletions
diff --git a/dts/Bindings/input/sprd,sc27xx-vibrator.yaml b/dts/Bindings/input/sprd,sc27xx-vibrator.yaml
new file mode 100644
index 0000000000..4c8d303ff9
--- /dev/null
+++ b/dts/Bindings/input/sprd,sc27xx-vibrator.yaml
@@ -0,0 +1,31 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+# Copyright 2020 Unisoc Inc.
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/input/sprd,sc27xx-vibrator.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Spreadtrum SC27xx PMIC Vibrator
+
+maintainers:
+ - Orson Zhai <orsonzhai@gmail.com>
+ - Baolin Wang <baolin.wang7@gmail.com>
+ - Chunyan Zhang <zhang.lyra@gmail.com>
+
+properties:
+ compatible:
+ enum:
+ - sprd,sc2721-vibrator
+ - sprd,sc2730-vibrator
+ - sprd,sc2731-vibrator
+
+ reg:
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+...