* [PATCH] dt-bindings: extcon: tusb320: add SGM7220 fallback compatible
@ 2026-10-10 8:19 Jun Yan
2026-10-12 9:34 ` Krzysztof Kozlowski
2026-11-27 23:10 ` Chanwoo Choi
0 siblings, 2 replies; 3+ messages 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] 3+ messages in thread
* Re: [PATCH] dt-bindings: extcon: tusb320: add SGM7220 fallback compatible
2026-10-10 8:19 [PATCH] dt-bindings: extcon: tusb320: add SGM7220 fallback compatible Jun Yan
@ 2026-10-12 9:34 ` Krzysztof Kozlowski
2026-11-27 23:10 ` Chanwoo Choi
1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2026-10-12 9:34 UTC (permalink / raw)
To: Jun Yan
Cc: MyungJoo Ham, Chanwoo Choi, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Michael Auchter, linux-kernel, devicetree
On Sat, Oct 10, 2026 at 04:19:06PM +0800, Jun Yan wrote:
> 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(-)
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] dt-bindings: extcon: tusb320: add SGM7220 fallback compatible
2026-10-10 8:19 [PATCH] dt-bindings: extcon: tusb320: add SGM7220 fallback compatible Jun Yan
2026-10-12 9:34 ` Krzysztof Kozlowski
@ 2026-11-27 23:10 ` Chanwoo Choi
1 sibling, 0 replies; 3+ messages in thread
From: Chanwoo Choi @ 2026-11-27 23:10 UTC (permalink / raw)
To: Jun Yan, MyungJoo Ham, Chanwoo Choi, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Michael Auchter
Cc: linux-kernel, devicetree
On 10/10/2026 5:19 PM, Jun Yan wrote:
> 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
Applied it. Thanks.
--
Best Regards,
Chanwoo Choi
Principal Engineer, Samsung Electronics
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-11-27 23:10 UTC | newest]
Thread overview: 3+ messages (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
2026-10-12 9:34 ` Krzysztof Kozlowski
2026-11-27 23:10 ` Chanwoo Choi
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®