[PATCH 1/2] ARM: bcm2835: add dumb framebuffer to device tree

Stephen Warren swarren at wwwdotorg.org
Wed Apr 3 02:18:50 EDT 2013


Place a template dumb-framebuffer device into the RPi device tree. The
bootloader is expected to fill in all the parameters at boot time.
Hence, disable the device by default, so if the bootloader doesn't do
this, the device isn't activated with invalid parameters.

Signed-off-by: Stephen Warren <swarren at wwwdotorg.org>
---
 arch/arm/boot/dts/bcm2835-rpi-b.dts |   11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm/boot/dts/bcm2835-rpi-b.dts b/arch/arm/boot/dts/bcm2835-rpi-b.dts
index 71ea7f9..26106aa 100644
--- a/arch/arm/boot/dts/bcm2835-rpi-b.dts
+++ b/arch/arm/boot/dts/bcm2835-rpi-b.dts
@@ -8,6 +8,17 @@
 	memory {
 		reg = <0 0x10000000>;
 	};
+
+	framebuffer {
+		compatible = "dumb-framebuffer";
+		status = "disabled";
+		/* The bootloader is expected to fill these in */
+		reg = <0 0>;
+		width = <0>;
+		height = <0>;
+		stride = <0>;
+		format = "";
+	};
 };
 
 &gpio {
-- 
1.7.10.4




More information about the linux-arm-kernel mailing list