Skip to content

Commit

Permalink
dt-bindings: interconnect: Add UFS clocks to MSM8996 A2NoC
Browse files Browse the repository at this point in the history
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 <konrad.dybcio@linaro.org>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> #db820c
Link: https://lore.kernel.org/r/20221210200353.418391-2-konrad.dybcio@linaro.org
Signed-off-by: Georgi Djakov <djakov@kernel.org>
  • Loading branch information
Konrad Dybcio authored and Georgi Djakov committed Jan 5, 2023
1 parent 1b929c0 commit df87527
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion Documentation/devicetree/bindings/interconnect/qcom,rpm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ allOf:
- qcom,msm8939-pcnoc
- qcom,msm8939-snoc
- qcom,msm8996-a1noc
- qcom,msm8996-a2noc
- qcom,msm8996-bimc
- qcom,msm8996-cnoc
- qcom,msm8996-pnoc
Expand Down Expand Up @@ -186,6 +185,29 @@ allOf:
required:
- power-domains

- if:
properties:
compatible:
contains:
enum:
- qcom,msm8996-a2noc

then:
properties:
clock-names:
items:
- const: bus
- const: bus_a
- const: aggre2_ufs_axi
- const: ufs_axi

clocks:
items:
- description: Bus Clock
- description: Bus A Clock
- description: Aggregate2 NoC UFS AXI Clock
- description: UFS AXI Clock

- if:
properties:
compatible:
Expand Down

0 comments on commit df87527

Please sign in to comment.