[PATCH 2/5] arm64: dts: sprd: Add SC27XX vibrator device

From: Baolin Wang
Date: Mon Jul 23 2018 - 02:11:24 EST


This patch adds the vibrator device node for Spreadtrum SC27XX PMICs.

Signed-off-by: Baolin Wang <baolin.wang@xxxxxxxxxx>
---
arch/arm64/boot/dts/sprd/sc2731.dtsi | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/arch/arm64/boot/dts/sprd/sc2731.dtsi b/arch/arm64/boot/dts/sprd/sc2731.dtsi
index 7d53ca6..650bd68 100644
--- a/arch/arm64/boot/dts/sprd/sc2731.dtsi
+++ b/arch/arm64/boot/dts/sprd/sc2731.dtsi
@@ -57,6 +57,11 @@
#interrupt-cells = <2>;
};

+ vibrator@ec8 {
+ compatible = "sprd,sc27xx-vibrator", "sprd,sc2731-vibrator";
+ reg = <0xec8>;
+ };
+
regulators {
compatible = "sprd,sc27xx-regulator";

--
1.7.9.5