[2/2] backlight: ktd253: Support KTD259

Message ID 20210321114341.944696-2-linus.walleij@linaro.org
State New
Headers show
Series
  • [1/2] dt-bindings: backlight: Add Kinetic KTD259 bindings
Related show

Commit Message

Linus Walleij March 21, 2021, 11:43 a.m.
The KTD259 works just like KTD253 so add this compatible
to the driver.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

---
 drivers/video/backlight/ktd253-backlight.c | 1 +
 1 file changed, 1 insertion(+)

-- 
2.29.2

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Comments

Daniel Thompson March 22, 2021, 2:06 p.m. | #1
On Sun, Mar 21, 2021 at 12:43:41PM +0100, Linus Walleij wrote:
> The KTD259 works just like KTD253 so add this compatible

> to the driver.

> 

> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>


Oh no... there's more of them ;-) .

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



Daniel.


> ---

>  drivers/video/backlight/ktd253-backlight.c | 1 +

>  1 file changed, 1 insertion(+)

> 

> diff --git a/drivers/video/backlight/ktd253-backlight.c b/drivers/video/backlight/ktd253-backlight.c

> index d7b287cffd5c..a7df5bcca9da 100644

> --- a/drivers/video/backlight/ktd253-backlight.c

> +++ b/drivers/video/backlight/ktd253-backlight.c

> @@ -173,6 +173,7 @@ static int ktd253_backlight_probe(struct platform_device *pdev)

>  

>  static const struct of_device_id ktd253_backlight_of_match[] = {

>  	{ .compatible = "kinetic,ktd253" },

> +	{ .compatible = "kinetic,ktd259" },

>  	{ /* sentinel */ }

>  };

>  MODULE_DEVICE_TABLE(of, ktd253_backlight_of_match);

> -- 

> 2.29.2

> 

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Lee Jones March 22, 2021, 2:32 p.m. | #2
On Sun, 21 Mar 2021, Linus Walleij wrote:

> The KTD259 works just like KTD253 so add this compatible
> to the driver.
> 
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
>  drivers/video/backlight/ktd253-backlight.c | 1 +
>  1 file changed, 1 insertion(+)

Applied, thanks.

Patch

diff --git a/drivers/video/backlight/ktd253-backlight.c b/drivers/video/backlight/ktd253-backlight.c
index d7b287cffd5c..a7df5bcca9da 100644
--- a/drivers/video/backlight/ktd253-backlight.c
+++ b/drivers/video/backlight/ktd253-backlight.c
@@ -173,6 +173,7 @@  static int ktd253_backlight_probe(struct platform_device *pdev)
 
 static const struct of_device_id ktd253_backlight_of_match[] = {
 	{ .compatible = "kinetic,ktd253" },
+	{ .compatible = "kinetic,ktd259" },
 	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, ktd253_backlight_of_match);