Re: [PATCH] input: touchscreen: add OF match table for ads7846

2011-06-13 Thread Barry Song
Hi Grant, Thanks. 2011/6/13 Grant Likely grant.lik...@secretlab.ca: On Thu, Jun 9, 2011 at 8:28 PM, Barry Song baohua.s...@csr.com wrote: The current ads7846 has no OF match table. The method used is by applying a heuristic (of_modalias_node) which tries to name the device in a way that

Re: [PATCH 0/3] patches to allow DTB to be appended to the ARM zImage

2011-06-13 Thread Tony Lindgren
* Nicolas Pitre nicolas.pi...@linaro.org [110612 11:55]: On Sun, 12 Jun 2011, Russell King - ARM Linux wrote: I don't see this as a sustainable way forward. If we're going to move a particular SoC over to DT, we need to move the entire SoC over. We can't do this half-heartedly. And

Re: [PATCH 1/3] ARM: zImage: ensure it is always a multiple of 64 bits in size

2011-06-13 Thread Tony Lindgren
* Nicolas Pitre nicolas.pi...@linaro.org [110611 23:02]: This is needed for proper alignment when the DTB appending feature is used. Signed-off-by: Nicolas Pitre nicolas.pi...@linaro.org Acked-by: Tony Lindgren t...@atomide.com --- arch/arm/boot/compressed/vmlinux.lds.in |3 +++ 1

Re: [PATCH 2/3] ARM: zImage: Allow the appending of a device tree binary

2011-06-13 Thread Tony Lindgren
* Nicolas Pitre nicolas.pi...@linaro.org [110611 23:03]: From: John Bonesio bo...@secretlab.ca This patch provides the ability to boot using a device tree that is appended to the raw binary zImage (e.g. cat zImage filename.dtb zImage_w_dtb). Signed-off-by: John Bonesio bo...@secretlab.ca

Re: [PATCH 3/3] ARM: zImage: make sure appended DTB doesn't get overwritten by kernel .bss

2011-06-13 Thread Tony Lindgren
* Nicolas Pitre nicolas.pi...@linaro.org [110611 23:03]: The appended DTB gets relocated with the decompressor code to get out of the way of the decompressed kernel. However the .bss section may be larger than the relocated code and data, therefore overwriting the DTB. Let's make sure the

Re: [PATCH] ARM: Make sure appended device tree data won't overlap kernel BSS

2011-06-13 Thread Tony Lindgren
* Nicolas Pitre n...@fluxnic.net [110611 23:09]: On Fri, 13 May 2011, Tony Lindgren wrote: From: Tony Lindgren t...@atomide.com Date: Thu, 12 May 2011 05:29:49 -0700 Subject: [PATCH] ARM: zImage: Make sure appended device tree data won't overlap kernel BSS Do this before

Re: [PATCH 1/3] ARM: zImage: ensure it is always a multiple of 64 bits in size

2011-06-13 Thread Russell King - ARM Linux
On Sun, Jun 12, 2011 at 02:06:38AM -0400, Nicolas Pitre wrote: diff --git a/arch/arm/boot/compressed/vmlinux.lds.in b/arch/arm/boot/compressed/vmlinux.lds.in index ea80abe..6c02db1 100644 --- a/arch/arm/boot/compressed/vmlinux.lds.in +++ b/arch/arm/boot/compressed/vmlinux.lds.in @@ -47,6

Re: [PATCH 2/3] ARM: zImage: Allow the appending of a device tree binary

