Changeset 3179


Ignore:
Timestamp:
Aug 16, 2012, 4:01:07 AM (3 years ago)
Author:
wmb
Message:

OLPC ARM - Added properties to display and DCON device nodes for the benefit of the Linux pxa168fb.c driver.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpu/arm/olpc/lcd.fth

    r3112 r3179  
    66   my-address my-space h# 1000 reg
    77
     8   " mrvl,pxa168fb" +compatible
     9
     10   " LCDCLK" " clock-names" string-property
    811   " /pmua" encode-phandle 1 encode-int encode+ " clocks" property
    912   d# 41 " interrupts" integer-property
  • dev/olpc/dcon/mmp2dcon.fth

    r3049 r3179  
    1111
    1212new-device
    13 " dcon" device-name
    14 " olpc,xo1-dcon" +compatible
    15 " olpc,xo1.75-dcon" +compatible
     13   " dcon" device-name
     14   " mrvl,dumb-panel" +compatible
     15   " olpc,xo1-dcon" +compatible
     16   " olpc,xo1.75-dcon" +compatible
     17
     18   " OLPC DCON panel" model
     19   : +i  encode-int encode+  ;
     20
     21   decimal
     22   0 0 encode-bytes
     23   \ xres,  yres, refresh,       clockhz,  left, right,  top, bottom, hsync, vsync, flags, widthmm, heightmm
     24   1200 +i 900 +i    50 +i  56,930,000 +i  24 +i  26 +i  5 +i    4 +i  6 +i    3 +i   0 +i   152 +i   115 +i
     25   hex
     26   " linux,timing-modes" property
     27
     28   " 1200x900@50"  " linux,mode-names" string-property
     29
     30   h# 2000000d " lcd-dumb-ctrl-regval" integer-property
     31   h# 08001100 " lcd-pn-ctrl0-regval" integer-property
    1632finish-device
    1733
    1834stand-init:
    1935   has-dcon-ram?  0=  if
    20       " /dcon? find-device
     36      " /dcon" find-device
    2137      0 0 " no-freeze" property
    2238      device-end
Note: See TracChangeset for help on using the changeset viewer.