Re: [PATCH 1/2] dt-bindings: i2c: mt7621: add Airoha AN7589
From: Conor Dooley
Date: Wed Nov 11 2026 - 14:16:29 EST
On Wed, Nov 11, 2026 at 10:39:40AM +0100, John Crispin wrote:
> The Airoha AN7589 carries the MT7621 I2C controller with a second
> control register holding a wider clock divider. Give it a compatible of
> its own so the driver can tell the variants apart.
I assume a fallback is not suitable here because setting this wider
divider is a requirement?
>
> Signed-off-by: John Crispin <john@xxxxxxxxxxx>
> ---
> .../devicetree/bindings/i2c/mediatek,mt7621-i2c.yaml | 8 +++++++-
> 1 file changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/i2c/mediatek,mt7621-i2c.yaml b/Documentation/devicetree/bindings/i2c/mediatek,mt7621-i2c.yaml
> index 118ec00fc190..28659bdd72f5 100644
> --- a/Documentation/devicetree/bindings/i2c/mediatek,mt7621-i2c.yaml
> +++ b/Documentation/devicetree/bindings/i2c/mediatek,mt7621-i2c.yaml
> @@ -9,12 +9,18 @@ maintainers:
>
> title: Mediatek MT7621/MT7628 I2C master controller
>
> +description:
> + The same controller is used on Airoha SoCs. The AN7589 variant adds a
> + second control register with a wider clock divider.
> +
> allOf:
> - $ref: /schemas/i2c/i2c-controller.yaml#
>
> properties:
> compatible:
> - const: mediatek,mt7621-i2c
> + enum:
> + - airoha,an7589-i2c
> + - mediatek,mt7621-i2c
>
> reg:
> maxItems: 1
> --
> 2.34.1
>
Attachment:
signature.asc
Description: PGP signature