arm64: tegra: Add CPU OPP tables and interconnects property
authorSumit Gupta <sumitg@nvidia.com>
Thu, 11 May 2023 17:32:11 +0000 (23:02 +0530)
committerThierry Reding <treding@nvidia.com>
Tue, 16 May 2023 10:13:20 +0000 (12:13 +0200)
commit1582e1d1b244e195c869957e08f06c53aa78c688
treea2d01eb0c2eccc99f81ab002d05bf9df96564084
parentc95711d7dbc41cc0eb8927313f8482b2b07c8280
arm64: tegra: Add CPU OPP tables and interconnects property

Add OPP table and interconnects property to scale DDR frequency with
CPU frequency for better performance. Each operating point entry of
the OPP table has CPU freq to per MC channel bandwidth mapping.
One table is added for each cluster even though the table data is
same because the bandwidth request is per cluster. This is done
because OPP framework creates a single icc path and hence single
bandwidth request if the table is marked as 'opp-shared' and shared
among all clusters. For us, the OPP table data is same but the MC
Client ID argument to interconnects property is different for each
cluster. So, having per cluster table makes different icc path for
each cluster and helps to make per cluster BW requests.

Signed-off-by: Sumit Gupta <sumitg@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra234.dtsi