diff mbox series

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

Message ID 30609aebce340ad7051323e45f989db80811e6e0.1531881619.git.baolin.wang@linaro.org
State Accepted
Commit f94cd003c2c0d9fba5f9a86d2cac06edbd0dbf4d
Headers show
Series None | 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(+)

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