diff mbox series

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

Message ID 30609aebce340ad7051323e45f989db80811e6e0.1531881619.git.baolin.wang@linaro.org (mailing list archive)
State New, archived
Headers show
Series [1/5] arm64: dts: sprd: Add SC27XX breathing light controller device | expand

Commit Message

(Exiting) Baolin Wang July 23, 2018, 6:10 a.m. UTC
This patch adds the vibrator device node for Spreadtrum SC27XX PMICs.

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

Patch

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";