LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 08-17-2010, 05:40 AM   #1
sjremya
LQ Newbie
 
Registered: Aug 2010
Location: India
Distribution: open suse
Posts: 26

Rep: Reputation: 1
Need to upgrade the kernel with RTC ISL1221


Hi all

i m a beginner in device drivers.

I m using linux kernel 2-6-20 , which is for our application with AT91SAM9260 processor.

I would like to use an RTC to update my system time, the chip is RTC - ISL1221 from intersil.

This kernel is supporting ISL 1208 but not ISL 1221 . [ I could see few options in kernel configuration time, but ISL 1221 is not present in the device drivers-> real time clock -> RTC drivers list. ]


HOW CAN I CONFIGURE THIS KERNEL FOR THIS NEW RTC , if i write a driver for this?

Please help me out

Regards

SJR
 
Old 08-17-2010, 06:05 AM   #2
sjremya
LQ Newbie
 
Registered: Aug 2010
Location: India
Distribution: open suse
Posts: 26

Original Poster
Rep: Reputation: 1
hi all


I could find a solution for this ....




I have added the new RTC configuration in /linux/drivers/rtc/Kconfig as shown below, and now i am able to configure the kernel with the new chip

<
config RTC_DRV_ISL1221
tristate "Intersil 1221"
depends on RTC_CLASS && I2C
help
If you say yes here you get support for the
Intersil 1221 RTC chip.
This driver can also be built as a module. If so, the module
will be called rtc-isl1221.
>



Please correct me if I m doing any thing wrong ....

thanks in advance

SJR
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help On RTC ! anniedeepa Linux - Newbie 2 11-20-2009 11:26 PM
RTC . raajeshjt Linux - Embedded & Single-board computer 1 11-05-2009 07:39 PM
RTC Alarm wakes up, even while BIOS has RTC alarm disabled mastermind2501 Linux - Newbie 2 12-22-2008 03:32 PM
Packet Injection / RTC Kernel Question nomb Linux - Wireless Networking 1 09-06-2007 09:03 AM
What first upgrade kernel or upgrade slack 10.0 to current Kelean Slackware 7 01-16-2005 06:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 05:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration