Skip to content

Commit c309771

Browse files
lweiss-fairphonegregkh
authored andcommitted
dt-bindings: usb: fsa4480: Add compatible for OCP96011
The Orient-Chip OCP96011 is generally compatible with the FSA4480, add a compatible for it with the fallback on fsa4480. However the AUX/SBU connections are expected to be swapped compared to FSA4480, so document this in the data-lanes description. Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20231020-fsa4480-swap-v2-3-9a7f9bb59873@fairphone.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent cf07c55 commit c309771

1 file changed

Lines changed: 14 additions & 4 deletions

File tree

Documentation/devicetree/bindings/usb/fcs,fsa4480.yaml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,12 @@ maintainers:
1111

1212
properties:
1313
compatible:
14-
enum:
15-
- fcs,fsa4480
14+
oneOf:
15+
- const: fcs,fsa4480
16+
- items:
17+
- enum:
18+
- ocs,ocp96011
19+
- const: fcs,fsa4480
1620

1721
reg:
1822
maxItems: 1
@@ -53,16 +57,22 @@ properties:
5357
- const: 0
5458
- const: 1
5559
description: |
56-
Default AUX/SBU layout
60+
Default AUX/SBU layout (FSA4480)
5761
- AUX+ connected to SBU2
5862
- AUX- connected to SBU1
63+
Default AUX/SBU layout (OCP96011)
64+
- AUX+ connected to SBU1
65+
- AUX- connected to SBU2
5966
- items:
6067
- const: 1
6168
- const: 0
6269
description: |
63-
Swapped AUX/SBU layout
70+
Swapped AUX/SBU layout (FSA4480)
6471
- AUX+ connected to SBU1
6572
- AUX- connected to SBU2
73+
Swapped AUX/SBU layout (OCP96011)
74+
- AUX+ connected to SBU2
75+
- AUX- connected to SBU1
6676
6777
required:
6878
- compatible

0 commit comments

Comments
 (0)