[PATCH 1/2] dt-bindings: gpio: cdns: add clock-names property

Zichar Zhang zichar.zhang at cixtech.com
Wed Mar 11 05:08:36 PDT 2026


On Fri, Mar 06, 2026 at 11:10:35AM +0100, Linus Walleij wrote:
> [You don't often get email from linusw at kernel.org. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
> 
> EXTERNAL EMAIL
> 
> Hi Zichar,
> 
> On Fri, Mar 6, 2026 at 10:32 AM Zichar Zhang <zichar.zhang at cixtech.com> wrote:
> 
> > +  clock-names:
> > +    description:
> > +      Optional name for the GPIO controller input clock.
> > +    minItems: 1
> > +    maxItems: 1
> 
> I think clock-names: true should suffice, but the binding maintainers
> can say how
> they want it.
> 
> I would suggest to also add:
> 
>   gpio-ranges:
>     minItems: 1
>     maxItems: 32
> 
> At this point even if you're not using it FTM. This will make it
> possible to later
> map the GPIOs to the pin controller and control pin configuration from the
> GPIO subsystem.

Thanks. Given that cdns,gpio.yaml already defines "ngpios", would it make
sense to use it for the "gpio-ranges" definition?

Best regards,
Zichar Zhang



More information about the linux-arm-kernel mailing list