Add a empty irq_of_parse_and_map() that returns 0 for non-dt builds and
avoid having #ifdef CONFIG_OF around all calls to irq_of_parse_and_map().
Suggested-by: Grant Likely
Signed-off-by: Thomas Abraham
---
include/linux/of_irq.h |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
Changes since v4:
- In patch 2/2, removed the #ifdef CONFIF_OF around irq_of_parse_and_map() as
suggested by Grant Likely. Hence this patch series depends on the patch
with subject "of/irq: add empty irq_of_parse_and_map() for non-dt builds".
- Rebased to the latest kgene/for-next branch which
Add irq_domain support for hardware interrupts of the interrupt combiner.
The hardware interrupts of all the instances of the combiner are grouped
in a single irq_domain.
Cc: Grant Likely
Signed-off-by: Thomas Abraham
Acked-by: Rob Herring
---
arch/arm/mach-exynos/common.c | 87 +
Add device tree based instantiation of the interrupt combiner controller.
Signed-off-by: Thomas Abraham
Acked-by: Rob Herring
Acked-by: Grant Likely
---
.../bindings/arm/samsung/interrupt-combiner.txt| 52 +
arch/arm/mach-exynos/common.c | 61 ++
Changes since v3:
- Rebased the patches to the latest kgene/for-next branch which now includes
Exynos5 support as well. In this process, there are some significant changes,
when compared to v3 version of this patchset, related to device tree support
in patch 4/4 and code simplification in pat
Simplify the wakeup interrupt setup code in order to add irq domain
and device tree support.
Cc: Kukjin Kim
Signed-off-by: Thomas Abraham
---
arch/arm/mach-exynos/common.c | 32 +++-
1 files changed, 11 insertions(+), 21 deletions(-)
diff --git a/arch/arm/mach-exy
Add a irq_domain for all the 32 gpio external wakeup interrupt sources.
Since there are users of fixed linux irq numbers of the external wakeup
interrupts, the legacy mapping is used for the irq domain. The fixups
required to use irq domain based interrupt mapping is also included.
Cc: Grant Likel
The of_irq_init function would be setup to invoke the exynos4_init_irq_eint
function when booting using device tree. The arch_initcall for
exynos4_init_irq_eint would duplicate its invocation in that case. Hence,
arch_initcall for exynos4_init_irq_eint is removed and this function is invoked
from t
Add device tree support for gpio wakeup source interrupt controller for
Exynos platforms.
Cc: Rob Herring
Cc: Grant Likely
Signed-off-by: Thomas Abraham
---
.../bindings/arm/samsung/wakeup-eint.txt | 152
arch/arm/mach-exynos/common.c | 55
Changes since v3:
- Fixed all comments from Grant Likely.
- In patch 1/2, since linear mapping is used, the handle_nested_irq() is
called only for allocated irq's.
- In patch 2/2, the incorrect assignment of platform data pointer to
dev->platform_data is reworked and fixed.
Changes sin
Add irq domain support for max8997 interrupts. The reverse mapping method
used is linear mapping since the sub-drivers of max8997 such as regulator
and charger drivers can use the max8997 irq_domain to get the linux irq
number for max8997 interrupts. All uses of irq_base in platform data and
max899
Add device tree based discovery support for max8997.
Cc: MyungJoo Ham
Cc: Rajendra Nayak
Cc: Rob Herring
Cc: Grant Likely
Signed-off-by: Thomas Abraham
---
.../devicetree/bindings/regulator/max8997-pmic.txt | 133 ++
drivers/mfd/max8997.c | 73
On 03/24/2012 04:27 AM, Thomas Abraham wrote:
> Add a empty irq_of_parse_and_map() that returns 0 for non-dt builds and
> avoid having #ifdef CONFIG_OF around all calls to irq_of_parse_and_map().
>
> Suggested-by: Grant Likely
> Signed-off-by: Thomas Abraham
> ---
Acked-by: Rob Herring
Go ahe
Thankyou to Arnd and Jason for taking the time to review, sorry it's taken a
while to get back to you both with an updated version.
Changes since v1:
* Rebase against kirkwood_dt_for_3.4, removing premature devicetree ports.
* Move additions into a separate board-dnskw.c. It could be separated fur
Add support for the DNS-320 and DNS-325. Describe as much as currently possible
in the devicetree files, create a board-dnskw.c for everything else.
Signed-off-by: Jamie Lentin
---
arch/arm/boot/dts/kirkwood-dns320.dts | 29 +++
arch/arm/boot/dts/kirkwood-dns325.dts | 24 +++
arch/arm/mach-k
Convert orion-nand to use fdt and add common setup to kirkwood.dtsi, including
a default value for chip-delay (all current boards seem to use 25 anyway).
Add placeholder documentation for the bindings, for someone more knowledgable
than me to fill in the details of the properties.
Signed-off-by:
Use devicetree to define NAND partitions. Use D-link partition scheme by
default, to be vaguely compatible with their userland.
Signed-off-by: Jamie Lentin
---
arch/arm/boot/dts/kirkwood-dns320.dts | 35 +
arch/arm/boot/dts/kirkwood-dns325.dts | 35 +++
On 03/24/2012 08:12 AM, Rob Herring wrote:
> On 03/24/2012 04:27 AM, Thomas Abraham wrote:
>> Add a empty irq_of_parse_and_map() that returns 0 for non-dt builds and
>> avoid having #ifdef CONFIG_OF around all calls to irq_of_parse_and_map().
>>
>> Suggested-by: Grant Likely
>> Signed-off-by: Thom
On 24 March 2012 18:42, Rob Herring wrote:
> On 03/24/2012 04:27 AM, Thomas Abraham wrote:
>> Add a empty irq_of_parse_and_map() that returns 0 for non-dt builds and
>> avoid having #ifdef CONFIG_OF around all calls to irq_of_parse_and_map().
>>
>> Suggested-by: Grant Likely
>> Signed-off-by: Tho
On 24 March 2012 21:37, Thomas Abraham wrote:
> On 24 March 2012 18:42, Rob Herring wrote:
>> On 03/24/2012 04:27 AM, Thomas Abraham wrote:
>>> Add a empty irq_of_parse_and_map() that returns 0 for non-dt builds and
>>> avoid having #ifdef CONFIG_OF around all calls to irq_of_parse_and_map().
>>>
On Saturday 24 March 2012, Jamie Lentin wrote:
> Convert orion-nand to use fdt and add common setup to kirkwood.dtsi, including
> a default value for chip-delay (all current boards seem to use 25 anyway).
>
> Add placeholder documentation for the bindings, for someone more knowledgable
> than me t
On Saturday 24 March 2012, Jamie Lentin wrote:
> Use devicetree to define NAND partitions. Use D-link partition scheme by
> default, to be vaguely compatible with their userland.
>
> Signed-off-by: Jamie Lentin
Acked-by: Arnd Bergmann
___
devicetree-d
On Saturday 24 March 2012, Jamie Lentin wrote:
>
> Add support for the DNS-320 and DNS-325. Describe as much as currently
> possible
> in the devicetree files, create a board-dnskw.c for everything else.
>
> Signed-off-by: Jamie Lentin
Looks good to me.
Jason, do you want to add these to you
On Thu, Jan 26, 2012 at 01:20:07PM +0200, Felipe Balbi wrote:
> Fix following compile warnings:
>
> scripts/dtc/flattree.c: In function ‘flat_read_mem_reserve’:
> scripts/dtc/flattree.c:700:14: warning: variable ‘p’ set but not used
> [-Wunused-but-set-variable]
>
> scripts/dtc/dtc.c: In fu
Convert orion-nand to use fdt and add common setup to kirkwood.dtsi, including
a default value for chip-delay (all current boards seem to use 25 anyway).
Add placeholder documentation for the bindings, for someone more knowledgable
than me to fill in the details of the properties.
Move common pa
On Fri, 23 Mar 2012 16:18:09 +0530, Thomas Abraham
wrote:
> Hi Grant,
>
> On 21 March 2012 20:43, Grant Likely wrote:
> > Okay, so you're saying there are three important aspects to this
> > device:
> > 1) it terminates interrupts from other devices (therefore needs an
> > Â interrupt controll
On Fri, 23 Mar 2012 12:28:52 +0100, Karol Lewandowski
wrote:
> On 18.03.2012 19:24, Grant Likely wrote:
>
> > On Fri, 16 Mar 2012 16:42:12 +0100, Karol Lewandowski
> > wrote:
> >> Make it possible to instantiate driver from device tree description.
> >>
> >> Signed-off-by: Karol Lewandowski
>
On Wed, 21 Mar 2012 23:38:11 +0100, Sylwester Nawrocki wrote:
>
> Hello,
>
> I'm working on adding the device tree support for two devices that
> share some IO registers. Exactly, there is one shared SFR that
> contains a common bit to enable two PHY devices, and another two
> bits, each to sep
On Thu, 22 Mar 2012 15:53:01 +0100, Nicolas Ferre
wrote:
> On 03/21/2012 07:03 PM, ludovic.desroc...@atmel.com :
> > From: Ludovic Desroches
> >
> > Signed-off-by: Ludovic Desroches
>
> Signed-off-by: Nicolas Ferre
I think you really mean "Acked-by". It is only appropriate to add a
"Signed
On Fri, 23 Mar 2012 15:43:54 +0100, Marek Vasut wrote:
> Dear Dong Aisheng,
>
> > From: Dong Aisheng
> >
> > This patch includes basic dt support which can boot via nfs rootfs.
> >
> > Signed-off-by: Dong Aisheng
> > ---
> > ChangeLog v1->v2:
> > * Some fixes addressed Rob's review comments.
On Thu, 26 Jan 2012 13:20:07 +0200, Felipe Balbi wrote:
> Fix following compile warnings:
>
> scripts/dtc/flattree.c: In function âflat_read_mem_reserveâ:
> scripts/dtc/flattree.c:700:14: warning: variable âpâ set but not used
> [-Wunused-but-set-variable]
>
> scripts/dtc/dtc.c: In
On Sat, 24 Mar 2012 08:12:39 -0500, Rob Herring wrote:
> On 03/24/2012 04:27 AM, Thomas Abraham wrote:
> > Add a empty irq_of_parse_and_map() that returns 0 for non-dt builds and
> > avoid having #ifdef CONFIG_OF around all calls to irq_of_parse_and_map().
> >
> > Suggested-by: Grant Likely
> >
On Sat, 24 Mar 2012 21:42:00 +0530, Thomas Abraham
wrote:
> On 24 March 2012 21:37, Thomas Abraham wrote:
> > On 24 March 2012 18:42, Rob Herring wrote:
> >> On 03/24/2012 04:27 AM, Thomas Abraham wrote:
> >>> Add a empty irq_of_parse_and_map() that returns 0 for non-dt builds and
> >>> avoid h
33 matches
Mail list logo