Re: [PATCH 2/2] rtc: abx80x: Add support for autocalibration filter capacitor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 10, 2020 at 11:22 AM Alexandre Belloni
<alexandre.belloni@xxxxxxxxxxx> wrote:
> I'd like to avoid having more error messages in the driver (and whole
> subsystem). Can you move the ABX8XX_REG_CFG_KEY setting earlier in
> abx80x_probe so you don't have to do it here and avoid duplication the
> error message?
>

Based on my reading of the app manual this won't work properly, as
setting the configuration key only allows writing to one register, and
then the key is reset. It has to be set to allow enabling the trickle
charger, and also to allow enabling the autocalibration filter
capacitor.

> The RTC can still work if this fails and the rror is transient, maybe
> just warn and continue. It will be set on the next probe.

Will fix in the next version of the patch.

Thanks for the review!



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux