Skip to content

gpio: Introduce gpio-delay driver and enable it on Kria

Michal Simek u-boot 2 versions – Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 6 repliesApplied
  2. v13 patches 6 repliesSuperseded

Changes in v2 from the cover letter

- Check return value from dm_gpio_set_value()
- Do not use GPIOD_IS_OUT when requesting gpio
- fix commit message

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3gpio: Add GPIO delay driverdrivers/gpio/Kconfig drivers/gpio/Makefile drivers/gpio/gpio-delay.c+148 -00 replies
2/3xilinx: Enable GPIO delay driver on Kria platformsconfigs/xilinx_zynqmp_kria_defconfig+1 -00 replies
3/3arm64: zynqmp: Wire gpio-delay driver for USB hub resetarch/arm/dts/zynqmp-sck-kd-g-revA.dtso arch/arm/dts/zynqmp-sck-kr-g-revA.dtso arch/arm/dts/zynqmp-sck-kr-g-revB.dtso +2 more+53 -160 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchRadhey Shyam Pandey
1/3
2/3
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

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
Signature · 3 lines
2.43.0

base-commit: bc3e36d5bbfe1cc3cd3bf8b0e5ddcc261fbfa14d