summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorAndrew Davis <afd@ti.com>2026-03-05 14:37:06 -0600
committerLee Jones <lee@kernel.org>2026-03-10 09:23:15 +0000
commit15c9c907bf4c6025aa78404dbf072cf634d6756d (patch)
treedcd94339237c2945fb8da41acc2312ee83ffdef8 /tools/lib/python
parentca4b5ff8ab68663afb1316d41f9a2deb9f1dca2e (diff)
leds: lp8860: Do not always program EEPROM on probe
The EEPROM has limited writes and the contents might have factory set values that should not be changed. The values currently written by this driver are just one example of values, but might not be correct for many use-cases. Do not overwrite the EEPROM with these example values every probe. At some point it would be better to populate the content of the EEPROM based on a configuration provided by the user and check that the values in EEPROM are not already the same to avoid unneeded write cycles. That configuration would depend on how the device is used on the board to which it is attached, for that Device Tree might be the right way. Until a method can be devised, gate the EEPROM writing behind a module param. Reported-by: David Owens <daowens01@gmail.com> Signed-off-by: Andrew Davis <afd@ti.com> Link: https://patch.msgid.link/20260305203706.841384-5-afd@ti.com Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions