[PATCH v5 net-next 3/3] dt-bindings: net: macb: Add NP4 macb variant

2016-01-05 Thread Neil Armstrong
Add NP4 macb SoC variant. Signed-off-by: Neil Armstrong --- Documentation/devicetree/bindings/net/macb.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/net/macb.txt b/Documentation/devicetree/bindings/net/macb.txt index 38c8e84..5c397ca 100644 --- a

[PATCH v5 net-next 1/3] net: ethernet: cadence-macb: Add disabled usrio caps

2016-01-05 Thread Neil Armstrong
platforms. Signed-off-by: Neil Armstrong --- drivers/net/ethernet/cadence/macb.c | 27 +++ drivers/net/ethernet/cadence/macb.h | 1 + 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/drivers/net/ethernet/cadence/macb.c b/drivers/net/ethernet/cadence

[PATCH v5 net-next 2/3] net: macb: Add NP4 macb config using USRIO_DISABLED

2016-01-05 Thread Neil Armstrong
Declare a new NP4 SoC variant having USRIO_DISABLED as capability bit. Signed-off-by: Neil Armstrong --- drivers/net/ethernet/cadence/macb.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/ethernet/cadence/macb.c b/drivers/net/ethernet/cadence/macb.c index fa53bc3

[PATCH v5 net-next 0/3] Add new capability and macb DT variant

2016-01-05 Thread Neil Armstrong
: http://lkml.kernel.org/r/1451900573-22657-1-git-send-email-narmstr...@baylibre.com v5: switch SoC name to non-generic NP4 name Neil Armstrong (3): net: ethernet: cadence-macb: Add disabled usrio caps net: macb: Add NP4 macb config using USRIO_DISABLED dt-bindings: net: macb: Add NP4 macb

Re: [PATCH v4 net-next 2/3] net: macb: Add NPx macb config using USRIO_DISABLED cap

