From: Grant Likely <grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org>
To: Rob Herring <robherring2-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org,
kgene.kim-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org,
linaro-dev-cunTk1MwBs8s++Sfvej+rw@public.gmane.org,
patches-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org
Subject: Re: [PATCH 2/4] ARM: DT: Add a basic dts file for SMDKV310 machine
Date: Sat, 12 Feb 2011 23:11:42 -0700 [thread overview]
Message-ID: <20110213061142.GC17375@angua.secretlab.ca> (raw)
In-Reply-To: <4D5046DC.8010503-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
On Mon, Feb 07, 2011 at 01:24:12PM -0600, Rob Herring wrote:
> David, Thomas,
>
> On 02/06/2011 06:04 PM, David Gibson wrote:
> >On Sun, Feb 06, 2011 at 06:47:28PM +0530, Thomas Abraham wrote:
> >>This patch adds a basic dts file for Samsung's SMDKV310 machine.
> >>
> >>Signed-off-by: Thomas Abraham<thomas.abraham-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
> >>---
> >> arch/arm/mach-s5pv310/mach-smdkv310.dts | 38 +++++++++++++++++++++++++++++++
> >> 1 files changed, 38 insertions(+), 0 deletions(-)
> >> create mode 100755 arch/arm/mach-s5pv310/mach-smdkv310.dts
> >>
> >>diff --git a/arch/arm/mach-s5pv310/mach-smdkv310.dts b/arch/arm/mach-s5pv310/mach-smdkv310.dts
> >>new file mode 100755
> >>index 0000000..74d80bf
> >>--- /dev/null
> >>+++ b/arch/arm/mach-s5pv310/mach-smdkv310.dts
> >>@@ -0,0 +1,38 @@
> >>+/dts-v1/;
> >>+
> >>+/ {
> >>+ model = "smdkv310";
> >>+ compatible = "samsung,smdkv310";
> >>+ #address-cells =<1>;
> >>+ #size-cells =<1>;
> >>+
> >>+ memory {
> >>+ device_type = "memory";
> >>+ reg =<0x40000000 0x08000000>;
> >>+ };
> >
> >Uh.. where are the cpus?
> >
>
> But for ARM, all the details of the cpu are probe-able. So what
> would we gain by putting cpu info in the DTS?
You can detect what cpus are present, but you cannot necessarily
detect if all cpus are available (for instance in a multicore AMP
system where some cores run a different operating environment. It is
also always good practice to have the structure of the device tree
fully populated even if the OS doesn't currently use it because it
provides points that (for instance) cpu affinity or non-probeable
configuration can be hung off of.
next prev parent reply other threads:[~2011-02-13 6:11 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-06 13:17 [PATCH 0/4] Add basic device tree support for Samsung's SMDKV310 machine Thomas Abraham
[not found] ` <1296998250-21856-1-git-send-email-thomas.abraham-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2011-02-06 13:17 ` [PATCH 1/4] ARM: DT: Add SMDKV310 machine with device tree support Thomas Abraham
[not found] ` <1296998250-21856-2-git-send-email-thomas.abraham-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2011-02-07 6:41 ` Grant Likely
2011-02-07 15:15 ` Arnd Bergmann
2011-02-06 13:17 ` [PATCH 2/4] ARM: DT: Add a basic dts file for SMDKV310 machine Thomas Abraham
[not found] ` <1296998250-21856-3-git-send-email-thomas.abraham-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2011-02-07 0:04 ` David Gibson
2011-02-07 19:24 ` Rob Herring
[not found] ` <4D5046DC.8010503-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-02-07 19:34 ` Meador Inge
2011-02-13 6:11 ` Grant Likely [this message]
2011-02-07 6:54 ` Grant Likely
2011-02-06 13:17 ` [PATCH 3/4] ARM: DT: Add support for probing platform bus on " Thomas Abraham
2011-02-06 13:17 ` [PATCH 4/4] watchdog: s3c2410: Add support for device tree based probe Thomas Abraham
[not found] ` <1296998250-21856-5-git-send-email-thomas.abraham-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2011-02-07 19:27 ` Rob Herring
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=20110213061142.GC17375@angua.secretlab.ca \
--to=grant.likely-s3s/wqlpoipyb63q8fvjnq@public.gmane.org \
--cc=devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
--cc=kgene.kim-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org \
--cc=linaro-dev-cunTk1MwBs8s++Sfvej+rw@public.gmane.org \
--cc=patches-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
--cc=robherring2-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.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