[PATCH v3 3/5] dt-bindings: i2c: mt7621: Document an7581 compatible
Conor Dooley
conor at kernel.org
Wed May 20 08:49:33 PDT 2026
On Wed, May 20, 2026 at 12:32:45AM +0200, Christian Marangi wrote:
> Airoha SoC implement the same Mediatek logic for I2C bus with the only
> difference of not having a dedicated reset line to reset it.
>
> Add a dedicated compatible for the Airoha AN7581 SoC and reject the
> unsupported property.
>
> Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
> ---
> .../bindings/i2c/mediatek,mt7621-i2c.yaml | 14 +++++++++++++-
> 1 file changed, 13 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..8223fbc74f14 100644
> --- a/Documentation/devicetree/bindings/i2c/mediatek,mt7621-i2c.yaml
> +++ b/Documentation/devicetree/bindings/i2c/mediatek,mt7621-i2c.yaml
> @@ -14,7 +14,9 @@ allOf:
>
> properties:
> compatible:
> - const: mediatek,mt7621-i2c
> + enum:
> + - airoha,an7581-i2c
> + - mediatek,mt7621-i2c
>
> reg:
> maxItems: 1
> @@ -38,6 +40,16 @@ required:
> - "#address-cells"
> - "#size-cells"
>
> +if:
> + properties:
> + compatible:
> + contains:
> + const: airoha,an7581-i2c
> +then:
> + properties:
> + resets: false
> + reset-names: false
The sashiko report looks valid here.
pw-bot: changes-requested
> +
> unevaluatedProperties: false
>
> examples:
> --
> 2.53.0
>
-------------- 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/20260520/18e041d7/attachment.sig>
More information about the Linux-mediatek
mailing list