2016-01-05 Thread Neil Armstrong
On 01/04/2016 11:38 AM, Nicolas Ferre wrote: > Le 04/01/2016 10:42, Neil Armstrong a écrit : >> static const struct macb_config zynqmp_config = { >> .caps = MACB_CAPS_GIGABIT_MODE_AVAILABLE | MACB_CAPS_JUMBO, >> @@ -2801,6 +2806,7 @@ static const struct of_

[PATCH v4 net-next 0/3] Add new capability and macb DT variant

2016-01-04 Thread Neil Armstrong
...@baylibre.com v3: http://lkml.kernel.org/r/1451898103-21868-1-git-send-email-narmstr...@baylibre.com v4: as nicolas suggested, use a new macb config and a new product/vendor prefix Neil Armstrong (3): net: ethernet: cadence-macb: Add disabled usrio caps net: macb: Add NPx macb config using

[PATCH v4 net-next 1/3] net: ethernet: cadence-macb: Add disabled usrio caps

2016-01-04 Thread Neil Armstrong
platforms. Signed-off-by: Neil Armstrong --- drivers/net/ethernet/cadence/macb.c | 27 +++ drivers/net/ethernet/cadence/macb.h | 1 + 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/drivers/net/ethernet/cadence/macb.c b/drivers/net/ethernet/cadence

[PATCH v4 net-next 2/3] net: macb: Add NPx macb config using USRIO_DISABLED cap

2016-01-04 Thread Neil Armstrong
Declare a new SoC variant for NPx SoCs having USRIO_DISABLED as capability bit. Signed-off-by: Neil Armstrong --- drivers/net/ethernet/cadence/macb.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/ethernet/cadence/macb.c b/drivers/net/ethernet/cadence/macb.c index

[PATCH v4 net-next 3/3] dt-bindings: net: macb: Add NPx macb variant

2016-01-04 Thread Neil Armstrong
Add NPx macb variant for NPx SoCs. Signed-off-by: Neil Armstrong --- Documentation/devicetree/bindings/net/macb.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/net/macb.txt b/Documentation/devicetree/bindings/net/macb.txt index 38c8e84..638cdde 100644

[PATCH 1/2] memory: omap-gpmc: Add support for AAD timings

2015-12-28 Thread Neil Armstrong
In order to support extended timings parameters on hardware supporting the "AAD" mode like the AM335x or DM816x, add these entries into the GPMC driver if the hardware is capable. Tested on DM816x and AM335x. Signed-off-by: Neil Armstrong --- drivers/memory/omap-g

[PATCH 2/2] dt-bindings: bus: ti-gpmc: Add AAD timings properties

2015-12-28 Thread Neil Armstrong
In order to support advanced AAD timings, add these properties to the DT GPMC bindings. Signed-off-by: Neil Armstrong --- Documentation/devicetree/bindings/bus/ti-gpmc.txt | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/bus/ti-gpmc.txt b/Documentation

[PATCH 0/2] ti-gpmc: Add support for AAD timings

2015-12-28 Thread Neil Armstrong
This serie add support for the GPMC Advanced AAD timings on hardware supporting the feature like the AM335x and DM816X. Neil Armstrong (2): memory: omap-gpmc: Add support for AAD timings dt-bindings: bus: ti-gpmc: Add AAD timings properties Documentation/devicetree/bindings/bus/ti-gpmc.txt

[PATCH v2 net-next 0/3] Add new capability and parse from DT

2015-12-08 Thread Neil Armstrong
software CAPS_* as DT properties Neil Armstrong (3): net: ethernet: cadence-macb: Add disabled usrio caps net: ethernet: cadence-macb: Add fallback to read DT provided caps bindings: ethernet: macb: Add optional caps properties Documentation/devicetree/bindings/net/macb.txt | 10

[PATCH v2 net-next 1/3] net: ethernet: cadence-macb: Add disabled usrio caps

2015-12-08 Thread Neil Armstrong
platforms. Signed-off-by: Neil Armstrong --- drivers/net/ethernet/cadence/macb.c | 27 +++ drivers/net/ethernet/cadence/macb.h | 1 + 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/drivers/net/ethernet/cadence/macb.c b/drivers/net/ethernet/cadence

[PATCH v2 net-next 2/3] net: ethernet: cadence-macb: Add fallback to read DT provided caps

2015-12-08 Thread Neil Armstrong
Add 1:1 mapping of software defines caps parsing from DT in case the generic macb compatible form is used. These properties will provide support for futures implementations only defined from DT without need to update the driver code to support new variants. Signed-off-by: Neil Armstrong

[PATCH v2 net-next 3/3] bindings: ethernet: macb: Add optional caps properties

2015-12-08 Thread Neil Armstrong
Add generic caps properties to the binding in order to support future macb/gem implementations with the generic macb compatible form. Signed-off-by: Neil Armstrong --- Documentation/devicetree/bindings/net/macb.txt | 10 ++ 1 file changed, 10 insertions(+) diff --git a/Documentation

Re: [PATCH net 1/2] net: cadence: macb: Disable USRIO register on some platforms

2015-12-08 Thread Neil Armstrong
Hi Josh, 2015-12-07 20:32 GMT+01:00 Josh Cartwright : > On Mon, Dec 07, 2015 at 11:58:33AM +0100, Neil Armstrong wrote: >> On some platforms, the macb integration does not use the USRIO >> register to configure the (R)MII port and clocks. >> When the register is not implement

[PATCH net 1/2] net: cadence: macb: Disable USRIO register on some platforms

2015-12-07 Thread Neil Armstrong
On some platforms, the macb integration does not use the USRIO register to configure the (R)MII port and clocks. When the register is not implemented and the MACB error signal is connected to the bus error, reading or writing to the USRIO register can trigger some Imprecise External Aborts on ARM p

[PATCH net 2/2] bindings: net: macb: add no-usrio optional property

2015-12-07 Thread Neil Armstrong
Add the no-usrio optional property to disable usage of the USRIO register on platforms not implementing it. --- Documentation/devicetree/bindings/net/macb.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/net/macb.txt b/Documentation/devicetree/bindings/

[PATCH net 0/2] Add a property to disable MACB USRIO register

2015-12-07 Thread Neil Armstrong
This patchet introduces an optional DT property to disable usage of the USRIO register on platform not implementing it thus avaiding some external impresise aborts of ARM based platforms. Neil Armstrong (2): net: cadence: macb: Disable USRIO register on some platforms bindings: net: macb: add

Re: [PATCH v2 0/5] arm: dts: complete dm816x device tree

2015-11-13 Thread Neil Armstrong
On 11/12/2015 06:47 PM, Tony Lindgren wrote: > * Neil Armstrong [151112 06:08]: >> In order to fix support for the dm816x platform, add missing bits in >> the dm816x dtsi and cleanup OCP. > > Which ones are needed as fixes for the v4.4-rc kernel? > > Regards, > &g

[PATCH v2 2/5] arm: dts: add dm816x missing spi DT dma handles

2015-11-12 Thread Neil Armstrong
Add the missing SPI controller DMA handler in the dm816x DT node, only properties for the two channels on four were present. Cc: Brian Hutchinson Signed-off-by: Neil Armstrong --- arch/arm/boot/dts/dm816x.dtsi | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm

[PATCH v2 1/5] arm: dts: add dm816x missing #mbox-cells

2015-11-12 Thread Neil Armstrong
Add missing #mbox-cells for dm816x mbox DT node. Cc: Brian Hutchinson Signed-off-by: Neil Armstrong --- arch/arm/boot/dts/dm816x.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/dm816x.dtsi b/arch/arm/boot/dts/dm816x.dtsi index 3c99cfa..a7a34e4 100644 --- a/arch/arm

[PATCH v2 3/5] arm: dts: add dm816x pwm property to timers

2015-11-12 Thread Neil Armstrong
Adds ti,timer-pwm property to timers 4 to 7 to permit usage of their PWM output fonctionnality via the dmtimer driver. Cc: Brian Hutchinson Signed-off-by: Neil Armstrong --- arch/arm/boot/dts/dm816x.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/dm816x.dtsi b

[PATCH v2 4/5] arm: dts: remove dm816x invalid DT l3_main hwmod

2015-11-12 Thread Neil Armstrong
Remove invalid l3_main hwmod entry from dm816x DT ocp node. Cc: Brian Hutchinson Signed-off-by: Neil Armstrong --- arch/arm/boot/dts/dm816x.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boot/dts/dm816x.dtsi b/arch/arm/boot/dts/dm816x.dtsi index 51ad4a9..b9feeea 100644 --- a

[PATCH v2 5/5] arm: dts: Add omap4-hwspinlock support in dm816x

2015-11-12 Thread Neil Armstrong
Add dm816x DT entries for omap4-hwspinlock support as hwmod spinbox. Cc: Brian Hutchinson Signed-off-by: Neil Armstrong --- arch/arm/boot/dts/dm816x.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/dm816x.dtsi b/arch/arm/boot/dts/dm816x.dtsi index b9feeea

[PATCH v2 0/5] arm: dts: complete dm816x device tree

2015-11-12 Thread Neil Armstrong
In order to fix support for the dm816x platform, add missing bits in the dm816x dtsi and cleanup OCP. The last patch adds support for the omap4-hwspinlock. v2: add ocp hwmod cleanup Neil Armstrong (5): arm: dts: add dm816x missing #mbox-cells arm: dts: add dm816x missing spi DT dma handles

[RFC PATCH v3 1/2] base: dma-coherent: Add DT property for non exclusive shared-dma-pool

2015-11-10 Thread Neil Armstrong
In order to have the ability to declare a non exclusive shared-dma-pool, i.e. without the DMA_MEMORY_EXCLUSIVE flag, add the 'no-exclusive' DT optional parameter to initialize the coherent memory without the flag. Signed-off-by: Neil Armstrong --- drivers/base/dma-coherent.c | 6

[RFC PATCH v3 0/2] Expose DMA_MEMORY_EXCLUSIVE through shared-dma-pool

2015-11-10 Thread Neil Armstrong
The shared-dma-pool dt node only exposes exclusive memory, but in order to export non-exclusive coherent memory, add the no-exclusive property and document it. v3: use correct of_get_flat_dt_prop helper v2: simplify patch by looking for DT attribute in callback Neil Armstrong (2): base: dma

[RFC PATCH v3 2/2] devicetree: reserved-memory: document the optional no-exclusive parameter

2015-11-10 Thread Neil Armstrong
Document the 'no-exclusive' parameter used for the 'shared-dma-pool' compatible reserved-memory type. Acked-by: Rob Herring Signed-off-by: Neil Armstrong --- Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt | 3 +++ 1 file changed, 3 insertio

[RFC PATCH v2 1/2] base: dma-coherent: Add DT property for non exclusive shared-dma-pool

2015-11-02 Thread Neil Armstrong
In order to have the ability to declare a non exclusive shared-dma-pool, i.e. without the DMA_MEMORY_EXCLUSIVE flag, add the 'no-exclusive' DT optional parameter to initialize the coherent memory without the flag. Signed-off-by: Neil Armstrong --- drivers/base/dma-coherent.c | 6

[RFC PATCH v2 2/2] devicetree: reserved-memory: document the optional no-exclusive parameter

2015-11-02 Thread Neil Armstrong
Document the 'no-exclusive' parameter used for the 'shared-dma-pool' compatible reserved-memory type. Signed-off-by: Neil Armstrong --- Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation

[RFC PATCH v2 0/2] Expose DMA_MEMORY_EXCLUSIVE through shared-dma-pool

2015-11-02 Thread Neil Armstrong
The shared-dma-pool dt node only exposes exclusive memory, but in order to export non-exclusive coherent memory, add the no-exclusive property and document it. v2: simplify patch by looking for DT attribute in callback Neil Armstrong (2): base: dma-coherent: Add DT property for non exclusive

[PATCH 0/4] arm: dts: complete dm816x device tree

2015-10-22 Thread Neil Armstrong
In order to fix support for the dm816x platform, add missing bits in the dm816x dtsi. The last patch adds support for the omap4-hwspinlock. Neil Armstrong (4): arm: dts: add dm816x missing #mbox-cells arm: dts: add dm816x missing spi DT dma handles arm: dts: add dm816x pwm property to

[PATCH 2/4] arm: dts: add dm816x missing spi DT dma handles

2015-10-22 Thread Neil Armstrong
Add the missing SPI controller DMA handler in the dm816x DT node, only properties for the two channels on four were present. Cc: Brian Hutchinson Signed-off-by: Neil Armstrong --- arch/arm/boot/dts/dm816x.dtsi | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm

[PATCH 1/4] arm: dts: add dm816x missing #mbox-cells

2015-10-22 Thread Neil Armstrong
Add missing #mbox-cells for dm816x mbox DT node. Cc: Brian Hutchinson Signed-off-by: Neil Armstrong --- arch/arm/boot/dts/dm816x.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/dm816x.dtsi b/arch/arm/boot/dts/dm816x.dtsi index 3c99cfa..a7a34e4 100644 --- a/arch/arm

[PATCH 4/4] arm: dts: Add omap4-hwspinlock support in dm816x

2015-10-22 Thread Neil Armstrong
Add dm816x DT entries for omap4-hwspinlock support as hwmod spinbox. Cc: Brian Hutchinson Signed-off-by: Neil Armstrong --- arch/arm/boot/dts/dm816x.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/dm816x.dtsi b/arch/arm/boot/dts/dm816x.dtsi index 51ad4a9

[PATCH 3/4] arm: dts: add dm816x pwm property to timers

2015-10-22 Thread Neil Armstrong
Adds ti,timer-pwm property to timers 4 to 7 to permit usage of their PWM output fonctionnality via the dmtimer driver. Cc: Brian Hutchinson Signed-off-by: Neil Armstrong --- arch/arm/boot/dts/dm816x.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/dm816x.dtsi b

[PATCH 1/2] base: dma-coherent: Add DT property for non exclusive shared-dma-pool

2015-10-12 Thread Neil Armstrong
In order to have the ability to declare a non exclusive shared-dma-pool, i.e. without the DMA_MEMORY_EXCLUSIVE flag, add the 'no-exclusive' DT optional parameter to initialize the coherent memory without the flag. Leave exclusive memory as default. Signed-off-by: Neil Armstrong --

[PATCH 0/2] Expose DMA_MEMORY_EXCLUSIVE through shared-dma-pool

2015-10-12 Thread Neil Armstrong
The shared-dma-pool dt node only exposes exclusive memory, but in order to export non-exclusive coherent memory, add the no-exclusive property and document it. Neil Armstrong (2): base: dma-coherent: Add DT property for non exclusive shared-dma-pool devicetree: reserved-memory: document the

[PATCH 2/2] devicetree: reserved-memory: document the optional no-exclusive parameter

2015-10-12 Thread Neil Armstrong
Document the 'no-exclusive' parameter used for the 'shared-dma-pool' compatible reserved-memory type. Signed-off-by: Neil Armstrong --- Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation

pyfdt : Python Flattened Device Tree Parser

2014-09-22 Thread Neil Armstrong
Hi All, I wanted to notice you about a new project I started recently : pyftd You can find the Apache 2 licenced code at : https://github.com/superna/pyfdt I needed to parse Fdt blob from python and I created the corresponding library. The library is python 2.6 and 2.7 compatible and is tes