mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: extcon: tusb320: add SGM7220 fallback compatible
@ 2026-10-10  8:19 Jun Yan
  0 siblings, 0 replies; only message in thread
From: Jun Yan @ 2026-10-10  8:19 UTC (permalink / raw)
  To: MyungJoo Ham, Chanwoo Choi, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Michael Auchter
  Cc: Jun Yan, linux-kernel, devicetree

The SGM7220 is register-compatible with the TI TUSB320, even reporting
the same device ID, so it can be described in a device tree using
ti,tusb320 as the fallback compatible string.

Link: https://www.sg-micro.com/rect/assets/bec47c84-84b4-4015-8d61-9433e0d76583/SGM7220.pdf
Signed-off-by: Jun Yan <jerrysteve1101@gmail.com>
---
 .../bindings/extcon/extcon-usbc-tusb320.yaml           | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/extcon/extcon-usbc-tusb320.yaml b/Documentation/devicetree/bindings/extcon/extcon-usbc-tusb320.yaml
index 126107dd57b1..f88486c2fb09 100644
--- a/Documentation/devicetree/bindings/extcon/extcon-usbc-tusb320.yaml
+++ b/Documentation/devicetree/bindings/extcon/extcon-usbc-tusb320.yaml
@@ -11,9 +11,13 @@ maintainers:
 
 properties:
   compatible:
-    enum:
-      - ti,tusb320
-      - ti,tusb320l
+    oneOf:
+      - enum:
+          - ti,tusb320
+          - ti,tusb320l
+      - items:
+          - const: sgmicro,sgm7220
+          - const: ti,tusb320
 
   reg:
     maxItems: 1
-- 
2.56.0


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-10  8:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-10  8:19 [PATCH] dt-bindings: extcon: tusb320: add SGM7220 fallback compatible Jun Yan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®