Re: [PATCH] power: supply: bd71828: add input current limit property
From: Andreas Kemnade
Date: Wed Apr 15 2026 - 16:56:21 EST
On Tue, 7 Apr 2026 09:33:25 +0300
Matti Vaittinen <mazziesaccount@xxxxxxxxx> wrote:
> I am afraid I don't know your use-case for the control of the DCIN input
> limit well enough to decide, if the BD72720 would need something similar
> - or if the VBUS_INLIM should be tied to the same knob. If you have the
> enthusiasm to write some more words ... I am keen on learning! :)
Justification for this patch is mostly: there is a standard interface
for this functionality and the chip has that functionality.
The bigger picture: Attach a power source with changing properties causes
mess. To repreduce issues at my desk, I have played around with a labor power
supply with changeable current limitation, turining it down to zero (so
power is off) then turning it on slowly again, no charging will happen. My
usual way around such a problem is to clear DCIN_ILIM_EN (will add a sysfs
attribute for that) and set some conservative current.
Regards,
Andreas