All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 1/2] dt-bindings: i2c: mt7621: Document an7581 compatible
@ 2026-11-03 21:05 Christian Marangi
  2026-11-03 21:05 ` [PATCH v3 2/2] i2c: mt7621: limit SCL_STRETCH only to Mediatek SoC Christian Marangi
  2026-11-10 11:11 ` [PATCH v3 1/2] dt-bindings: i2c: mt7621: Document an7581 compatible Wolfram Sang
  0 siblings, 2 replies; 4+ messages in thread
From: Christian Marangi @ 2026-11-03 21:05 UTC (permalink / raw)
  To: Stefan Roese, Andi Shyti, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Matthias Brugger, AngeloGioacchino Del Regno,
	linux-i2c, devicetree, linux-kernel, linux-arm-kernel,
	linux-mediatek
  Cc: Christian Marangi

Airoha SoC implement the same Mediatek logic for I2C bus with the only
difference of not having SCL_STRETCH bit.

Add a dedicated compatible for the Airoha AN7581 SoC to account for this
minor bit variant.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
---
Changes v3:
- Fix typo for account
Changes v2:
- Add ACK tag

 .../devicetree/bindings/i2c/mediatek,mt7621-i2c.yaml          | 4 +++-
 1 file changed, 3 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..e6ea5bc1c681 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
-- 
2.55.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-11-10 11:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-03 21:05 [PATCH v3 1/2] dt-bindings: i2c: mt7621: Document an7581 compatible Christian Marangi
2026-11-03 21:05 ` [PATCH v3 2/2] i2c: mt7621: limit SCL_STRETCH only to Mediatek SoC Christian Marangi
2026-11-10 11:11   ` Wolfram Sang
2026-11-10 11:11 ` [PATCH v3 1/2] dt-bindings: i2c: mt7621: Document an7581 compatible Wolfram Sang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.