From: Scott Wood <scottwood@freescale.com>
To: Aggrwal Poonam-B10812 <B10812@freescale.com>
Cc: Wood Scott-B07421 <B07421@freescale.com>,
"devicetree-discuss@lists.ozlabs.org"
<devicetree-discuss@lists.ozlabs.org>,
"linuxppc-dev@lists.ozlabs.org" <linuxppc-dev@lists.ozlabs.org>,
Singh Sandeep-B37400 <B37400@freescale.com>
Subject: Re: [PATCH] Device Tree Bindings for Freescale TDM controller
Date: Mon, 19 Mar 2012 12:32:36 -0500 [thread overview]
Message-ID: <4F676DB4.1080705@freescale.com> (raw)
In-Reply-To: <ACB6D0C0104CFF42A45A5D82A0DD4F3D09D518@039-SN2MPN1-013.039d.mgd.msft.net>
On 03/17/2012 02:33 AM, Aggrwal Poonam-B10812 wrote:
>>> + - compatible
>>> + Usage: required
>>> + Value type: <string>
>>> + Definition: Should contain "fsl,mpc8315-tdm".
>>> + So mpc8313 will have compatible = "fsl,mpc8315-tdm";
>>> + p1010 will have compatible "fsl,p1010-tdm", "fsl,mpc8315-tdm";
>>
>> Shouldn't mpc8313 have:
>> compatible = "fsl,mpc8313-tdm", "fsl,mpc8315-tdm"?
>>
>> I thought we were going to use 8313 as the canonical implementation, not
>> 8315.
> MPC8315 was the first FSL platform to have this controller.
> MPC8313 does not have TDM.
OK, so no example for mpc8313 then. :-)
>> Will this frequency ever need to be > 4GHz?
> Don't think so, at max this will be CCB, not sure if CCB on our platforms may get bigger than 4G ever.
Still, I think we should always make clock-frequency properties be 32/64
as the ePAPR describes, just in case.
>> Might want to specify as u32 or u64, as ePAPR suggests.
> Means Value type: <u32 or u64>?
Yes.
> In this case the driver must always use 64bit data structure to read this. Is this correct?
No, you'd use of_read_number(). Maybe factor out an of_get_frequency().
-Scott
prev parent reply other threads:[~2012-03-19 17:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-16 1:30 [PATCH] Device Tree Bindings for Freescale TDM controller Poonam Aggrwal
2012-03-16 18:29 ` Scott Wood
2012-03-17 7:33 ` Aggrwal Poonam-B10812
2012-03-17 16:04 ` Tabi Timur-B04825
2012-03-17 16:07 ` Tabi Timur-B04825
2012-03-19 17:27 ` Scott Wood
2012-03-19 17:32 ` Timur Tabi
2012-03-19 17:55 ` Scott Wood
2012-03-19 17:32 ` Scott Wood [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=4F676DB4.1080705@freescale.com \
--to=scottwood@freescale.com \
--cc=B07421@freescale.com \
--cc=B10812@freescale.com \
--cc=B37400@freescale.com \
--cc=devicetree-discuss@lists.ozlabs.org \
--cc=linuxppc-dev@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).