]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: i2c: lm3560: Convert to use OF bindings
authorSvyatoslav Ryhel <clamor95@gmail.com>
Wed, 6 May 2026 06:48:45 +0000 (09:48 +0300)
committerSakari Ailus <sakari.ailus@linux.intel.com>
Fri, 15 May 2026 12:00:44 +0000 (15:00 +0300)
commit34fc7eedc3a0e150086024c450218aba6efaf4cd
tree99630156f47a2947462db9c8741a01e5dcebba72
parentace46508bac913f9d0f4b84b49392445ae911fb3
media: i2c: lm3560: Convert to use OF bindings

Since there are no users of this driver via platform data, remove the
platform data support and switch to using Device Tree bindings.

Converting to Device Tree assumes dynamic and independent registration of
LEDs. To monitor the configured LEDs, a bitmap has been added. This makes
LED cleanup more robust and less context dependent.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
drivers/media/i2c/lm3560.c
include/media/i2c/lm3560.h