Re: [PATCH v3 21/28] ARM: dts: qcom: apq8064: add L2 cache scaling

Krzysztof Kozlowski
2023-07-02T20:11:13Z

On 02/07/2023 19:42, Dmitry Baryshkov wrote:
> Populate L2 cache node with clock, supplies and OPP information to
> facilitate scaling L2 frequency.
>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

...

> qcom,mode = <GSBI_PROT_I2C_UART>;
> status = "okay";
> diff --git a/arch/arm/boot/dts/qcom/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom/qcom-apq8064.dtsi
> index c212215800d0..860f8981e8db 100644
> --- a/arch/arm/boot/dts/qcom/qcom-apq8064.dtsi
> +++ b/arch/arm/boot/dts/qcom/qcom-apq8064.dtsi
> @@ -2,6 +2,7 @@
> /dts-v1/;
>
> #include <dt-bindings/clock/qcom,gcc-msm8960.h>
> +#include <dt-bindings/clock/qcom,krait-cc.h>
> #include <dt-bindings/clock/qcom,lcc-msm8960.h>
> #include <dt-bindings/reset/qcom,gcc-msm8960.h>
> #include <dt-bindings/clock/qcom,mmcc-msm8960.h>
> @@ -81,9 +82,106 @@ CPU3: cpu@3 {
> };
>
> L2: l2-cache {
> - compatible = "cache";
> + compatible = "qcom,krait-l2-cache", "cache";
> cache-level = <2>;
> cache-unified;
> + clocks = <&kraitcc KRAIT_L2>;
> + #interconnect-cells = <1>;
> + operating-points-v2 = <&l2_opp_table>;
> +
> + l2_opp_table: opp-table-l2 {

opp-table

Best regards,
Krzysztof