Re: [PATCH 1/9] ARM: Kirkwood: Add interrupt controller support for DT boards

2012-06-10 Thread Michael Walle
Am Sonntag 10 Juni 2012, 12:31:53 schrieb Andrew Lunn:
 Signed-off-by: Andrew Lunn and...@lunn.ch
 ---
  .../devicetree/bindings/arm/mrvl/intc.txt  |   20
 ++ arch/arm/boot/dts/kirkwood.dtsi|   
 9  arch/arm/mach-kirkwood/board-dt.c  |   22
 +++- 3 files changed, 50 insertions(+), 1 deletion(-)
 
 diff --git a/Documentation/devicetree/bindings/arm/mrvl/intc.txt
 b/Documentation/devicetree/bindings/arm/mrvl/intc.txt index
 80b9a94..612536e 100644
 --- a/Documentation/devicetree/bindings/arm/mrvl/intc.txt
 +++ b/Documentation/devicetree/bindings/arm/mrvl/intc.txt
 @@ -38,3 +38,23 @@ Example:
   reg-names = mux status, mux mask;
   mrvl,intc-nr-irqs = 2;
   };
 +
 +* Marvell Orion Interrupt controller
 +
 +Required properties
 +- compatible :  Should be marvell,orion-intc
 +- #interrupt-cells: Specifies the number of cells needed to encode an
 +  interrupt source. Supported value is 1
 +- interrupt-controller : So that its clear its an interrupt controller.
 +Optional properties
 +- reg : Not used yet, but will contain the interrupt mask address
 +
 +Example:
 +
 + intc: interrupt-controller {
 + compatible = marvell,orion-intc, marvell,intc;
 + interrupt-controller;
 + #interrupt-cells = 1;
 +reg = 0xfed20204 0x04,
 +   0xfed20214 0x04;
 +};

please fix whitespaces/tabs


 diff --git a/arch/arm/boot/dts/kirkwood.dtsi
 b/arch/arm/boot/dts/kirkwood.dtsi index 926528b..8eab7c4 100644
 --- a/arch/arm/boot/dts/kirkwood.dtsi
 +++ b/arch/arm/boot/dts/kirkwood.dtsi
 @@ -2,6 +2,15 @@
 
  / {
   compatible = mrvl,kirkwood;
 + interrupt-parent = intc;
 +
 + intc: interrupt-controller {
 + compatible = marvell,orion-intc, marvell,intc;
 + interrupt-controller;
 + #interrupt-cells = 1;
 +reg = 0xfed20204 0x04,
 +   0xfed20214 0x04;
 +};

ditto

-- 
Michael
--
To unsubscribe from this list: send the line unsubscribe linux-i2c in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 9/9] Kirkwood: Add basic device tree support for QNAP TS219.

2012-06-10 Thread Michael Walle
Am Sonntag 10 Juni 2012, 12:32:01 schrieb Andrew Lunn:

[..]

 +config MACH_TS219_DT
 + bool Device Tree for QNAP TS-110, TS-119, TS-119P+, TS-210, TS-219,
 TS-219P and TS-219P+ Turbo NAS + select ARCH_KIRKWOOD_DT
 + select ARM_APPENDED_DTB
 + select ARM_ATAG_DTB_COMPAT
 + help
 +   Say 'Y' here if you want your kernel to support the QNAP
 +   TS-110, TS-119, TS-119P+, TS-210, TS-219, TS-219P and
 +   TS-219P+ Turbo NAS devices using Fattened Device Tree.
 +   There are two different Device Tree descriptions, depending
 +   on if the device is based on an if the board uses the MV6281
 +   or MV6282. If you have the wrong one, the buttons will not
 +   work.
 +

whitespace errors above


-- 
Michael
--
To unsubscribe from this list: send the line unsubscribe linux-i2c in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html