[PATCH 2/2] backlight: ktd253: Support KTD259

Daniel Thompson daniel.thompson at linaro.org
Mon Mar 22 14:06:50 UTC 2021


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 at linaro.org>

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

Reviewed-by: Daniel Thompson <daniel.thompson at 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
> 


More information about the dri-devel mailing list