diff options
author | Ye Li <ye.li@nxp.com> | 2017-08-01 05:25:19 -0500 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2017-11-03 02:37:06 +0800 |
commit | e1300c3e6b5511d38cd7b027c346471ffb1eb584 (patch) | |
tree | d38e69d43ab80a164fa60dfa3dd68122a0b79f91 /configs/imx8qxp_lpddr4_arm2_defconfig | |
parent | a4d334e70839021a50dca2ad4ad98ecee16081f9 (diff) |
MLK-16118-8 imx8qm/qxp: Enable the power domain driver and update relevant codes
This patch enables the power domain driver for i.MX8QM and QXP boards in defconfig files.
The devices with using DM driver will be powered on automatically by DM framework. So
we remove the power relevant codes for them.
For devices with non-DM drivers, we updates the board/SoC codes to use power domain driver API.
So that we can use power domain driver to manage them.
The only exceptions are:
1. UART0 at board_early_f, this is very early stage, that power domain is not ready.
2. Power up secondary cores and M4 cores. These resources are not peripherals and
are not in power domain tree.
Additional, benefiting from power domain driver, We have implemented the function "power_off_pd_devices"
to power off all active devices. No need to explicitly power off them in board_quiesce_devices.
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Ye Li <ye.li@nxp.com>
Diffstat (limited to 'configs/imx8qxp_lpddr4_arm2_defconfig')
-rw-r--r-- | configs/imx8qxp_lpddr4_arm2_defconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/imx8qxp_lpddr4_arm2_defconfig b/configs/imx8qxp_lpddr4_arm2_defconfig index d583527e3b..0b3bf3ca78 100644 --- a/configs/imx8qxp_lpddr4_arm2_defconfig +++ b/configs/imx8qxp_lpddr4_arm2_defconfig @@ -60,3 +60,6 @@ CONFIG_VIDEO=y CONFIG_PINCTRL=y CONFIG_PINCTRL_IMX8=y + +CONFIG_POWER_DOMAIN=y +CONFIG_IMX8_POWER_DOMAIN=y |