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