diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2007-09-20 06:42:13 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2007-10-04 12:03:00 -0400 |
commit | 0438c28fa40c1145e8322f91feb9e6fed3301d94 (patch) | |
tree | 995eecd959e4985abaa8e057ca99ddab5a8065bc | |
parent | 210805e219f781d0a0efbdbe41d59f6fccef529c (diff) |
[POWERPC] fsl_soc: rtc-ds1307 support
Add support for the I2C devices handled by the rtc-ds1307 driver to
of_register_i2c_devices.
Cc: G. Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
-rw-r--r-- | arch/powerpc/sysdev/fsl_soc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/powerpc/sysdev/fsl_soc.c b/arch/powerpc/sysdev/fsl_soc.c index ef880cb54c1d..4a1645691fb1 100644 --- a/arch/powerpc/sysdev/fsl_soc.c +++ b/arch/powerpc/sysdev/fsl_soc.c | |||
@@ -331,6 +331,12 @@ static struct i2c_driver_device i2c_devices[] __initdata = { | |||
331 | {"ricoh,rs5c372b", "rtc-rs5c372", "rs5c372b",}, | 331 | {"ricoh,rs5c372b", "rtc-rs5c372", "rs5c372b",}, |
332 | {"ricoh,rv5c386", "rtc-rs5c372", "rv5c386",}, | 332 | {"ricoh,rv5c386", "rtc-rs5c372", "rv5c386",}, |
333 | {"ricoh,rv5c387a", "rtc-rs5c372", "rv5c387a",}, | 333 | {"ricoh,rv5c387a", "rtc-rs5c372", "rv5c387a",}, |
334 | {"dallas,ds1307", "rtc-ds1307", "ds1307",}, | ||
335 | {"dallas,ds1337", "rtc-ds1307", "ds1337",}, | ||
336 | {"dallas,ds1338", "rtc-ds1307", "ds1338",}, | ||
337 | {"dallas,ds1339", "rtc-ds1307", "ds1339",}, | ||
338 | {"dallas,ds1340", "rtc-ds1307", "ds1340",}, | ||
339 | {"stm,m41t00", "rtc-ds1307", "m41t00"}, | ||
334 | }; | 340 | }; |
335 | 341 | ||
336 | static int __init of_find_i2c_driver(struct device_node *node, | 342 | static int __init of_find_i2c_driver(struct device_node *node, |