2024-06-06 18:41:47

by Jens Reidel

[permalink] [raw]
Subject: [PATCH 0/2] Add vibrator support for PM6150 PMIC

This series adds vibrator support for PM6150. Was tested on SM7150
(xiaomi-davinci).

To: Dmitry Torokhov <[email protected]>
To: Rob Herring <[email protected]>
To: Krzysztof Kozlowski <[email protected]>
To: Conor Dooley <[email protected]>
To: Bjorn Andersson <[email protected]>
To: Konrad Dybcio <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Jens Reidel <[email protected]>

Jens Reidel (2):
dt-bindings: input: qcom,pm8xxx-vib: Document PM6150 compatible
arm64: dts: qcom: pm6150: Add vibrator

.../devicetree/bindings/input/qcom,pm8xxx-vib.yaml | 1 +
arch/arm64/boot/dts/qcom/pm6150.dtsi | 6 ++++++
2 files changed, 7 insertions(+)

--
2.45.1



2024-06-06 18:48:44

by Jens Reidel

[permalink] [raw]
Subject: [PATCH 2/2] arm64: dts: qcom: pm6150: Add vibrator

Add a node for the vibrator module found inside the PM6150.

Signed-off-by: Jens Reidel <[email protected]>
---
arch/arm64/boot/dts/qcom/pm6150.dtsi | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/pm6150.dtsi b/arch/arm64/boot/dts/qcom/pm6150.dtsi
index 6de6ed562d97..d48cf92bda78 100644
--- a/arch/arm64/boot/dts/qcom/pm6150.dtsi
+++ b/arch/arm64/boot/dts/qcom/pm6150.dtsi
@@ -166,5 +166,11 @@ pm6150_lsid1: pmic@1 {
reg = <0x1 SPMI_USID>;
#address-cells = <1>;
#size-cells = <0>;
+
+ pm6150_vib: vibrator@5300 {
+ compatible = "qcom,pm6150-vib", "qcom,pmi632-vib";
+ reg = <0x5300>;
+ status = "disabled";
+ };
};
};
--
2.45.1


2024-06-07 07:19:28

by Dmitry Baryshkov

[permalink] [raw]
Subject: Re: [PATCH 2/2] arm64: dts: qcom: pm6150: Add vibrator

On Thu, Jun 06, 2024 at 08:10:27PM +0200, Jens Reidel wrote:
> Add a node for the vibrator module found inside the PM6150.
>
> Signed-off-by: Jens Reidel <[email protected]>
> ---
> arch/arm64/boot/dts/qcom/pm6150.dtsi | 6 ++++++
> 1 file changed, 6 insertions(+)
>

Reviewed-by: Dmitry Baryshkov <[email protected]>


--
With best wishes
Dmitry