]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: i2c: lm3560: Add proper support for LM3559
authorSvyatoslav Ryhel <clamor95@gmail.com>
Wed, 6 May 2026 06:48:47 +0000 (09:48 +0300)
committerSakari Ailus <sakari.ailus@linux.intel.com>
Fri, 15 May 2026 12:00:44 +0000 (15:00 +0300)
commitdd9a02fc75cefc84024eb658c9e528cc97ca4eda
tree74ec58237bb505ff1fae6fbffcb696021866c2c2
parentaf5fa4896e8528fa664ef2735910e8c73daccae1
media: i2c: lm3560: Add proper support for LM3559

The LM3559 is very similar to the LM3560, but it operates at much lower
currents. This may result in incorrect current selection if LM3560 ranges
are applied to the LM3559. Implement driver data matching to use
device-specific current configurations.

Since the driver no longer supports platform data and device configuration
is performed more granularly, move the remaining enums from the header
into the driver file and remove the header.

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 [deleted file]