arm-trusted-firmware/plat/allwinner/common
Andre Przywara 67412e4d7a feat(allwinner): allow to skip PMIC regulator setup
For somewhat historical reasons we are doing some initial PMIC regulator
setup in BL31, as U-Boot does not (yet) have a PMIC driver. This worked
fine so far, but there is at least one board (OrangePi 3) that gets upset,
because the Ethernet PHY needs some *coordinated* bringup of *two*
regulators.

To avoid custom hacks, let's introduce a build option to keep doing the
regulator setup in TF-A. Defining SUNXI_SETUP_REGULATORS to 0 will break
support for some devices on some boards in U-Boot (Ethernet and HDMI),
but will allow to bring up the OrangePi 3 in Linux correctly. We keep
the default at 1 to not change the behaviour for all other boards.

After U-Boot gained proper PMIC support at some point in the future, we
will probably change the default to 0, to get rid of the less optimal
PMIC code in TF-A.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Change-Id: Ie8e2583d0396f6eeaae8ffe6b6190f27db63e2a7
2021-12-27 15:32:22 +00:00
..
include feat(plat/allwinner): add R329 support 2021-08-25 02:11:59 +08:00
allwinner-common.mk feat(allwinner): allow to skip PMIC regulator setup 2021-12-27 15:32:22 +00:00
arisc_off.S allwinner: Use the arisc to turn off ARM cores 2018-10-20 16:23:59 +01:00
plat_helpers.S allwinner: Introduce basic platform support 2018-06-15 11:45:24 +01:00
sunxi_bl31_setup.c feat(plat/allwinner): add R329 support 2021-08-25 02:11:59 +08:00
sunxi_common.c refactor(plat/allwinner): do not map BL32 DRAM at EL3 2021-07-22 20:50:27 -05:00
sunxi_cpu_ops.c refactor(plat/allwinner): allow new AA64nAA32 position 2021-08-25 00:33:59 +08:00
sunxi_native_pm.c allwinner: Split native and SCPI-based PSCI implementations 2021-01-24 17:21:31 -06:00
sunxi_pm.c allwinner: Split native and SCPI-based PSCI implementations 2021-01-24 17:21:31 -06:00
sunxi_scpi_pm.c refactor(plat/allwinner): map SRAM as device memory by default 2021-07-22 20:50:24 -05:00
sunxi_security.c allwinner: Add SPC security setup for H6 2020-12-13 22:15:32 -06:00
sunxi_topology.c allwinner: Constify data structures 2019-02-17 20:13:40 -06:00