The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/display/atmel,lcdc.txt

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 Atmel LCDC Framebuffer
    2 -----------------------------------------------------
    3 
    4 Required properties:
    5 - compatible :
    6         "atmel,at91sam9261-lcdc" , 
    7         "atmel,at91sam9263-lcdc" ,
    8         "atmel,at91sam9g10-lcdc" ,
    9         "atmel,at91sam9g45-lcdc" ,
   10         "atmel,at91sam9g45es-lcdc" ,
   11         "atmel,at91sam9rl-lcdc" ,
   12 - reg : Should contain 1 register ranges(address and length).
   13         Can contain an additional register range(address and length)
   14         for fixed framebuffer memory. Useful for dedicated memories.
   15 - interrupts : framebuffer controller interrupt
   16 - display: a phandle pointing to the display node
   17 
   18 Required nodes:
   19 - display: a display node is required to initialize the lcd panel
   20         This should be in the board dts.
   21 - default-mode: a videomode within the display with timing parameters
   22         as specified below.
   23 
   24 Optional properties:
   25 - lcd-supply: Regulator for LCD supply voltage.
   26 
   27 Example:
   28 
   29         fb0: fb@00500000 {
   30                 compatible = "atmel,at91sam9g45-lcdc";
   31                 reg = <0x00500000 0x1000>;
   32                 interrupts = <23 3 0>;
   33                 pinctrl-names = "default";
   34                 pinctrl-0 = <&pinctrl_fb>;
   35                 display = <&display0>;
   36                 #address-cells = <1>;
   37                 #size-cells = <1>;
   38 
   39         };
   40 
   41 Example for fixed framebuffer memory:
   42 
   43         fb0: fb@00500000 {
   44                 compatible = "atmel,at91sam9263-lcdc";
   45                 reg = <0x00700000 0x1000 0x70000000 0x200000>;
   46                 [...]
   47         };
   48 
   49 Atmel LCDC Display
   50 -----------------------------------------------------
   51 Required properties (as per of_videomode_helper):
   52 
   53  - atmel,dmacon: dma controller configuration
   54  - atmel,lcdcon2: lcd controller configuration
   55  - atmel,guard-time: lcd guard time (Delay in frame periods)
   56  - bits-per-pixel: lcd panel bit-depth.
   57 
   58 Optional properties (as per of_videomode_helper):
   59  - atmel,lcdcon-backlight: enable backlight
   60  - atmel,lcdcon-backlight-inverted: invert backlight PWM polarity
   61  - atmel,lcd-wiring-mode: lcd wiring mode "RGB" or "BRG"
   62  - atmel,power-control-gpio: gpio to power on or off the LCD (as many as needed)
   63 
   64 Example:
   65         display0: display {
   66                 bits-per-pixel = <32>;
   67                 atmel,lcdcon-backlight;
   68                 atmel,dmacon = <0x1>;
   69                 atmel,lcdcon2 = <0x80008002>;
   70                 atmel,guard-time = <9>;
   71                 atmel,lcd-wiring-mode = <1>;
   72 
   73                 display-timings {
   74                         native-mode = <&timing0>;
   75                         timing0: timing0 {
   76                                 clock-frequency = <9000000>;
   77                                 hactive = <480>;
   78                                 vactive = <272>;
   79                                 hback-porch = <1>;
   80                                 hfront-porch = <1>;
   81                                 vback-porch = <40>;
   82                                 vfront-porch = <1>;
   83                                 hsync-len = <45>;
   84                                 vsync-len = <1>;
   85                         };
   86                 };
   87         };

Cache object: 6aa91bf93023a2863893705a1c2bd17f


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.