dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Enable display backlight on Fairphone 4
@ 2021-12-29 17:03 Luca Weiss
  2021-12-29 17:03 ` [PATCH 1/4] dt-bindings: backlight: qcom-wled: Add PM6150L compatible Luca Weiss
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Luca Weiss @ 2021-12-29 17:03 UTC (permalink / raw)
  To: linux-arm-msm
  Cc: devicetree, linux-fbdev, Kiran Gunda, linux-kernel, dri-devel,
	Bjorn Andersson, ~postmarketos/upstreaming, Luca Weiss,
	phone-devel, linux-leds

Add and enable PM6150L wled which is used for controlling the display
backlight on Fairphone 4.

This series depends on the recent wled series by Marijn Suijten,
currently applied in the for-backlight-next branch of
kernel/git/lee/backlight.git (or linux-next).

Luca Weiss (4):
  dt-bindings: backlight: qcom-wled: Add PM6150L compatible
  backlight: qcom-wled: Add PM6150L compatible
  arm64: dts: qcom: pm6150l: Add wled node
  arm64: dts: qcom: sm7225-fairphone-fp4: Configure WLED

 .../devicetree/bindings/leds/backlight/qcom-wled.yaml  |  1 +
 arch/arm64/boot/dts/qcom/pm6150l.dtsi                  | 10 ++++++++++
 arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts      |  9 +++++++++
 drivers/video/backlight/qcom-wled.c                    |  1 +
 4 files changed, 21 insertions(+)

-- 
2.34.1


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

* [PATCH 1/4] dt-bindings: backlight: qcom-wled: Add PM6150L compatible
  2021-12-29 17:03 [PATCH 0/4] Enable display backlight on Fairphone 4 Luca Weiss
@ 2021-12-29 17:03 ` Luca Weiss
  2022-01-10 19:44   ` Rob Herring
  2022-02-08  9:23   ` Lee Jones
  2021-12-29 17:03 ` [PATCH 2/4] " Luca Weiss
  2022-02-01  5:19 ` (subset) [PATCH 0/4] Enable display backlight on Fairphone 4 Bjorn Andersson
  2 siblings, 2 replies; 8+ messages in thread
From: Luca Weiss @ 2021-12-29 17:03 UTC (permalink / raw)
  To: linux-arm-msm
  Cc: devicetree, Daniel Thompson, Kiran Gunda, Jingoo Han,
	linux-kernel, dri-devel, Luca Weiss, Rob Herring,
	Bjorn Andersson, ~postmarketos/upstreaming, Pavel Machek,
	phone-devel, Lee Jones, linux-leds

Document the compatible for the wled block found in PM6150L.

Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
---
 Documentation/devicetree/bindings/leds/backlight/qcom-wled.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/leds/backlight/qcom-wled.yaml b/Documentation/devicetree/bindings/leds/backlight/qcom-wled.yaml
index d839e75d9788..1c24b333c6e2 100644
--- a/Documentation/devicetree/bindings/leds/backlight/qcom-wled.yaml
+++ b/Documentation/devicetree/bindings/leds/backlight/qcom-wled.yaml
@@ -22,6 +22,7 @@ properties:
       - qcom,pmi8994-wled
       - qcom,pmi8998-wled
       - qcom,pm660l-wled
+      - qcom,pm6150l-wled
       - qcom,pm8150l-wled
 
   reg:
-- 
2.34.1


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

