linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Add vibrator support for PM6150 PMIC
@ 2024-06-06 18:10 Jens Reidel
  2024-06-06 18:10 ` [PATCH 1/2] dt-bindings: input: qcom,pm8xxx-vib: Document PM6150 compatible Jens Reidel
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Jens Reidel @ 2024-06-06 18:10 UTC (permalink / raw)
  To: dmitry.torokhov, robh, krzk+dt, conor+dt, andersson,
	konrad.dybcio
  Cc: linux-arm-msm, linux-input, devicetree, linux-kernel, Jens Reidel

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

To: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Rob Herring <robh@kernel.org>
To: Krzysztof Kozlowski <krzk+dt@kernel.org>
To: Conor Dooley <conor+dt@kernel.org>
To: Bjorn Andersson <andersson@kernel.org>
To: Konrad Dybcio <konrad.dybcio@linaro.org>
Cc: linux-arm-msm@vger.kernel.org
Cc: linux-input@vger.kernel.org
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Jens Reidel <adrian@travitia.xyz>

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 1/2] dt-bindings: input: qcom,pm8xxx-vib: Document PM6150 compatible
  2024-06-06 18:10 [PATCH 0/2] Add vibrator support for PM6150 PMIC Jens Reidel
@ 2024-06-06 18:10 ` Jens Reidel
  2024-06-07  7:19   ` Krzysztof Kozlowski
                     ` (2 more replies)
  2024-06-06 18:10 ` [PATCH 2/2] arm64: dts: qcom: pm6150: Add vibrator Jens Reidel
  2024-07-06 22:01 ` (subset) [PATCH 0/2] Add vibrator support for PM6150 PMIC Bjorn Andersson
  2 siblings, 3 replies; 8+ messages in thread
From: Jens Reidel @ 2024-06-06 18:10 UTC (permalink / raw)
  To: dmitry.torokhov, robh, krzk+dt, conor+dt, andersson,
	konrad.dybcio
  Cc: linux-arm-msm, linux-input, devicetree, linux-kernel, Jens Reidel

The PM6150 vibrator module is compatible with the PMI632 vibrator
module, document the PM6150 vibrator compatible as fallback for the
PMI632 vibrator.

Signed-off-by: Jens Reidel <adrian@travitia.xyz>
---
 Documentation/devicetree/bindings/input/qcom,pm8xxx-vib.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/input/qcom,pm8xxx-vib.yaml b/Documentation/devicetree/bindings/input/qcom,pm8xxx-vib.yaml
index 2025d6a5423e..76a286ec5959 100644
--- a/Documentation/devicetree/bindings/input/qcom,pm8xxx-vib.yaml
+++ b/Documentation/devicetree/bindings/input/qcom,pm8xxx-vib.yaml
@@ -19,6 +19,7 @@ properties:
           - qcom,pmi632-vib
       - items:
           - enum:
+              - qcom,pm6150-vib
               - qcom,pm7250b-vib
               - qcom,pm7325b-vib
               - qcom,pm7550ba-vib
-- 
2.45.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 2/2] arm64: dts: qcom: pm6150: Add vibrator
  2024-06-06 18:10 [PATCH 0/2] Add vibrator support for PM6150 PMIC Jens Reidel
  2024-06-06 18:10 ` [PATCH 1/2] dt-bindings: input: qcom,pm8xxx-vib: Document PM6150 compatible Jens Reidel
@ 2024-06-06 18:10 ` Jens Reidel
  2024-06-07  7:17   ` Dmitry Baryshkov
  2024-07-06 22:01 ` (subset) [PATCH 0/2] Add vibrator support for PM6150 PMIC Bjorn Andersson
  2 siblings, 1 reply; 8+ messages in thread
From: Jens Reidel @ 2024-06-06 18:10 UTC (permalink / raw)
  To: dmitry.torokhov, robh, krzk+dt, conor+dt, andersson,
	konrad.dybcio
  Cc: linux-arm-msm, linux-input, devicetree, linux-kernel, Jens Reidel

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

