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(+)
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:
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
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.
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 }, {} };
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.
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.
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,
dri-devel@lists.freedesktop.org