[U-Boot] [PATCH v2] gpio: add gpio-hog support

Michal Simek michal.simek at xilinx.com
Mon May 27 11:34:34 UTC 2019


On 27. 05. 19 12:49, 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>
> 
> ---
> not yet started clean travis build, see result:
> https://travis-ci.org/hsdenx/u-boot-test/builds/537732421
> 
> Changes in v2:
> - move gpio_hog() call from post_probe() to post_bind()
>   call. Check if current gpio device has gpio-hog
>   definitions, if so, probe it.

I am using i2c to gpio chip and with v2 this chip is not listed via dm
completely. It means something is wrong for sure.
It looks like that parent is not probed that's why it is failing.


Thanks,
Michal


More information about the U-Boot mailing list