This is an assortment of device tree additions for RK3588(s) and their enablement on Radxa Rock5B. Thermal zone information and cooling maps is the follow-up to feedback received on v2 patch version [1] - thanks a lot to Dragan, Heiko and Daniel for review and comments. The patch adds passive cooling maps for the three separate CPU clusters found in RK3588, as well as critical trips for all TSADC channels. Enablement on Rock 5B was split out to a separate patch, where I also add active cooling via the PWM fan optionally available there. Other changes from v2: - Zero hysteresis for critical trips, per Daniel's guidance - Zero 'polling-delay' for zones having no active cooling maps, given that the driver supports interrupts for crossing trip temperature and thus doesn't need polling there, per Daniel's guidance - Zero 'polling-delay-passive' for zones having no passive cooling, per Daniel's guidance - Extra passive cooling alerts before the control temperature to enable power allocation governor's PID parameters initialization, per Daniel's guidance - Renamed the thermal zone tracking the middle of the chip to package_thermal, per Dragan's guidance OPPs help actually scale CPU frequencies up and down for both cooling and performance - tested on Rock 5B under varied loads. RFKILL patch is the same one sent earlier just before the merge window opened [2]. It didn't get any feedback back then, so I'm just resending it here for ease of reference. Tested on Rock 5B with an Intel AX210 card. [1] https://lore.kernel.org/linux-rockchip/20240109192608.5981-1-alchark@xxxxxxxxx/ [2] https://lore.kernel.org/linux-rockchip/20240106202650.22310-1-alchark@xxxxxxxxx/ Signed-off-by: Alexey Charkov <alchark@xxxxxxxxx> --- Alexey Charkov (4): arm64: dts: rockchip: add rfkill node for M.2 Key E WiFi on rock-5b arm64: dts: rockchip: enable built-in thermal monitoring on rk3588 arm64: dts: rockchip: enable temperature driven fan control on Rock 5B arm64: dts: rockchip: Add OPP data for CPU cores on RK3588 arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts | 32 +- arch/arm64/boot/dts/rockchip/rk3588s.dtsi | 374 ++++++++++++++++++++++++ 2 files changed, 405 insertions(+), 1 deletion(-) --- base-commit: 615d300648869c774bd1fe54b4627bb0c20faed4 change-id: 20240124-rk-dts-additions-a6d7b52787b9 Best regards, -- Alexey Charkov <alchark@xxxxxxxxx>