Signed-off-by: Jens Reidel <adrian@travitia.xyz>
---
 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


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH 2/2] arm64: dts: qcom: pm6150: Add vibrator
  2024-06-06 18:10 ` [PATCH 2/2] arm64: dts: qcom: pm6150: Add vibrator Jens Reidel
@ 2024-06-07  7:17   ` Dmitry Baryshkov
  0 siblings, 0 replies; 8+ messages in thread
From: Dmitry Baryshkov @ 2024-06-07  7:17 UTC (permalink / raw)
  To: Jens Reidel
  Cc: dmitry.torokhov, robh, krzk+dt, conor+dt, andersson,
	konrad.dybcio, linux-arm-msm, linux-input, devicetree,
	linux-kernel

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 <adrian@travitia.xyz>
> ---
>  arch/arm64/boot/dts/qcom/pm6150.dtsi | 6 ++++++
>  1 file changed, 6 insertions(+)
> 

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>


-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 1/2] dt-bindings: input: qcom,pm8xxx-vib: Document PM6150 compatible
  2024-06-06 18:10 ` [PATCH 1/2] dt-bindings: input: qcom,pm8xxx-vib: Document PM6150 compatible Jens Reidel
@ 2024-06-07  7:19   ` Krzysztof Kozlowski
  2024-06-16 20:29   ` Bjorn Andersson
  2024-08-26 17:57   ` Rob Herring (Arm)
  2 siblings, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2024-06-07  7:19 UTC (permalink / raw)
  To: Jens Reidel, dmitry.torokhov, robh, krzk+dt, conor+dt, andersson,
	konrad.dybcio
  Cc: linux-arm-msm, linux-input, devicetree, linux-kernel

On 06/06/2024 20:10, Jens Reidel wrote:
> The PM6150 vibrator module is compatible with the PMI632 vibrator
> module, document the PM6150 vibrator compatible as fallback for the
> PMI632 vibrator.
> 
> Signed-off-by: Jens Reidel <adrian@travitia.xyz>
> ---
>  Documentation/devicetree/bindings/input/qcom,pm8xxx-vib.yaml | 1 +

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 1/2] dt-bindings: input: qcom,pm8xxx-vib: Document PM6150 compatible
  2024-06-06 18:10 ` [PATCH 1/2] dt-bindings: input: qcom,pm8xxx-vib: Document PM6150 compatible Jens Reidel
  2024-06-07  7:19   ` Krzysztof Kozlowski
@ 2024-06-16 20:29   ` Bjorn Andersson
  2024-08-26 17:57   ` Rob Herring (Arm)
  2 siblings, 0 replies; 8+ messages in thread
From: Bjorn Andersson @ 2024-06-16 20:29 UTC (permalink / raw)
  To: Jens Reidel
  Cc: dmitry.torokhov, robh, krzk+dt, conor+dt, konrad.dybcio,
	linux-arm-msm, linux-input, devicetree, linux-kernel

On Thu, Jun 06, 2024 at 08:10:26PM GMT, Jens Reidel wrote:
> The PM6150 vibrator module is compatible with the PMI632 vibrator
> module, document the PM6150 vibrator compatible as fallback for the
> PMI632 vibrator.
> 
> Signed-off-by: Jens Reidel <adrian@travitia.xyz>

Reviewed-by: Bjorn Andersson <andersson@kernel.org>

Regards,
Bjorn

> ---
>  Documentation/devicetree/bindings/input/qcom,pm8xxx-vib.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/input/qcom,pm8xxx-vib.yaml b/Documentation/devicetree/bindings/input/qcom,pm8xxx-vib.yaml
> index 2025d6a5423e..76a286ec5959 100644
> --- a/Documentation/devicetree/bindings/input/qcom,pm8xxx-vib.yaml
> +++ b/Documentation/devicetree/bindings/input/qcom,pm8xxx-vib.yaml
> @@ -19,6 +19,7 @@ properties:
>            - qcom,pmi632-vib
>        - items:
>            - enum:
> +              - qcom,pm6150-vib
>                - qcom,pm7250b-vib
>                - qcom,pm7325b-vib
>                - qcom,pm7550ba-vib
> -- 
> 2.45.1
> 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: (subset) [PATCH 0/2] Add vibrator support for PM6150 PMIC
  2024-06-06 18:10 [PATCH 0/2] Add vibrator support for PM6150 PMIC Jens Reidel
  2024-06-06 18:10 ` [PATCH 1/2] dt-bindings: input: qcom,pm8xxx-vib: Document PM6150 compatible Jens Reidel
  2024-06-06 18:10 ` [PATCH 2/2] arm64: dts: qcom: pm6150: Add vibrator Jens Reidel
