diff options
| author | Linus Walleij <linusw@kernel.org> | 2026-09-16 08:49:25 +0200 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2026-10-04 21:25:48 +0200 |
| commit | b4d3dc743df09cf467271e1490963ed9699ddfa1 (patch) | |
| tree | bf07c18320bf211beab31470d4689acbcb04545f /rust/kernel | |
| parent | 4d40dba1815d46c6ef9019ed80e3b998b0fc443d (diff) | |
power: supply: ab8500: Correct register definitions
The charger LED PWM register encodes its duty cycle as
(N + 1) / 256. The value for 252/256 is therefore 0xfb, not 0xbf.
Both output-current codes 0xe and 0xf select 1.5 A, while 0x3f
cannot fit in the four-bit field. Also correct the AB8505 BatCtrl
bit 0 current source from 18 uA to 8 uA.
Assisted-by: LLM
Signed-off-by: Linus Walleij <linusw@kernel.org>
Link: https://patch.msgid.link/20260916-ab8500-charging-v1-3-e986ed321cc6@kernel.org
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'rust/kernel')
0 files changed, 0 insertions, 0 deletions
