diff mbox series

ARM: dts: qcom: pm8226: Add vibration motor node

Message ID 20211123003256.2467776-1-jm5112356@gmail.com (mailing list archive)
State Accepted
Headers show
Series ARM: dts: qcom: pm8226: Add vibration motor node | expand

Commit Message

Jack Matthews Nov. 23, 2021, 12:32 a.m. UTC
Add a node for pm8226's vibration motor driver.
Keep it disabled by default, some devices don't make use of it.

Signed-off-by: Jack Matthews <jm5112356@gmail.com>
---
 arch/arm/boot/dts/qcom-pm8226.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Bjorn Andersson Feb. 1, 2022, 5:19 a.m. UTC | #1
On Tue, 23 Nov 2021 00:32:55 +0000, Jack Matthews wrote:
> Add a node for pm8226's vibration motor driver.
> Keep it disabled by default, some devices don't make use of it.
> 
> 

Applied, thanks!

[1/1] ARM: dts: qcom: pm8226: Add vibration motor node
      commit: d88198fcb540268e2165d2d1eecca005ca5fc394

Best regards,
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/qcom-pm8226.dtsi b/arch/arm/boot/dts/qcom-pm8226.dtsi
index 63f3026c25bf..25780c8fa2e9 100644
--- a/arch/arm/boot/dts/qcom-pm8226.dtsi
+++ b/arch/arm/boot/dts/qcom-pm8226.dtsi
@@ -61,5 +61,11 @@  pm8226_1: pm8226@1 {
 		reg = <0x1 SPMI_USID>;
 		#address-cells = <1>;
 		#size-cells = <0>;
+
+		pm8226_vib: vibrator@c000 {
+			compatible = "qcom,pm8916-vib";
+			reg = <0xc000>;
+			status = "disabled";
+		};
 	};
 };