linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Add LPG/PWM support for PM6150L PMIC
@ 2024-03-06 17:27 Danila Tikhonov
  2024-03-06 17:27 ` [PATCH 1/2] dt-bindings: leds: qcom-lpg: Document PM6150L compatible Danila Tikhonov
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Danila Tikhonov @ 2024-03-06 17:27 UTC (permalink / raw)
  To: pavel, lee, robh, krzysztof.kozlowski+dt, conor+dt, andersson,
	konrad.dybcio
  Cc: linux-leds, devicetree, linux-kernel, linux-arm-msm, Danila Tikhonov

This series adds LPG/PWM support for PM6150L. Was tested on SM7150
(xiaomi-surya).

To: Pavel Machek <pavel@ucw.cz>
To: Lee Jones <lee@kernel.org>
To: Rob Herring <robh@kernel.org>
To: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
To: Conor Dooley <conor+dt@kernel.org>
To: Bjorn Andersson <andersson@kernel.org>
To: Konrad Dybcio <konrad.dybcio@linaro.org>
Cc: linux-leds@vger.kernel.org
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-arm-msm@vger.kernel.org
Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>

Danila Tikhonov (2):
  dt-bindings: leds: qcom-lpg: Document PM6150L compatible
  arm64: dts: qcom: pm6150l: add Light Pulse Generator device node

 .../devicetree/bindings/leds/leds-qcom-lpg.yaml        |  4 ++++
 arch/arm64/boot/dts/qcom/pm6150l.dtsi                  | 10 ++++++++++
 2 files changed, 14 insertions(+)

-- 
2.44.0


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

* [PATCH 1/2] dt-bindings: leds: qcom-lpg: Document PM6150L compatible
  2024-03-06 17:27 [PATCH 0/2] Add LPG/PWM support for PM6150L PMIC Danila Tikhonov
@ 2024-03-06 17:27 ` Danila Tikhonov
  2024-03-06 22:06   ` Rob Herring
  2024-03-21 14:59   ` (subset) " Lee Jones
  2024-03-06 17:27 ` [PATCH 2/2] arm64: dts: qcom: pm6150l: add Light Pulse Generator device node Danila Tikhonov
  2024-04-21 22:29 ` (subset) [PATCH 0/2] Add LPG/PWM support for PM6150L PMIC Bjorn Andersson
  2 siblings, 2 replies; 7+ messages in thread
From: Danila Tikhonov @ 2024-03-06 17:27 UTC (permalink / raw)
  To: pavel, lee, robh, krzysztof.kozlowski+dt, conor+dt, andersson,
	konrad.dybcio
  Cc: linux-leds, devicetree, linux-kernel, linux-arm-msm, Danila Tikhonov

The PM6150L LPG modules are compatible with the PM8150L LPG modules,
document the PM6150L LPG compatible as fallback for the PM8150L LPG.

Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>
---
 Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml b/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml
index 54a428d3d46f..7b9e0ad1ecaa 100644
--- a/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml
+++ b/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml
@@ -30,6 +30,10 @@ properties:
           - qcom,pmi8994-lpg
           - qcom,pmi8998-lpg
           - qcom,pmk8550-pwm
+      - items:
+          - enum:
+              - qcom,pm6150l-lpg
+          - const: qcom,pm8150l-lpg
       - items:
           - enum:
               - qcom,pm8550-pwm
-- 
2.44.0


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

* [PATCH 2/2] arm64: dts: qcom: pm6150l: add Light Pulse Generator device node
  2024-03-06 17:27 [PATCH 0/2] Add LPG/PWM support for PM6150L PMIC Danila Tikhonov
  2024-03-06 17:27 ` [PATCH 1/2] dt-bindings: leds: qcom-lpg: Document PM6150L compatible Danila Tikhonov
@ 2024-03-06 17:27 ` Danila Tikhonov
  2024-03-06 19:50   ` Dmitry Baryshkov
  2024-04-21 22:29 ` (subset) [PATCH 0/2] Add LPG/PWM support for PM6150L PMIC Bjorn Andersson
  2 siblings, 1 reply; 7+ messages in thread
