]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
iio: light: ltrf216a: Document device name for compatible
authorShreeya Patel <shreeya.patel@collabora.com>
Mon, 23 Sep 2024 13:15:27 +0000 (18:45 +0530)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 5 Oct 2024 11:09:15 +0000 (12:09 +0100)
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>
Link: https://patch.msgid.link/20240923131527.1408691-1-shreeya.patel@collabora.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/ltrf216a.c

index bc8444516689e03a90af5b274469319807994da0..b1dacb48d610ac9f662a19f9c327b5ee0a55362a 100644 (file)
@@ -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 },
        {}
 };