2011-06-13 Thread Russell King - ARM Linux
On Mon, Jun 13, 2011 at 03:46:49AM -0700, Tony Lindgren wrote: * Nicolas Pitre nicolas.pi...@linaro.org [110611 23:03]: From: John Bonesio bo...@secretlab.ca This patch provides the ability to boot using a device tree that is appended to the raw binary zImage (e.g. cat zImage

Re: [PATCH] input: touchscreen: add OF match table for ads7846

2011-06-13 Thread Grant Likely
On Mon, Jun 13, 2011 at 2:15 AM, Barry Song 21cn...@gmail.com wrote: Hi Grant, Thanks. 2011/6/13 Grant Likely grant.lik...@secretlab.ca: On Thu, Jun 9, 2011 at 8:28 PM, Barry Song baohua.s...@csr.com wrote: The current ads7846 has no OF match table. The method used is by applying a

[RFC] (early draft) dt: Linux dt usage model documentation

2011-06-13 Thread Grant Likely
Signed-off-by: Grant Likely grant.lik...@secretlab.ca --- Hey all, This is an early draft of the usage model document for the device tree, but I wanted to get it out there for feedback, and so that some of the Linaro engineers could get started on migrating board ports. g.

Re: [PATCH 1/3] ARM: zImage: ensure it is always a multiple of 64 bits in size

2011-06-13 Thread Nicolas Pitre
On Mon, 13 Jun 2011, Russell King - ARM Linux wrote: On Sun, Jun 12, 2011 at 02:06:38AM -0400, Nicolas Pitre wrote: diff --git a/arch/arm/boot/compressed/vmlinux.lds.in b/arch/arm/boot/compressed/vmlinux.lds.in index ea80abe..6c02db1 100644 --- a/arch/arm/boot/compressed/vmlinux.lds.in

Re: [PATCH 2/3] ARM: zImage: Allow the appending of a device tree binary

2011-06-13 Thread Nicolas Pitre
On Mon, 13 Jun 2011, Russell King - ARM Linux wrote: On Mon, Jun 13, 2011 at 03:46:49AM -0700, Tony Lindgren wrote: * Nicolas Pitre nicolas.pi...@linaro.org [110611 23:03]: From: John Bonesio bo...@secretlab.ca This patch provides the ability to boot using a device tree that is

Re: [PATCH 0/3] patches to allow DTB to be appended to the ARM zImage

2011-06-13 Thread Nicolas Pitre
On Mon, 13 Jun 2011, Tony Lindgren wrote: * Nicolas Pitre nicolas.pi...@linaro.org [110612 11:55]: On Sun, 12 Jun 2011, Russell King - ARM Linux wrote: I don't see this as a sustainable way forward. If we're going to move a particular SoC over to DT, we need to move the entire SoC

Re: [PATCH 0/3] patches to allow DTB to be appended to the ARM zImage

2011-06-13 Thread Russell King - ARM Linux
On Mon, Jun 13, 2011 at 10:14:07AM -0400, Nicolas Pitre wrote: On Mon, 13 Jun 2011, Tony Lindgren wrote: * Nicolas Pitre nicolas.pi...@linaro.org [110612 11:55]: On Sun, 12 Jun 2011, Russell King - ARM Linux wrote: I don't see this as a sustainable way forward. If we're going to

Re: [PATCH 0/3] patches to allow DTB to be appended to the ARM zImage

2011-06-13 Thread Tony Lindgren
* Russell King - ARM Linux li...@arm.linux.org.uk [110613 07:16]: On Mon, Jun 13, 2011 at 10:14:07AM -0400, Nicolas Pitre wrote: On Mon, 13 Jun 2011, Tony Lindgren wrote: * Nicolas Pitre nicolas.pi...@linaro.org [110612 11:55]: On Sun, 12 Jun 2011, Russell King - ARM Linux wrote:

Re: [PATCH 0/3] patches to allow DTB to be appended to the ARM zImage

2011-06-13 Thread Nicolas Pitre
On Mon, 13 Jun 2011, Russell King - ARM Linux wrote: On Mon, Jun 13, 2011 at 10:14:07AM -0400, Nicolas Pitre wrote: On Mon, 13 Jun 2011, Tony Lindgren wrote: I agree that we need to parse the user configurable ATAGs to support existing hardware properly. Otherwise we have edit the

Re: [PATCH 0/3] patches to allow DTB to be appended to the ARM zImage

2011-06-13 Thread Grant Likely
On Mon, Jun 13, 2011 at 9:14 AM, Nicolas Pitre nicolas.pi...@linaro.org wrote: On Mon, 13 Jun 2011, Russell King - ARM Linux wrote: On Mon, Jun 13, 2011 at 10:14:07AM -0400, Nicolas Pitre wrote: On Mon, 13 Jun 2011, Tony Lindgren wrote: I agree that we need to parse the user configurable

Re: [PATCH 1/3] ARM: pmu: add OF probing support

2011-06-13 Thread Grant Likely
On Wed, Jun 08, 2011 at 11:40:01AM -0500, Rob Herring wrote: Mark, On 06/08/2011 10:54 AM, Mark Rutland wrote: Hi, static int __devinit pmu_device_probe(struct platform_device *pdev) { + enum arm_pmu_type type = pdev-id; - if (pdev-id 0 || pdev-id= ARM_NUM_PMU_DEVICES) { +

Re: [RFC] (early draft) dt: Linux dt usage model documentation

2011-06-13 Thread Randy Dunlap
On Mon, 13 Jun 2011 07:32:15 -0600 Grant Likely wrote: Signed-off-by: Grant Likely grant.lik...@secretlab.ca --- Hey all, This is an early draft of the usage model document for the device tree, but I wanted to get it out there for feedback, and so that some of the Linaro engineers could

Re: [PATCH 2/3] ARM: gic: add OF based initialization

2011-06-13 Thread Grant Likely
On Tue, Jun 07, 2011 at 09:22:20AM -0500, Rob Herring wrote: From: Rob Herring rob.herr...@calxeda.com This adds gic initialization using device tree data. An example device tree binding looks like this: intc: interrupt-controller@fff11000 { compatible = arm,cortex-a9-gic;

RE: [RFC] (early draft) dt: Linux dt usage model documentation

2011-06-13 Thread Stephen Warren
Grant Likely wrote at Monday, June 13, 2011 7:32 AM: Signed-off-by: Grant Likely grant.lik...@secretlab.ca --- Hey all, This is an early draft of the usage model document for the device tree, but I wanted to get it out there for feedback, and so that some of the Linaro engineers could

Re: [PATCH 0/3] patches to allow DTB to be appended to the ARM zImage

2011-06-13 Thread Dmitry Eremin-Solenikov
Russell King - ARM Linux wrote: On Sun, Jun 12, 2011 at 06:42:16PM +0800, Shawn Guo wrote: On Sun, Jun 12, 2011 at 10:52:17AM +0100, Russell King - ARM Linux wrote: On Sun, Jun 12, 2011 at 05:38:23PM +0800, Shawn Guo wrote: On Sun, Jun 12, 2011 at 10:21:31AM +0100, Russell King - ARM Linux

Re: [PATCH 0/3] patches to allow DTB to be appended to the ARM zImage

2011-06-13 Thread Nicolas Pitre
On Sun, 12 Jun 2011, Grant Likely wrote: On Sun, Jun 12, 2011 at 12:06 AM, Nicolas Pitre nicolas.pi...@linaro.org wrote: This is a resend of those patches with fixups after the latest changes in mainline. [PATCH 1/3] ARM: zImage: ensure it is always a multiple of 64 bits in size This

Re: [PATCH 2/3] ARM: gic: add OF based initialization

2011-06-13 Thread Russell King - ARM Linux
On Mon, Jun 13, 2011 at 10:53:16AM -0600, Grant Likely wrote: On Tue, Jun 07, 2011 at 09:22:20AM -0500, Rob Herring wrote: +- interrupt-controller : Identifies the node as an interrupt controller +- #interrupt-cells : Specifies the number of cells needed to encode an + interrupt source.

Re: [PATCH 0/3] patches to allow DTB to be appended to the ARM zImage

2011-06-13 Thread Nicolas Pitre
On Mon, 13 Jun 2011, David Brown wrote: On Sun, Jun 12 2011, Russell King - ARM Linux wrote: On Sun, Jun 12, 2011 at 06:42:16PM +0800, Shawn Guo wrote: On Sun, Jun 12, 2011 at 10:52:17AM +0100, Russell King - ARM Linux wrote: On Sun, Jun 12, 2011 at 05:38:23PM +0800, Shawn Guo wrote:

Re: [PATCH 0/3] patches to allow DTB to be appended to the ARM zImage

2011-06-13 Thread David Brown
On Sun, Jun 12 2011, Russell King - ARM Linux wrote: On Sun, Jun 12, 2011 at 06:42:16PM +0800, Shawn Guo wrote: On Sun, Jun 12, 2011 at 10:52:17AM +0100, Russell King - ARM Linux wrote: On Sun, Jun 12, 2011 at 05:38:23PM +0800, Shawn Guo wrote: On Sun, Jun 12, 2011 at 10:21:31AM +0100,

RE: [RFC] (early draft) dt: Linux dt usage model documentation

2011-06-13 Thread Stephen Neuendorffer
+Some time later, FDT infrastructure was generalized to be usable by +all architectures. At the time of this writing, 5 mainlined +architectures (arm, mips, powerpc, sparc, and x86) and 1 out of microblaze too? +mainline architecture (nios) have some level of DT support. + Steve This

Re: [RFC] (early draft) dt: Linux dt usage model documentation

2011-06-13 Thread Grant Likely
On Mon, Jun 13, 2011 at 5:29 PM, Stephen Neuendorffer stephen.neuendorf...@xilinx.com wrote: +Some time later, FDT infrastructure was generalized to be usable by +all architectures.  At the time of this writing, 5 mainlined +architectures (arm, mips, powerpc, sparc, and x86) and 1 out of

Re: [PATCH 0/3] patches to allow DTB to be appended to the ARM zImage

2011-06-13 Thread David Brown
On Sun, Jun 12 2011, Nicolas Pitre wrote: It is not pointless. Never it was in the cards to convert old platforms first. The most problematic platforms responsible for the high volume of changes that has gone in mainline lately are the modern ones, not PXA based ones. So DT is going to

Re: [RFC] (early draft) dt: Linux dt usage model documentation

2011-06-13 Thread David Gibson
Comments below. Only really considering gaps in content or emphasis here, not poor wording or grammatical errors. On Mon, Jun 13, 2011 at 07:32:15AM -0600, Grant Likely wrote: Signed-off-by: Grant Likely grant.lik...@secretlab.ca --- Hey all, This is an early draft of the usage model