public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v2 0/3] gpio: Introduce gpio-delay driver and enable it on Kria
@ 2026-02-03  7:52 Michal Simek
  2026-02-03  7:52 ` [PATCH v2 1/3] gpio: Add GPIO delay driver Michal Simek
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Michal Simek @ 2026-02-03  7:52 UTC (permalink / raw)
  To: u-boot, git
  Cc: Anshul Dalal, Arturs Artamonovs, Eoin Dickson, Fabio Estevam,
	Greg Malysa, Ian Roberts, Ilias Apalodimas, J. Neuschäfer,
	Marek Vasut, Nathan Barrett-Morrison, Neil Armstrong,
	Nithish Kumar Naroju, Oliver Gaskell, Philip Molloy,
	Radhey Shyam Pandey, Rasmus Villemoes, Rohit Visavalia,
	Simon Glass, Tanmay Kathpalia, Tom Rini, Utsav Agarwal,
	Vasileios Bimpikas

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

-- 
2.43.0

base-commit: bc3e36d5bbfe1cc3cd3bf8b0e5ddcc261fbfa14d

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-02-12 11:34 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-03  7:52 [PATCH v2 0/3] gpio: Introduce gpio-delay driver and enable it on Kria Michal Simek
2026-02-03  7:52 ` [PATCH v2 1/3] gpio: Add GPIO delay driver Michal Simek
2026-02-03  7:52 ` [PATCH v2 2/3] xilinx: Enable GPIO delay driver on Kria platforms Michal Simek
2026-02-03  7:52 ` [PATCH v2 3/3] arm64: zynqmp: Wire gpio-delay driver for USB hub reset Michal Simek
2026-02-03 11:39 ` [PATCH v2 0/3] gpio: Introduce gpio-delay driver and enable it on Kria Marek Vasut
2026-02-03 15:32   ` Michal Simek
2026-02-03 16:38     ` Marek Vasut
2026-02-03 16:57       ` Quentin Schulz
2026-02-03 20:42         ` Marek Vasut
2026-02-12 11:33 ` Michal Simek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox