1. 25 1月, 2008 1 次提交
    • D
      [POWERPC] Enable RTC for Ebony and Walnut (v2) · 22258fa4
      David Gibson 提交于
      This patch extends the Ebony and Walnut platform code to instantiate
      the existing ds1742 RTC class driver for the DS1743 RTC/NVRAM chip
      found on both those boards.  The patch uses a helper function to scan
      the device tree and instantiate the appropriate platform_device based
      on it, so it should be easy to extend for other boards which have mmio
      mapped RTC chips.
      
      Along with this, the device tree binding for the ds1743 chips is
      tweaked, based on the existing DS1385 OF binding found at:
      	http://playground.sun.com/1275/proposals/Closed/Remanded/Accepted/346-it.txt
      Although that document covers the NVRAM portion of the chip, whereas
      here we're interested in the RTC portion, so it's not entirely clear
      if that's a good model.
      
      This implements only RTC class driver support - that is /dev/rtc0, not
      /dev/rtc, and the low-level get/set time callbacks remain
      unimplemented.  That means in order to get at the clock you will
      either need a modified version of hwclock which will look at
      /dev/rtc0, or you'll need to configure udev to symlink rtc0 to rtc.
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: NJosh Boyer <jwboyer@linux.vnet.ibm.com>
      22258fa4
  2. 25 12月, 2007 1 次提交
  3. 24 12月, 2007 2 次提交
  4. 19 11月, 2007 1 次提交
  5. 11 10月, 2007 1 次提交
  6. 17 5月, 2007 1 次提交
    • D
      [POWERPC] Small fixes for the Ebony device tree · c72ea777
      David Gibson 提交于
      This patch corrects a number of minor errors in the Ebony device tree:
      	- Missing (given as 0) cache sizes are added to the CPU node
      	- device_type properties are removed from nodes which don't
      have a reasonably well defined device_type binding.  This does require
      a very small code change to locate the busses to be probed for
      of_platform devices by 'compatible' instead of 'device_type'.
      	- A node is added for the SRAM controller
      	- The unit address of the small-flash node is adjusted to
      correctly reflect the reg property.
      	- device_type values for the MAL and ZMII are updated to
      reflected more up-to-date versions of the binding.
      	- An incorrect offset in the partition map for the large-flash
      node is corrected.
      	- Some redundant values, already commented out are removed
      entirely.
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      c72ea777
  7. 08 5月, 2007 1 次提交