Skip to content

Commit b606e2e

Browse files
konradybciowilldeacon
authored andcommitted
dt-bindings: arm-smmu: Fix MSM8998 clocks description
MSM8998 was abusingly referencing one of the internal bus clocks, that were recently dropped from Linux (because the original implementation did not make much sense), circumventing the interconnect framework. Fix it by dropping the bus-mm clock (which requires separating 8998 from similar entries) and keeping the rest as-is. Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Konrad Dybcio <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
1 parent a7a7c8c commit b606e2e

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

Documentation/devicetree/bindings/iommu/arm,smmu.yaml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,47 @@ allOf:
270270
contains:
271271
enum:
272272
- qcom,msm8998-smmu-v2
273+
then:
274+
anyOf:
275+
- properties:
276+
clock-names:
277+
items:
278+
- const: bus
279+
clocks:
280+
items:
281+
- description: bus clock required for downstream bus access and for
282+
the smmu ptw
283+
- properties:
284+
clock-names:
285+
items:
286+
- const: iface
287+
- const: mem
288+
- const: mem_iface
289+
clocks:
290+
items:
291+
- description: interface clock required to access smmu's registers
292+
through the TCU's programming interface.
293+
- description: bus clock required for memory access
294+
- description: bus clock required for GPU memory access
295+
- properties:
296+
clock-names:
297+
items:
298+
- const: iface-mm
299+
- const: iface-smmu
300+
- const: bus-smmu
301+
clocks:
302+
items:
303+
- description: interface clock required to access mnoc's registers
304+
through the TCU's programming interface.
305+
- description: interface clock required to access smmu's registers
306+
through the TCU's programming interface.
307+
- description: bus clock required for the smmu ptw
308+
309+
- if:
310+
properties:
311+
compatible:
312+
contains:
313+
enum:
273314
- qcom,sdm630-smmu-v2
274315
- qcom,sm6375-smmu-v2
275316
then:

0 commit comments

Comments
 (0)