dt-bindings: extcon: tusb320: add SGM7220 fallback compatible
Subsystems (2)
PATCH 1/1 dt-bindings: extcon: tusb320: add SGM7220 fallback compatible
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.
Signed-off-by Jun Yan <[email protected]>
--- .../bindings/extcon/extcon-usbc-tusb320.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-)
Documentation/devicetree/bindings/extcon/extcon-usbc-tusb320.yaml +7 -3
@@ -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
Signature · 1 line
2.56.0
Quoted 9 lines · Jun Yan
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.
Signed-off-by Jun Yan <[email protected]>--- .../bindings/extcon/extcon-usbc-tusb320.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-)
Best regards,
Krzysztof