Skip to content

Commit df87527

Browse files
konradybcioGeorgi Djakov
authored andcommitted
dt-bindings: interconnect: Add UFS clocks to MSM8996 A2NoC
MSM8996 A2NoC contains a UFS master, which means the UFS hardware is accessed every time sync_state is called within the interconnect framework. It's all good on devices where this clock is already enabled (most likely from the bootloader), but devices with eMMC storage are rather unlikely to have it like that. Add the missing 2 clocks to the binding. Signed-off-by: Konrad Dybcio <[email protected]> Acked-by: Krzysztof Kozlowski <[email protected]> Tested-by: Dmitry Baryshkov <[email protected]> #db820c Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Georgi Djakov <[email protected]>
1 parent 1b929c0 commit df87527

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

Documentation/devicetree/bindings/interconnect/qcom,rpm.yaml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ allOf:
8484
- qcom,msm8939-pcnoc
8585
- qcom,msm8939-snoc
8686
- qcom,msm8996-a1noc
87-
- qcom,msm8996-a2noc
8887
- qcom,msm8996-bimc
8988
- qcom,msm8996-cnoc
9089
- qcom,msm8996-pnoc
@@ -186,6 +185,29 @@ allOf:
186185
required:
187186
- power-domains
188187

188+
- if:
189+
properties:
190+
compatible:
191+
contains:
192+
enum:
193+
- qcom,msm8996-a2noc
194+
195+
then:
196+
properties:
197+
clock-names:
198+
items:
199+
- const: bus
200+
- const: bus_a
201+
- const: aggre2_ufs_axi
202+
- const: ufs_axi
203+
204+
clocks:
205+
items:
206+
- description: Bus Clock
207+
- description: Bus A Clock
208+
- description: Aggregate2 NoC UFS AXI Clock
209+
- description: UFS AXI Clock
210+
189211
- if:
190212
properties:
191213
compatible:

0 commit comments

Comments
 (0)