Changeset 2175


Ignore:
Timestamp:
Feb 28, 2011, 6:36:42 PM (4 years ago)
Author:
wmb
Message:

From Daniel Drake:
In Linux we plan to use the device tree for probing the DCON, battery, and
XO-1 RTC drivers.

Add the required information using the naming scheme suggested by
Grant Likely.

The dcon node and battery's compatible property apply for both XO-1 and
XO-1.5. The RTC's compatible property is only added for XO-1, in order
to trigger the XO-1-specific RTC wakeup driver.

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • cpu/x86/pc/olpc/devices.fth

    r2015 r2175  
    152152   " /rtc" open-dev  clock-node ! 
    153153; 
     154 
     155\ Linux identifies XO-1 RTC with EC-based wakeup capabilities through this 
     156\ device property. 
     157dev /rtc 
     158" olpc,xo1-rtc" +compatible 
     159dend 
    154160 
    155161fload ${BP}/cpu/x86/pc/cpunode.fth 
  • dev/olpc/dcon/dcon.fth

    r1404 r2175  
    11\ See license at end of file 
    2 \ " dcon" device-name 
     2 
     3new-device 
     4" dcon" device-name 
     5" olpc,xo1-dcon" +compatible 
     6finish-device 
    37 
    48\ DCON internal registers, accessed via I2C 
  • dev/olpc/dcon/viadcon.fth

    r1867 r2175  
    11\ See license at end of file 
    2 \ " dcon" device-name 
     2 
     3new-device 
     4" dcon" device-name 
     5" olpc,xo1-dcon" +compatible 
     6finish-device 
    37 
    48\ DCON internal registers, accessed via I2C 
  • dev/olpc/kb3700/batstat.fth

    r2062 r2175  
    146146new-device 
    147147" battery" device-name 
     148" olpc,xo1-battery" +compatible 
     149 
    1481500 0 reg  \ Needed so test-all will run the selftest 
    149151 
Note: See TracChangeset for help on using the changeset viewer.