tmp_suning_uos_patched/arch/powerpc/platforms
David Gibson 22258fa40e [POWERPC] Enable RTC for Ebony and Walnut (v2)
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: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
2008-01-25 07:07:26 -06:00
..
8xx [POWERPC] 8xx: Use machine_*_initcall() hooks in platform code 2008-01-23 19:54:25 -06:00
40x [POWERPC] Enable RTC for Ebony and Walnut (v2) 2008-01-25 07:07:26 -06:00
44x [POWERPC] Enable RTC for Ebony and Walnut (v2) 2008-01-25 07:07:26 -06:00
52xx [POWERPC] mpc5200: Add generic support for simple MPC5200 based boards 2008-01-18 20:57:09 -07:00
82xx [POWERPC] 82xx: Embedded Planet EP8248E support 2008-01-23 19:34:43 -06:00
83xx [POWERPC] 83xx: MPC8313e RBD add NAND to device tree 2008-01-23 19:34:46 -06:00
85xx [POWERPC] 85xx: mpc85xx_ads: add in missing of_node_put() 2008-01-23 19:34:18 -06:00
86xx [POWERPC] 86xx: MPC8641 HPCN - call of_platform_bus_probe() 2008-01-23 19:35:02 -06:00
cell Merge branch 'linux-2.6' 2008-01-24 10:07:21 +11:00
celleb [POWERPC] cell: Use machine_*_initcall() hooks in platform code 2008-01-17 14:57:15 +11:00
chrp [POWERPC] CHRP: Fix possible NULL pointer dereference 2007-12-20 17:13:34 +11:00
embedded6xx [POWERPC] Add initial iomega StorCenter board port. 2008-01-23 19:54:36 -06:00
iseries [POWERPC] iSeries: eliminate pci_dn bussubno 2008-01-17 14:57:05 +11:00
maple [POWERPC] Use <linux/of_{platform, device}.h> and not <asm/...> variants. 2008-01-17 14:58:57 +11:00
pasemi [POWERPC] pasemi: Move electra-ide to pata_of_platform 2008-01-15 10:26:45 -06:00
powermac [POWERPC] powermac: Use machine_*_initcall() hooks in platform code 2008-01-17 14:57:14 +11:00
prep [POWERPC] Split several platforms into their respective Kconfig file 2007-03-22 10:07:32 -05:00
ps3 Merge branch 'linux-2.6' 2008-01-24 10:07:21 +11:00
pseries Merge branch 'linux-2.6' 2008-01-24 10:07:21 +11:00
fsl_uli1575.c [POWERPC] Fix interrupt routing and setup of ULI M1575 on FSL boards 2007-08-17 13:22:16 -05:00
Kconfig [POWERPC] Enable RTC for Ebony and Walnut (v2) 2008-01-25 07:07:26 -06:00
Kconfig.cputype [POWERPC] 4xx: Add early udbg support for 40x processors 2007-12-23 13:13:03 -06:00
Makefile [POWERPC] Walnut board support 2007-09-07 07:51:24 -05:00