arm64: dts: sprd: Add SC27XX vibrator device
authorBaolin Wang <baolin.wang@linaro.org>
Mon, 23 Jul 2018 06:10:17 +0000 (14:10 +0800)
committerOlof Johansson <olof@lixom.net>
Thu, 26 Jul 2018 06:51:19 +0000 (23:51 -0700)
This patch adds the vibrator device node for Spreadtrum SC27XX PMICs.

Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm64/boot/dts/sprd/sc2731.dtsi

index 7d53ca6..650bd68 100644 (file)
                        #interrupt-cells = <2>;
                };
 
+               vibrator@ec8 {
+                       compatible = "sprd,sc27xx-vibrator", "sprd,sc2731-vibrator";
+                       reg = <0xec8>;
+               };
+
                regulators {
                        compatible = "sprd,sc27xx-regulator";