diff options
author | Hans de Goede <hdegoede@redhat.com> | 2014-11-14 07:26:47 -0500 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-11-14 08:28:22 -0500 |
commit | 9ee4cd1aa3eec2f405652dc51779612104feebef (patch) | |
tree | 013e3ca7d7b78610396f5eff48c3f2a72884335a | |
parent | 6f15b602b8f93e1d199a85b95183d7a5836b3152 (diff) |
dt-bindings: Add a clocks property to the simple-framebuffer binding
A simple-framebuffer node represents a framebuffer setup by the firmware /
bootloader. Such a framebuffer may have a number of clocks in use, add a
property to communicate this to the OS.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Mike Turquette <mturquette@linaro.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Grant Likely <grant.likely@linaro.org>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
-rw-r--r-- | Documentation/devicetree/bindings/video/simple-framebuffer.txt | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/video/simple-framebuffer.txt b/Documentation/devicetree/bindings/video/simple-framebuffer.txt index 70c26f3a5b9a..8f35718f4f5b 100644 --- a/Documentation/devicetree/bindings/video/simple-framebuffer.txt +++ b/Documentation/devicetree/bindings/video/simple-framebuffer.txt | |||
@@ -1,8 +1,8 @@ | |||
1 | Simple Framebuffer | 1 | Simple Framebuffer |
2 | 2 | ||
3 | A simple frame-buffer describes a raw memory region that may be rendered to, | 3 | A simple frame-buffer describes a frame-buffer setup by firmware or |
4 | with the assumption that the display hardware has already been set up to scan | 4 | the bootloader, with the assumption that the display hardware has already |
5 | out from that buffer. | 5 | been set up to scan out from the memory pointed to by the reg property. |
6 | 6 | ||
7 | Required properties: | 7 | Required properties: |
8 | - compatible: "simple-framebuffer" | 8 | - compatible: "simple-framebuffer" |
@@ -14,6 +14,12 @@ Required properties: | |||
14 | - r5g6b5 (16-bit pixels, d[15:11]=r, d[10:5]=g, d[4:0]=b). | 14 | - r5g6b5 (16-bit pixels, d[15:11]=r, d[10:5]=g, d[4:0]=b). |
15 | - a8b8g8r8 (32-bit pixels, d[31:24]=a, d[23:16]=b, d[15:8]=g, d[7:0]=r). | 15 | - a8b8g8r8 (32-bit pixels, d[31:24]=a, d[23:16]=b, d[15:8]=g, d[7:0]=r). |
16 | 16 | ||
17 | Optional properties: | ||
18 | - clocks : List of clocks used by the framebuffer. Clocks listed here | ||
19 | are expected to already be configured correctly. The OS must | ||
20 | ensure these clocks are not modified or disabled while the | ||
21 | simple framebuffer remains active. | ||
22 | |||
17 | Example: | 23 | Example: |
18 | 24 | ||
19 | framebuffer { | 25 | framebuffer { |