[PATCH v2 0/3] gpio: Introduce gpio-delay driver and enable it on Kria

Michal Simek michal.simek at amd.com
Thu Feb 12 12:33:41 CET 2026



On 2/3/26 08:52, Michal Simek wrote:
> Hi,
> 
> we need to wait more time for getting USB hub out of reset to be able to do
> initialiation over i2c that's why use gpio-delay driver instead of changing
> waiting time in usb hub driver. Waiting time depends on gpio wiring on the
> board which is in some of our case going via SLG programmable device.
> 
> Thanks,
> Michal
> 
> Changes in v2:
> - Check return value from dm_gpio_set_value()
> - Do not use GPIOD_IS_OUT when requesting gpio
> - fix commit message
> 
> Michal Simek (3):
>    gpio: Add GPIO delay driver
>    xilinx: Enable GPIO delay driver on Kria platforms
>    arm64: zynqmp: Wire gpio-delay driver for USB hub reset
> 
>   arch/arm/dts/zynqmp-sck-kd-g-revA.dtso |  13 ++-
>   arch/arm/dts/zynqmp-sck-kr-g-revA.dtso |  16 ++-
>   arch/arm/dts/zynqmp-sck-kr-g-revB.dtso |  16 ++-
>   arch/arm/dts/zynqmp-sck-kv-g-revA.dtso |  13 ++-
>   arch/arm/dts/zynqmp-sck-kv-g-revB.dtso |  11 +-
>   configs/xilinx_zynqmp_kria_defconfig   |   1 +
>   drivers/gpio/Kconfig                   |   8 ++
>   drivers/gpio/Makefile                  |   1 +
>   drivers/gpio/gpio-delay.c              | 139 +++++++++++++++++++++++++
>   9 files changed, 202 insertions(+), 16 deletions(-)
>   create mode 100644 drivers/gpio/gpio-delay.c
> 

Applied.
M


More information about the U-Boot mailing list