* [PATCH] arm64: dts: qcom: pm8916: Add vibration motor node
@ 2019-12-11 19:29 Stephan Gerhold
2019-12-12 6:42 ` Bjorn Andersson
0 siblings, 1 reply; 2+ messages in thread
From: Stephan Gerhold @ 2019-12-11 19:29 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson
Cc: Damien Riegel, linux-arm-msm, Rob Herring, Mark Rutland,
devicetree, Stephan Gerhold
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>
---
arch/arm64/boot/dts/qcom/pm8916.dtsi | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/pm8916.dtsi b/arch/arm64/boot/dts/qcom/pm8916.dtsi
index 9dd2df1cbf47..0bcdf0471107 100644
--- a/arch/arm64/boot/dts/qcom/pm8916.dtsi
+++ b/arch/arm64/boot/dts/qcom/pm8916.dtsi
@@ -111,6 +111,12 @@ pm8916_1: pm8916@1 {
#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>;
--
2.24.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] arm64: dts: qcom: pm8916: Add vibration motor node
2019-12-11 19:29 [PATCH] arm64: dts: qcom: pm8916: Add vibration motor node Stephan Gerhold
@ 2019-12-12 6:42 ` Bjorn Andersson
0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Andersson @ 2019-12-12 6:42 UTC (permalink / raw)
To: Stephan Gerhold
Cc: Andy Gross, Damien Riegel, linux-arm-msm, Rob Herring,
Mark Rutland, devicetree
On Wed 11 Dec 11:29 PST 2019, Stephan Gerhold wrote:
> 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>
Applied, please also send a defconfig patch that enables the associated
driver (=m)
Thanks,
Bjorn
> ---
> arch/arm64/boot/dts/qcom/pm8916.dtsi | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/pm8916.dtsi b/arch/arm64/boot/dts/qcom/pm8916.dtsi
> index 9dd2df1cbf47..0bcdf0471107 100644
> --- a/arch/arm64/boot/dts/qcom/pm8916.dtsi
> +++ b/arch/arm64/boot/dts/qcom/pm8916.dtsi
> @@ -111,6 +111,12 @@ pm8916_1: pm8916@1 {
> #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>;
> --
> 2.24.0
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-12-12 6:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-11 19:29 [PATCH] arm64: dts: qcom: pm8916: Add vibration motor node Stephan Gerhold
2019-12-12 6:42 ` Bjorn Andersson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).