ARM: dts: nxp: imx7d-pico: add cpu-supply nodes
authorLech Perczak <lech.perczak@gmail.com>
Fri, 17 Nov 2023 23:23:52 +0000 (00:23 +0100)
committerShawn Guo <shawnguo@kernel.org>
Wed, 6 Dec 2023 01:32:23 +0000 (09:32 +0800)
commit32596b101f6cd87ab1f6e6a1c2a44c70546dde48
tree5284d937ff385dde2a23446a5becc8b66a65e447
parentc9d4affbe60a9597ca9df878b5c02bdb9a636e3c
ARM: dts: nxp: imx7d-pico: add cpu-supply nodes

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@gmail.com>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/nxp/imx/imx7d-pico.dtsi