[PATCH 5/6] ARM: dts: Add basic dts include files for Samsung S3C64xx SoCs
From: Dave Martin <hidden>
Date: 2013-01-28 13:04:34
Also in:
linux-devicetree, linux-samsung-soc
On Mon, Jan 28, 2013 at 09:02:40AM +0000, Mark Rutland wrote:
On Fri, Jan 25, 2013 at 07:15:48PM +0000, Kukjin Kim wrote:quoted
Tomasz Figa wrote: [...]quoted
quoted
Well, the number of CPU types does not grow rapidly. It will be much less than one per SoC -- so keeping the list up to date shouldn't be that much effort. For ARM1176JZF-S, it could make sense for the comatible list to be "arm,arm1176jzf-s", "arm,arm1176" ...since the differences between 1176 variants are software probeable (i.e., whether there is an FPU or not). AFAIK the J, Z apply to all ARM1176, and the -S (synthesisable RTL) is nothing to do with software. The kernel probably only really needs to know "arm,arm1176".OK. So the conclusion is that I should change the cpus node to following: cpus { cpu {cpu at 0 { ?As the CPU has no MPIDR, and thus doesn't have a reg property, there's no reason to have a unit address. Just "cpu" should be fine.quoted
quoted
compatible = "arm,arm1176jzf-s", "arm,arm1176"; }; }; Am I right?I think so :-) - KukjinAs Dave pointed out, the "jzf-s" portion might be superfluous. It's worth having the "arm,arm1176", though.
I think we should always have a fully-qualified part name as the first compatible entry, following general devicetree policy. It's better to have this and not need it than to discover later that we want it and incompatibly backport it in. Before deciding, do we follow a consistent policy for other CPUs, such as arm1136? The issues there are similar: the only software-visible difference between arm1136j-s and arm1136jf-s should be the absence/presence of VFP, and it looks like the code in vfpmodule.c should be able to probe it. Cheers ---Dave