arm64: dts: qcom: pm8916: Add vibration motor node
authorStephan Gerhold <stephan@gerhold.net>
Wed, 11 Dec 2019 19:29:06 +0000 (20:29 +0100)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 12 Dec 2019 06:40:35 +0000 (22:40 -0800)
PM8916 has one vibration motor driver that is already supported
by the pm8xxx-vibrator driver.

Add a node describing it to pm8916.dtsi.
Keep it disabled by default since not all devices make use of it.

Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Link: https://lore.kernel.org/r/20191211192906.56638-1-stephan@gerhold.net
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/pm8916.dtsi

index 9dd2df1..0bcdf04 100644 (file)
                #address-cells = <1>;
                #size-cells = <0>;
 
+               pm8916_vib: vibrator@c000 {
+                       compatible = "qcom,pm8916-vib";
+                       reg = <0xc000>;
+                       status = "disabled";
+               };
+
                wcd_codec: codec@f000 {
                        compatible = "qcom,pm8916-wcd-analog-codec";
                        reg = <0xf000 0x200>;