[ARM] rtc-pcf8583: Final fixes for this RTC on RiscPC

Replace the I2C bus address, as per drivers/acorn/char/pcf8583.c.

Also, since this driver also contains Acorn RiscPC specific code
for obtaining the current year from the SRAM (and updating the
platform specific checksum when writing new data back) this is
NOT a platform independent driver.

Document it as such, and update the dependencies to reflect this
fact.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

authored by Russell King and committed by Russell King bb71f99f 0ed8f210

+6 -4
+5 -3
drivers/rtc/Kconfig
··· 207 208 config RTC_DRV_PCF8583 209 tristate "Philips PCF8583" 210 - depends on RTC_CLASS && I2C 211 help 212 - If you say yes here you get support for the 213 - Philips PCF8583 RTC chip. 214 215 This driver can also be built as a module. If so, the module 216 will be called rtc-pcf8583.
··· 207 208 config RTC_DRV_PCF8583 209 tristate "Philips PCF8583" 210 + depends on RTC_CLASS && I2C && ARCH_RPC 211 help 212 + If you say yes here you get support for the Philips PCF8583 213 + RTC chip found on Acorn RiscPCs. This driver supports the 214 + platform specific method of retrieving the current year from 215 + the RTC's SRAM. 216 217 This driver can also be built as a module. If so, the module 218 will be called rtc-pcf8583.
+1 -1
drivers/rtc/rtc-pcf8583.c
··· 40 #define CTRL_ALARM 0x02 41 #define CTRL_TIMER 0x01 42 43 - static unsigned short normal_i2c[] = { I2C_CLIENT_END }; 44 45 /* Module parameters */ 46 I2C_CLIENT_INSMOD;
··· 40 #define CTRL_ALARM 0x02 41 #define CTRL_TIMER 0x01 42 43 + static unsigned short normal_i2c[] = { 0x50, I2C_CLIENT_END }; 44 45 /* Module parameters */ 46 I2C_CLIENT_INSMOD;