[U-Boot] [PATCH] gpio: add gpio-hog support
Michal Simek
michal.simek at xilinx.com
Mon May 27 07:13:44 UTC 2019
On 27. 05. 19 8:30, Heiko Schocher wrote:
> add gpio-hog support. GPIO hogging is a mechanism
> providing automatic GPIO request and configuration
> as part of the gpio-controller's driver probe function.
>
> for more infos see:
> doc/device-tree-bindings/gpio/gpio.txt
>
> Signed-off-by: Heiko Schocher <hs at denx.de>
I have tested it on zcu102 where I use gpio hogs for gt muxes.
gpio hogs are handled and setup only when gpio controller is probed.
Do we have a way how to say that controllers with gpio hogs should be
probed automatically?
Right now you are calling it in post_probe which make sense but on the
other hand if you find gpio hog in bind you should probe the whole
driver without asking for request.
Thanks,
Michal
More information about the U-Boot
mailing list