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

Quentin Schulz quentin.schulz at cherry.de
Tue Feb 3 17:57:01 CET 2026


Hi Marek,

On 2/3/26 5:38 PM, Marek Vasut wrote:
> On 2/3/26 4:32 PM, Michal Simek wrote:
>>
>>
>> On 2/3/26 12:39, Marek Vasut wrote:
>>> On 2/3/26 8:52 AM, 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.
>>> Can you not use some regulator or make the reset assert/deassert time 
>>> configurable via DT property ?
>>
>> Sorry not following. delay is configurable via DT now - the patch 3/3 
>> for example.
> 
> 3/3 never arrived in my mailbox, I think I was CCed only on 0 and 2 .
> 
>> This avoid a need to change usb5744 driver to wait longer time which 
>> is what we discussed in past.
> If the delay is configurable via DT, why would the driver have to be 
> changed ?

Delay is configurable via DT for the GPIO delay device. The delay is NOT 
configurable via DT for the USB onboard hub device. Because of the 
latter, the former is added as GPIO controller for adding delay to the 
latter driver's reset line.


More information about the U-Boot mailing list