]> git.hungrycats.org Git - linux/commit
leds: tps6131x: Increase overvoltage protection threshold to 6V
authorMatthias Fend <matthias.fend@emfend.at>
Wed, 27 May 2026 10:26:51 +0000 (12:26 +0200)
committerLee Jones <lee@kernel.org>
Wed, 17 Jun 2026 10:30:17 +0000 (11:30 +0100)
commitd43f1d792902ba0a53fd311bff2cf96095c7606d
treefb1a7310ef25b09710ecf4a6e9950fdb049ad2bd
parent938fda9671dd07196f4e591d30977b2e69d8f320
leds: tps6131x: Increase overvoltage protection threshold to 6V

Currently, there may be cases where the overvoltage detection is triggered
even with a valid and generally functioning hardware setup. This occurs,
for example, when the input voltage exceeds the currently used overvoltage
threshold of 4.65V (typical). Since input voltages up to 5V are supported,
the threshold should be adjusted accordingly.

While the target output voltage setting has no effect on the LED operation
used here, it indirectly selects the threshold for overvoltage detection.
Set this to a value of 4.95V to select a threshold of 6V (typical).

Signed-off-by: Matthias Fend <matthias.fend@emfend.at>
Link: https://patch.msgid.link/20260527-leds-tps6131x-ovp-v1-1-1ac70d03c9eb@emfend.at
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/leds/flash/leds-tps6131x.c