* [PATCH] powerpc: Add use of Epson RTX-8581 RTC to GE Fanuc SBC610 dts
@ 2008-11-20 8:52 Martyn Welch
2008-12-03 15:46 ` Kumar Gala
0 siblings, 1 reply; 2+ messages in thread
From: Martyn Welch @ 2008-11-20 8:52 UTC (permalink / raw)
To: linuxppc-dev; +Cc: paulus
Adding use of newly added Epson RTX-8581 real-time clock driver to GE
Fanuc SBC610's dts file and adding driver to default config.
Signed-off-by: Martyn Welch <martyn.welch@gefanuc.com>
---
arch/powerpc/boot/dts/gef_sbc610.dts | 5 +++++
arch/powerpc/configs/86xx/gef_sbc610_defconfig | 8 ++++++--
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/boot/dts/gef_sbc610.dts b/arch/powerpc/boot/dts/gef_sbc610.dts
index c046190..ed230bf 100644
--- a/arch/powerpc/boot/dts/gef_sbc610.dts
+++ b/arch/powerpc/boot/dts/gef_sbc610.dts
@@ -146,6 +146,11 @@
interrupt-parent = <&mpic>;
dfsrr;
+ rtc@51 {
+ compatible = "epson,rx8581";
+ reg = <0x00000051>;
+ };
+
eti@6b {
compatible = "dallas,ds1682";
reg = <0x6b>;
diff --git a/arch/powerpc/configs/86xx/gef_sbc610_defconfig b/arch/powerpc/configs/86xx/gef_sbc610_defconfig
index 771b671..2e78ff4 100644
--- a/arch/powerpc/configs/86xx/gef_sbc610_defconfig
+++ b/arch/powerpc/configs/86xx/gef_sbc610_defconfig
@@ -1398,8 +1398,11 @@ CONFIG_USB_STORAGE=y
# CONFIG_ACCESSIBILITY is not set
# CONFIG_INFINIBAND is not set
# CONFIG_EDAC is not set
-CONFIG_RTC_LIB=m
-CONFIG_RTC_CLASS=m
+CONFIG_RTC_LIB=y
+CONFIG_RTC_CLASS=y
+CONFIG_RTC_HCTOSYS=y
+CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
+# CONFIG_RTC_DEBUG is not set
#
# RTC interfaces
@@ -1425,6 +1428,7 @@ CONFIG_RTC_INTF_DEV=y
# CONFIG_RTC_DRV_M41T80 is not set
# CONFIG_RTC_DRV_S35390A is not set
# CONFIG_RTC_DRV_FM3130 is not set
+CONFIG_RTC_DRV_RX8581=y
#
# SPI RTC drivers
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] powerpc: Add use of Epson RTX-8581 RTC to GE Fanuc SBC610 dts
2008-11-20 8:52 [PATCH] powerpc: Add use of Epson RTX-8581 RTC to GE Fanuc SBC610 dts Martyn Welch
@ 2008-12-03 15:46 ` Kumar Gala
0 siblings, 0 replies; 2+ messages in thread
From: Kumar Gala @ 2008-12-03 15:46 UTC (permalink / raw)
To: Martyn Welch; +Cc: linuxppc-dev, paulus
On Nov 20, 2008, at 2:52 AM, Martyn Welch wrote:
> Adding use of newly added Epson RTX-8581 real-time clock driver to GE
> Fanuc SBC610's dts file and adding driver to default config.
>
> Signed-off-by: Martyn Welch <martyn.welch@gefanuc.com>
> ---
>
> arch/powerpc/boot/dts/gef_sbc610.dts | 5 +++++
> arch/powerpc/configs/86xx/gef_sbc610_defconfig | 8 ++++++--
> 2 files changed, 11 insertions(+), 2 deletions(-)
applied to next
- k
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-12-03 15:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-20 8:52 [PATCH] powerpc: Add use of Epson RTX-8581 RTC to GE Fanuc SBC610 dts Martyn Welch
2008-12-03 15:46 ` Kumar Gala
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).