Re: [PATCH v3 1/2] gpio: Add gpio latch driver

From: Linus Walleij
Date: Tue Oct 04 2022 - 03:28:17 EST


On Sun, Sep 25, 2022 at 5:30 PM Serge Semin <fancer.lancer@xxxxxxxxx> wrote:

> I couldn't find any generic ready-to-use DT-property for this case.
> So IMO instead the next properties would work:
> 1. "setup-duration-ns" - data input timing after which the clock input
> can be asserted (Tsu in the hw-manual above).
> 2. "clock-duration-ns" - clock input timing for which the CLK signal
> must be kept asserted so the device would perceive the input
> states, the outputs would be updated and the clock signal could be
> driven back to low (Tw including Th in the hw-manual above).
>
> @Rob, @Linus, any suggestion regarding the properties and their naming?

I think your suggestions look fine!

Yours,
Linus Walleij