diff options
author | Jon Medhurst <tixy@linaro.org> | 2015-03-27 16:00:55 +0000 |
---|---|---|
committer | Jon Medhurst <tixy@linaro.org> | 2015-03-27 16:00:55 +0000 |
commit | a6c323599c28b58b722162e0a732888b6a26f0f5 (patch) | |
tree | 467c8f2ac123da71d3d0271b50bc19bb51ba5869 /Documentation | |
parent | be7519b7ea324ace4894b54e21918851bad2a5d1 (diff) | |
parent | 48de5807a1a61521fa0bb613864d4e19e681b899 (diff) |
Merge branch 'lsk-3.10-armlt-drm-hdlcd' into integration-lsk-3.10-juno-android
Conflicts:
arch/arm64/boot/dts/juno.dts
linaro/configs/vexpress64.conf
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/DocBook/drm.tmpl | 2 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/gpu/arm,hdlcd.txt | 64 |
2 files changed, 65 insertions, 1 deletions
diff --git a/Documentation/DocBook/drm.tmpl b/Documentation/DocBook/drm.tmpl index f9df3b872c16..69f7a4e0b52b 100644 --- a/Documentation/DocBook/drm.tmpl +++ b/Documentation/DocBook/drm.tmpl @@ -1162,7 +1162,7 @@ int max_width, max_height;</synopsis> </para> <para> If a page flip can be successfully scheduled the driver must set the - <code>drm_crtc-<fb</code> field to the new framebuffer pointed to + <code>drm_crtc->fb</code> field to the new framebuffer pointed to by <code>fb</code>. This is important so that the reference counting on framebuffers stays balanced. </para> diff --git a/Documentation/devicetree/bindings/gpu/arm,hdlcd.txt b/Documentation/devicetree/bindings/gpu/arm,hdlcd.txt new file mode 100644 index 000000000000..e4af93b25ee0 --- /dev/null +++ b/Documentation/devicetree/bindings/gpu/arm,hdlcd.txt @@ -0,0 +1,64 @@ +ARM HDLCD + +This is a driver for a display controller found on several development +platforms produced by ARM Ltd and in more modern of its' Fast Models. +The HDLCD is an RGB streamer that reads the data from a framebuffer +and sends it to a single HDMI transmitter. + +Required properties: +- compatible: "arm,hdlcd" +- reg: Physical base address and length of the controller's registers. +- interrupts: One interrupt used by the controller to multiplex all + the sources programmed in the interrupt mask register. +- clocks: A list of phandle + clock-specifier pairs, one for each entry + in clock-names. +- clock-names: A list of clock names. For HDLD it should containt: + * "pxlclk" for the clock feeding the output PLL of the controller. + +Optional properties: +- i2c-slave: If the HDLCD is connected to an HDMI transmitter that is + reacheable via i2c, then use the phandle of the DDC slave here. + +Optional children: +- display-timings: If the HDLCD is emulated by the Fast Model, place the + videomode(s) of the desired resolution(s) here. If multiple videomodes + are being used, a 'native-mode' property should be used to indicate the + preferred/default resolution. Refer to + Documentation/devicetree/bindings/video/display-timing.txt for details. + + +Example: + +/ { + ... + + hdlcd@2b000000 { + compatible = "arm,hdlcd"; + reg = <0 0x2b000000 0 0x1000>; + interrupts = <0 85 4>; + i2c-slave = <&dvi_i2c_slave>; + clocks = <&oscclk5>; + clock-names = "pxlclk"; + }; + + /* DVI I2C bus */ + v2m_i2c_dvi: i2c@160000 { + compatible = "arm,versatile-i2c"; + reg = <0x160000 0x1000>; + + #address-cells = <1>; + #size-cells = <0>; + + dvi_i2c_slave: dvi-transmitter@39 { + compatible = "sil,sii9022-tpi", "sil,sii9022"; + reg = <0x39>; + }; + + dvi-transmitter@60 { + compatible = "sil,sii9022-cpi", "sil,sii9022"; + reg = <0x60>; + }; + }; + + ... +}; |