From: "Cédric Le Goater" <clg@kaod.org>
To: Joel Stanley <joel@jms.id.au>
Cc: OpenBMC Maillist <openbmc@lists.ozlabs.org>,
Andrew Jeffery <andrew@aj.id.au>
Subject: Re: [PATCH qemu 2/3] ast2400: add a rtc device on I2C bus 0
Date: Wed, 18 May 2016 15:46:11 +0200 [thread overview]
Message-ID: <573C7223.10002@kaod.org> (raw)
In-Reply-To: <CACPK8XdKaan0TN38dhonHWs=mZhn=0=Oqw10Wcqg6h7J_4Xtzg@mail.gmail.com>
On 05/18/2016 03:33 PM, Joel Stanley wrote:
> Hey Cedric,
>
> On Wed, May 18, 2016 at 4:55 AM, Cédric Le Goater <clg@kaod.org> wrote:
>> The palmetto platform has a ds3231 RTC device but not qemu. Let's use
>> a ds1338 instead.
>>
>> The aspeed-bmc-opp-palmetto dts file needs to be changed consequently
>> with :
>>
>> rtc@68 {
>> compatible = "dallas,ds1338";
>> reg = <0x68>;
>> };
>
> Please see my comments for the tmp device.
>
> How much does the register layout differ between the 1338 and the 3231?
Will tell you soon.
But on my palmetto running OpenBMC, I see :
[ 5.630000] rtc-ds1307: probe of 0-0068 failed with error -5
So do we really have a RTC available on this bus ?
root@palmetto:~# i2cdetect -y 0
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: UU -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
There are plenty of other devices on the other busses though, but
none with Ox68.
There is also a RTC directly connected to APB bus. I guess we need a
model for this one also.
Cheers,
C.
next prev parent reply other threads:[~2016-05-18 16:13 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-17 19:24 [PATCH qemu 0/3] add i2c support Cédric Le Goater
2016-05-17 19:25 ` [PATCH qemu 1/3] i2c: add aspeed i2c crontroller Cédric Le Goater
2016-05-18 13:26 ` Joel Stanley
2016-05-19 16:56 ` Cédric Le Goater
2016-05-19 1:41 ` Andrew Jeffery
2016-05-19 16:54 ` Cédric Le Goater
2016-05-20 6:43 ` Andrew Jeffery
2016-05-17 19:25 ` [PATCH qemu 2/3] ast2400: add a rtc device on I2C bus 0 Cédric Le Goater
2016-05-18 13:33 ` Joel Stanley
2016-05-18 13:46 ` Cédric Le Goater [this message]
2016-05-18 14:06 ` Joel Stanley
2016-05-17 19:25 ` [PATCH qemu 3/3] ast2400: add a temp sensor device on I2C bus 3 Cédric Le Goater
2016-05-18 13:29 ` Joel Stanley
2016-05-18 13:35 ` Cédric Le Goater
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=573C7223.10002@kaod.org \
--to=clg@kaod.org \
--cc=andrew@aj.id.au \
--cc=joel@jms.id.au \
--cc=openbmc@lists.ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.