mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-22 07:44:54 +07:00
39135a305a
The associated backlight device can be configured via DT by providing the phandle to the device. If the backlight device is configured, the driver can manage the backligt along with the panel's power state, iow it can turn on the backlight when the panel is enabled and turn it off when the panel is disabled. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
51 lines
1.3 KiB
Plaintext
51 lines
1.3 KiB
Plaintext
Generic MIPI DPI Panel
|
|
======================
|
|
|
|
Required properties:
|
|
- compatible: "panel-dpi"
|
|
|
|
Optional properties:
|
|
- label: a symbolic name for the panel
|
|
- enable-gpios: panel enable gpio
|
|
- reset-gpios: GPIO to control the RESET pin
|
|
- vcc-supply: phandle of regulator that will be used to enable power to the display
|
|
- backlight: phandle of the backlight device
|
|
|
|
Required nodes:
|
|
- "panel-timing" containing video timings
|
|
(Documentation/devicetree/bindings/display/panel/display-timing.txt)
|
|
- Video port for DPI input
|
|
|
|
Example
|
|
-------
|
|
|
|
lcd0: display@0 {
|
|
compatible = "samsung,lte430wq-f0c", "panel-dpi";
|
|
label = "lcd";
|
|
|
|
backlight = <&backlight>;
|
|
|
|
port {
|
|
lcd_in: endpoint {
|
|
remote-endpoint = <&dpi_out>;
|
|
};
|
|
};
|
|
|
|
panel-timing {
|
|
clock-frequency = <9200000>;
|
|
hactive = <480>;
|
|
vactive = <272>;
|
|
hfront-porch = <8>;
|
|
hback-porch = <4>;
|
|
hsync-len = <41>;
|
|
vback-porch = <2>;
|
|
vfront-porch = <4>;
|
|
vsync-len = <10>;
|
|
|
|
hsync-active = <0>;
|
|
vsync-active = <0>;
|
|
de-active = <1>;
|
|
pixelclk-active = <1>;
|
|
};
|
|
};
|