Path: blob/main/sys/contrib/device-tree/Bindings/display/atmel,lcdc.txt
48375 views
Atmel LCDC Framebuffer1-----------------------------------------------------23Required properties:4- compatible :5"atmel,at91sam9261-lcdc" ,6"atmel,at91sam9263-lcdc" ,7"atmel,at91sam9g10-lcdc" ,8"atmel,at91sam9g45-lcdc" ,9"atmel,at91sam9g45es-lcdc" ,10"atmel,at91sam9rl-lcdc" ,11- reg : Should contain 1 register ranges(address and length).12Can contain an additional register range(address and length)13for fixed framebuffer memory. Useful for dedicated memories.14- interrupts : framebuffer controller interrupt15- display: a phandle pointing to the display node1617Required nodes:18- display: a display node is required to initialize the lcd panel19This should be in the board dts.20- default-mode: a videomode within the display with timing parameters21as specified below.2223Optional properties:24- lcd-supply: Regulator for LCD supply voltage.2526Example:2728fb0: fb@00500000 {29compatible = "atmel,at91sam9g45-lcdc";30reg = <0x00500000 0x1000>;31interrupts = <23 3 0>;32pinctrl-names = "default";33pinctrl-0 = <&pinctrl_fb>;34display = <&display0>;35#address-cells = <1>;36#size-cells = <1>;3738};3940Example for fixed framebuffer memory:4142fb0: fb@00500000 {43compatible = "atmel,at91sam9263-lcdc";44reg = <0x00700000 0x1000 0x70000000 0x200000>;45[...]46};4748Atmel LCDC Display49-----------------------------------------------------50Required properties (as per of_videomode_helper):5152- atmel,dmacon: dma controller configuration53- atmel,lcdcon2: lcd controller configuration54- atmel,guard-time: lcd guard time (Delay in frame periods)55- bits-per-pixel: lcd panel bit-depth.5657Optional properties (as per of_videomode_helper):58- atmel,lcdcon-backlight: enable backlight59- atmel,lcdcon-backlight-inverted: invert backlight PWM polarity60- atmel,lcd-wiring-mode: lcd wiring mode "RGB" or "BRG"61- atmel,power-control-gpio: gpio to power on or off the LCD (as many as needed)6263Example:64display0: display {65bits-per-pixel = <32>;66atmel,lcdcon-backlight;67atmel,dmacon = <0x1>;68atmel,lcdcon2 = <0x80008002>;69atmel,guard-time = <9>;70atmel,lcd-wiring-mode = <1>;7172display-timings {73native-mode = <&timing0>;74timing0: timing0 {75clock-frequency = <9000000>;76hactive = <480>;77vactive = <272>;78hback-porch = <1>;79hfront-porch = <1>;80vback-porch = <40>;81vfront-porch = <1>;82hsync-len = <45>;83vsync-len = <1>;84};85};86};878889