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.

AM335x RTC disable mode SW setting

Hi!

Reference to this question: https://e2e.ti.com/support/arm/sitara_arm/f/791/t/368679

I've summed up the following steps for RTC disable mode:

Step 1. Remove RTC node from am33xx.dtsi.

Step 2. disable kernel config "CONFIG_RTC_DRV_OMAP".

Step 3. Remove am33xx_l4_wkup__rtc from array am33xx_hwmod_ocp_ifs from kernel source code.

Is it correct software setting for AM335x RTC disable mode?

Thanks!

  • Hi,

    I will ask the software team to comment.
  • Hi,

    There are some things you've missed, which are described in the link you refer:
    Step 1. DO NOT remove the RTC node from am33xx.dtsi. JUST KEEP IT'S status = "disabled" in am33xx.dtsi AND in the DTS file you use.
    Step 2. Also disable:
    CONFIG_RTC_LIB
    CONFIG_RTC_CLASS
    CONFIG_RTC_HCTOSYS
    CONFIG_RTC_SYSTOHC
    remove CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
    And disable rtc interfaces
    CONFIG_RTC_INTF_SYSFS
    CONFIG_RTC_INTF_PROC
    CONFIG_RTC_INTF_DEV

    Step 3. CORRECT.

    Best Regards,
    Yordan