mirror of
https://github.com/torvalds/linux.git
synced 2024-12-23 19:31:53 +00:00
31e1391af2
Optionally obtain a lcd-supply regulator during probe and use it in __pxafb_lcd_power() to switch the power supply of LCD panels. This helps boards booted from DT to control such voltages without callbacks. Signed-off-by: Daniel Mack <daniel@zonque.org> Reviewed-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
37 lines
980 B
Plaintext
37 lines
980 B
Plaintext
PXA LCD Controller
|
|
------------------
|
|
|
|
Required properties:
|
|
- compatible : one of these
|
|
"marvell,pxa2xx-lcdc",
|
|
"marvell,pxa270-lcdc",
|
|
"marvell,pxa300-lcdc"
|
|
- reg : should contain 1 register range (address and length).
|
|
- interrupts : framebuffer controller interrupt.
|
|
- clocks: phandle to input clocks
|
|
|
|
Optional properties:
|
|
- lcd-supply: A phandle to a power regulator that controls the LCD voltage.
|
|
|
|
Required nodes:
|
|
- port: connection to the LCD panel (see video-interfaces.txt)
|
|
This node must have its properties bus-width and remote-endpoint set.
|
|
If the panel is not a TFT color panel, then a "lcd-type" property in
|
|
the panel should specify the panel type.
|
|
This panel node should be in the board dts.
|
|
|
|
Example:
|
|
lcd-controller@40500000 {
|
|
compatible = "marvell,pxa2xx-lcdc";
|
|
reg = <0x44000000 0x10000>;
|
|
interrupts = <17>;
|
|
clocks = <&clks CLK_LCD>;
|
|
|
|
port {
|
|
lcdc_out: endpoint {
|
|
remote-endpoint = <&panel_in>;
|
|
bus-width = <16>;
|
|
};
|
|
};
|
|
};
|