Skip to content

Commit

Permalink
[ARM] rtc-pcf8583: Final fixes for this RTC on RiscPC
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Russell King authored and Russell King committed Mar 4, 2007
1 parent 0ed8f21 commit bb71f99
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions drivers/rtc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -207,10 +207,12 @@ config RTC_DRV_PCF8563

config RTC_DRV_PCF8583
tristate "Philips PCF8583"
depends on RTC_CLASS && I2C
depends on RTC_CLASS && I2C && ARCH_RPC
help
If you say yes here you get support for the
Philips PCF8583 RTC chip.
If you say yes here you get support for the Philips PCF8583
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
will be called rtc-pcf8583.
Expand Down
2 changes: 1 addition & 1 deletion drivers/rtc/rtc-pcf8583.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ struct pcf8583 {
#define CTRL_ALARM 0x02
#define CTRL_TIMER 0x01

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

/* Module parameters */
I2C_CLIENT_INSMOD;
Expand Down

0 comments on commit bb71f99

Please sign in to comment.