@ 2024-07-06 22:01 ` Bjorn Andersson
  2 siblings, 0 replies; 8+ messages in thread
From: Bjorn Andersson @ 2024-07-06 22:01 UTC (permalink / raw)
  To: dmitry.torokhov, robh, krzk+dt, conor+dt, konrad.dybcio,
	Jens Reidel
  Cc: linux-arm-msm, linux-input, devicetree, linux-kernel


On Thu, 06 Jun 2024 20:10:25 +0200, Jens Reidel wrote:
> This series adds vibrator support for PM6150. Was tested on SM7150
> (xiaomi-davinci).
> 
> To: Dmitry Torokhov <dmitry.torokhov@gmail.com>
> To: Rob Herring <robh@kernel.org>
> To: Krzysztof Kozlowski <krzk+dt@kernel.org>
> To: Conor Dooley <conor+dt@kernel.org>
> To: Bjorn Andersson <andersson@kernel.org>
> To: Konrad Dybcio <konrad.dybcio@linaro.org>
> Cc: linux-arm-msm@vger.kernel.org
> Cc: linux-input@vger.kernel.org
> Cc: devicetree@vger.kernel.org
> Cc: linux-kernel@vger.kernel.org
> Signed-off-by: Jens Reidel <adrian@travitia.xyz>
> 
> [...]

Applied, thanks!

[2/2] arm64: dts: qcom: pm6150: Add vibrator
      commit: e3e169cd28d0ba80d25ad683e076b299a39e8526

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 1/2] dt-bindings: input: qcom,pm8xxx-vib: Document PM6150 compatible
  2024-06-06 18:10 ` [PATCH 1/2] dt-bindings: input: qcom,pm8xxx-vib: Document PM6150 compatible Jens Reidel
  2024-06-07  7:19   ` Krzysztof Kozlowski
  2024-06-16 20:29   ` Bjorn Andersson
@ 2024-08-26 17:57   ` Rob Herring (Arm)
  2 siblings, 0 replies; 8+ messages in thread
From: Rob Herring (Arm) @ 2024-08-26 17:57 UTC (permalink / raw)
  To: Jens Reidel
  Cc: linux-input, krzk+dt, linux-kernel, andersson, linux-arm-msm,
	konrad.dybcio, devicetree, conor+dt, dmitry.torokhov


On Thu, 06 Jun 2024 20:10:26 +0200, Jens Reidel wrote:
> The PM6150 vibrator module is compatible with the PMI632 vibrator
> module, document the PM6150 vibrator compatible as fallback for the
> PMI632 vibrator.
> 
> Signed-off-by: Jens Reidel <adrian@travitia.xyz>
> ---
>  Documentation/devicetree/bindings/input/qcom,pm8xxx-vib.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 

Seems this one was missed. Applied, thanks!


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-08-26 17:57 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-06 18:10 [PATCH 0/2] Add vibrator support for PM6150 PMIC Jens Reidel
2024-06-06 18:10 ` [PATCH 1/2] dt-bindings: input: qcom,pm8xxx-vib: Document PM6150 compatible Jens Reidel
2024-06-07  7:19   ` Krzysztof Kozlowski
2024-06-16 20:29   ` Bjorn Andersson
2024-08-26 17:57   ` Rob Herring (Arm)
2024-06-06 18:10 ` [PATCH 2/2] arm64: dts: qcom: pm6150: Add vibrator Jens Reidel
2024-06-07  7:17   ` Dmitry Baryshkov
2024-07-06 22:01 ` (subset) [PATCH 0/2] Add vibrator support for PM6150 PMIC 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).