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.

[AM572xEVM] Power off signal to PMIC

Guru 24520 points


Hi TI Experts,

Please let me confirm the following question.

[Question]
What kind of signal does AM572x generate to PMIC when AM572x gets the shutdown command?

I would like to know how to power down the PMIC by AM572x with using below table signals on EVM.

Best regards.
Kaka

  • I will forward this to the software team.
  • Hi Kaka,

    As far as I understand from the sources, when the poweroff command is executed on the target board running Linux, the following happens:

     1. Command propagates throughout the system, turning off the active SoC modules, unmounting the filesystem & so on.

     2. The PMIC is shut down with a command send through the dedicated i2c interface; it is a write to the appropriate PMIC hw register. See the palmas_power_off() function in drivers/mfd/palmas.c:

    static void palmas_power_off(void)

    {

           unsigned int addr;

           int ret, slave;

            if (!palmas_dev)

                   return;

            slave = PALMAS_BASE_TO_SLAVE(PALMAS_PMU_CONTROL_BASE);

            addr = PALMAS_BASE_TO_REG(PALMAS_PMU_CONTROL_BASE, PALMAS_DEV_CTRL);

            ret = regmap_update_bits(

                           palmas_dev->regmap[slave],

                           addr,

                           PALMAS_DEV_CTRL_DEV_ON,

                           0);

              if (ret)

                      pr_err("%s: Unable to write to DEV_CTRL_DEV_ON: %d\n",

                                    __func__, ret);

    }

    Hope this helps.

    Best Regards, 
    Yordan

  • Hi Yordan,

    Thank you for your kindly response.
    I got it. If I get more questions, please let me confirm them.

    Best regards.
    Kaka