Re: [PATCH] dt-bindings: extcon: tusb320: add SGM7220 fallback compatible
From: Chanwoo Choi
Date: Fri Nov 27 2026 - 18:10:34 EST
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@xxxxxxxxx>
> ---
> .../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