summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/allocator
diff options
context:
space:
mode:
authorLinus Walleij <linusw@kernel.org>2026-09-16 08:49:31 +0200
committerSebastian Reichel <sebastian.reichel@collabora.com>2026-10-04 21:25:48 +0200
commitdcecf527632297011153f088573689a1ad1de790 (patch)
treeb3d73e2d765925edbaa1c241bc5c48b201c50fcc /rust/kernel/alloc/allocator
parent2b697df2b6394613a3bb168adfa8a845ad7c83d9 (diff)
power: supply: ab8500_charger: Respect AB8505 register layout
Several AB8505 charger fields differ from AB8500. Its long VBUS falling debounce is 300 ms rather than 100 ms, and its VBUS overvoltage selector has a different encoding programmed through OTP. Writing the AB8500 6.3 V value selects 9 V on AB8505. AB8505 revision 3 also defines SwControlFallback as reserved, correcting older documentation which led the driver to support autopower there. Preserve the AB8505 overvoltage setting, wait for its documented debounce, and reject the unsupported autopower setting. Fixes: 0ed5107fa860 ("ab8500-charger: Do not touch VBUSOVV bits") Fixes: b016322293c7 ("ab8500-charger: Add support for autopower on AB8505 and AB9540") Assisted-by: LLM Signed-off-by: Linus Walleij <linusw@kernel.org> Link: https://patch.msgid.link/20260916-ab8500-charging-v1-9-e986ed321cc6@kernel.org Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'rust/kernel/alloc/allocator')
0 files changed, 0 insertions, 0 deletions