From: Jack Matthews <jm5112356@gmail.com>
To: linux-arm-msm@vger.kernel.org
Cc: luca@z3ntu.xyz, bartosz.dudziak@snejp.pl,
Jack Matthews <jm5112356@gmail.com>,
Andy Gross <agross@kernel.org>,
Bjorn Andersson <bjorn.andersson@linaro.org>,
Rob Herring <robh+dt@kernel.org>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] ARM: dts: qcom: pm8226: Add vibration motor node
Date: Tue, 23 Nov 2021 00:32:55 +0000 [thread overview]
Message-ID: <20211123003256.2467776-1-jm5112356@gmail.com> (raw)
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(+)
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";
+ };
};
};
--
2.25.1
next reply other threads:[~2021-11-23 0:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-23 0:32 Jack Matthews [this message]
2022-02-01 5:19 ` [PATCH] ARM: dts: qcom: pm8226: Add vibration motor node Bjorn Andersson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211123003256.2467776-1-jm5112356@gmail.com \
--to=jm5112356@gmail.com \
--cc=agross@kernel.org \
--cc=bartosz.dudziak@snejp.pl \
--cc=bjorn.andersson@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luca@z3ntu.xyz \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox