[PATCH v2] dt-bindings: gpio: Create a trivial GPIO schema

Krzysztof Kozlowski krzk at kernel.org
Tue Jul 15 01:21:46 PDT 2025


On Mon, Jul 14, 2025 at 03:19:51PM -0500, Rob Herring (Arm) wrote:
> Many simple GPIO controllers without interrupt capability have the same
> schema other than their compatible value. Combine all these bindings
> into a single schema. The criteria to be included here is must use 2
> cells, have no interrupt capability, have 0 or 1 "reg" entries, and
> have no other resources (like clocks).
> 
> Note that "ngpios" is now allowed in some cases it wasn't before and
> constraints on it have been dropped.
> 
> Signed-off-by: Rob Herring (Arm) <robh at kernel.org>
> ---
> We could also do this for ones with interrupts, but that seems a bit
> more varied.
> 
> v2:

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>

Best regards,
Krzysztof




More information about the Linux-rockchip mailing list