u-boot/arch/arm
Quentin Schulz c9bc7f988f rockchip: puma-rk3399: use gpio-hog instead of fixed-regulator for enabling eMMC/SPI-NOR
On Haikou devkit, it is possible to disable eMMC and SPI-NOR to force
booting from SD card or USB via rkdeveloptool by toggling a switch. This
switch needs to be overridden in software to be able to access eMMC and
SPI-NOR once the device has booted from SD Card. Puma SoM can override
this pin via gpio3_d5.

Until now, fixed regulator device was abused to model this, but since
there's now support for GPIO hogs, let's use it.

Since we want to be able to boot the SPL from SD Card but give it the
ability to load U-Boot proper from a fallback medium such as eMMC and
SPI-NOR, SPL support for GPIO hogs needs to be enabled too. Support for
other kinds of regulators are not needed anymore, so let's disable them.

Cc: Quentin Schulz <foss+uboot@0leil.net>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
2022-10-19 19:30:49 +08:00
..
cpu armv8: cache_v8: Fix pgtables setup when MMU is already enabled 2022-10-06 21:05:17 -04:00
dts rockchip: puma-rk3399: use gpio-hog instead of fixed-regulator for enabling eMMC/SPI-NOR 2022-10-19 19:30:49 +08:00
include rockchip: px30: support debug uart on UART0 2022-10-19 19:30:48 +08:00
lib common/board_f: move CONFIG_MACH_TYPE logic to arch/arm/lib/bdinfo.c 2022-10-06 21:05:17 -04:00
mach-apple arm: apple: Add initial Apple M2 support 2022-07-25 09:38:47 -04:00
mach-aspeed treewide: Drop image_header_t typedef 2022-09-29 16:07:57 -04:00
mach-at91 cyclic: Use schedule() instead of WATCHDOG_RESET() 2022-09-18 10:26:33 +02:00
mach-bcm283x
mach-bcmbca arm: bcmbca: introduce the bcmbca architecture and 47622 SOC 2022-06-10 13:37:32 -04:00
mach-bcmstb
mach-cortina
mach-davinci arm: Remove unused references to CONFIG_SOC_DM* 2022-07-25 14:57:27 -04:00
mach-exynos arm: samsung: Migrate a number of symbols to Kconfig 2022-06-28 17:04:37 -04:00
mach-highbank
mach-hpe ARM: hpe: gxp: add core support 2022-06-22 21:30:04 -04:00
mach-imx treewide: Drop image_header_t typedef 2022-09-29 16:07:57 -04:00
mach-integrator
mach-ipq40xx arm: dts: qcom: Sync pinctrl DT nodes with Linux bindings 2022-08-26 10:55:46 -04:00
mach-k3 treewide: Drop image_header_t typedef 2022-09-29 16:07:57 -04:00
mach-keystone treewide: Drop image_header_t typedef 2022-09-29 16:07:57 -04:00
mach-kirkwood arm: mvebu: Mark constant data with const keyword 2022-09-13 06:38:08 +02:00
mach-lpc32xx net: lpc32xx_eth.c ethernet driver 2022-08-20 21:18:15 -04:00
mach-mediatek arm: mediatek: add support for MediaTek MT7981 SoC 2022-09-23 15:09:15 -04:00
mach-meson ARM: meson: fixup error on efuse commands return 2022-08-08 09:56:38 +02:00
mach-mvebu arm: mvebu: Add support for specifying VHV_Enable GPIO 2022-10-06 10:15:35 +02:00
mach-nexell
mach-npcm arm: nuvoton: Add support for Nuvoton NPCM845 BMC 2022-10-06 21:05:17 -04:00
mach-octeontx
mach-octeontx2
mach-omap2 Convert CONFIG_SYS_L2_PL310 to Kconfig 2022-09-01 17:18:42 -04:00
mach-orion5x arm: Remove edminiv2 board 2022-08-20 21:18:15 -04:00
mach-owl
mach-qemu
mach-rmobile arm: Remove kzm9g board 2022-08-20 21:18:15 -04:00
mach-rockchip rockchip: px30: support debug uart on UART0 2022-10-19 19:30:48 +08:00
mach-s5pc1xx
mach-snapdragon arm: dts: qcom: Sync pinctrl DT nodes with Linux bindings 2022-08-26 10:55:46 -04:00
mach-socfpga treewide: Drop bootm_headers_t typedef 2022-09-29 16:07:57 -04:00
mach-sti stm32mp1: fix reference for STMicroelectronics 2022-06-17 14:12:27 +02:00
mach-stm32 configs: stm32f746-disco: Migrate SPL flags to defconfig 2022-05-10 13:56:12 +02:00
mach-stm32mp - Increase SYS_MALLOC_F_LEN for STM32 MCU's board 2022-09-27 08:53:51 -04:00
mach-sunxi treewide: Drop image_header_t typedef 2022-09-29 16:07:57 -04:00
mach-tegra dm: core: Drop ofnode_is_available() 2022-09-29 16:11:31 -04:00
mach-u8500
mach-uniphier serial: Replace CONFIG_DEBUG_UART_BASE by CONFIG_VAL(DEBUG_UART_BASE) 2022-06-06 18:01:21 -04:00
mach-versal arm64: versal: Define zynqmp_mmio_write() for versal 2022-09-13 11:32:48 +02:00
mach-versal-net spi: cadence_qspi: Add support for Versal NET platform 2022-09-26 14:23:29 +02:00
mach-versatile
mach-zynq ARM: zynq: Align bss and end of u-boot image to 64bits 2022-09-13 11:32:48 +02:00
mach-zynqmp arm64: zynqmp: Fix compiler warnings in mp.c 2022-10-07 11:29:48 +02:00
mach-zynqmp-r5
thumb1/include/asm/proc-armv
config.mk Makefile: Allow LTO to be disabled for a build 2022-09-02 16:20:11 -04:00
Kconfig arm64: versal-net: Add support for Versal NET platform 2022-09-26 14:23:29 +02:00
Kconfig.debug
Makefile arm64: versal-net: Add support for Versal NET platform 2022-09-26 14:23:29 +02:00