30.07.2021 20:37, Dmitry Osipenko пишет:
17.07.2021 21:21, Dmitry Osipenko пишет:
...
quoted
power: supply: smb347-charger: Make smb347_set_writable() IRQ-safe
power: supply: smb347-charger: Utilize generic regmap caching
power: supply: smb347-charger: Implement USB VBUS regulator
I noticed that charging doesn't work properly now, will fix it in v6.
For the record, it wasn't enough to enable the regmap caching, we also
need to fill up the cache on init by specifying the num_reg_defaults_raw
parameter.
This uncovered another problem where the pin control "enable" bit was
unsettling because the default regmap values were initialized to zeros
and driver doesn't set the enable bit at all.