xref: /linux/Documentation/devicetree/bindings/display/tilcdc/panel.txt (revision fbf5df34a4dbcd09d433dd4f0916bf9b2ddb16de)
1Device-Tree bindings for tilcdc DRM generic panel output driver
2This binding is deprecated and should not be used.
3
4Required properties:
5 - compatible: value should be "ti,tilcdc,panel".
6 - panel-info: configuration info to configure LCDC correctly for the panel
7   - ac-bias: AC Bias Pin Frequency
8   - ac-bias-intrpt: AC Bias Pin Transitions per Interrupt
9   - dma-burst-sz: DMA burst size
10   - bpp: Bits per pixel
11   - fdd: FIFO DMA Request Delay
12   - sync-edge: Horizontal and Vertical Sync Edge: 0=rising 1=falling
13   - sync-ctrl: Horizontal and Vertical Sync: Control: 0=ignore
14   - raster-order: Raster Data Order Select: 1=Most-to-least 0=Least-to-most
15   - fifo-th: DMA FIFO threshold
16 - display-timings: typical videomode of lcd panel.  Multiple video modes
17   can be listed if the panel supports multiple timings, but the 'native-mode'
18   should be the preferred/default resolution.  Refer to
19   Documentation/devicetree/bindings/display/panel/display-timing.txt for display
20   timing binding details.
21
22Optional properties:
23- backlight: phandle of the backlight device attached to the panel
24- enable-gpios: GPIO pin to enable or disable the panel
25
26Recommended properties:
27 - pinctrl-names, pinctrl-0: the pincontrol settings to configure
28   muxing properly for pins that connect to TFP410 device
29
30Example:
31
32	/* Settings for CDTech_S035Q01 / LCD3 cape: */
33	lcd3 {
34		compatible = "ti,tilcdc,panel";
35		pinctrl-names = "default";
36		pinctrl-0 = <&bone_lcd3_cape_lcd_pins>;
37		backlight = <&backlight>;
38		enable-gpios = <&gpio3 19 0>;
39
40		panel-info {
41			ac-bias           = <255>;
42			ac-bias-intrpt    = <0>;
43			dma-burst-sz      = <16>;
44			bpp               = <16>;
45			fdd               = <0x80>;
46			sync-edge         = <0>;
47			sync-ctrl         = <1>;
48			raster-order      = <0>;
49			fifo-th           = <0>;
50		};
51		display-timings {
52			native-mode = <&timing0>;
53			timing0: 320x240 {
54				hactive         = <320>;
55				vactive         = <240>;
56				hback-porch     = <21>;
57				hfront-porch    = <58>;
58				hsync-len       = <47>;
59				vback-porch     = <11>;
60				vfront-porch    = <23>;
61				vsync-len       = <2>;
62				clock-frequency = <8000000>;
63				hsync-active    = <0>;
64				vsync-active    = <0>;
65			};
66		};
67	};
68