2022-11-10 17:11:15

by Nicolas Frattaroli

[permalink] [raw]
Subject: [PATCH 0/4] Misc SOQuartz Enablement

This series enables the following functionality on the SOQuartz CM4
module, specifically when paired with the CM4IO board:

* GPU (patch 1)
* Video output (patch 2)
* HDMI (also patch 2)
* HDMI audio (patch 3)
* PCIe2 (patch 4), CM4IO board only

The last patch needs specific enablement per carrier board due to the
power regulator the PCIe slot feeds on (3.3V specifically).

Nicolas Frattaroli (4):
arm64: dts: rockchip: Enable GPU on SOQuartz CM4
arm64: dts: rockchip: Enable video output and HDMI on SOQuartz
arm64: dts: rockchip: Enable HDMI sound on SOQuartz
arm64: dts: rockchip: Enable PCIe 2 on SOQuartz CM4IO

.../boot/dts/rockchip/rk3566-soquartz-cm4.dts | 10 +++
.../boot/dts/rockchip/rk3566-soquartz.dtsi | 72 +++++++++++++++++++
2 files changed, 82 insertions(+)

--
2.38.1



2022-11-10 17:38:53

by Nicolas Frattaroli

[permalink] [raw]
Subject: [PATCH 1/4] arm64: dts: rockchip: Enable GPU on SOQuartz CM4

This enables the Mali-G52 GPU on the SOQuartz CM4 module.

Signed-off-by: Nicolas Frattaroli <[email protected]>
---
arch/arm64/boot/dts/rockchip/rk3566-soquartz.dtsi | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3566-soquartz.dtsi b/arch/arm64/boot/dts/rockchip/rk3566-soquartz.dtsi
index 5bcd4be32964..6e99f049501c 100644
--- a/arch/arm64/boot/dts/rockchip/rk3566-soquartz.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3566-soquartz.dtsi
@@ -143,6 +143,11 @@ &gmac1m0_clkinout
status = "disabled";
};

+&gpu {
+ mali-supply = <&vdd_gpu>;
+ status = "okay";
+};
+
&i2c0 {
status = "okay";

--
2.38.1