* [PATCH 2/4] backlight: qcom-wled: Add PM6150L compatible
  2021-12-29 17:03 [PATCH 0/4] Enable display backlight on Fairphone 4 Luca Weiss
  2021-12-29 17:03 ` [PATCH 1/4] dt-bindings: backlight: qcom-wled: Add PM6150L compatible Luca Weiss
@ 2021-12-29 17:03 ` Luca Weiss
  2022-01-04 14:20   ` Daniel Thompson
  2022-02-08  9:24   ` Lee Jones
  2022-02-01  5:19 ` (subset) [PATCH 0/4] Enable display backlight on Fairphone 4 Bjorn Andersson
  2 siblings, 2 replies; 8+ messages in thread
From: Luca Weiss @ 2021-12-29 17:03 UTC (permalink / raw)
  To: linux-arm-msm
  Cc: Daniel Thompson, Jingoo Han, linux-fbdev, dri-devel,
	Bjorn Andersson, Andy Gross, ~postmarketos/upstreaming,
	Luca Weiss, phone-devel, Lee Jones, linux-kernel

PM6150L contains WLED of version 5. Add support ofr it to the driver.

Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
---
 drivers/video/backlight/qcom-wled.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/video/backlight/qcom-wled.c b/drivers/video/backlight/qcom-wled.c
index 306bcc6ccb92..527210e85795 100644
--- a/drivers/video/backlight/qcom-wled.c
+++ b/drivers/video/backlight/qcom-wled.c
@@ -1734,6 +1734,7 @@ static const struct of_device_id wled_match_table[] = {
 	{ .compatible = "qcom,pmi8994-wled", .data = (void *)4 },
 	{ .compatible = "qcom,pmi8998-wled", .data = (void *)4 },
 	{ .compatible = "qcom,pm660l-wled", .data = (void *)4 },
+	{ .compatible = "qcom,pm6150l-wled", .data = (void *)5 },
 	{ .compatible = "qcom,pm8150l-wled", .data = (void *)5 },
 	{}
 };
-- 
2.34.1


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

* Re: [PATCH 2/4] backlight: qcom-wled: Add PM6150L compatible
  2021-12-29 17:03 ` [PATCH 2/4] " Luca Weiss
@ 2022-01-04 14:20   ` Daniel Thompson
  2022-02-08  9:24   ` Lee Jones
  1 sibling, 0 replies; 8+ messages in thread
From: Daniel Thompson @ 2022-01-04 14:20 UTC (permalink / raw)
  To: Luca Weiss
  Cc: linux-fbdev, linux-arm-msm, linux-kernel, dri-devel,
	Bjorn Andersson, Andy Gross, ~postmarketos/upstreaming,
	Jingoo Han, phone-devel, Lee Jones

On Wed, Dec 29, 2021 at 06:03:56PM +0100, Luca Weiss wrote:
> PM6150L contains WLED of version 5. Add support ofr it to the driver.
> 
> Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>

Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>


Daniel.

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

* Re: [PATCH 1/4] dt-bindings: backlight: qcom-wled: Add PM6150L compatible
  2021-12-29 17:03 ` [PATCH 1/4] dt-bindings: backlight: qcom-wled: Add PM6150L compatible Luca Weiss
@ 2022-01-10 19:44   ` Rob Herring
  2022-02-08  9:23   ` Lee Jones
  1 sibling, 0 replies; 8+ messages in thread
From: Rob Herring @ 2022-01-10 19:44 UTC (permalink / raw)
  To: Luca Weiss
  Cc: devicetree, Daniel Thompson, Kiran Gunda, Jingoo Han,
	linux-kernel, dri-devel, Bjorn Andersson, Rob Herring,
	~postmarketos/upstreaming, Pavel Machek, linux-arm-msm,
	phone-devel, Lee Jones, linux-leds

On Wed, 29 Dec 2021 18:03:55 +0100, Luca Weiss wrote:
> Document the compatible for the wled block found in PM6150L.
> 
> Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
> ---
>  Documentation/devicetree/bindings/leds/backlight/qcom-wled.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 

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

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

* Re: (subset) [PATCH 0/4] Enable display backlight on Fairphone 4
  2021-12-29 17:03 [PATCH 0/4] Enable display backlight on Fairphone 4 Luca Weiss
  2021-12-29 17:03 ` [PATCH 1/4] dt-bindings: backlight: qcom-wled: Add PM6150L compatible Luca Weiss
  2021-12-29 17:03 ` [PATCH 2/4] " Luca Weiss
@ 2022-02-01  5:19 ` Bjorn Andersson
  2 siblings, 0 replies; 8+ messages in thread
