ARM: MXS: make power levels configurable in mx2*_power_init
Depending on the application, board code might want to configure
different power levels and brownout thresholds. They can do so now with
an additional struct mxs_power_ctrls* parameter to mx2*_power_init.

Note that VDDMEM was not set up explicitely in mx28_power_init, but can
now be configured. However, mx28_power_default->vddmem is NULL, so the
old behaviour is still the case when using those default values.

Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent f726f18 commit e3df3607a4e14bd60d67bc68b8687bb9657d183e
@Roland Hieber Roland Hieber authored on 13 Aug 2018
Sascha Hauer committed on 14 Aug 2018
Showing 6 changed files
View
arch/arm/boards/duckbill/lowlevel.c
View
arch/arm/boards/freescale-mx28-evk/lowlevel.c
View
arch/arm/boards/imx233-olinuxino/lowlevel.c
View
arch/arm/boards/karo-tx28/lowlevel.c
View
arch/arm/mach-mxs/include/mach/init.h
View
arch/arm/mach-mxs/power-init.c