arm64: dts: add missing sram-supply to mali gpu nodes
Subsystems (9)
PATCH 1/2 arm64: dts: add missing sram-supply to mali gpu nodes
Some arm64 Mali GPU DT nodes define mali-supply but are missing sram-supply.
As discussed in [1], sram-supply should be explicitly defined for all relevant compatibles. If there is no separate SRAM rail, it can reference the same regulator as mali-supply.
This change adds the missing sram-supply properties to affected DT files. This aligns DTs with expected regulator modeling and avoids relying on implicit fallback behavior.
[1]: https://lore.kernel.org/all/20260213155937.6af75786@nimda/
--- arch/arm64/boot/dts/allwinner/sun50i-h313-tanix-tx1.dts | 1 + arch/arm64/boot/dts/allwinner/sun50i-h313-x96q.dts | 1 + arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts | 1 + arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts | 1 + arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi | 1 + arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts | 1 + arch/arm64/boot/dts/allwinner/sun50i-h6-tanix.dtsi | 1 + arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-cb1.dtsi | 1 + arch/arm64/boot/dts/allwinner/sun50i-h616-orangepi-zero2.dts | 1 + arch/arm64/boot/dts/allwinner/sun50i-h616-x96-mate.dts | 1 + arch/arm64/boot/dts/allwinner/sun50i-h618-longan-module-3h.dtsi | 1 + arch/arm64/boot/dts/allwinner/sun50i-h618-orangepi-zero2w.dts | 1 + arch/arm64/boot/dts/allwinner/sun50i-h618-orangepi-zero3.dts | 1 + arch/arm64/boot/dts/allwinner/sun50i-h618-transpeed-8k618-t.dts | 1 + .../boot/dts/allwinner/sun50i-h700-anbernic-rg35xx-2024.dts | 1 + arch/arm64/boot/dts/allwinner/sun55i-a527-cubie-a5e.dts | 1 + arch/arm64/boot/dts/allwinner/sun55i-h728-x96qpro+.dts | 1 + arch/arm64/boot/dts/allwinner/sun55i-t527-avaota-a1.dts | 1 + arch/arm64/boot/dts/allwinner/sun55i-t527-orangepi-4a.dts | 1 + arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi | 1 + arch/arm64/boot/dts/exynos/exynos7-espresso.dts | 1 + arch/arm64/boot/dts/mediatek/mt8183-evb.dts | 1 + arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 1 + arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts | 1 + arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi | 1 + arch/arm64/boot/dts/mediatek/mt8188-geralt.dtsi | 1 + arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi | 1 + arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi | 1 + arch/arm64/boot/dts/mediatek/mt8365-evk.dts | 1 + arch/arm64/boot/dts/mediatek/mt8390-genio-common.dtsi | 1 + arch/arm64/boot/dts/mediatek/mt8390-grinn-genio-sbc.dtsi | 1 + arch/arm64/boot/dts/mediatek/mt8395-genio-common.dtsi | 1 + arch/arm64/boot/dts/mediatek/mt8395-kontron-3-5-sbc-i1200.dts | 1 + arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts | 1 + arch/arm64/boot/dts/renesas/r9a07g044l2-remi-pi.dts | 1 + arch/arm64/boot/dts/renesas/r9a09g056n48-rzv2n-evk.dts | 1 + arch/arm64/boot/dts/renesas/r9a09g057h44-rzv2h-evk.dts | 1 + arch/arm64/boot/dts/renesas/rzg2l-smarc-som.dtsi | 1 + arch/arm64/boot/dts/renesas/rzg2lc-smarc-som.dtsi | 1 + arch/arm64/boot/dts/renesas/rzg3e-smarc-som.dtsi | 1 + arch/arm64/boot/dts/rockchip/px30-cobra.dtsi | 1 + arch/arm64/boot/dts/rockchip/px30-evb.dts | 1 + arch/arm64/boot/dts/rockchip/px30-firefly-jd4-core.dtsi | 1 + arch/arm64/boot/dts/rockchip/px30-pp1516.dtsi | 1 + arch/arm64/boot/dts/rockchip/rk3318-a95x-z2.dts | 1 + arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351m.dtsi | 1 + arch/arm64/boot/dts/rockchip/rk3326-gameforce-chi.dts | 1 + arch/arm64/boot/dts/rockchip/rk3326-odroid-go.dtsi | 1 + arch/arm64/boot/dts/rockchip/rk3328-a1.dts | 1 + arch/arm64/boot/dts/rockchip/rk3328-roc.dtsi | 1 + arch/arm64/boot/dts/rockchip/rk3328-rock64.dts | 1 + arch/arm64/boot/dts/rockchip/rk3399-eaidk-610.dts | 1 + arch/arm64/boot/dts/rockchip/rk3399-evb-ind.dts | 1 + arch/arm64/boot/dts/rockchip/rk3399-firefly.dts | 1 + arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi | 1 + arch/arm64/boot/dts/rockchip/rk3399-hugsun-x99.dts | 1 + arch/arm64/boot/dts/rockchip/rk3399-khadas-edge.dtsi | 1 + arch/arm64/boot/dts/rockchip/rk3399-leez-p710.dts | 1 + arch/arm64/boot/dts/rockchip/rk3399-nanopi4.dtsi | 1 + arch/arm64/boot/dts/rockchip/rk3399-orangepi.dts | 1 + arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts | 1 + arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts | 1 + arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi | 1 + arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi | 1 + arch/arm64/boot/dts/rockchip/rk3399-rock-4c-plus.dts | 1 + arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi | 1 + arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi | 1 + arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi | 1 + arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi | 1 + arch/arm64/boot/dts/rockchip/rk3528-armsom-sige1.dts | 1 + arch/arm64/boot/dts/rockchip/rk3528-nanopi-zero2.dts | 1 + arch/arm64/boot/dts/rockchip/rk3528-radxa-e20c.dts | 1 + arch/arm64/boot/dts/rockchip/rk3528-rock-2.dtsi | 1 + arch/arm64/boot/dts/rockchip/rk3566-anbernic-rgxx3.dtsi | 1 + arch/arm64/boot/dts/rockchip/rk3566-bigtreetech-cb2.dtsi | 1 + arch/arm64/boot/dts/rockchip/rk3566-lckfb-tspi.dts | 1 + arch/arm64/boot/dts/rockchip/rk3566-lubancat-1.dts | 1 + arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts | 1 + arch/arm64/boot/dts/rockchip/rk3566-odroid-m1s.dts | 1 + arch/arm64/boot/dts/rockchip/rk3566-orangepi-3b.dtsi | 1 + arch/arm64/boot/dts/rockchip/rk3566-pinetab2.dtsi | 1 + arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rk2023.dtsi | 1 + arch/arm64/boot/dts/rockchip/rk3566-powkiddy-x55.dts | 1 + arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts | 1 + arch/arm64/boot/dts/rockchip/rk3566-quartz64-b.dts | 1 + arch/arm64/boot/dts/rockchip/rk3566-radxa-cm3.dtsi | 1 + arch/arm64/boot/dts/rockchip/rk3566-radxa-zero-3.dtsi | 1 + arch/arm64/boot/dts/rockchip/rk3566-roc-pc.dts | 1 + arch/arm64/boot/dts/rockchip/rk3566-rock-3c.dts | 1 + arch/arm64/boot/dts/rockchip/rk3566-soquartz.dtsi | 1 + arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4.dts | 1 + arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts | 1 + arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts | 1 + arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts | 1 + arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dtsi | 1 + arch/arm64/boot/dts/rockchip/rk3568-hinlink-opc.dtsi | 1 + arch/arm64/boot/dts/rockchip/rk3568-lubancat-2.dts | 1 + arch/arm64/boot/dts/rockchip/rk3568-mecsbc.dts | 1 + arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5s.dtsi | 1 + arch/arm64/boot/dts/rockchip/rk3568-odroid-m1.dts | 1 + arch/arm64/boot/dts/rockchip/rk3568-photonicat.dts | 1 + arch/arm64/boot/dts/rockchip/rk3568-qnap-tsx33.dtsi | 1 + arch/arm64/boot/dts/rockchip/rk3568-radxa-cm3i.dtsi | 1 + arch/arm64/boot/dts/rockchip/rk3568-roc-pc.dts | 1 + arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts | 1 + arch/arm64/boot/dts/rockchip/rk3568-rock-3b.dts | 1 + arch/arm64/boot/dts/rockchip/rk3568-wolfvision-pf5.dts | 1 + arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts | 1 + arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts | 1 + arch/arm64/boot/dts/rockchip/rk3576-evb1-v10.dts | 1 + arch/arm64/boot/dts/rockchip/rk3576-luckfox-core3576.dtsi | 1 + arch/arm64/boot/dts/rockchip/rk3576-nanopi-m5.dts | 1 + arch/arm64/boot/dts/rockchip/rk3576-nanopi-r76s.dts | 1 + arch/arm64/boot/dts/rockchip/rk3576-roc-pc.dts | 1 + arch/arm64/boot/dts/rockchip/rk3576-rock-4d.dts | 1 + arch/arm64/boot/dts/rockchip/rk3588-armsom-lm7.dtsi | 1 + arch/arm64/boot/dts/rockchip/rk3588-armsom-sige7.dts | 1 + arch/arm64/boot/dts/rockchip/rk3588-coolpi-cm5.dtsi | 1 + arch/arm64/boot/dts/rockchip/rk3588-h96-max-v58.dts | 1 + arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts | 1 + arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dtsi | 1 + arch/arm64/boot/dts/rockchip/rk3588-ok3588-c.dts | 1 + arch/arm64/boot/dts/rockchip/rk3588-orangepi-5.dtsi | 1 + arch/arm64/boot/dts/rockchip/rk3588-rock-5-itx.dts | 1 + arch/arm64/boot/dts/rockchip/rk3588-rock-5b-5bp-5t.dtsi | 1 + arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi | 1 + arch/arm64/boot/dts/rockchip/rk3588-turing-rk1.dtsi | 1 + arch/arm64/boot/dts/rockchip/rk3588s-coolpi-4b.dts | 1 + arch/arm64/boot/dts/rockchip/rk3588s-gameforce-ace.dts | 1 + arch/arm64/boot/dts/rockchip/rk3588s-indiedroid-nova.dts | 1 + arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts | 1 + arch/arm64/boot/dts/rockchip/rk3588s-nanopi-r6.dtsi | 1 + arch/arm64/boot/dts/rockchip/rk3588s-odroid-m2.dts | 1 + arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5.dtsi | 1 + arch/arm64/boot/dts/rockchip/rk3588s-roc-pc.dts | 1 + arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts | 1 + arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts | 1 + 137 files changed, 137 insertions(+)
arch/arm64/boot/dts/allwinner/sun50i-h313-tanix-tx1.dts +1 -0
@@ -81,6 +81,7 @@ &ehci0 { &gpu { mali-supply = <®_dcdc1>; + sram-supply = <®_dcdc1>; status = "okay"; };
arch/arm64/boot/dts/allwinner/sun50i-h313-x96q.dts +1 -0
@@ -76,6 +76,7 @@ &ehci3 { &gpu { mali-supply = <®_dcdcc>; + sram-supply = <®_dcdcc>; status = "okay"; };
arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts +1 -0
@@ -106,6 +106,7 @@ &emac { &gpu { mali-supply = <®_dcdcc>; + sram-supply = <®_dcdcc>; status = "okay"; };
arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts +1 -0
@@ -115,6 +115,7 @@ &ehci3 { &gpu { mali-supply = <®_dcdcc>; + sram-supply = <®_dcdcc>; status = "okay"; };
arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi +1 -0
@@ -78,6 +78,7 @@ &ehci3 { &gpu { mali-supply = <®_dcdcc>; + sram-supply = <®_dcdcc>; status = "okay"; };
arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts +1 -0
@@ -110,6 +110,7 @@ &emac { &gpu { mali-supply = <®_dcdcc>; + sram-supply = <®_dcdcc>; status = "okay"; };
arch/arm64/boot/dts/allwinner/sun50i-h6-tanix.dtsi +1 -0
@@ -106,6 +106,7 @@ &ehci3 { &gpu { mali-supply = <®_vdd_cpu_gpu>; + sram-supply = <®_vdd_cpu_gpu>; status = "okay"; };
arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-cb1.dtsi +1 -0
@@ -69,6 +69,7 @@ &cpu0 { &gpu { mali-supply = <®_dcdc1>; + sram-supply = <®_dcdc1>; status = "okay"; };
arch/arm64/boot/dts/allwinner/sun50i-h616-orangepi-zero2.dts +1 -0
@@ -26,6 +26,7 @@ &emac0 { &gpu { mali-supply = <®_dcdcc>; + sram-supply = <®_dcdcc>; }; &mmc0 {
arch/arm64/boot/dts/allwinner/sun50i-h616-x96-mate.dts +1 -0
@@ -52,6 +52,7 @@ &ehci2 { &gpu { mali-supply = <®_dcdcc>; + sram-supply = <®_dcdcc>; status = "okay"; };
arch/arm64/boot/dts/allwinner/sun50i-h618-longan-module-3h.dtsi +1 -0
@@ -12,6 +12,7 @@ &cpu0 { &gpu { mali-supply = <®_dcdc1>; + sram-supply = <®_dcdc1>; status = "okay"; };
arch/arm64/boot/dts/allwinner/sun50i-h618-orangepi-zero2w.dts +1 -0
@@ -71,6 +71,7 @@ &ehci1 { &gpu { mali-supply = <®_dcdc1>; + sram-supply = <®_dcdc1>; status = "okay"; };
arch/arm64/boot/dts/allwinner/sun50i-h618-orangepi-zero3.dts +1 -0
@@ -29,6 +29,7 @@ &ext_rgmii_phy { &gpu { mali-supply = <®_dcdc1>; + sram-supply = <®_dcdc1>; }; &mmc0 {
arch/arm64/boot/dts/allwinner/sun50i-h618-transpeed-8k618-t.dts +1 -0
@@ -71,6 +71,7 @@ &ehci1 { &gpu { mali-supply = <®_dcdc1>; + sram-supply = <®_dcdc1>; status = "okay"; };
arch/arm64/boot/dts/allwinner/sun50i-h700-anbernic-rg35xx-2024.dts +1 -0
@@ -202,6 +202,7 @@ &ehci0 { &gpu { mali-supply = <®_dcdc2>; + sram-supply = <®_dcdc2>; status = "okay"; };
arch/arm64/boot/dts/allwinner/sun55i-a527-cubie-a5e.dts +1 -0
@@ -98,6 +98,7 @@ &gmac1 { &gpu { mali-supply = <®_dcdc2>; + sram-supply = <®_dcdc2>; status = "okay"; };
arch/arm64/boot/dts/allwinner/sun55i-h728-x96qpro+.dts +1 -0
@@ -56,6 +56,7 @@ &ehci1 { &gpu { mali-supply = <®_dcdc2>; + sram-supply = <®_dcdc2>; status = "okay"; };
arch/arm64/boot/dts/allwinner/sun55i-t527-avaota-a1.dts +1 -0
@@ -96,6 +96,7 @@ &gmac1 { &gpu { mali-supply = <®_dcdc2>; + sram-supply = <®_dcdc2>; status = "okay"; };
arch/arm64/boot/dts/allwinner/sun55i-t527-orangepi-4a.dts +1 -0
@@ -116,6 +116,7 @@ &gmac1 { &gpu { mali-supply = <®_dcdc2>; + sram-supply = <®_dcdc2>; status = "okay"; };
arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi +1 -0
@@ -356,6 +356,7 @@ &dsi { &gpu { mali-supply = <&buck6_reg>; + sram-supply = <&buck6_reg>; status = "okay"; };
arch/arm64/boot/dts/exynos/exynos7-espresso.dts +1 -0
@@ -61,6 +61,7 @@ &fin_pll { &gpu { mali-supply = <&buck6_reg>; + sram-supply = <&buck6_reg>; }; &serial_2 {
arch/arm64/boot/dts/mediatek/mt8183-evb.dts +1 -0
@@ -53,6 +53,7 @@ &auxadc { &gpu { mali-supply = <&mt6358_vgpu_reg>; + sram-supply = <&mt6358_vgpu_reg>; }; &i2c0 {
arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi +1 -0
@@ -260,6 +260,7 @@ &gic { &gpu { mali-supply = <&mt6358_vgpu_reg>; + sram-supply = <&mt6358_vgpu_reg>; }; &i2c0 {
arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts +1 -0
@@ -83,6 +83,7 @@ &auxadc { &gpu { mali-supply = <&mt6358_vgpu_reg>; + sram-supply = <&mt6358_vgpu_reg>; }; &i2c0 {
arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi +1 -0
@@ -379,6 +379,7 @@ &gic { &gpu { mali-supply = <&mt6366_vgpu_reg>; + sram-supply = <&mt6366_vgpu_reg>; status = "okay"; };
arch/arm64/boot/dts/mediatek/mt8188-geralt.dtsi +1 -0
@@ -416,6 +416,7 @@ dptx_out: endpoint { &gpu { mali-supply = <&mt6359_vproc2_buck_reg>; + sram-supply = <&mt6359_vproc2_buck_reg>; status = "okay"; };
arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi +1 -0
@@ -301,6 +301,7 @@ &gic { &gpu { mali-supply = <&mt6315_7_vbuck1>; + sram-supply = <&mt6315_7_vbuck1>; status = "okay"; };
arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi +1 -0
@@ -490,6 +490,7 @@ &gic { &gpu { status = "okay"; mali-supply = <&mt6315_7_vbuck1>; + sram-supply = <&mt6315_7_vbuck1>; }; &i2c0 {
arch/arm64/boot/dts/mediatek/mt8365-evk.dts +1 -0
@@ -286,6 +286,7 @@ eth_phy: ethernet-phy@0 { &gpu { mali-supply = <&mt6357_vcore_reg>; + sram-supply = <&mt6357_vcore_reg>; status = "okay"; };
arch/arm64/boot/dts/mediatek/mt8390-genio-common.dtsi +1 -0
@@ -334,6 +334,7 @@ &gamma0_out { &gpu { mali-supply = <&mt6359_vproc2_buck_reg>; + sram-supply = <&mt6359_vproc2_buck_reg>; status = "okay"; };
arch/arm64/boot/dts/mediatek/mt8390-grinn-genio-sbc.dtsi +1 -0
@@ -507,6 +507,7 @@ &scp_c0 { &gpu { mali-supply = <&mt6359_vproc2_buck_reg>; + sram-supply = <&mt6359_vproc2_buck_reg>; status = "okay"; };
arch/arm64/boot/dts/mediatek/mt8395-genio-common.dtsi +1 -0
@@ -319,6 +319,7 @@ &gamma0_out { &gpu { mali-supply = <&mt6315_7_vbuck1>; + sram-supply = <&mt6315_7_vbuck1>; status = "okay"; };
arch/arm64/boot/dts/mediatek/mt8395-kontron-3-5-sbc-i1200.dts +1 -0
@@ -289,6 +289,7 @@ ethernet_phy0: ethernet-phy@1 { &gpu { status = "okay"; mali-supply = <&mt6315_7_vbuck1>; + sram-supply = <&mt6315_7_vbuck1>; }; /* CSI1/CSI2 connector */
arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts +1 -0
@@ -267,6 +267,7 @@ rgmii_phy: ethernet-phy@1 { &gpu { mali-supply = <&mt6315_7_vbuck1>; + sram-supply = <&mt6315_7_vbuck1>; status = "okay"; };
arch/arm64/boot/dts/renesas/r9a07g044l2-remi-pi.dts +1 -0
@@ -145,6 +145,7 @@ &extal_clk { &gpu { mali-supply = <®_1p1v>; + sram-supply = <®_1p1v>; }; &i2c0 {
arch/arm64/boot/dts/renesas/r9a09g056n48-rzv2n-evk.dts +1 -0
@@ -112,6 +112,7 @@ ð1 { &gpu { status = "okay"; mali-supply = <®_0p8v>; + sram-supply = <®_0p8v>; }; &hsusb {
arch/arm64/boot/dts/renesas/r9a09g057h44-rzv2h-evk.dts +1 -0
@@ -137,6 +137,7 @@ ð1 { &gpu { status = "okay"; mali-supply = <®_0p8v>; + sram-supply = <®_0p8v>; }; &hsusb {
arch/arm64/boot/dts/renesas/rzg2l-smarc-som.dtsi +1 -0
@@ -151,6 +151,7 @@ &extal_clk { &gpu { mali-supply = <®_1p1v>; + sram-supply = <®_1p1v>; }; &i2c3 {
arch/arm64/boot/dts/renesas/rzg2lc-smarc-som.dtsi +1 -0
@@ -104,6 +104,7 @@ &extal_clk { &gpu { mali-supply = <®_1p1v>; + sram-supply = <®_1p1v>; }; &i2c2 {
arch/arm64/boot/dts/renesas/rzg3e-smarc-som.dtsi +1 -0
@@ -100,6 +100,7 @@ ð1 { &gpu { status = "okay"; mali-supply = <®_vdd0p8v_others>; + sram-supply = <®_vdd0p8v_others>; }; &i2c2 {
arch/arm64/boot/dts/rockchip/px30-cobra.dtsi +1 -0
@@ -142,6 +142,7 @@ &gmac { &gpu { mali-supply = <&vdd_log>; + sram-supply = <&vdd_log>; status = "okay"; };
arch/arm64/boot/dts/rockchip/px30-evb.dts +1 -0
@@ -178,6 +178,7 @@ &gmac { &gpu { mali-supply = <&vdd_log>; + sram-supply = <&vdd_log>; status = "okay"; };
arch/arm64/boot/dts/rockchip/px30-firefly-jd4-core.dtsi +1 -0
@@ -57,6 +57,7 @@ &emmc { &gpu { mali-supply = <&vdd_log>; + sram-supply = <&vdd_log>; status = "okay"; };
arch/arm64/boot/dts/rockchip/px30-pp1516.dtsi +1 -0
@@ -163,6 +163,7 @@ &emmc { &gpu { mali-supply = <&vdd_log>; + sram-supply = <&vdd_log>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3318-a95x-z2.dts +1 -0
@@ -191,6 +191,7 @@ &gmac2phy { &gpu { mali-supply = <&vdd_log>; + sram-supply = <&vdd_log>; }; &hdmi {
arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351m.dtsi +1 -0
@@ -151,6 +151,7 @@ &dsi_dphy { &gpu { mali-supply = <&vdd_logic>; + sram-supply = <&vdd_logic>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3326-gameforce-chi.dts +1 -0
@@ -358,6 +358,7 @@ &dsi_dphy { &gpu { mali-supply = <&vdd_logic>; + sram-supply = <&vdd_logic>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3326-odroid-go.dtsi +1 -0
@@ -254,6 +254,7 @@ &dsi_dphy { &gpu { mali-supply = <&vdd_logic>; + sram-supply = <&vdd_logic>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3328-a1.dts +1 -0
@@ -149,6 +149,7 @@ rtl8211f: ethernet-phy@0 { &gpu { mali-supply = <&vdd_logic>; + sram-supply = <&vdd_logic>; }; &hdmi {
arch/arm64/boot/dts/rockchip/rk3328-roc.dtsi +1 -0
@@ -169,6 +169,7 @@ &gmac2io { &gpu { mali-supply = <&vdd_logic>; + sram-supply = <&vdd_logic>; }; &hdmi {
arch/arm64/boot/dts/rockchip/rk3328-rock64.dts +1 -0
@@ -154,6 +154,7 @@ &gmac2io { &gpu { mali-supply = <&vdd_logic>; + sram-supply = <&vdd_logic>; }; &hdmi {
arch/arm64/boot/dts/rockchip/rk3399-eaidk-610.dts +1 -0
@@ -289,6 +289,7 @@ &gmac { &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3399-evb-ind.dts +1 -0
@@ -61,6 +61,7 @@ &emmc_phy { &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3399-firefly.dts +1 -0
@@ -301,6 +301,7 @@ &gmac { &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi +1 -0
@@ -406,6 +406,7 @@ &emmc_phy { &gpu { mali-supply = <&ppvar_gpu>; + sram-supply = <&ppvar_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3399-hugsun-x99.dts +1 -0
@@ -189,6 +189,7 @@ &gmac { &gpu { status = "okay"; mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; }; &hdmi {
arch/arm64/boot/dts/rockchip/rk3399-khadas-edge.dtsi +1 -0
@@ -252,6 +252,7 @@ &gmac { &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3399-leez-p710.dts +1 -0
@@ -158,6 +158,7 @@ &gmac { &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3399-nanopi4.dtsi +1 -0
@@ -202,6 +202,7 @@ rtl8211e: ethernet-phy@1 { &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3399-orangepi.dts +1 -0
@@ -235,6 +235,7 @@ rtl8211e: ethernet-phy@1 { &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts +1 -0
@@ -418,6 +418,7 @@ &emmc_phy { &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts +1 -0
@@ -243,6 +243,7 @@ &emmc_phy { &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi +1 -0
@@ -177,6 +177,7 @@ &gmac { &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi +1 -0
@@ -267,6 +267,7 @@ &gmac { &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3399-rock-4c-plus.dts +1 -0
@@ -187,6 +187,7 @@ &gmac { &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi +1 -0
@@ -214,6 +214,7 @@ &gmac { &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi +1 -0
@@ -123,6 +123,7 @@ &emmc_phy { &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi +1 -0
@@ -319,6 +319,7 @@ &hdmi_sound { &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi +1 -0
@@ -206,6 +206,7 @@ &gmac { &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3528-armsom-sige1.dts +1 -0
@@ -261,6 +261,7 @@ &gmac1 { &gpu { mali-supply = <&vdd_logic>; + sram-supply = <&vdd_logic>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3528-nanopi-zero2.dts +1 -0
@@ -221,6 +221,7 @@ &gmac1 { &gpu { mali-supply = <&vdd_logic>; + sram-supply = <&vdd_logic>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3528-radxa-e20c.dts +1 -0
@@ -204,6 +204,7 @@ &gmac1 { &gpu { mali-supply = <&vdd_logic>; + sram-supply = <&vdd_logic>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3528-rock-2.dtsi +1 -0
@@ -184,6 +184,7 @@ &cpu3 { &gpu { mali-supply = <&vdd_logic>; + sram-supply = <&vdd_logic>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3566-anbernic-rgxx3.dtsi +1 -0
@@ -223,6 +223,7 @@ &cpu3 { &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3566-bigtreetech-cb2.dtsi +1 -0
@@ -280,6 +280,7 @@ rgmii_phy0: phy@0 { &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3566-lckfb-tspi.dts +1 -0
@@ -187,6 +187,7 @@ &cpu3 { &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3566-lubancat-1.dts +1 -0
@@ -143,6 +143,7 @@ &cpu3 { &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts +1 -0
@@ -154,6 +154,7 @@ &gmac1m0_rgmii_clk_level2 &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3566-odroid-m1s.dts +1 -0
@@ -193,6 +193,7 @@ &gmac1m1_rgmii_bus &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3566-orangepi-3b.dtsi +1 -0
@@ -169,6 +169,7 @@ &gmac1m0_rgmii_bus &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3566-pinetab2.dtsi +1 -0
@@ -311,6 +311,7 @@ &dsi_dphy0 { &gpu { mali-supply = <&vdd_gpu_npu>; + sram-supply = <&vdd_gpu_npu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rk2023.dtsi +1 -0
@@ -382,6 +382,7 @@ &dsi_dphy0 { &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3566-powkiddy-x55.dts +1 -0
@@ -416,6 +416,7 @@ mipi_in_panel: endpoint { &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts +1 -0
@@ -294,6 +294,7 @@ &gmac1m0_clkinout &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3566-quartz64-b.dts +1 -0
@@ -201,6 +201,7 @@ &gmac1m1_clkinout &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3566-radxa-cm3.dtsi +1 -0
@@ -95,6 +95,7 @@ &cpu3 { &gpu { mali-supply = <&vdd_gpu_npu>; + sram-supply = <&vdd_gpu_npu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3566-radxa-zero-3.dtsi +1 -0
@@ -179,6 +179,7 @@ &gpio4 { &gpu { mali-supply = <&vdd_gpu_npu>; + sram-supply = <&vdd_gpu_npu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3566-roc-pc.dts +1 -0
@@ -196,6 +196,7 @@ &gmac1m0_clkinout &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3566-rock-3c.dts +1 -0
@@ -205,6 +205,7 @@ &gmac1m1_rgmii_bus &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3566-soquartz.dtsi +1 -0
@@ -159,6 +159,7 @@ nextrst-hog { &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4.dts +1 -0
@@ -300,6 +300,7 @@ &gmac1m1_rgmii_clk &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts +1 -0
@@ -255,6 +255,7 @@ &gmac1m1_rgmii_clk &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3568-easepi-r1.dts +1 -0
@@ -193,6 +193,7 @@ &gmac1m1_rgmii_clk &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts +1 -0
@@ -268,6 +268,7 @@ &gmac1m1_rgmii_clk &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dtsi +1 -0
@@ -121,6 +121,7 @@ &display_subsystem { &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3568-hinlink-opc.dtsi +1 -0
@@ -180,6 +180,7 @@ &cpu3 { &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3568-lubancat-2.dts +1 -0
@@ -166,6 +166,7 @@ &cpu3 { &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3568-mecsbc.dts +1 -0
@@ -149,6 +149,7 @@ &gmac1m1_clkinout &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5s.dtsi +1 -0
@@ -177,6 +177,7 @@ &cpu3 { &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3568-odroid-m1.dts +1 -0
@@ -216,6 +216,7 @@ &gmac0_rgmii_clk &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3568-photonicat.dts +1 -0
@@ -285,6 +285,7 @@ &gmac1m1_rgmii_clk &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3568-qnap-tsx33.dtsi +1 -0
@@ -189,6 +189,7 @@ map3 { &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3568-radxa-cm3i.dtsi +1 -0
@@ -110,6 +110,7 @@ &cpu3 { &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3568-roc-pc.dts +1 -0
@@ -219,6 +219,7 @@ &gmac1m1_rgmii_bus &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts +1 -0
@@ -274,6 +274,7 @@ &gmac1m1_clkinout &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3568-rock-3b.dts +1 -0
@@ -216,6 +216,7 @@ &gmac1m1_rgmii_bus &gpu { mali-supply = <&vdd_gpu>; + sram-supply = <&vdd_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3568-wolfvision-pf5.dts +1 -0
@@ -146,6 +146,7 @@ &cpu3 { &gpu { mali-supply = <&vcc0v9_gpu>; + sram-supply = <&vcc0v9_gpu>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts +1 -0
@@ -274,6 +274,7 @@ ð1m0_rgmii_clk &gpu { mali-supply = <&vdd_gpu_s0>; + sram-supply = <&vdd_gpu_s0>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts +1 -0
@@ -308,6 +308,7 @@ ð1m0_rgmii_clk &gpu { mali-supply = <&vdd_gpu_s0>; + sram-supply = <&vdd_gpu_s0>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3576-evb1-v10.dts +1 -0
@@ -296,6 +296,7 @@ ð1m0_rgmii_bus &gpu { mali-supply = <&vdd_gpu_s0>; + sram-supply = <&vdd_gpu_s0>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3576-luckfox-core3576.dtsi +1 -0
@@ -227,6 +227,7 @@ &cpu_l3 { &gpu { mali-supply = <&vdd_gpu_s0>; + sram-supply = <&vdd_gpu_s0>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3576-nanopi-m5.dts +1 -0
@@ -307,6 +307,7 @@ &gmac1 { &gpu { mali-supply = <&vdd_gpu_s0>; + sram-supply = <&vdd_gpu_s0>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3576-nanopi-r76s.dts +1 -0
@@ -236,6 +236,7 @@ &cpu_l3 { &gpu { mali-supply = <&vdd_gpu_s0>; + sram-supply = <&vdd_gpu_s0>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3576-roc-pc.dts +1 -0
@@ -263,6 +263,7 @@ &cpu_b3 { &gpu { mali-supply = <&vdd_gpu_s0>; + sram-supply = <&vdd_gpu_s0>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3576-rock-4d.dts +1 -0
@@ -285,6 +285,7 @@ ð0m0_rgmii_bus &gpu { mali-supply = <&vdd_gpu_s0>; + sram-supply = <&vdd_gpu_s0>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3588-armsom-lm7.dtsi +1 -0
@@ -71,6 +71,7 @@ &cpu_l3 { &gpu { mali-supply = <&vdd_gpu_s0>; + sram-supply = <&vdd_gpu_s0>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3588-armsom-sige7.dts +1 -0
@@ -173,6 +173,7 @@ &cpu_l3 { &gpu { mali-supply = <&vdd_gpu_s0>; + sram-supply = <&vdd_gpu_s0>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3588-coolpi-cm5.dtsi +1 -0
@@ -138,6 +138,7 @@ &gmac0_rgmii_clk &gpu { mali-supply = <&vdd_gpu_s0>; + sram-supply = <&vdd_gpu_s0>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3588-h96-max-v58.dts +1 -0
@@ -206,6 +206,7 @@ &cpu_l3 { &gpu { mali-supply = <&vdd_gpu_s0>; + sram-supply = <&vdd_gpu_s0>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts +1 -0
@@ -282,6 +282,7 @@ mdot2e-w-disable2-n-hog { &gpu { mali-supply = <&vdd_gpu_s0>; + sram-supply = <&vdd_gpu_s0>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dtsi +1 -0
@@ -348,6 +348,7 @@ &gpio4 { &gpu { mali-supply = <&vdd_gpu_s0>; + sram-supply = <&vdd_gpu_s0>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3588-ok3588-c.dts +1 -0
@@ -200,6 +200,7 @@ &gmac1_rgmii_clk &gpu { mali-supply = <&vdd_gpu_s0>; + sram-supply = <&vdd_gpu_s0>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3588-orangepi-5.dtsi +1 -0
@@ -215,6 +215,7 @@ &cpu_l3 { &gpu { mali-supply = <&vdd_gpu_s0>; + sram-supply = <&vdd_gpu_s0>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3588-rock-5-itx.dts +1 -0
@@ -324,6 +324,7 @@ dp1_out_con: endpoint { &gpu { mali-supply = <&vdd_gpu_s0>; + sram-supply = <&vdd_gpu_s0>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3588-rock-5b-5bp-5t.dtsi +1 -0
@@ -179,6 +179,7 @@ &cpu_l3 { &gpu { mali-supply = <&vdd_gpu_s0>; + sram-supply = <&vdd_gpu_s0>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi +1 -0
@@ -151,6 +151,7 @@ ð0_pins &gpu { mali-supply = <&vdd_gpu_s0>; + sram-supply = <&vdd_gpu_s0>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3588-turing-rk1.dtsi +1 -0
@@ -118,6 +118,7 @@ &gmac1_rgmii_clk &gpu { mali-supply = <&vdd_gpu_s0>; + sram-supply = <&vdd_gpu_s0>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3588s-coolpi-4b.dts +1 -0
@@ -247,6 +247,7 @@ dp0_out_con: endpoint { &gpu { mali-supply = <&vdd_gpu_s0>; + sram-supply = <&vdd_gpu_s0>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3588s-gameforce-ace.dts +1 -0
@@ -495,6 +495,7 @@ dsi0_out_panel: endpoint { &gpu { mali-supply = <&vdd_gpu_s0>; + sram-supply = <&vdd_gpu_s0>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3588s-indiedroid-nova.dts +1 -0
@@ -273,6 +273,7 @@ &gpio4 { &gpu { mali-supply = <&vdd_gpu_s0>; + sram-supply = <&vdd_gpu_s0>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts +1 -0
@@ -190,6 +190,7 @@ &combphy2_psu { &gpu { mali-supply = <&vdd_gpu_s0>; + sram-supply = <&vdd_gpu_s0>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3588s-nanopi-r6.dtsi +1 -0
@@ -232,6 +232,7 @@ &gmac1_rgmii_clk &gpu { mali-supply = <&vdd_gpu_s0>; + sram-supply = <&vdd_gpu_s0>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3588s-odroid-m2.dts +1 -0
@@ -245,6 +245,7 @@ &gmac1_rgmii_bus &gpu { mali-supply = <&vdd_gpu_s0>; + sram-supply = <&vdd_gpu_s0>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5.dtsi +1 -0
@@ -177,6 +177,7 @@ &gmac1_rgmii_clk &gpu { mali-supply = <&vdd_gpu_s0>; + sram-supply = <&vdd_gpu_s0>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3588s-roc-pc.dts +1 -0
@@ -220,6 +220,7 @@ &gmac1_rgmii_clk &gpu { mali-supply = <&vdd_gpu_s0>; + sram-supply = <&vdd_gpu_s0>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts +1 -0
@@ -187,6 +187,7 @@ &cpu_l3 { &gpu { mali-supply = <&vdd_gpu_s0>; + sram-supply = <&vdd_gpu_s0>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts +1 -0
@@ -254,6 +254,7 @@ &gmac1_rgmii_bus &gpu { mali-supply = <&vdd_gpu_s0>; + sram-supply = <&vdd_gpu_s0>; status = "okay"; };
Signature · 1 line
2.51.2
PATCH 2/2 drm/panthor: treat sram as mandatory except mt8196
If sram-supply is missing, Panthor falls back to a dummy regulator with a warning. This implicit behavior hides missing DT wiring behind regulator core fallback.
Make SRAM handling explicit: require sram-supply for all Panthor compatibles except mt8196-mali where GPU supplies are intentionally managed outside Panthor and DT does not model sram-supply for that compatible.
This keeps DT power modeling explicit and avoids relying on dummy-regulator fallback.
--- drivers/gpu/drm/panthor/panthor_devfreq.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-)
drivers/gpu/drm/panthor/panthor_devfreq.c +9 -4
@@ -206,12 +206,17 @@ int panthor_devfreq_init(struct panthor_device *ptdev)* But without knowing if it's beneficial or not (in term of power * consumption), or how much it slows down the suspend/resume steps, * let's just keep regulators enabled for the device lifetime. +* +* Treat sram-supply as mandatory except for mt8196-mali. It manages +* SRAM outside Panthor so this driver must not require direct control +* over it. */ - ret =devm_regulator_get_enable_optional (dev,"sram" ); -if (ret && ret != -ENODEV ) { -if (ret != -EPROBE_DEFER ) +if (!of_device_is_compatible (dev->of_node,"mediatek,mt8196-mali" )) { + ret =devm_regulator_get_enable_optional (dev,"sram" ); +if (ret) {DRM_DEV_ERROR (dev,"Couldn't retrieve/enable sram supply\n" ); -return ret; +return ret; + } } opp =devfreq_recommended_opp (dev, &cur_freq,0 );
Signature · 1 line
2.51.2
Krzysztof Kozlowski
maintainerQuoted 7 lines · Onur Özkan
Some arm64 Mali GPU DT nodes define mali-supply but are missing sram-supply.
As discussed in [1], sram-supply should be explicitly defined for all relevant compatibles. If there is no separate SRAM rail, it can reference the same regulator as mali-supply.
But is this then a sram-supply?
For me it seems you just want to get rid of the warning from [1] and that is not correct patch. I don't care about that warning and you should not add DTS changes just to remove the warning.
You should add a CORRECT supply, if one exist. If one does not exist, you cannot add it.
Please wrap commit message according to Linux coding style / submission process (neither too early nor over the limit):
https://elixir.bootlin.com/linux/v6.4-rc1/source/Documentation/process/submitting-patches.rst#L597
Quoted 6 lines
This change adds the missing sram-supply properties to affected DT files. This aligns DTs with expected regulator modeling and avoids relying on implicit fallback behavior.
[1]: https://lore.kernel.org/all/20260213155937.6af75786@nimda/
That's not really relevant... and my first impression was that you miss bindings. You should rather explain this all in terms of hardware or bindings - e.g. this supply is or is not in the bindings and you are adding it because it's missing.
Quoted 2 lines
Signed-off-by Onur Özkan <[email protected]>
Please split your patch per Soc subsystems.
Quoted 1 line
---
...
arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi &dsi { · line 359
Quoted 9 lines
arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi +1
-0@@ -356,6 +356,7 @@ &dsi { &gpu { mali-supply = <&buck6_reg>; + sram-supply = <&buck6_reg>;
There is no dedicated sram supply. It is probably routed internally, so I don't think we should expose it.
Best regards,
Krzysztof
Re: [PATCH v1 2/2] drm/panthor: treat sram as mandatory except mt8196
In reply to Onur ÖzkanQuoted 26 lines · Onur Özkan
If sram-supply is missing, Panthor falls back to a dummy regulator with a warning. This implicit behavior hides missing DT wiring behind regulator core fallback.
Make SRAM handling explicit: require sram-supply for all Panthor compatibles except mt8196-mali where GPU supplies are intentionally managed outside Panthor and DT does not model sram-supply for that compatible.
This keeps DT power modeling explicit and avoids relying on dummy-regulator fallback.
Signed-off-by Onur Özkan <[email protected]>--- drivers/gpu/drm/panthor/panthor_devfreq.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-)drivers/gpu/drm/panthor/panthor_devfreq.c +0
-0@@ -206,12 +206,17 @@ int panthor_devfreq_init(struct panthor_device *ptdev)* But without knowing if it's beneficial or not (in term of power * consumption), or how much it slows down the suspend/resume steps,
drivers/gpu/drm/panthor/panthor_devfreq.c int panthor_devfreq_init(struct panthor_device *ptdev) · line 214
Quoted 10 lines
drivers/gpu/drm/panthor/panthor_devfreq.c +5
-3* let's just keep regulators enabled for the device lifetime. +* +* Treat sram-supply as mandatory except for mt8196-mali. It manages +* SRAM outside Panthor so this driver must not require direct control +* over it. */ - ret =devm_regulator_get_enable_optional (dev,"sram" ); -if (ret && ret != -ENODEV ) { -if (ret != -EPROBE_DEFER ) +if (!of_device_is_compatible (dev->of_node,"mediatek,mt8196-mali" )) {
I wonder if a more generic device tree flag would be better here. What happens if others do the same as Mediatek or Mediatek decides to do this with more processors and this list grows? It seems like a panthor binding might be useful to prevent future bloat. As of right now, the 8196 isn't uptream,so it seems like adding this flag would be harmless to everything else, and it woudl likely be required on mt8196
adam
Quoted 13 lines
drivers/gpu/drm/panthor/panthor_devfreq.c +4
-2+ ret =devm_regulator_get_enable_optional (dev,"sram" ); +if (ret) {DRM_DEV_ERROR (dev,"Couldn't retrieve/enable sram supply\n" ); -return ret; +return ret; + } } opp =devfreq_recommended_opp (dev, &cur_freq,0 ); --2.51.2
Boris Brezillon
maintainerRe: [PATCH v1 2/2] drm/panthor: treat sram as mandatory except mt8196
In reply to Onur ÖzkanQuoted 25 lines · On Sun, 15 Feb 2026 13:02:51 +0300 Onur Özkan <[email protected]> wrote:
If sram-supply is missing, Panthor falls back to a dummy regulator with a warning. This implicit behavior hides missing DT wiring behind regulator core fallback.
Make SRAM handling explicit: require sram-supply for all Panthor compatibles except mt8196-mali where GPU supplies are intentionally managed outside Panthor and DT does not model sram-supply for that compatible.
This keeps DT power modeling explicit and avoids relying on dummy-regulator fallback.
Signed-off-by Onur Özkan <[email protected]>--- drivers/gpu/drm/panthor/panthor_devfreq.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-)drivers/gpu/drm/panthor/panthor_devfreq.c +0
-0@@ -206,12 +206,17 @@ int panthor_devfreq_init(struct panthor_device *ptdev)* But without knowing if it's beneficial or not (in term of power * consumption), or how much it slows down the suspend/resume steps,
drivers/gpu/drm/panthor/panthor_devfreq.c int panthor_devfreq_init(struct panthor_device *ptdev) · line 214
Quoted 10 lines
drivers/gpu/drm/panthor/panthor_devfreq.c +5
-3* let's just keep regulators enabled for the device lifetime. +* +* Treat sram-supply as mandatory except for mt8196-mali. It manages +* SRAM outside Panthor so this driver must not require direct control +* over it. */ - ret =devm_regulator_get_enable_optional (dev,"sram" ); -if (ret && ret != -ENODEV ) { -if (ret != -EPROBE_DEFER ) +if (!of_device_is_compatible (dev->of_node,"mediatek,mt8196-mali" )) {
Rather than checking for specific compats here, let's go for a dont_need_sram_supply bool in panthor_soc_data.
drivers/gpu/drm/panthor/panthor_devfreq.c int panthor_devfreq_init(struct panthor_device *ptdev) · line 215
Quoted 1 line
drivers/gpu/drm/panthor/panthor_devfreq.c +1
-0+ ret =devm_regulator_get_enable_optional (dev,"sram" );
If we assume SRAM supply is mandatory, should this be devm_regulator_get_enable() instead?
Quoted 8 lines
drivers/gpu/drm/panthor/panthor_devfreq.c +3
-1+if (ret) {DRM_DEV_ERROR (dev,"Couldn't retrieve/enable sram supply\n" ); -return ret; +return ret; + } } opp =devfreq_recommended_opp (dev, &cur_freq,0 );
Boris Brezillon
maintainerRe: [PATCH v1 2/2] drm/panthor: treat sram as mandatory except mt8196
In reply to Adam FordHello Adam,
Quoted 31 lines · On Sun, 15 Feb 2026 16:21:34 -0600 Adam Ford <[email protected]> wrote:
Quoted 30 lines · Onur Özkan
If sram-supply is missing, Panthor falls back to a dummy regulator with a warning. This implicit behavior hides missing DT wiring behind regulator core fallback.
Make SRAM handling explicit: require sram-supply for all Panthor compatibles except mt8196-mali where GPU supplies are intentionally managed outside Panthor and DT does not model sram-supply for that compatible.
This keeps DT power modeling explicit and avoids relying on dummy-regulator fallback.
Signed-off-by Onur Özkan <[email protected]>--- drivers/gpu/drm/panthor/panthor_devfreq.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-)drivers/gpu/drm/panthor/panthor_devfreq.c +3
-0@@ -206,12 +206,17 @@ int panthor_devfreq_init(struct panthor_device *ptdev)* But without knowing if it's beneficial or not (in term of power * consumption), or how much it slows down the suspend/resume steps, * let's just keep regulators enabled for the device lifetime. +* +* Treat sram-supply as mandatory except for mt8196-mali. It manages +* SRAM outside Panthor so this driver must not require direct control
Quoted 8 lines
drivers/gpu/drm/panthor/panthor_devfreq.c int panthor_devfreq_init(struct panthor_device *ptdev) · line 214
Quoted 6 lines
drivers/gpu/drm/panthor/panthor_devfreq.c +2
-3+* over it. */ - ret =devm_regulator_get_enable_optional (dev,"sram" ); -if (ret && ret != -ENODEV ) { -if (ret != -EPROBE_DEFER ) +if (!of_device_is_compatible (dev->of_node,"mediatek,mt8196-mali" )) {I wonder if a more generic device tree flag would be better here.
No, we don't want it as a separate DT flag. This is all stuff we can hide behind the compat, and every bit we add to the DT we don't strictly need turns out to be a liability in the long run in general.
Quoted 2 lines
What happens if others do the same as Mediatek or Mediatek decides to do this with more processors and this list grows?
That's what panthor_soc_data is for: you can attach per-compat properties without polluting the DT with more stuff that can be directly inferred from the compatible.
Quoted 2 lines
It seems like a
panthor binding might be useful to prevent future bloat.
It's actually the opposite, the more we add to the DT, the trickier it gets to maintain, because we tend to get those things wrong (is the SRAM really not needed on mt8196, or is this just a workaround to hide the fact the PM is deferred to some FW?).
Regards,
Boris
AngeloGioacchino Del Regno
maintainerIl 15/02/26 11:02, Onur Özkan ha scritto:
Quoted 8 lines
Some arm64 Mali GPU DT nodes define mali-supply but are missing sram-supply.
As discussed in [1], sram-supply should be explicitly defined for all relevant compatibles. If there is no separate SRAM rail, it can reference the same regulator as mali-supply.
Quoted 6 lines
This change adds the missing sram-supply properties to affected DT files. This aligns DTs with expected regulator modeling and avoids relying on implicit fallback behavior.
[1]: https://lore.kernel.org/all/20260213155937.6af75786@nimda/
Sorry, at least for MediaTek, this makes no sense. The SRAM supply on MTK platforms is managed by the mediatek-regulator-coupler driver, as it scales in a peculiar way in relation to the GPU core supply.
Besides, you're cloning the GPU core supply to the sram supply, which is, well, simply wrong... and you're changing devicetrees of SoCs that are running on panfrost (not on panthor), which will anyway ignore the existance of the SRAM supply.
That's also going to give all sorts of binding warnings, I guess, but I didn't check anyway.
While the change makes sense, as in, I agree with Mark in that the SRAM must have a power supply in order to actually work... I'm afraid that what you're doing here needs a bit more work before it becomes acceptable.
Especially - faking the vgpu-core regulator (not just on MTK, but on all) to also be the sram regulator leads to confusion and is, well, plain wrong.
Cheers,
Angelo
AngeloGioacchino Del Regno
maintainerRe: [PATCH v1 2/2] drm/panthor: treat sram as mandatory except mt8196
In reply to Boris BrezillonIl 16/02/26 10:44, Boris Brezillon ha scritto:
Quoted 56 lines
Hello Adam,
Quoted 31 lines · On Sun, 15 Feb 2026 16:21:34 -0600 Adam Ford <[email protected]> wrote:
Quoted 30 lines · Onur Özkan
If sram-supply is missing, Panthor falls back to a dummy regulator with a warning. This implicit behavior hides missing DT wiring behind regulator core fallback.
Make SRAM handling explicit: require sram-supply for all Panthor compatibles except mt8196-mali where GPU supplies are intentionally managed outside Panthor and DT does not model sram-supply for that compatible.
This keeps DT power modeling explicit and avoids relying on dummy-regulator fallback.
Signed-off-by Onur Özkan <[email protected]>--- drivers/gpu/drm/panthor/panthor_devfreq.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-)drivers/gpu/drm/panthor/panthor_devfreq.c +3
-0@@ -206,12 +206,17 @@ int panthor_devfreq_init(struct panthor_device *ptdev)* But without knowing if it's beneficial or not (in term of power * consumption), or how much it slows down the suspend/resume steps, * let's just keep regulators enabled for the device lifetime. +* +* Treat sram-supply as mandatory except for mt8196-mali. It manages +* SRAM outside Panthor so this driver must not require direct control Quoted 8 lines
drivers/gpu/drm/panthor/panthor_devfreq.c int panthor_devfreq_init(struct panthor_device *ptdev) · line 214
Quoted 6 lines
drivers/gpu/drm/panthor/panthor_devfreq.c +2
-3+* over it. */ - ret =devm_regulator_get_enable_optional (dev,"sram" ); -if (ret && ret != -ENODEV ) { -if (ret != -EPROBE_DEFER ) +if (!of_device_is_compatible (dev->of_node,"mediatek,mt8196-mali" )) {I wonder if a more generic device tree flag would be better here.
No, we don't want it as a separate DT flag. This is all stuff we can hide behind the compat, and every bit we add to the DT we don't strictly need turns out to be a liability in the long run in general.
Quoted 2 lines
What happens if others do the same as Mediatek or Mediatek decides to do this with more processors and this list grows?
That's what
panthor_soc_datais for: you can attach per-compat properties without polluting the DT with more stuff that can be directly inferred from the compatible.
Quoted 8 lines
Quoted 2 lines
It seems like a
panthor binding might be useful to prevent future bloat.It's actually the opposite, the more we add to the DT, the trickier it gets to maintain, because we tend to get those things wrong (is the SRAM really not needed on mt8196, or is this just a workaround to hide the fact the PM is deferred to some FW?).
MT8196 has three supplies: core, stack, sram.
For example, the Google Rauru Chromebooks use those:
core-supply = <&mt6373_vbuck7>;
stack-supply = <&mt6316dp_vbuck0>;
sram-supply = <&mt6316kp_vbuck1>;As of now (in our midstream trees), these supplies are declared in the gpufreq node (the performance domain controller), and required to be on whenever GPUEB interaction is needed, other than whenever the GPU itself is, well, needed to be powered.
As of the current model, these supplies are getting powered on and off along with the MFG power domain.
I'm not sure what happens if we also add those to the GPU node... for this, I'm adding Nicolas to the Ccs, as he is the one who developed support for EB.
Cheers,
Angelo
Quoted 3 lines
Regards,
Boris
Re: [PATCH v1 2/2] drm/panthor: treat sram as mandatory except mt8196
Quoted 11 lines · On Monday, 16 February 2026 12:44:39 Central European Standard Time…
Il 16/02/26 10:44, Boris Brezillon ha scritto:
Quoted 10 lines
Hello Adam,
Quoted 5 lines · On Sun, 15 Feb 2026 16:21:34 -0600 Adam Ford <[email protected]> wrote:
Quoted 4 lines · Onur Özkan
If sram-supply is missing, Panthor falls back to a dummy regulator with a warning. This implicit behavior hides missing DT wiring behind regulator core fallback.
This is intentional design of the regulator API. A missing supply will always result in a dummy regulator. The _optional function bubbles the missing supply condition up to the caller.
Catching device trees lacking supplies that are marked as required by the binding is done with dtbs_check, not at runtime.
Quoted 24 lines
Quoted 24 lines
Quoted 24 lines
Quoted 24 lines
Make SRAM handling explicit: require sram-supply for all Panthor compatibles except mt8196-mali where GPU supplies are intentionally managed outside Panthor and DT does not model sram-supply for that compatible.
This keeps DT power modeling explicit and avoids relying on dummy-regulator fallback.
Signed-off-by Onur Özkan <[email protected]>--- drivers/gpu/drm/panthor/panthor_devfreq.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-)drivers/gpu/drm/panthor/panthor_devfreq.c +1
-0@@ -206,12 +206,17 @@ int panthor_devfreq_init(struct panthor_device *ptdev)* But without knowing if it's beneficial or not (in term of power * consumption), or how much it slows down the suspend/resume steps, * let's just keep regulators enabled for the device lifetime. +*
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
drivers/gpu/drm/panthor/panthor_devfreq.c int panthor_devfreq_init(struct panthor_device *ptdev) · line 214
Quoted 8 lines
drivers/gpu/drm/panthor/panthor_devfreq.c +4
-3+* Treat sram-supply as mandatory except for mt8196-mali. It manages +* SRAM outside Panthor so this driver must not require direct control +* over it. */ - ret =devm_regulator_get_enable_optional (dev,"sram" ); -if (ret && ret != -ENODEV ) { -if (ret != -EPROBE_DEFER ) +if (!of_device_is_compatible (dev->of_node,"mediatek,mt8196-mali" )) {
If you really need a per-SoC branch then please just store it in the platform data so we don't have these "of_device_is_compatible" checks littered throughout the driver.
Quoted 36 lines
Quoted 14 lines
Quoted 2 lines
I wonder if a more generic device tree flag would be better here.
No, we don't want it as a separate DT flag. This is all stuff we can hide behind the compat, and every bit we add to the DT we don't strictly need turns out to be a liability in the long run in general.
Quoted 2 lines
What happens if others do the same as Mediatek or Mediatek decides to do this with more processors and this list grows?
That's what
panthor_soc_datais for: you can attach per-compat properties without polluting the DT with more stuff that can be directly inferred from the compatible.Quoted 8 lines
Quoted 2 lines
It seems like a
panthor binding might be useful to prevent future bloat.It's actually the opposite, the more we add to the DT, the trickier it gets to maintain, because we tend to get those things wrong (is the SRAM really not needed on mt8196, or is this just a workaround to hide the fact the PM is deferred to some FW?).
MT8196 has three supplies: core, stack, sram.
For example, the Google Rauru Chromebooks use those:
core-supply = <&mt6373_vbuck7>; stack-supply = <&mt6316dp_vbuck0>; sram-supply = <&mt6316kp_vbuck1>;As of now (in our midstream trees), these supplies are declared in the gpufreq node (the performance domain controller), and required to be on whenever GPUEB interaction is needed, other than whenever the GPU itself is, well, needed to be powered.
Quoted 7 lines
As of the current model, these supplies are getting powered on and off along with the MFG power domain.
I'm not sure what happens if we also add those to the GPU node... for this, I'm adding Nicolas to the Ccs, as he is the one who developed support for EB.
Fairly sure they need to be on as part of any of the operations the MFG stuff does, but I also am not 100% sure on this because I didn't take notes at the time.
Either way, this patch shouldn't exist, it doesn't do anything useful, as a missing supply from the DT can be caught with make dtbs_check. It does not need to be booted on each device to then have the driver abort probe at runtime.
Quoted 10 lines
Cheers,
AngeloQuoted 3 lines
Regards,
Boris
Liviu Dudau
maintainerRe: [PATCH v1 2/2] drm/panthor: treat sram as mandatory except mt8196
Quoted 13 lines · Nicolas Frattaroli
Quoted 11 lines · On Monday, 16 February 2026 12:44:39 Central European Standard Time…
Il 16/02/26 10:44, Boris Brezillon ha scritto:
Quoted 10 lines
Hello Adam,
Quoted 5 lines · On Sun, 15 Feb 2026 16:21:34 -0600 Adam Ford <[email protected]> wrote:
Quoted 4 lines · Onur Özkan
If sram-supply is missing, Panthor falls back to a dummy regulator with a warning. This implicit behavior hides missing DT wiring behind regulator core fallback.
Quoted 6 lines
This is intentional design of the regulator API. A missing supply will always result in a dummy regulator. The
_optionalfunction bubbles the missing supply condition up to the caller.Catching device trees lacking supplies that are marked as required by the binding is done with
dtbs_check, not at runtime.
I'm replying to this thread while I'm also trying to cover some discussion in the DT patch series.
What we're trying to solve is this: the Mali GPUs have an L2$+bits power domain that in upstream ended up being called 'sram' for reasons. The domain is important both for ultimate power savings (you can turn off most of the other GPU domains and preserve enough state for the GPU to wake up on an interrupt) and for normal operations, for obvious reasons. Now, vendors either don't bother to put a separate domain just for "sram" or go to the extreme of handing over control over that domain to an MCU that implements aggresive and system-wide policies. We're trying to cater for all cases, include the (currently hypotetical) one where you have a separate "sram" power domain that Linux can control.
When we have first upstreamed the bindings, inspired by Panfrost driver, we have added the sram-supply as mandatory which I think is turning out to be a mistake. Prompted by Mark Brown's reply[1] to Tyr adding 'sram-supply' as an optional property, Onur has started this and the DT patch series[2] to enforce the presence of an 'sram-supply' to reduce the number of warnings in dtbs_check. In reality what we are enforcing is a dummy supply that is the same as the one the GPU is using because most of the systems don't have a specific one.
So the problem we have is: do we change the upstream binding and make 'sram-supply' optional for every compatible string given that it is unlikely to be provided (and the code did not enforce it in panthor_devfreq.c anyway from the beginning), or do we accept that this power domain is important but usually not specified and we go with the current DT patch series that provides one?
[1] https://lore.kernel.org/all/[email protected]/
[2] https://lore.kernel.org/all/[email protected]/
Quoted 29 lines
Quoted 29 lines
Quoted 29 lines
Quoted 29 lines
Quoted 29 lines
Make SRAM handling explicit: require sram-supply for all Panthor compatibles except mt8196-mali where GPU supplies are intentionally managed outside Panthor and DT does not model sram-supply for that compatible.
This keeps DT power modeling explicit and avoids relying on dummy-regulator fallback.
Signed-off-by Onur Özkan <[email protected]>--- drivers/gpu/drm/panthor/panthor_devfreq.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-)drivers/gpu/drm/panthor/panthor_devfreq.c +4
-0@@ -206,12 +206,17 @@ int panthor_devfreq_init(struct panthor_device *ptdev)* But without knowing if it's beneficial or not (in term of power * consumption), or how much it slows down the suspend/resume steps, * let's just keep regulators enabled for the device lifetime. +* +* Treat sram-supply as mandatory except for mt8196-mali. It manages +* SRAM outside Panthor so this driver must not require direct control +* over it. */
Quoted 8 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
drivers/gpu/drm/panthor/panthor_devfreq.c int panthor_devfreq_init(struct panthor_device *ptdev) · line 214
Quoted 4 lines
drivers/gpu/drm/panthor/panthor_devfreq.c +1
-3- ret =devm_regulator_get_enable_optional (dev,"sram" ); -if (ret && ret != -ENODEV ) { -if (ret != -EPROBE_DEFER ) +if (!of_device_is_compatible (dev->of_node,"mediatek,mt8196-mali" )) {If you really need a per-SoC branch then please just store it in the platform data so we don't have these "
of_device_is_compatible" checks littered throughout the driver.
I agree, if we go with "sram-supply" being optional only for mt8196-mali then we should put this in the panthor_soc_data payload and here we use that.
Quoted 45 lines
Quoted 37 lines
Quoted 15 lines
Quoted 3 lines
I wonder if a more generic device tree flag would be better here.
No, we don't want it as a separate DT flag. This is all stuff we can hide behind the compat, and every bit we add to the DT we don't strictly need turns out to be a liability in the long run in general.
Quoted 2 lines
What happens if others do the same as Mediatek or Mediatek decides to do this with more processors and this list grows?
That's what
panthor_soc_datais for: you can attach per-compat properties without polluting the DT with more stuff that can be directly inferred from the compatible.Quoted 8 lines
Quoted 2 lines
It seems like a
panthor binding might be useful to prevent future bloat.It's actually the opposite, the more we add to the DT, the trickier it gets to maintain, because we tend to get those things wrong (is the SRAM really not needed on mt8196, or is this just a workaround to hide the fact the PM is deferred to some FW?).
MT8196 has three supplies: core, stack, sram.
For example, the Google Rauru Chromebooks use those:
core-supply = <&mt6373_vbuck7>; stack-supply = <&mt6316dp_vbuck0>; sram-supply = <&mt6316kp_vbuck1>;As of now (in our midstream trees), these supplies are declared in the gpufreq node (the performance domain controller), and required to be on whenever GPUEB interaction is needed, other than whenever the GPU itself is, well, needed to be powered.
Quoted 7 lines
As of the current model, these supplies are getting powered on and off along with the MFG power domain.
I'm not sure what happens if we also add those to the GPU node... for this, I'm adding Nicolas to the Ccs, as he is the one who developed support for EB.
Quoted 7 lines
Fairly sure they need to be on as part of any of the operations the MFG stuff does, but I also am not 100% sure on this because I didn't take notes at the time.
Either way, this patch shouldn't exist, it doesn't do anything useful, as a missing supply from the DT can be caught with
make dtbs_check. It does not need to be booted on each device to then have the driver abort probe at runtime.
So what should we do when dtbs_check catches it? Series [2] is trying to provide a supply, but it is a bogus one because in reality the vendors don't declare one.
Best regards,
Liviu
Quoted 15 lines
Quoted 11 lines
Cheers,
AngeloQuoted 3 lines
Regards,
Boris
Signature · 8 lines
====================
| I would like to |
| fix the world, |
| but they're not |
| giving me the |
\ source code! /
---------------
¯\_(ツ)_/¯Boris Brezillon
maintainerRe: [PATCH v1 2/2] drm/panthor: treat sram as mandatory except mt8196
In reply to Nicolas FrattaroliHi Nicolas,
Quoted 44 lines · On Mon, 16 Feb 2026 13:43:19 +0100 Nicolas Frattaroli…
Quoted 36 lines
Quoted 14 lines
Quoted 2 lines
I wonder if a more generic device tree flag would be better here.
No, we don't want it as a separate DT flag. This is all stuff we can hide behind the compat, and every bit we add to the DT we don't strictly need turns out to be a liability in the long run in general.
Quoted 2 lines
What happens if others do the same as Mediatek or Mediatek decides to do this with more processors and this list grows?
That's what
panthor_soc_datais for: you can attach per-compat properties without polluting the DT with more stuff that can be directly inferred from the compatible.Quoted 8 lines
Quoted 2 lines
It seems like a
panthor binding might be useful to prevent future bloat.It's actually the opposite, the more we add to the DT, the trickier it gets to maintain, because we tend to get those things wrong (is the SRAM really not needed on mt8196, or is this just a workaround to hide the fact the PM is deferred to some FW?).
MT8196 has three supplies: core, stack, sram.
For example, the Google Rauru Chromebooks use those:
core-supply = <&mt6373_vbuck7>; stack-supply = <&mt6316dp_vbuck0>; sram-supply = <&mt6316kp_vbuck1>;As of now (in our midstream trees), these supplies are declared in the gpufreq node (the performance domain controller), and required to be on whenever GPUEB interaction is needed, other than whenever the GPU itself is, well, needed to be powered.
Quoted 7 lines
As of the current model, these supplies are getting powered on and off along with the MFG power domain.
I'm not sure what happens if we also add those to the GPU node... for this, I'm adding Nicolas to the Ccs, as he is the one who developed support for EB.
Quoted 6 lines
Fairly sure they need to be on as part of any of the operations the MFG stuff does, but I also am not 100% sure on this because I didn't take notes at the time.
Either way, this patch shouldn't exist, it doesn't do anything useful, as a missing supply from the DT can be caught with
make dtbs_check.
Well, the fact DTs lacking the sram-supply definition went through is a clear sign that make dtbs_check is not bulletproof. Not saying the script doesn't work, but if maintainers don't run it automatically before merging DTs, it's going to fail again, I'm afraid. If we had enforced that "supply is mandatory" rule at runtime, we wouldn't be in position where we have invalid DTs/DTBs merged/deployed, and I'm saying that as the person git blame points to for introducing this logic :-).
Quoted 2 lines
It does not
need to be booted on each device to then have the driver abort probe at runtime.
Now that we've merged those DTs we can't really fail the probe anyway, because that would break DT-backward compat, but flagging those DTBs as broken (with an error message) would be better than pretending it's all good, IMHO.
Regards,
Boris
Boris Brezillon
maintainerRe: [PATCH v1 2/2] drm/panthor: treat sram as mandatory except mt8196
In reply to Liviu DudauHi Liviu,
Quoted 42 lines · On Mon, 16 Feb 2026 13:59:27 +0000 Liviu Dudau <[email protected]> wrote:
Quoted 13 lines · Nicolas Frattaroli
Quoted 11 lines · On Monday, 16 February 2026 12:44:39 Central European Standard Time…
Il 16/02/26 10:44, Boris Brezillon ha scritto:
Quoted 10 lines
Hello Adam,
Quoted 5 lines · On Sun, 15 Feb 2026 16:21:34 -0600 Adam Ford <[email protected]> wrote:
Quoted 4 lines · Onur Özkan
If sram-supply is missing, Panthor falls back to a dummy regulator with a warning. This implicit behavior hides missing DT wiring behind regulator core fallback.
Quoted 6 lines
This is intentional design of the regulator API. A missing supply will always result in a dummy regulator. The
_optionalfunction bubbles the missing supply condition up to the caller.Catching device trees lacking supplies that are marked as required by the binding is done with
dtbs_check, not at runtime.I'm replying to this thread while I'm also trying to cover some discussion in the DT patch series.
What we're trying to solve is this: the Mali GPUs have an L2$+bits power domain that in upstream ended up being called 'sram' for reasons. The domain is important both for ultimate power savings (you can turn off most of the other GPU domains and preserve enough state for the GPU to wake up on an interrupt) and for normal operations, for obvious reasons. Now, vendors either don't bother to put a separate domain just for "sram" or go to the extreme of handing over control over that domain to an MCU that implements aggresive and system-wide policies. We're trying to cater for all cases, include the (currently hypotetical) one where you have a separate "sram" power domain that Linux can control.
When we have first upstreamed the bindings, inspired by Panfrost driver, we have added the sram-supply as mandatory which I think is turning out to be a mistake. Prompted by Mark Brown's reply[1] to Tyr adding 'sram-supply' as an optional property, Onur has started this and the DT patch series[2] to enforce the presence of an 'sram-supply' to reduce the number of warnings in
dtbs_check. In reality what we are enforcing is a dummy supply that is the same as the one the GPU is using because most of the systems don't have a specific one.
Quoted 5 lines
So the problem we have is: do we change the upstream binding and make 'sram-supply' optional for every compatible string given that it is unlikely to be provided (and the code did not enforce it in
panthor_devfreq.canyway from the beginning), or do we accept that this power domain is important but usually not specified and we go with the current DT patch series that provides one?
My main worry with this approach is that SoC/board bring-up tends to be an iterative process in practice, and it usually starts with a bunch of resources forcibly enabled (either in the bootloader or directly in Linux) because that's easy. Problem is, that's also very easy to forget defining non-optional resources when the dts[i] is upstreamed, because everything seems to work just fine. And because of this DT backward-compat constraint, if get it wrong, and the supply is needed for real, when we get to implement the real thing we're just screwed. Having a runtime error preventing the device to probe forces people to at least think twice before doing something stupid, like making the SRAM (or L2-cache) supply point to the core supply when they are two distinct regulator outputs.
Regards,
Boris
Re: [PATCH v1 2/2] drm/panthor: treat sram as mandatory except mt8196
In reply to Boris BrezillonQuoted 40 lines · On Mon, 16 Feb 2026 10:37:43 +0100 Boris Brezillon…
Quoted 37 lines · On Sun, 15 Feb 2026 13:02:51 +0300 Onur Özkan <[email protected]> wrote:
If sram-supply is missing, Panthor falls back to a dummy regulator with a warning. This implicit behavior hides missing DT wiring behind regulator core fallback.
Make SRAM handling explicit: require sram-supply for all Panthor compatibles except mt8196-mali where GPU supplies are intentionally managed outside Panthor and DT does not model sram-supply for that compatible.
This keeps DT power modeling explicit and avoids relying on dummy-regulator fallback.
Signed-off-by Onur Özkan <[email protected]>--- drivers/gpu/drm/panthor/panthor_devfreq.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-)(quoted diff) +0
-0
b/drivers/gpu/drm/panthor/panthor_devfreq.cindex2249b41ca4af..5f6075f18fe3100644 ---a/drivers/gpu/drm/panthor/panthor_devfreq.c+++b/drivers/gpu/drm/panthor/panthor_devfreq.c@@ -206,12 +206,17 @@ intpanthor_devfreq_init(struct panthor_device *ptdev)
* But without knowing if it's beneficial or not (in term
of power
* consumption), or how much it slows down the
suspend/resume steps,
* let's just keep regulators enabled for the device
lifetime.(quoted diff) +2
-0+ * + * Treat sram-supply as mandatory except for mt8196-mali.It manages
(quoted diff) +1
-0+ * SRAM outside Panthor so this driver must not requiredirect control
drivers/gpu/drm/panthor/panthor_devfreq.c +1
-0+* over it. */
Quoted 9 lines
Quoted 5 lines
drivers/gpu/drm/panthor/panthor_devfreq.c +1
-3- ret =devm_regulator_get_enable_optional (dev,"sram" ); -if (ret && ret != -ENODEV ) { -if (ret != -EPROBE_DEFER ) + if (!of_device_is_compatible(dev->of_node,"mediatek,mt8196-mali")) {
Rather than checking for specific compats here, let's go for a
dont_need_sram_supplybool inpanthor_soc_data.
Makes sense.
Quoted 6 lines
Quoted 2 lines
(quoted diff) +1
-0+ ret = devm_regulator_get_enable_optional(dev,"sram");
If we assume SRAM supply is mandatory, should this be
devm_regulator_get_enable()instead?
That was the first thing I did but when I tested it, it didn't work as expected because devm_regulator_get_enable() fell back to the dummy regulator without returning an error.
Regards,
Onur
Quoted 10 lines
Quoted 9 lines
(quoted diff) +1
-0+ if (ret) { DRM_DEV_ERROR(dev, "Couldn'tretrieve/enable sram supply\n");
drivers/gpu/drm/panthor/panthor_devfreq.c +2
-1-return ret; +return ret; + } } opp =devfreq_recommended_opp (dev, &cur_freq,0 );
Steven Price
maintainerRe: [PATCH v1 2/2] drm/panthor: treat sram as mandatory except mt8196
Quoted 62 lines · Onur Özkan
Quoted 40 lines · On Mon, 16 Feb 2026 10:37:43 +0100 Boris Brezillon…
Quoted 37 lines · On Sun, 15 Feb 2026 13:02:51 +0300 Onur Özkan <[email protected]> wrote:
If sram-supply is missing, Panthor falls back to a dummy regulator with a warning. This implicit behavior hides missing DT wiring behind regulator core fallback.
Make SRAM handling explicit: require sram-supply for all Panthor compatibles except mt8196-mali where GPU supplies are intentionally managed outside Panthor and DT does not model sram-supply for that compatible.
This keeps DT power modeling explicit and avoids relying on dummy-regulator fallback.
Signed-off-by Onur Özkan <[email protected]>--- drivers/gpu/drm/panthor/panthor_devfreq.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-)(quoted diff) +0
-0
b/drivers/gpu/drm/panthor/panthor_devfreq.cindex2249b41ca4af..5f6075f18fe3100644 ---a/drivers/gpu/drm/panthor/panthor_devfreq.c+++b/drivers/gpu/drm/panthor/panthor_devfreq.c@@ -206,12 +206,17 @@ intpanthor_devfreq_init(struct panthor_device *ptdev)
* But without knowing if it's beneficial or not (in term
of power
* consumption), or how much it slows down the
suspend/resume steps,
* let's just keep regulators enabled for the device
lifetime.(quoted diff) +2
-0+ * + * Treat sram-supply as mandatory except for mt8196-mali.It manages
(quoted diff) +1
-0+ * SRAM outside Panthor so this driver must not requiredirect control
drivers/gpu/drm/panthor/panthor_devfreq.c +1
-0+* over it. */ Quoted 9 lines
Quoted 5 lines
drivers/gpu/drm/panthor/panthor_devfreq.c +1
-3- ret =devm_regulator_get_enable_optional (dev,"sram" ); -if (ret && ret != -ENODEV ) { -if (ret != -EPROBE_DEFER ) + if (!of_device_is_compatible(dev->of_node,"mediatek,mt8196-mali")) {
Rather than checking for specific compats here, let's go for a
dont_need_sram_supplybool inpanthor_soc_data.Makes sense.
Quoted 6 lines
Quoted 2 lines
(quoted diff) +1
-0+ ret = devm_regulator_get_enable_optional(dev,"sram");
If we assume SRAM supply is mandatory, should this be
devm_regulator_get_enable()instead?
Quoted 3 lines
That was the first thing I did but when I tested it, it didn't work as expected because
devm_regulator_get_enable()fell back to the dummy regulator without returning an error.
My understanding was that devm_regulator_get_enable() would output a warning in that case.
I'm not sure it really makes sense to deliberately fail the probe just because the regulator isn't there: we know in practice it often works and it can be useful for bring-up purposes. The issue was that we don't want DTs submitted without the "sram" regulator and the dt-check hasn't been sufficient in the past to catch such errors.
So a dmesg warning seems (to me) like the right sort of balance - there's obviously something to fix, but it doesn't block bring-up (unless of course the hardware actually requires it of course).
I also note that you've lost the -EPROBE_DEFER check, meaning that the log message you've added will spam the logs if a defer happens.
My reading for these threads is that we need:
* A new field in panthor_soc_data for the mt8196 case.
* To check for new field, and if it's not set then usedevm_regulator_get_enable() so that it generates a warning message if the regulator isn't present. Otherwise we skip the call.
So no need for panthor itself to log any messages, and we just return any errors from devm_regulator_get_enable(). A missing regulator will generate a warning but no error.
What am I missing?
Thanks,
Steve
Quoted 14 lines
Regards,
OnurQuoted 10 lines
Quoted 9 lines
(quoted diff) +1
-0+ if (ret) { DRM_DEV_ERROR(dev, "Couldn'tretrieve/enable sram supply\n");
drivers/gpu/drm/panthor/panthor_devfreq.c +2
-1-return ret; +return ret; + } } opp =devfreq_recommended_opp (dev, &cur_freq,0 );
Chen-Yu Tsai
maintainerQuoted 28 lines · Onur Özkan
Some arm64 Mali GPU DT nodes define mali-supply but are missing sram-supply.
As discussed in [1], sram-supply should be explicitly defined for all relevant compatibles. If there is no separate SRAM rail, it can reference the same regulator as mali-supply.
This change adds the missing sram-supply properties to affected DT files. This aligns DTs with expected regulator modeling and avoids relying on implicit fallback behavior.
[1]: https://lore.kernel.org/all/20260213155937.6af75786@nimda/
Signed-off-by Onur Özkan <[email protected]>--- arch/arm64/boot/dts/allwinner/sun50i-h313-tanix-tx1.dts | 1 + arch/arm64/boot/dts/allwinner/sun50i-h313-x96q.dts | 1 + arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts | 1 + arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts | 1 + arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi | 1 + arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts | 1 + arch/arm64/boot/dts/allwinner/sun50i-h6-tanix.dtsi | 1 + arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-cb1.dtsi | 1 + arch/arm64/boot/dts/allwinner/sun50i-h616-orangepi-zero2.dts | 1 + arch/arm64/boot/dts/allwinner/sun50i-h616-x96-mate.dts | 1 + arch/arm64/boot/dts/allwinner/sun50i-h618-longan-module-3h.dtsi | 1 +
Quoted 8 lines
arch/arm64/boot/dts/allwinner/sun50i-h618-orangepi-zero2w.dts | 1 + arch/arm64/boot/dts/allwinner/sun50i-h618-orangepi-zero3.dts | 1 + arch/arm64/boot/dts/allwinner/sun50i-h618-transpeed-8k618-t.dts | 1 + .../boot/dts/allwinner/sun50i-h700-anbernic-rg35xx-2024.dts | 1 + arch/arm64/boot/dts/allwinner/sun55i-a527-cubie-a5e.dts | 1 + arch/arm64/boot/dts/allwinner/sun55i-h728-x96qpro+.dts | 1 + arch/arm64/boot/dts/allwinner/sun55i-t527-avaota-a1.dts | 1 + arch/arm64/boot/dts/allwinner/sun55i-t527-orangepi-4a.dts | 1 +
We don't know the internals of these SoCs, even though said power is likely from the same regulator, as that rail provides power to most of the SoC. But I would rather not speculate.
I think these systems are at the other end of the spectrum: the power rail for the GPU and the rest of the SoC is simply never turned off. Neither is DVFS available. In theory you could make it work, but the voltage range is fixed so there is little savings to be had.
ChenYu