16ea975eac
A simple DRM/KMS driver for the TI LCD Controller found in various smaller TI parts (AM33xx, OMAPL138, etc). This driver uses the CMA helpers. Currently only the TFP410 DVI encoder is supported (tested with beaglebone + DVI cape). There are also various LCD displays, for which support can be added (as I get hw to test on), and an external i2c HDMI encoder found on some boards. The display controller supports a single CRTC. And the encoder+ connector are split out into sub-devices. Depending on which LCD or external encoder is actually present, the appropriate output module(s) will be loaded. v1: original v2: fix fb refcnting and few other cleanups v3: get +/- vsync/hsync from timings rather than panel-info, add option DT max-bandwidth field so driver doesn't attempt to pick a display mode with too high memory bandwidth, and other small cleanups v4: remove some unneeded stuff from panel-info struct, properly set high bits for hfp/hsw/hbp for rev 2, add DT bindings docs Signed-off-by: Rob Clark <robdclark@gmail.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Tested-by: Koen Kooi <koen@dominion.thruhere.net>
22 lines
559 B
Plaintext
22 lines
559 B
Plaintext
Device-Tree bindings for tilcdc DRM driver
|
|
|
|
Required properties:
|
|
- compatible: value should be "ti,am33xx-tilcdc".
|
|
- interrupts: the interrupt number
|
|
- reg: base address and size of the LCDC device
|
|
|
|
Recommended properties:
|
|
- interrupt-parent: the phandle for the interrupt controller that
|
|
services interrupts for this device.
|
|
- ti,hwmods: Name of the hwmod associated to the LCDC
|
|
|
|
Example:
|
|
|
|
fb: fb@4830e000 {
|
|
compatible = "ti,am33xx-tilcdc";
|
|
reg = <0x4830e000 0x1000>;
|
|
interrupt-parent = <&intc>;
|
|
interrupts = <36>;
|
|
ti,hwmods = "lcdc";
|
|
};
|