[PATCH 1/2] dt-bindings: i2c: mt7621: add Airoha AN7589

Conor Dooley conor at kernel.org
Wed Nov 11 10:11:05 PST 2026


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 at phrozen.org>
> ---
>  .../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
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mediatek/attachments/20261111/4deae646/attachment.sig>


More information about the Linux-mediatek mailing list