8b856f040c
Adds support for encoding display mode information in the device tree using verbatim EDID block. If the EDID entry in the DIU node is present, the driver will build mode database using EDID data and allow setting the display modes from this database. Otherwise display mode will be set using mode entries from driver's internal database as usual. This patch also updates device tree bindings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Acked-by: Timur Tabi <timur@freescale.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
34 lines
953 B
Text
34 lines
953 B
Text
* Freescale Display Interface Unit
|
|
|
|
The Freescale DIU is a LCD controller, with proper hardware, it can also
|
|
drive DVI monitors.
|
|
|
|
Required properties:
|
|
- compatible : should be "fsl,diu" or "fsl,mpc5121-diu".
|
|
- reg : should contain at least address and length of the DIU register
|
|
set.
|
|
- interrupts : one DIU interrupt should be described here.
|
|
- interrupt-parent : the phandle for the interrupt controller that
|
|
services interrupts for this device.
|
|
|
|
Optional properties:
|
|
- edid : verbatim EDID data block describing attached display.
|
|
Data from the detailed timing descriptor will be used to
|
|
program the display controller.
|
|
|
|
Example (MPC8610HPCD):
|
|
display@2c000 {
|
|
compatible = "fsl,diu";
|
|
reg = <0x2c000 100>;
|
|
interrupts = <72 2>;
|
|
interrupt-parent = <&mpic>;
|
|
};
|
|
|
|
Example for MPC5121:
|
|
display@2100 {
|
|
compatible = "fsl,mpc5121-diu";
|
|
reg = <0x2100 0x100>;
|
|
interrupts = <64 0x8>;
|
|
interrupt-parent = <&ipic>;
|
|
edid = [edid-data];
|
|
};
|