Re: [PATCH v3 6/9] dt-bindings: pinctrl: airoha: add AN7589

From: Conor Dooley

Date: Wed Nov 18 2026 - 13:17:23 EST


On Mon, Nov 16, 2026 at 06:48:51PM +0100, John Crispin wrote:
> Document the AN7589 pin controller. It lives under the GPIO system
> controller and selects functions through a separate IOMUX syscon,
> referenced by the airoha,iomux phandle. Every pin is a GPIO in mode 0.
>
> The AN7589 has no chip SCU dependency and the vendor SDK carries no pull
> or drive registers for it. Groups follow the SDK naming without its _grp
> suffix. As in the other Airoha pin controller bindings, a function names
> a block type, such as uart or i2c, and the group selects the instance. A
> node selects one group, except for pcm_spi and pcie, whose groups carry
> different signals of one device. The PON groups keep the working mode
> only: the SDK encodes the driver reset sequence as extra pinctrl states,
> which belongs in the consumer driver.
>
> The pwm function routes a PWM channel to one of GPIO0 to GPIO15, with
> one group per pin. The pin also needs its GPIO output enabled, so conf
> nodes allow the GPIO direction and output level. Pull and drive
> properties are not allowed, as no registers for them are known.
>
> Signed-off-by: John Crispin <john@xxxxxxxxxxx>
> ---
> Changes in v3:
> - Move the IOMUX syscon compatible and the GPIO system controller to
> patches of their own (Lee, Conor).
> - Allow one group per node, except for pcm_spi and pcie, whose groups
> carry different signals of one device (Conor).
> - Fix the uart5 example, which listed uart5 and uart5_full together.

As discussed elsewhere,
pw-bot: changes-requested

Thanks,
Conor.

Attachment: signature.asc
Description: PGP signature