summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorBaolin Wang <baolin.wang@linaro.org>2018-07-23 14:10:17 +0800
committerOlof Johansson <olof@lixom.net>2018-07-25 23:51:19 -0700
commitf94cd003c2c0d9fba5f9a86d2cac06edbd0dbf4d (patch)
treec1544b3fac1f145bd397474dfbd4b00124efbacd /arch
parent02c2455e92613864fdc516a1773dfa0f0a06db6e (diff)
downloadlinux-f94cd003c2c0d9fba5f9a86d2cac06edbd0dbf4d.tar.bz2
arm64: dts: sprd: Add SC27XX vibrator device
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm64/boot/dts/sprd/sc2731.dtsi5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/sprd/sc2731.dtsi b/arch/arm64/boot/dts/sprd/sc2731.dtsi
index 7d53ca6b4ecc..650bd6829d45 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";