* [PATCH] arm64: dts: rockchip: Add node for gpu on rk3399-roc-pc
@ 2019-11-11 15:38 Markus Reichl
2019-11-14 9:32 ` Heiko Stuebner
0 siblings, 1 reply; 2+ messages in thread
From: Markus Reichl @ 2019-11-11 15:38 UTC (permalink / raw)
To: Rob Herring, Mark Rutland, Heiko Stuebner, Jagan Teki,
Markus Reichl, devicetree, linux-arm-kernel, linux-rockchip,
linux-kernel
rk3399-roc-pc has a Mali gpu, enable it for use with panfrost and mesa >19.2.
Signed-off-by: Markus Reichl <m.reichl@fivetechno.de>
---
Based on v5.5-armsoc/dts64/75aa5678
If applied with other patches in between, the second hunk
offsets and may patch vdd_cpu_b instead of vdd_gpu.
---
arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi
index 7e07dae33d0f..287f97488f65 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi
@@ -238,6 +238,11 @@
status = "okay";
};
+&gpu {
+ mali-supply = <&vdd_gpu>;
+ status = "okay";
+};
+
&hdmi {
ddc-i2c-bus = <&i2c3>;
pinctrl-names = "default";
@@ -465,8 +470,6 @@
regulator-min-microvolt = <712500>;
regulator-max-microvolt = <1500000>;
regulator-ramp-delay = <1000>;
- regulator-always-on;
- regulator-boot-on;
vin-supply = <&vcc3v3_sys>;
regulator-state-mem {
--
2.20.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] arm64: dts: rockchip: Add node for gpu on rk3399-roc-pc
2019-11-11 15:38 [PATCH] arm64: dts: rockchip: Add node for gpu on rk3399-roc-pc Markus Reichl
@ 2019-11-14 9:32 ` Heiko Stuebner
0 siblings, 0 replies; 2+ messages in thread
From: Heiko Stuebner @ 2019-11-14 9:32 UTC (permalink / raw)
To: Markus Reichl
Cc: Rob Herring, Mark Rutland, Jagan Teki, devicetree,
linux-arm-kernel, linux-rockchip, linux-kernel
Am Montag, 11. November 2019, 16:38:26 CET schrieb Markus Reichl:
> rk3399-roc-pc has a Mali gpu, enable it for use with panfrost and mesa >19.2.
>
> Signed-off-by: Markus Reichl <m.reichl@fivetechno.de>
> ---
> Based on v5.5-armsoc/dts64/75aa5678
> If applied with other patches in between, the second hunk
> offsets and may patch vdd_cpu_b instead of vdd_gpu.
applied for 5.6 (probably) and made sure vdd_gpu got its regulator-always-on
removed, not vdd_cpu_b :-)
Thanks
Heiko
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-11-14 9:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-11 15:38 [PATCH] arm64: dts: rockchip: Add node for gpu on rk3399-roc-pc Markus Reichl
2019-11-14 9:32 ` Heiko Stuebner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).