Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e1dc2b2e authored by Eric Anholt's avatar Eric Anholt Committed by Stefan Wahren
Browse files

ARM: bcm283x: Switch V3D over to using the PM driver instead of firmware.



The GRAFX domain only contains V3D, and this driver should be the only
accessor of V3D (firmware usage gets disabled when V3D is in the DT),
so we can safely make Linux control the GRAFX and GRAFX_V3D power
domains.

Signed-off-by: default avatarEric Anholt <eric@anholt.net>
Acked-by: default avatarStefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: default avatarStefan Wahren <stefan.wahren@i2se.com>
parent 81fc035f
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -87,10 +87,6 @@
	power-domains = <&power RPI_POWER_DOMAIN_USB>;
};

&v3d {
	power-domains = <&power RPI_POWER_DOMAIN_V3D>;
};

&hdmi {
	power-domains = <&power RPI_POWER_DOMAIN_HDMI>;
	status = "okay";
+3 −1
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
#include <dt-bindings/clock/bcm2835-aux.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/soc/bcm2835-pm.h>

/* firmware-provided startup stubs live here, where the secondary CPUs are
 * spinning.
@@ -120,7 +121,7 @@
			#interrupt-cells = <2>;
		};

		watchdog@7e100000 {
		pm: watchdog@7e100000 {
			compatible = "brcm,bcm2835-pm", "brcm,bcm2835-pm-wdt";
			#power-domain-cells = <1>;
			#reset-cells = <1>;
@@ -638,6 +639,7 @@
			compatible = "brcm,bcm2835-v3d";
			reg = <0x7ec00000 0x1000>;
			interrupts = <1 10>;
			power-domains = <&pm BCM2835_POWER_DOMAIN_GRAFX_V3D>;
		};

		vc4: gpu {