Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb71f99f authored by Russell King's avatar Russell King Committed by Russell King
Browse files

[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: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 0ed8f210
Loading
Loading
Loading
Loading
+5 −3
Original line number Original line Diff line number Diff line
@@ -207,10 +207,12 @@ config RTC_DRV_PCF8563


config RTC_DRV_PCF8583
config RTC_DRV_PCF8583
	tristate "Philips PCF8583"
	tristate "Philips PCF8583"
	depends on RTC_CLASS && I2C
	depends on RTC_CLASS && I2C && ARCH_RPC
	help
	help
	  If you say yes here you get support for the
	  If you say yes here you get support for the Philips PCF8583
	  Philips PCF8583 RTC chip.
	  RTC chip found on Acorn RiscPCs.  This driver supports the
	  platform specific method of retrieving the current year from
	  the RTC's SRAM.


	  This driver can also be built as a module. If so, the module
	  This driver can also be built as a module. If so, the module
	  will be called rtc-pcf8583.
	  will be called rtc-pcf8583.
+1 −1
Original line number Original line Diff line number Diff line
@@ -40,7 +40,7 @@ struct pcf8583 {
#define CTRL_ALARM	0x02
#define CTRL_ALARM	0x02
#define CTRL_TIMER	0x01
#define CTRL_TIMER	0x01


static unsigned short normal_i2c[] = { I2C_CLIENT_END };
static unsigned short normal_i2c[] = { 0x50, I2C_CLIENT_END };


/* Module parameters */
/* Module parameters */
I2C_CLIENT_INSMOD;
I2C_CLIENT_INSMOD;