This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BQ32000: Enabling TCFE Bit from Linux sys filesystem.

Part Number: BQ32000

Tool/software:

Hi,

We are using a custom board based on am62x SK and using BQ32000 RTC with Super Capacitor as Backup.

After updating linux system time with date command and updating RTC with hwclock command.  After couple of hours i did a powercycle.

After powercycle  I found that  time is not getting updated from RTC.

 After looking e2e tickets came to know that Need to set TCFE bit to 1, This bypass internal diode to charge the super capacitor.

In drivers/rtc/rtc-bq32k.c i found bq32k_sysfs_store_tricklecharge_bypass function that updates TCFE bit from Linux userspace using /sys/ filesystem.

May i know the exact location/name  of sys file need to used.

Is there other ways to update TCFE bit.