Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24343
b: refs/heads/master
c: e842f1c
h: refs/heads/master
i:
  24341: 375eec1
  24339: a306236
  24335: 863975e
v: v3
  • Loading branch information
Richard Purdie authored and Linus Torvalds committed Mar 27, 2006
1 parent 094959d commit c36c2df
Show file tree
Hide file tree
Showing 6 changed files with 411 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fd507e2ff3a5adaccbefa05f4bc9f58f44e930db
refs/heads/master: e842f1c8ff8a88f290e26d1139e89aad02c4e0c3
6 changes: 6 additions & 0 deletions trunk/arch/arm/mach-pxa/generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,11 @@ void __init pxa_set_ficp_info(struct pxaficp_platform_data *info)
pxaficp_device.dev.platform_data = info;
}

static struct platform_device pxartc_device = {
.name = "sa1100-rtc",
.id = -1,
};

static struct platform_device *devices[] __initdata = {
&pxamci_device,
&udc_device,
Expand All @@ -329,6 +334,7 @@ static struct platform_device *devices[] __initdata = {
&pxaficp_device,
&i2c_device,
&i2s_device,
&pxartc_device,
};

static int __init pxa_init(void)
Expand Down
6 changes: 6 additions & 0 deletions trunk/arch/arm/mach-sa1100/generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,11 @@ void sa11x0_set_irda_data(struct irda_platform_data *irda)
sa11x0ir_device.dev.platform_data = irda;
}

static struct platform_device sa11x0rtc_device = {
.name = "sa1100-rtc",
.id = -1,
};

static struct platform_device *sa11x0_devices[] __initdata = {
&sa11x0udc_device,
&sa11x0uart1_device,
Expand All @@ -333,6 +338,7 @@ static struct platform_device *sa11x0_devices[] __initdata = {
&sa11x0pcmcia_device,
&sa11x0fb_device,
&sa11x0mtd_device,
&sa11x0rtc_device,
};

static int __init sa1100_init(void)
Expand Down
9 changes: 9 additions & 0 deletions trunk/drivers/rtc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,15 @@ config RTC_DRV_EP93XX
This driver can also be built as a module. If so, the module
will be called rtc-ep93xx.

config RTC_DRV_SA1100
tristate "SA11x0/PXA2xx"
depends on RTC_CLASS && (ARCH_SA1100 || ARCH_PXA)
help
If you say Y here you will get access to the real time clock
built into your SA11x0 or PXA2xx CPU.

To compile this driver as a module, choose M here: the
module will be called rtc-sa1100.

config RTC_DRV_TEST
tristate "Test driver/device"
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/rtc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ obj-$(CONFIG_RTC_DRV_DS1672) += rtc-ds1672.o
obj-$(CONFIG_RTC_DRV_PCF8563) += rtc-pcf8563.o
obj-$(CONFIG_RTC_DRV_RS5C372) += rtc-rs5c372.o
obj-$(CONFIG_RTC_DRV_EP93XX) += rtc-ep93xx.o
obj-$(CONFIG_RTC_DRV_SA1100) += rtc-sa1100.o
Loading

0 comments on commit c36c2df

Please sign in to comment.