From: Sergei Shtylyov <sshtylyov@ru•mvista.com>
To: Joakim Tjernlund <joakim.tjernlund@transmode•se>
Cc: linuxppc-dev@ozlabs•org, i2c@lm-sensors•org
Subject: Re: [PATCH 2/4] powerpc: Add the ds1374 RTC to the mpc8349emds devicetree.
Date: Fri, 08 Dec 2006 00:39:13 +0300 [thread overview]
Message-ID: <45788A01.1020300@ru.mvista.com> (raw)
In-Reply-To: <008e01c71a47$430d1700$020120ac@Jocke>
Hello.
Joakim Tjernlund wrote:
>>Signed-off-by: Scott Wood <scottwood@freescale•com>
>>---
>> arch/powerpc/boot/dts/mpc8349emds.dts | 10 ++++++++++
>> 1 files changed, 10 insertions(+), 0 deletions(-)
>>diff --git a/arch/powerpc/boot/dts/mpc8349emds.dts
>>b/arch/powerpc/boot/dts/mpc8349emds.dts
>>index 50f4886..889a5b8 100644
>>--- a/arch/powerpc/boot/dts/mpc8349emds.dts
>>+++ b/arch/powerpc/boot/dts/mpc8349emds.dts
>>@@ -55,12 +55,22 @@
>> };
>>
>> i2c@3000 {
>>+ #address-cells = <1>;
>>+ #size-cells = <0>;
>> device_type = "i2c";
>> compatible = "fsl-i2c";
>> reg = <3000 100>;
>> interrupts = <e 8>;
>> interrupt-parent = <700>;
>> dfsrr;
>>+
>>+ rtc@68 {
>>+ device_type = "rtc";
>>+ compatible = "ds1374";
>>+ reg = <68>;
>>+ interrupts = <13 8>;
>>+ interrupt-parent = <700>;
>>+ };
>> };
>>
>> i2c@3100 {
>>--
>>1.4.2.3
> Nice, I have a question/request though:
> I have a ds1337 I2C RTC and to make the current rtc-ds1307 do
> the right thing, I need to pass module param
> rtc-ds1307.force=0,0x68
> I would need some way to tell rtc-ds1307 that I have
> a ds1337 device from my dts spec.
That must be achievable by specifiying the "model" property...
> Jocke
WBR, Sergei
prev parent reply other threads:[~2006-12-07 21:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-07 17:34 [PATCH 2/4] powerpc: Add the ds1374 RTC to the mpc8349emds device tree Scott Wood
2006-12-07 21:32 ` [PATCH 2/4] powerpc: Add the ds1374 RTC to the mpc8349emds devicetree Joakim Tjernlund
2006-12-07 21:39 ` Sergei Shtylyov [this message]
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=45788A01.1020300@ru.mvista.com \
--to=sshtylyov@ru$(echo .)mvista.com \
--cc=i2c@lm-sensors$(echo .)org \
--cc=joakim.tjernlund@transmode$(echo .)se \
--cc=linuxppc-dev@ozlabs$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox