Skip to content

Commit df4c17a

Browse files
Kathiravan TJassiBrar
authored andcommitted
dt-bindings: mailbox: qcom: add compatible for the IPQ5332 SoC
Add the mailbox compatible for the IPQ5332 SoC. Since the IPQ5332 mailbox is compatible with the IPQ6018, lets create the fallback to ipq6018 compatible, so that we don't bloat the of_device_id table in the driver. Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Kathiravan T <[email protected]> Signed-off-by: Jassi Brar <[email protected]>
1 parent b114f13 commit df4c17a

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ maintainers:
1616
properties:
1717
compatible:
1818
oneOf:
19+
- items:
20+
- enum:
21+
- qcom,ipq5332-apcs-apps-global
22+
- const: qcom,ipq6018-apcs-apps-global
1923
- items:
2024
- enum:
2125
- qcom,ipq6018-apcs-apps-global
@@ -104,9 +108,10 @@ allOf:
104108
- if:
105109
properties:
106110
compatible:
107-
enum:
108-
- qcom,ipq6018-apcs-apps-global
109-
- qcom,ipq8074-apcs-apps-global
111+
contains:
112+
enum:
113+
- qcom,ipq6018-apcs-apps-global
114+
- qcom,ipq8074-apcs-apps-global
110115
then:
111116
properties:
112117
clocks:
@@ -144,9 +149,10 @@ allOf:
144149
- if:
145150
properties:
146151
compatible:
147-
enum:
148-
- qcom,ipq6018-apcs-apps-global
149-
- qcom,ipq8074-apcs-apps-global
152+
contains:
153+
enum:
154+
- qcom,ipq6018-apcs-apps-global
155+
- qcom,ipq8074-apcs-apps-global
150156
then:
151157
properties:
152158
'#clock-cells':

0 commit comments

Comments
 (0)