Re: [PATCH] iio: light: ltrf216a: Document device name for compatible

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 23 Sep 2024 18:45:27 +0530
Shreeya Patel <shreeya.patel@xxxxxxxxxxxxx> wrote:

> Compatible 'ltr,ltrf216a' is used by Valve's Steamdeck device
> via the ACPI + PRP0001 mechanism.
> Document this info alongside the compatible.
> 
> Signed-off-by: Shreeya Patel <shreeya.patel@xxxxxxxxxxxxx>
Applied.
> ---
>  drivers/iio/light/ltrf216a.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/iio/light/ltrf216a.c b/drivers/iio/light/ltrf216a.c
> index bc8444516689..b1dacb48d610 100644
> --- a/drivers/iio/light/ltrf216a.c
> +++ b/drivers/iio/light/ltrf216a.c
> @@ -561,6 +561,7 @@ MODULE_DEVICE_TABLE(i2c, ltrf216a_id);
>  static const struct of_device_id ltrf216a_of_match[] = {
>  	{ .compatible = "liteon,ltr308", .data = &ltr308_chip_info },
>  	{ .compatible = "liteon,ltrf216a", .data = &ltrf216a_chip_info },
> +	/* For Valve's Steamdeck device, an ACPI platform using PRP0001 */
>  	{ .compatible = "ltr,ltrf216a", .data = &ltrf216a_chip_info },
>  	{}
>  };





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux