Hi Marek,
On 9/19/22 21:45, Marek Vasut wrote:
The gpio_hog_probe_all() functionality can be perfectly well replaced by
DM_FLAG_PROBE_AFTER_BIND DM flag, which would trigger .probe() callback
of each GPIO hog driver instance after .bind() and thus configure the
hogged GPIO accordingly.
Signed-off-by: Marek Vasut <ma...@denx.de>
This patch breaks the U-Boot proper loading fallback mechanism on Puma
RK3399.
https://lore.kernel.org/u-boot/20220915091432.789294-1-foss+ub...@0leil.net/
is the base I used, on top of commit d6a03711fd with your patch applied
on top.
I need the GPIO hogs to be probed before the SPL starts looking for
storage media for U-Boot proper because the GPIO hog is necessary on the
HW level for the eMMC and SPI-NOR flash to be usable.
Basically, we have a switch on the board disabling eMMC and SPI-NOR so
that we can boot from SD card, but we want to be able to load U-Boot
proper from eMMC/SPI-NOR. The GPIO hog overrides this HW switch. Use
case is to recover from a corrupted SPL without touching U-Boot proper.
Cheers,
Quentin