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