Re: GLAN Tank RTC

2007-11-29 Thread Martin Michlmayr
* Gordon Farquharson [EMAIL PROTECTED] [2007-11-28 22:05]:
 Are there patches for the GLAN Tank RTC?

Good question.  I found a 2.6.10-iop1 bootlog that suggests the GLAN
Tank has a RS5C372A chip.  If this is the case, adding support would
be easy (now that you can load i2c devices from platform code).

I'll send you a patch to test.
-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: GLAN Tank RTC

2007-11-29 Thread kinneko
2007/11/29, Gordon Farquharson [EMAIL PROTECTED]:
 Hi Martin

 Are there patches for the GLAN Tank RTC?

see here.

http://pub.ne.jp/mephisto_tres/?entry_id=982336

FYI: power down patch
http://pub.ne.jp/mephisto_tres/?entry_id=1002569


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: GLAN Tank RTC

2007-11-29 Thread Martin Michlmayr
* kinneko [EMAIL PROTECTED] [2007-11-29 18:17]:
  Are there patches for the GLAN Tank RTC?
 see here.
 http://pub.ne.jp/mephisto_tres/?entry_id=982336

Right, seeing this patch I remember we discussed RTC before.  Those
drivers/rtc/rtc-rs5c372.c changes would need to be discussed upstream.
-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: GLAN Tank RTC

2007-11-29 Thread Gordon Farquharson
Hi Martin

On Nov 29, 2007 2:05 AM, Martin Michlmayr [EMAIL PROTECTED] wrote:
 * Gordon Farquharson [EMAIL PROTECTED] [2007-11-28 22:05]:
  Are there patches for the GLAN Tank RTC?

 Good question.  I found a 2.6.10-iop1 bootlog that suggests the GLAN
 Tank has a RS5C372A chip.  If this is the case, adding support would
 be easy (now that you can load i2c devices from platform code).

BTW, with 2.6.22-2-iop32x, I see

rtc-rs5c372 0-0032: assuming rs5c372b
rtc-rs5c372 0-0032: rs5c372b found, 24hr, driver version 0.4
rtc-rs5c372 0-0032: rtc core: registered rtc-rs5c372 as rtc0

but not with 2.6.23. So I guess the patch for the RTC is only required
for 2.6.23.

Gordon

-- 
Gordon Farquharson
GnuPG Key ID: 32D6D676


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: GLAN Tank RTC

2007-11-29 Thread Gordon Farquharson
On Nov 28, 2007 11:25 PM, kinneko [EMAIL PROTECTED] wrote:
 2007/11/29, Gordon Farquharson [EMAIL PROTECTED]:
  Hi Martin
 
  Are there patches for the GLAN Tank RTC?

 see here.

 http://pub.ne.jp/mephisto_tres/?entry_id=982336

 FYI: power down patch
 http://pub.ne.jp/mephisto_tres/?entry_id=1002569

Thanks very much for the links. Do you have plans to submit these
patches upstream. If not, would you mind if Martin or I did this?

Thanks.

Gordon

-- 
Gordon Farquharson
GnuPG Key ID: 32D6D676


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: GLAN Tank RTC

2007-11-29 Thread Martin Michlmayr
* Gordon Farquharson [EMAIL PROTECTED] [2007-11-29 07:20]:
 rtc-rs5c372 0-0032: assuming rs5c372b
 rtc-rs5c372 0-0032: rs5c372b found, 24hr, driver version 0.4
 rtc-rs5c372 0-0032: rtc core: registered rtc-rs5c372 as rtc0
 
 but not with 2.6.23. So I guess the patch for the RTC is only required
 for 2.6.23.

Can you test the patch I sent you with 2.6.23?  Maybe the changes to
the rs5c372 driver aren't needed anymore.
-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]