From: Danila Tikhonov @ 2024-03-06 17:27 UTC (permalink / raw)
  To: pavel, lee, robh, krzysztof.kozlowski+dt, conor+dt, andersson,
	konrad.dybcio
  Cc: linux-leds, devicetree, linux-kernel, linux-arm-msm, Danila Tikhonov

Add device node defining LPG/PWM block on PM6150L PMIC chip.

Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>
---
 arch/arm64/boot/dts/qcom/pm6150l.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/pm6150l.dtsi b/arch/arm64/boot/dts/qcom/pm6150l.dtsi
index d13a1ab7c20b..0fce45276e5c 100644
--- a/arch/arm64/boot/dts/qcom/pm6150l.dtsi
+++ b/arch/arm64/boot/dts/qcom/pm6150l.dtsi
@@ -118,6 +118,16 @@ pm6150l_flash: led-controller@d300 {
 			status = "disabled";
 		};
 
+		pm6150l_lpg: pwm {
+			compatible = "qcom,pm6150l-lpg", "qcom,pm8150l-lpg";
+
+			#address-cells = <1>;
+			#size-cells = <0>;
+			#pwm-cells = <2>;
+
+			status = "disabled";
+		};
+
 		pm6150l_wled: leds@d800 {
 			compatible = "qcom,pm6150l-wled";
 			reg = <0xd800>, <0xd900>;
-- 
2.44.0


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

* Re: [PATCH 2/2] arm64: dts: qcom: pm6150l: add Light Pulse Generator device node
  2024-03-06 17:27 ` [PATCH 2/2] arm64: dts: qcom: pm6150l: add Light Pulse Generator device node Danila Tikhonov
@ 2024-03-06 19:50   ` Dmitry Baryshkov
  0 siblings, 0 replies; 7+ messages in thread
From: Dmitry Baryshkov @ 2024-03-06 19:50 UTC (permalink / raw)
  To: Danila Tikhonov
  Cc: pavel, lee, robh, krzysztof.kozlowski+dt, conor+dt, andersson,
	konrad.dybcio, linux-leds, devicetree, linux-kernel,
	linux-arm-msm

On Wed, 6 Mar 2024 at 19:49, Danila Tikhonov <danila@jiaxyga.com> wrote:
>
> Add device node defining LPG/PWM block on PM6150L PMIC chip.
>
> Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>
> ---
>  arch/arm64/boot/dts/qcom/pm6150l.dtsi | 10 ++++++++++
>  1 file changed, 10 insertions(+)
>

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

-- 
With best wishes
Dmitry

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

* Re: [PATCH 1/2] dt-bindings: leds: qcom-lpg: Document PM6150L compatible
  2024-03-06 17:27 ` [PATCH 1/2] dt-bindings: leds: qcom-lpg: Document PM6150L compatible Danila Tikhonov
@ 2024-03-06 22:06   ` Rob Herring
  2024-03-21 14:59   ` (subset) " Lee Jones
  1 sibling, 0 replies; 7+ messages in thread
From: Rob Herring @ 2024-03-06 22:06 UTC (permalink / raw)
  To: Danila Tikhonov
  Cc: pavel, devicetree, conor+dt, krzysztof.kozlowski+dt, lee,
	linux-arm-msm, andersson, konrad.dybcio, linux-leds,
	linux-kernel


On Wed, 06 Mar 2024 20:27:09 +0300, Danila Tikhonov wrote:
> The PM6150L LPG modules are compatible with the PM8150L LPG modules,
> document the PM6150L LPG compatible as fallback for the PM8150L LPG.
> 
> Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>
> ---
>  Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml | 4 ++++
>  1 file changed, 4 insertions(+)
> 

Acked-by: Rob Herring <robh@kernel.org>


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

* Re: (subset) [PATCH 1/2] dt-bindings: leds: qcom-lpg: Document PM6150L compatible
  2024-03-06 17:27 ` [PATCH 1/2] dt-bindings: leds: qcom-lpg: Document PM6150L compatible Danila Tikhonov
  2024-03-06 22:06   ` Rob Herring
@ 2024-03-21 14:59   ` Lee Jones
  1 sibling, 0 replies; 7+ messages in thread
From: Lee Jones @ 2024-03-21 14:59 UTC (permalink / raw)
  To: pavel, lee, robh, krzysztof.kozlowski+dt, conor+dt, andersson,
	konrad.dybcio, Danila Tikhonov
  Cc: linux-leds, devicetree, linux-kernel, linux-arm-msm

On Wed, 06 Mar 2024 20:27:09 +0300, Danila Tikhonov wrote:
> The PM6150L LPG modules are compatible with the PM8150L LPG modules,
> document the PM6150L LPG compatible as fallback for the PM8150L LPG.
> 
> 

Applied, thanks!

[1/2] dt-bindings: leds: qcom-lpg: Document PM6150L compatible
      commit: 385019bc6f0d57917282b634b80d3e359ab50163

--
Lee Jones [李琼斯]


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

* Re: (subset) [PATCH 0/2] Add LPG/PWM support for PM6150L PMIC
  2024-03-06 17:27 [PATCH 0/2] Add LPG/PWM support for PM6150L PMIC Danila Tikhonov
  2024-03-06 17:27 ` [PATCH 1/2] dt-bindings: leds: qcom-lpg: Document PM6150L compatible Danila Tikhonov
  2024-03-06 17:27 ` [PATCH 2/2] arm64: dts: qcom: pm6150l: add Light Pulse Generator device node Danila Tikhonov
@ 2024-04-21 22:29 ` Bjorn Andersson
  2 siblings, 0 replies; 7+ messages in thread
From: Bjorn Andersson @ 2024-04-21 22:29 UTC (permalink / raw)
  To: pavel, lee, robh, krzysztof.kozlowski+dt, conor+dt,
	konrad.dybcio, Danila Tikhonov
  Cc: linux-leds, devicetree, linux-kernel, linux-arm-msm


On Wed, 06 Mar 2024 20:27:08 +0300, Danila Tikhonov wrote:
> This series adds LPG/PWM support for PM6150L. Was tested on SM7150
> (xiaomi-surya).
> 
> To: Pavel Machek <pavel@ucw.cz>
> To: Lee Jones <lee@kernel.org>
> To: Rob Herring <robh@kernel.org>
> To: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
> To: Conor Dooley <conor+dt@kernel.org>
> To: Bjorn Andersson <andersson@kernel.org>
> To: Konrad Dybcio <konrad.dybcio@linaro.org>
> Cc: linux-leds@vger.kernel.org
> Cc: devicetree@vger.kernel.org
> Cc: linux-kernel@vger.kernel.org
> Cc: linux-arm-msm@vger.kernel.org
> Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>
> 
> [...]

Applied, thanks!

[2/2] arm64: dts: qcom: pm6150l: add Light Pulse Generator device node
      commit: 11525960fcf40fcb772b62dd5117c59fdc27eb57

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

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

end of thread, other threads:[~2024-04-21 22:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-06 17:27 [PATCH 0/2] Add LPG/PWM support for PM6150L PMIC Danila Tikhonov
2024-03-06 17:27 ` [PATCH 1/2] dt-bindings: leds: qcom-lpg: Document PM6150L compatible Danila Tikhonov
2024-03-06 22:06   ` Rob Herring
2024-03-21 14:59   ` (subset) " Lee Jones
2024-03-06 17:27 ` [PATCH 2/2] arm64: dts: qcom: pm6150l: add Light Pulse Generator device node Danila Tikhonov
2024-03-06 19:50   ` Dmitry Baryshkov
2024-04-21 22:29 ` (subset) [PATCH 0/2] Add LPG/PWM support for PM6150L 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).