From: b-cousson@ti.com (Cousson, Benoit)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC/PATCH v2 10/13] dt: omap4: panda board: set clock freq for i2c devices
Date: Tue, 23 Aug 2011 21:03:55 +0200 [thread overview]
Message-ID: <4E53F99B.3060308@ti.com> (raw)
In-Reply-To: <4E537F6B.4060608@ti.com>
> From: G, Manjunath Kondaiah<manjugk@ti.com>
> To: devicetree-discuss at lists.ozlabs.org
> CC: linux-omap at vger.kernel.org, linux-arm-kernel at lists.infradead.org
>
>
> Update omap4 panda dts file with required clock frequencies
> for the i2c client devices existing on panda board.
>
> Signed-off-by: G, Manjunath Kondaiah<manjugk@ti.com>
> ---
> arch/arm/boot/dts/omap4-panda.dts | 16 ++++++++++++++++
> 1 files changed, 16 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/boot/dts/omap4-panda.dts
> b/arch/arm/boot/dts/omap4-panda.dts
> index c28aa95..6b831ca 100644
> --- a/arch/arm/boot/dts/omap4-panda.dts
> +++ b/arch/arm/boot/dts/omap4-panda.dts
> @@ -3,4 +3,20 @@
> / {
> model = "TI OMAP4 PandaBoard";
> compatible = "ti,omap4-panda", "ti,omap4430";
> +
> + i2c1 {
> + clock-frequency =<400000>;
> + };
> +
> + i2c2 {
> + clock-frequency =<400000>;
> + };
> +
> + i2c3 {
> + clock-frequency =<400000>;
> + };
> +
> + i2c4 {
> + clock-frequency =<400000>;
> + };
> };
Are you sure that this patch is setting the expected frequency?
I see 100kHz in the boot log even with that patch.
I took me some time to find the proper syntax, but in order to reference
an existing node, you have to use &i2c1 at the top level of the file. If
you check the output of the DTC compiler, you will see the property at
the proper node.
Benoit
next parent reply other threads:[~2011-08-23 19:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1314074021-25186-11-git-send-email-manjugk@ti.com>
[not found] ` <4E537F6B.4060608@ti.com>
2011-08-23 19:03 ` Cousson, Benoit [this message]
2011-08-23 19:15 ` [RFC/PATCH v2 10/13] dt: omap4: panda board: set clock freq for i2c devices G, Manjunath Kondaiah
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=4E53F99B.3060308@ti.com \
--to=b-cousson@ti.com \
--cc=linux-arm-kernel@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox