Re: [PATCH 3/3] arm64: dts: qcom: sdm630: Add missing a2noc qos clocks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 23 Aug 2021 at 12:56, Shawn Guo <shawn.guo@xxxxxxxxxx> wrote:
>
> It adds the missing a2noc clocks required for QoS registers programming
> per downstream kernel[1].
>
> [1] https://source.codeaurora.org/quic/la/kernel/msm-4.4/tree/arch/arm/boot/dts/qcom/sdm660-bus.dtsi?h=LA.UM.8.2.r1-04800-sdm660.0#n43
>
> Signed-off-by: Shawn Guo <shawn.guo@xxxxxxxxxx>
> ---
>  arch/arm64/boot/dts/qcom/sdm630.dtsi | 17 ++++++++++++++---
>  1 file changed, 14 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi
> index 9153e6616ba4..b3a7f3bf1560 100644
> --- a/arch/arm64/boot/dts/qcom/sdm630.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi
> @@ -652,11 +652,22 @@
>
>                 a2noc: interconnect@1704000 {
>                         compatible = "qcom,sdm660-a2noc";
> -                       reg = <0x01704000 0xc100>;
> +                       reg = <0x01704000 0x1c000>;

Shawn, as you are at it, do we want to keep these nocs shifted
compared to the downstream dtsi (so that the offset of QoS registers
is 0) or we'd better introduce QoS register offset and move noc start
address to the same address as in downstream?

>                         #interconnect-cells = <1>;
> -                       clock-names = "bus", "bus_a";
> +                       clock-names = "bus",
> +                                     "bus_a",
> +                                     "ipa",
> +                                     "ufs_axi",
> +                                     "aggre2_ufs_axi",
> +                                     "aggre2_usb3_axi",
> +                                     "cfg_noc_usb2_axi";
>                         clocks = <&rpmcc RPM_SMD_AGGR2_NOC_CLK>,
> -                                <&rpmcc RPM_SMD_AGGR2_NOC_A_CLK>;
> +                                <&rpmcc RPM_SMD_AGGR2_NOC_A_CLK>,
> +                                <&rpmcc RPM_SMD_IPA_CLK>,
> +                                <&gcc GCC_UFS_AXI_CLK>,
> +                                <&gcc GCC_AGGRE2_UFS_AXI_CLK>,
> +                                <&gcc GCC_AGGRE2_USB3_AXI_CLK>,
> +                                <&gcc GCC_CFG_NOC_USB2_AXI_CLK>;
>                 };
>
>                 mnoc: interconnect@1745000 {
> --
> 2.17.1
>


-- 
With best wishes
Dmitry



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux