Linux IIO development
 help / color / mirror / Atom feed
* [PATCH] iio: light: ltrf216a: Document device name for compatible
@ 2024-09-23 13:15 Shreeya Patel
  2024-09-28 17:12 ` Jonathan Cameron
  0 siblings, 1 reply; 2+ messages in thread
From: Shreeya Patel @ 2024-09-23 13:15 UTC (permalink / raw)
  To: jic23, lars
  Cc: linux-iio, linux-kernel, krzk+dt, marex, conor+dt, kernel,
	Shreeya Patel

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@collabora.com>
---
 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 },
 	{}
 };
-- 
2.39.2


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

* Re: [PATCH] iio: light: ltrf216a: Document device name for compatible
  2024-09-23 13:15 [PATCH] iio: light: ltrf216a: Document device name for compatible Shreeya Patel
@ 2024-09-28 17:12 ` Jonathan Cameron
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2024-09-28 17:12 UTC (permalink / raw)
  To: Shreeya Patel
  Cc: lars, linux-iio, linux-kernel, krzk+dt, marex, conor+dt, kernel

On Mon, 23 Sep 2024 18:45:27 +0530
Shreeya Patel <shreeya.patel@collabora.com> 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@collabora.com>
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 },
>  	{}
>  };


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

end of thread, other threads:[~2024-09-28 17:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-23 13:15 [PATCH] iio: light: ltrf216a: Document device name for compatible Shreeya Patel
2024-09-28 17:12 ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox