W dniu 2023-12-06 o 02:32, Shawn Guo pisze:
On Sat, Nov 18, 2023 at 12:23:52AM +0100, Lech Perczak wrote:
The PICO-IMX7D SoM has the usual power supply configuration using
output sw1a of PF3000 PMIC, which was defined in downstream derivative
of linux-imx (see link) in the sources for "Android Things" devkit.
It is required to support CPU frequency scaling.
Map the respective "cpu-supply" nodes of each core to sw1a of the PMIC.
Enabling them causes cpufreq-dt, and imx-thermal drivers to probe
successfully, and CPU frequency scaling to function.
Link: https://android.googlesource.com/platform/hardware/bsp/kernel/nxp/imx-v4.1/+/o-iot-preview-5/arch/arm/boot/dts/imx7d-pico.dtsi#849
Cc: Fabio Estevam <festevam@xxxxxxxxx>
Cc: Shawn Guo <shawnguo@xxxxxxxxxx>
Cc: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
Signed-off-by: Lech Perczak <lech.perczak@xxxxxxxxx>
Applied, thanks!
Hi Shawn,
Do you think this could be backported to stable later?
OpenWrt and Debian could then pick this change up - I have a pull
request open in OpenWrt backporting this.
--
Pozdrawiam/With kind regards,
Lech Perczak