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