[PATCH 0/3] Update, encapsulate and expand the RK356x SoC dtsi files

From: Dragan Simic
Date: Sat Oct 12 2024 - 13:05:02 EST


This series tackles the Rockchip RK356x SoC dtsi files in a few different
ways. First, it updates the lower and upper voltage limits and the exact
voltages for the Rockchip RK356x CPU OPPs, using the most conservative
per-OPP values for different SoC bins. This is rather similar to the
already performed adjustment of the GPU OPP voltages. [1]

Next, this series prepares the RK356x SoC dtsi files for per-variant OPPs,
with the RK3566T being the first new RK356x SoC variant to be introduced.
This follows the approach used for the RK3588 SoC variants. [2]

Lastly, this series introduces new SoC dtsi for the RK3566T variant, which
is capable of operating at the CPU and GPU OPPs/frequencies lower than the
"full-fat" RK3566 variant's. The RK3566T is found on some of the already
supported boards and rather importantly, this stops the CPU cores and the
GPU from being overclocked on these boards.

[1] https://lore.kernel.org/linux-rockchip/cover.1719763100.git.dsimic@xxxxxxxxxxx/T/#m786f0e0a45377d29aea826f05c95b5052a8bb3d9
[2] https://lore.kernel.org/all/9ffedc0e2ca7f167d9d795b2a8f43cb9f56a653b.1717923308.git.dsimic@xxxxxxxxxxx/T/#u

Dragan Simic (3):
arm64: dts: rockchip: Update CPU OPP voltages in RK356x SoC dtsi
arm64: dts: rockchip: Prepare RK356x SoC dtsi files for per-variant
OPPs
arm64: dts: rockchip: Add new SoC dtsi for the RK3566T variant

.../{rk3566.dtsi => rk3566-base.dtsi} | 2 +-
.../dts/rockchip/rk3566-radxa-zero-3.dtsi | 2 +-
.../boot/dts/rockchip/rk3566-rock-3c.dts | 2 +-
arch/arm64/boot/dts/rockchip/rk3566.dtsi | 116 ++++++++++++++----
arch/arm64/boot/dts/rockchip/rk3566t.dtsi | 90 ++++++++++++++
arch/arm64/boot/dts/rockchip/rk3568.dtsi | 113 ++++++++++++++++-
.../{rk356x.dtsi => rk356x-base.dtsi} | 81 ------------
7 files changed, 294 insertions(+), 112 deletions(-)
copy arch/arm64/boot/dts/rockchip/{rk3566.dtsi => rk3566-base.dtsi} (95%)
create mode 100644 arch/arm64/boot/dts/rockchip/rk3566t.dtsi
rename arch/arm64/boot/dts/rockchip/{rk356x.dtsi => rk356x-base.dtsi} (96%)