Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

iio: light: ltrf216a: Document device name for compatible

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>

authored by

Shreeya Patel and committed by
Jonathan Cameron
aa6b1dd1 85255921

+1
+1
drivers/iio/light/ltrf216a.c
··· 561 561 static const struct of_device_id ltrf216a_of_match[] = { 562 562 { .compatible = "liteon,ltr308", .data = &ltr308_chip_info }, 563 563 { .compatible = "liteon,ltrf216a", .data = &ltrf216a_chip_info }, 564 + /* For Valve's Steamdeck device, an ACPI platform using PRP0001 */ 564 565 { .compatible = "ltr,ltrf216a", .data = &ltrf216a_chip_info }, 565 566 {} 566 567 };