From: Bjorn Andersson @ 2022-02-01  5:19 UTC (permalink / raw)
  To: linux-arm-msm, Luca Weiss
  Cc: devicetree, linux-fbdev, Kiran Gunda, linux-kernel, dri-devel,
	~postmarketos/upstreaming, phone-devel, linux-leds

On Wed, 29 Dec 2021 18:03:54 +0100, Luca Weiss wrote:
> Add and enable PM6150L wled which is used for controlling the display
> backlight on Fairphone 4.
> 
> This series depends on the recent wled series by Marijn Suijten,
> currently applied in the for-backlight-next branch of
> kernel/git/lee/backlight.git (or linux-next).
> 
> [...]

Applied, thanks!

[3/4] arm64: dts: qcom: pm6150l: Add wled node
      commit: fe508ced49dd51a700c0f9ec7826d523cfe621b2
[4/4] arm64: dts: qcom: sm7225-fairphone-fp4: Configure WLED
      commit: 7a52967d9050f3e430373bc51c56865b49a38573

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

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

* Re: [PATCH 1/4] dt-bindings: backlight: qcom-wled: Add PM6150L compatible
  2021-12-29 17:03 ` [PATCH 1/4] dt-bindings: backlight: qcom-wled: Add PM6150L compatible Luca Weiss
  2022-01-10 19:44   ` Rob Herring
@ 2022-02-08  9:23   ` Lee Jones
  1 sibling, 0 replies; 8+ messages in thread
From: Lee Jones @ 2022-02-08  9:23 UTC (permalink / raw)
  To: Luca Weiss
  Cc: devicetree, Daniel Thompson, Kiran Gunda, linux-arm-msm,
	linux-kernel, dri-devel, Bjorn Andersson, Rob Herring,
	~postmarketos/upstreaming, Pavel Machek, Jingoo Han, phone-devel,
	linux-leds

On Wed, 29 Dec 2021, Luca Weiss wrote:

> Document the compatible for the wled block found in PM6150L.
> 
> Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
> ---
>  Documentation/devicetree/bindings/leds/backlight/qcom-wled.yaml | 1 +
>  1 file changed, 1 insertion(+)

Applied, thanks.

-- 
Lee Jones [李琼斯]
Principal Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog

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

* Re: [PATCH 2/4] backlight: qcom-wled: Add PM6150L compatible
  2021-12-29 17:03 ` [PATCH 2/4] " Luca Weiss
  2022-01-04 14:20   ` Daniel Thompson
@ 2022-02-08  9:24   ` Lee Jones
  1 sibling, 0 replies; 8+ messages in thread
From: Lee Jones @ 2022-02-08  9:24 UTC (permalink / raw)
  To: Luca Weiss
  Cc: Daniel Thompson, linux-arm-msm, linux-fbdev, dri-devel,
	Bjorn Andersson, Andy Gross, ~postmarketos/upstreaming,
	Jingoo Han, phone-devel, linux-kernel

On Wed, 29 Dec 2021, Luca Weiss wrote:

> PM6150L contains WLED of version 5. Add support ofr it to the driver.
> 
> Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
> ---
>  drivers/video/backlight/qcom-wled.c | 1 +
>  1 file changed, 1 insertion(+)

Applied, thanks.

-- 
Lee Jones [李琼斯]
Principal Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog

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

end of thread, other threads:[~2022-02-08  9:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-29 17:03 [PATCH 0/4] Enable display backlight on Fairphone 4 Luca Weiss
2021-12-29 17:03 ` [PATCH 1/4] dt-bindings: backlight: qcom-wled: Add PM6150L compatible Luca Weiss
2022-01-10 19:44   ` Rob Herring
2022-02-08  9:23   ` Lee Jones
2021-12-29 17:03 ` [PATCH 2/4] " Luca Weiss
2022-01-04 14:20   ` Daniel Thompson
2022-02-08  9:24   ` Lee Jones
2022-02-01  5:19 ` (subset) [PATCH 0/4] Enable display backlight on Fairphone 4 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).