Re: [PATCH 1/2] dt-bindings: gpio: add binding doc for siflower,sf19a2890-gpio

From: Linus Walleij
Date: Mon Jan 13 2025 - 09:42:28 EST


On Sun, Dec 29, 2024 at 4:06 AM Chuanhong Guo <gch981213@xxxxxxxxx> wrote:

> I don't know how one reset could be shared across multiple platform
> devices so I don't think this kind of split is possible.

In general I don't think shared reset lines in silicon is
any problem whatsoever, they are reference counted,
just like clocks or regulators, and there is a flag
RESET_CONTROL_FLAGS_BIT_SHARED
especially for this purpose.

You might have to fix the reset driver, or fix up the way
they are defined in the device tree, I don't know how,
but certainly it is possible. If in doubt consult the reset
controller maintainer. (Philipp.)

Yours,
Linus Walleij