.
This patch adds a static inline function that should be used to
initialize the match table member for platform drivers. When OF is
not enabled, the function is empty and it is just optimized out.
Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com
---
include/linux/platform_device.h | 11
macro for Versatile Express board
in order to return the proper uart physical address.
Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com
---
arch/arm/mach-vexpress/include/mach/debug-macro.S |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-vexpress
in the dtb stub to automatically generate and move
the required DT machine id into r1 before jumping to kernel code.
Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com
---
arch/arm/boot/dt/dtb.S |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boot/dt
errors.
Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com
---
arch/arm/mach-vexpress/include/mach/clkdev.h |2 +-
arch/arm/mach-vexpress/v2m.c | 13 -
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-vexpress/include/mach/clkdev.h
. This
includes a match table and code to initialize the driver id from
the respective device tree node compatible property.
Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com
---
arch/arm/include/asm/pmu.h |6 ++
arch/arm/kernel/Makefile |3 ++-
arch/arm/kernel/pmu-of.c | 30
, compiled in accordingly depending
on kernel configuration options. Clock look-up for the DT version is
still work in progress waiting for a definitive clock binding spec so
device names are not really DT compliant at the moment in the dts.
Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com
When instantiating amba devices dynamically from device tree nodes, the
memory allocation should be carried out using the kzalloc function to make
sure all the members are zero initialized.
This patch replaces the kmalloc call with a kzalloc one.
Signed-off-by: Lorenzo Pieralisi lorenzo.pieral
especially concerning error codes are arguable and require thorough review.
The whole patchset is a request for comments on code and methodology.
Cheers.
Lorenzo Pieralisi (14):
ARM: amba device memory allocation fix
ARM: vexpress: fix clocks definition to comply with new framework
ARM: fix add
PM
To: Lorenzo Pieralisi; devicetree-discuss;
linux-arm-ker...@lists.infradead.org; Jeremy Kerr; Nicolas Pitre
Subject: Re: Platform data with function pointers
[cc'ing devicetree-discuss - this conversation should be kept on-list]
Hi Lorenzo,
On Mon, Jun 14, 2010 at 4:42 AM, Lorenzo Pieralisi
for your feedback,
Lorenzo
-Original Message-
From: Russell King - ARM Linux [mailto:li...@arm.linux.org.uk]
Sent: Friday, June 18, 2010 2:13 PM
To: Lorenzo Pieralisi
Cc: 'Grant Likely'; devicetree-discuss; linux-arm-ker...@lists.infradead.org;
Jeremy Kerr; Nicolas Pitre
Subject: Re: Platform
201 - 210 of 210 matches
Mail list logo