From 190a1c6e477b0cbcb0f3379188ea308f2b2d8c07 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Mon, 13 Aug 2018 10:27:36 +0200 Subject: dts: update to v4.18-rc3 Signed-off-by: Sascha Hauer --- dts/Bindings/input/sprd,sc27xx-vibra.txt | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 dts/Bindings/input/sprd,sc27xx-vibra.txt (limited to 'dts/Bindings') diff --git a/dts/Bindings/input/sprd,sc27xx-vibra.txt b/dts/Bindings/input/sprd,sc27xx-vibra.txt new file mode 100644 index 0000000000..f2ec0d4f2d --- /dev/null +++ b/dts/Bindings/input/sprd,sc27xx-vibra.txt @@ -0,0 +1,23 @@ +Spreadtrum SC27xx PMIC Vibrator + +Required properties: +- compatible: should be "sprd,sc2731-vibrator". +- reg: address of vibrator control register. + +Example : + + sc2731_pmic: pmic@0 { + compatible = "sprd,sc2731"; + reg = <0>; + spi-max-frequency = <26000000>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <1>; + #size-cells = <0>; + + vibrator@eb4 { + compatible = "sprd,sc2731-vibrator"; + reg = <0xeb4>; + }; + }; -- cgit v1.2.3