aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/video/simple-framebuffer-sunxi.txt
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2014-11-18 12:10:51 +0100
committerTomi Valkeinen <tomi.valkeinen@ti.com>2014-11-26 10:17:42 +0200
commitb14c99299b9e11615f512ddadd6ca98dc41f2cb8 (patch)
tree168dd4bdfee2c3c69c4aef3274399f81a2854660 /Documentation/devicetree/bindings/video/simple-framebuffer-sunxi.txt
parentdt-bindings: simplefb: Drop the advice about using a specific path for nodes (diff)
downloadlinux-dev-b14c99299b9e11615f512ddadd6ca98dc41f2cb8.tar.xz
linux-dev-b14c99299b9e11615f512ddadd6ca98dc41f2cb8.zip
dt-bindings: simplefb-sunxi: Add sunxi simplefb extensions
If pre-filled framebuffer nodes are used, the firmware may need extra properties to find the right node. This documents the properties to use for this on sunxi platforms. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Grant Likely <grant.likely@linaro.org> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to '')
-rw-r--r--Documentation/devicetree/bindings/video/simple-framebuffer-sunxi.txt33
1 files changed, 33 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/video/simple-framebuffer-sunxi.txt b/Documentation/devicetree/bindings/video/simple-framebuffer-sunxi.txt
new file mode 100644
index 000000000000..c46ba641a1df
--- /dev/null
+++ b/Documentation/devicetree/bindings/video/simple-framebuffer-sunxi.txt
@@ -0,0 +1,33 @@
+Sunxi specific Simple Framebuffer bindings
+
+This binding documents sunxi specific extensions to the simple-framebuffer
+bindings. The sunxi simplefb u-boot code relies on the devicetree containing
+pre-populated simplefb nodes.
+
+These extensions are intended so that u-boot can select the right node based
+on which pipeline is being used. As such they are solely intended for
+firmware / bootloader use, and the OS should ignore them.
+
+Required properties:
+- compatible: "allwinner,simple-framebuffer"
+- allwinner,pipeline, one of:
+ "de_be0-lcd0"
+ "de_be1-lcd1"
+ "de_be0-lcd0-hdmi"
+ "de_be1-lcd1-hdmi"
+
+Example:
+
+chosen {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
+
+ framebuffer@0 {
+ compatible = "allwinner,simple-framebuffer", "simple-framebuffer";
+ allwinner,pipeline = "de_be0-lcd0-hdmi";
+ clocks = <&pll5 1>, <&ahb_gates 36>, <&ahb_gates 43>,
+ <&ahb_gates 44>;
+ status = "disabled";
+ };
+};