Re: [PATCH v7 3/3] arm64: Add architecture support for PCI

2014-03-15 Thread Benjamin Herrenschmidt
On Fri, 2014-03-14 at 20:10 +0100, Arnd Bergmann wrote: > > As for the other two functions, I've no special attachment to where they > > are present > > and I'm happy to move them into drivers/pci on the condition that the > > patchset doesn't > > double in size. The reason why I'm weary of touch

Re: [PATCH v18 3/4] ata: Add APM X-Gene SoC AHCI SATA host controller driver

2014-03-15 Thread Loc Ho
Hi, >> This patch adds support for the APM X-Gene SoC AHCI SATA host controller >> driver. It requires the corresponding APM X-Gene SoC PHY driver. This >> initial version only supports Gen3 speed. > > This version seems workable, thanks for the quick follow-up. > > The comment about Gen3 speed ab

[PATCHv4 4/7] mfd: twl-core: Add twl_i2c_read/write_u16

2014-03-15 Thread Sebastian Reichel
Add a simple twl_i2c_read/write_u16 wrapper over the twl_i2c_read/write, which is similar to the twl_i2c_read/write_u8 wrapper. Signed-off-by: Sebastian Reichel Acked-by: Lee Jones Acked-by: Jonathan Cameron Tested-by: Marek Belisko --- include/linux/i2c/twl.h | 12 1 file change

[PATCHv4 3/7] mfd: twl4030-madc: Cleanup driver

2014-03-15 Thread Sebastian Reichel
Some style fixes in twl4030-madc driver. Reported-by: Jonathan Cameron Reported-by: Lee Jones Signed-off-by: Sebastian Reichel Acked-by: Lee Jones Acked-by: Jonathan Cameron Tested-by: Marek Belisko --- drivers/mfd/twl4030-madc.c | 145 +++ include/

[PATCHv4 2/7] mfd: twl4030-madc: Add DT support and convert to IIO framework

2014-03-15 Thread Sebastian Reichel
This converts twl4030-madc module to use the Industrial IO ADC framework and adds device tree support. Signed-off-by: Sebastian Reichel Tested-by: Marek Belisko Acked-by: Lee Jones Acked-by: Jonathan Cameron --- drivers/mfd/twl4030-madc.c | 127 + 1

[PATCHv4 1/7] mfd: twl4030-madc: Use managed resources

2014-03-15 Thread Sebastian Reichel
Update twl4030-madc driver to use managed resources. Signed-off-by: Sebastian Reichel Acked-by: Lee Jones Acked-by: Jonathan Cameron Tested-by: Marek Belisko --- drivers/mfd/twl4030-madc.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/drivers/mfd/twl4030-

[PATCHv4 7/7] mfd: twl4030-madc: Move driver to drivers/iio/adc

2014-03-15 Thread Sebastian Reichel
This is a driver for an A/D converter, which belongs into drivers/iio/adc. Signed-off-by: Sebastian Reichel Acked-by: Lee Jones Acked-by: Jonathan Cameron --- drivers/iio/adc/Kconfig | 10 ++ drivers/iio/adc/Makefile| 1 + drivers/{mfd => iio/adc}/twl40

[PATCHv4 5/7] mfd: twl4030-madc: Use twl_i2c_read/write_u16 for 16 bit registers

2014-03-15 Thread Sebastian Reichel
Simplify reading and writing of 16 bit TWL registers in the driver by using twl_i2c_read_u16 and twl_i2c_write_u16. Signed-off-by: Sebastian Reichel Acked-by: Lee Jones Acked-by: Jonathan Cameron Tested-by: Marek Belisko --- drivers/mfd/twl4030-madc.c | 39

[PATCHv4 6/7] Documentation: DT: Document twl4030-madc binding

2014-03-15 Thread Sebastian Reichel
Add devicetree binding documentation for twl4030-madc analog digital converter. Signed-off-by: Sebastian Reichel Acked-by: Jonathan Cameron --- .../devicetree/bindings/iio/adc/twl4030-madc.txt | 24 ++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devi

[PATCHv4 0/7] Convert twl4030-madc to IIO API and add DT support

2014-03-15 Thread Sebastian Reichel
Hi, This is PATCHv4 for converting twl4030-madc to the IIO API and adding DT support. The plan is to remove the private twl4030-madc API once all users have been removed or converted to the IIO API. The patchset compiles and has been tested on my Nokia N900. Changes since PATCHv3 [0]: * Dropped

Re: [PATCH v4 1/9] watchdog: orion: Move the register ioremap'ing to its own function

2014-03-15 Thread Guenter Roeck
On 03/15/2014 11:17 AM, Ezequiel Garcia wrote: Follow-up patches will extend the registers ioremap and request to handle SoC-specific quirks on the RSTOUT register. Therefore, in order to keep the code readable, this commit introduces a special function for this. Signed-off-by: Ezequiel Garcia

Re: [PATCH net-next V5 0/9] Altera Triple Speed Ethernet (TSE) Driver

2014-03-15 Thread Vince Bridgers
Hi Dave On Fri, Mar 14, 2014 at 2:15 PM, David Miller wrote: > From: David Miller > Date: Fri, 14 Mar 2014 15:07:20 -0400 (EDT) > >> From: Vince Bridgers >> Date: Fri, 14 Mar 2014 09:04:38 -0500 >> >>> This is the version 5 submission for the Altera Triple Speed Ethernet (TSE) >>> driver. All c

Re: [RFC v3 3/3] of: Make of_find_node_by_path() handle /aliases

2014-03-15 Thread Rob Herring
On Sat, Mar 15, 2014 at 7:33 AM, Grant Likely wrote: > On Fri, 14 Mar 2014 16:39:38 -0500, Rob Herring wrote: >> On Fri, Mar 14, 2014 at 12:11 PM, Grant Likely >> wrote: >> > Make of_find_node_by_path() handle aliases as prefixes. To make this >> > work the name search is refactored to search b

[PATCH v4 8/9] ARM: mvebu: Enable Armada 380/385 watchdog in the devicetree

2014-03-15 Thread Ezequiel Garcia
Add the DT nodes to enable the watchdog support available on Armada 380/385 SoC. Reviewed-by: Guenter Roeck Signed-off-by: Ezequiel Garcia --- arch/arm/boot/dts/armada-38x.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/armada-38x.dtsi b/arch/arm/boot/dts/arma

[PATCH v4 9/9] ARM: mvebu: Add A375/A380 watchdog binding documentation

2014-03-15 Thread Ezequiel Garcia
This commit documents the new support for "marvell,armada-{375,380}-wdt" compatible strings and the extra 'reg' entry requirement. Reviewed-by: Guenter Roeck Signed-off-by: Ezequiel Garcia --- Documentation/devicetree/bindings/watchdog/marvel.txt | 7 +++ 1 file changed, 7 insertions(+) di

[PATCH v4 7/9] ARM: mvebu: Enable Armada 375 watchdog in the devicetree

2014-03-15 Thread Ezequiel Garcia
Add the DT nodes to enable the watchdog support available on Armada 375 SoC. Reviewed-by: Guenter Roeck Signed-off-by: Ezequiel Garcia --- arch/arm/boot/dts/armada-375.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/armada-375.dtsi b/arch/arm/boot/dts/armada-37

[PATCH v4 1/9] watchdog: orion: Move the register ioremap'ing to its own function

2014-03-15 Thread Ezequiel Garcia
Follow-up patches will extend the registers ioremap and request to handle SoC-specific quirks on the RSTOUT register. Therefore, in order to keep the code readable, this commit introduces a special function for this. Signed-off-by: Ezequiel Garcia --- drivers/watchdog/orion_wdt.c | 38 ++

[PATCH v4 0/9] Watchdog support for Armada 375/38x SoC

2014-03-15 Thread Ezequiel Garcia
Fourth round of the patchset adding support for watchdog on Armada 375 and Armada 38x SoCs. The new Armada 375/385 SoCs have two registers for the watchdog RSTOUT: 1. It has a dedicated register (similar to the one in A370/XP) 2. Also has a bit in a shared RSTOUT register. Therefore, in order

[PATCH v4 3/9] watchdog: orion: Remove unneeded atomic access

2014-03-15 Thread Ezequiel Garcia
The RSTOUT register on the Armada 370 SoC variant is a dedicated register (not shared across orthogonal subsystems) and so it's not needed to write it atomically. Reviewed-by: Guenter Roeck Signed-off-by: Ezequiel Garcia --- drivers/watchdog/orion_wdt.c | 7 +-- 1 file changed, 5 insertions

[PATCH v4 2/9] watchdog: orion: Introduce a SoC-specific RSTOUT mapping

2014-03-15 Thread Ezequiel Garcia
Separate the RSTOUT register mapping for the different compatible strings supported by the driver. This allows to use devm_ioremap on SoC variants that share the RSTOUT register, and devm_ioremap_resource (which requests the MMIO region) on SoCs that have a dedicated RSTOUT register. Reviewed-by:

[PATCH v4 4/9] watchdog: orion: Introduce per-SoC stop() function

2014-03-15 Thread Ezequiel Garcia
In order to support other SoCs, it's needed to have a different stop() implementation for each SoC. This commit adds no functionality, and it consists of preparation work. Reviewed-by: Guenter Roeck Signed-off-by: Ezequiel Garcia --- drivers/watchdog/orion_wdt.c | 29 +++

[PATCH v4 6/9] watchdog: orion: Add Armada 375/380 SoC support

2014-03-15 Thread Ezequiel Garcia
This commit adds support for the Armada 375 and Armada 380 SoCs. This SoC variant has a second RSTOUT register, in addition to the already existent, which is shared with the system-controller. To handle this RSTOUT, we introduce a new MMIO register 'rstout_mask' to be required on 'armada-{375,380}

[PATCH v4 5/9] watchdog: orion: Introduce per-SoC enabled() function

2014-03-15 Thread Ezequiel Garcia
In order to support other SoCs, it's needed to have a different enabled() implementation for each SoC. This commit adds no functionality, and it consists of preparation work. Reviewed-by: Guenter Roeck Signed-off-by: Ezequiel Garcia --- drivers/watchdog/orion_wdt.c | 15 +-- 1 file

Re: [PATCHv4 4/7] hwspinlock/core: add common OF helpers

2014-03-15 Thread Ohad Ben-Cohen
On Fri, Mar 14, 2014 at 5:23 PM, Josh Cartwright wrote: > So, are you suggesting that because fatal errors should be "extremely > rare", a consuming driver should just assume that if NULL is returned > from a hwspin_lock_request*() function that it was the "device not yet > probed" case that was h

Re: [PATCH v2 7/8] ARM: sun7i: dt: Add AXP209 support to various boards

2014-03-15 Thread Carlo Caione
On Sat, Mar 15, 2014 at 04:45:08PM +0100, Hans de Goede wrote: > Hi, > > Thanks for your continued work on this. > > On 03/15/2014 04:43 PM, Carlo Caione wrote: > > Signed-off-by: Hans de Goede > > Signed-off-by: Carlo Caione > > --- > > arch/arm/boot/dts/sun7i-a20-cubieboard2.dts | 12 +++

Re: [PATCH v2 7/8] ARM: sun7i: dt: Add AXP209 support to various boards

2014-03-15 Thread Hans de Goede
Hi, Thanks for your continued work on this. On 03/15/2014 04:43 PM, Carlo Caione wrote: > Signed-off-by: Hans de Goede > Signed-off-by: Carlo Caione > --- > arch/arm/boot/dts/sun7i-a20-cubieboard2.dts | 12 > arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 13 + >

[PATCH v2 5/8] regulator: AXP20x: Add support for regulators subsystem

2014-03-15 Thread Carlo Caione
AXP202 and AXP209 come with two synchronous step-down DC-DCs and five LDOs. This patch introduces basic support for those regulators. Signed-off-by: Carlo Caione --- drivers/regulator/Kconfig| 7 + drivers/regulator/Makefile | 1 + drivers/regulator/axp20x-regulator.c |

[PATCH v2 4/8] input: misc: Add ABI docs for AXP20x PEK

2014-03-15 Thread Carlo Caione
Add ABI entries for the PEK found on PMU X-Powers AXP202 and AXP209. Signed-off-by: Carlo Caione --- Documentation/ABI/testing/sysfs-driver-input-axp-pek | 11 +++ 1 file changed, 11 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-driver-input-axp-pek diff --git a/Docu

[PATCH v2 6/8] ARM: sunxi: dt: Add x-powers-axp209.dtsi file

2014-03-15 Thread Carlo Caione
This dtsi describes the axp209 PMIC, and is to be included from inside the i2c controller node to which the axp209 is connected. Signed-off-by: Hans de Goede Signed-off-by: Carlo Caione --- arch/arm/boot/dts/x-powers-axp209.dtsi | 60 ++ 1 file changed, 60 insert

[PATCH v2 3/8] input: misc: Add driver for AXP20x Power Enable Key

2014-03-15 Thread Carlo Caione
This patch add support for the Power Enable Key found on MFD AXP202 and AXP209. Besides the basic support for the button, the driver adds two entries in sysfs to configure the time delay for power on/off. Signed-off-by: Carlo Caione --- drivers/input/misc/Kconfig | 11 ++ drivers/input/mis

[PATCH v2 7/8] ARM: sun7i: dt: Add AXP209 support to various boards

2014-03-15 Thread Carlo Caione
Signed-off-by: Hans de Goede Signed-off-by: Carlo Caione --- arch/arm/boot/dts/sun7i-a20-cubieboard2.dts | 12 arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 13 + arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts | 12 3 files changed, 37 insertions(+)

[PATCH v2 8/8] ARM: sunxi: Add AXP20x support in defconfig

2014-03-15 Thread Carlo Caione
Signed-off-by: Carlo Caione --- arch/arm/configs/sunxi_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/configs/sunxi_defconfig b/arch/arm/configs/sunxi_defconfig index 3e2259b..0cef101 100644 --- a/arch/arm/configs/sunxi_defconfig +++ b/arch/arm/configs/sunxi_defconfig

[PATCH v2 0/8] mfd: AXP20x: Add support for AXP202 and AXP209

2014-03-15 Thread Carlo Caione
AXP209 and AXP202 are the PMUs (Power Management Unit) used by A10, A13 and A20 SoCs and developed by X-Powers, a sister company of Allwinner. AXP20x comprises an adaptive USB-Compatible PWM charger, 2 BUCK DC-DC converters, 5 LDOs, multiple 12-bit ADCs of voltage, current and temperature as well a

[PATCH v2 2/8] mfd: AXP20x: Add bindings documentation

2014-03-15 Thread Carlo Caione
Bindings documentation for the AXP20x driver. In this file also two sub-nodes (PEK and regulators) are documented. Signed-off-by: Carlo Caione --- Documentation/devicetree/bindings/mfd/axp20x.txt | 83 ++ .../devicetree/bindings/vendor-prefixes.txt| 1 + 2 files ch

[PATCH v2 1/8] mfd: AXP20x: Add mfd driver for AXP20x PMIC

2014-03-15 Thread Carlo Caione
This patch introduces the preliminary support for PMICs X-Powers AXP202 and AXP209. The AXP209 and AXP202 are the PMUs (Power Management Unit) used by A10, A13 and A20 SoCs and developed by X-Powers, a sister company of Allwinner. The core enables support for two subsystems: - PEK (Power Enable Ke

Re: [PATCHv3 9/9] iio: inkern: add iio_read_channel_average_raw

2014-03-15 Thread Jonathan Cameron
On 10/03/14 17:25, Sebastian Reichel wrote: Add iio_read_channel_average_raw to support reading averaged raw values in consumer drivers. Signed-off-by: Sebastian Reichel As this one also stands fine on it's own and isn't actually used by the rest of the patch set - applied to the togreg branch

Re: [PATCHv3 8/9] iio: documentation: Add ABI documentation for *_mean_raw

2014-03-15 Thread Jonathan Cameron
On 10/03/14 17:25, Sebastian Reichel wrote: Add ABI documentation for in_*_mean_raw files, which are already supported and used in the kernel for some time. Signed-off-by: Sebastian Reichel As this one stands fine on it's own... Applied to the togreg branch of iio.git Thanks --- Documenta

Re: [PATCHv3 3/9] mfd: twl4030-madc: Cleanup driver

2014-03-15 Thread Jonathan Cameron
On 10/03/14 17:25, Sebastian Reichel wrote: Some style fixes in twl4030-madc driver. Reported-by: Jonathan Cameron Reported-by: Lee Jones Signed-off-by: Sebastian Reichel Acked-by: Lee Jones Tested-by: Marek Belisko Acked-by: Jonathan Cameron One, whilst you are here request below. ---

Re: [PATCHv3 2/9] mfd: twl4030-madc: Add DT support and convert to IIO framework

2014-03-15 Thread Jonathan Cameron
On 10/03/14 17:25, Sebastian Reichel wrote: This converts twl4030-madc module to use the Industrial IO ADC framework and adds device tree support. Signed-off-by: Sebastian Reichel Tested-by: Marek Belisko One issue in the remove function. Reorder that and I'm happy. --- drivers/mfd/twl4

Re: [PATCHv3 1/9] mfd: twl4030-madc: Use managed resources

2014-03-15 Thread Jonathan Cameron
On 10/03/14 17:25, Sebastian Reichel wrote: Update twl4030-madc driver to use managed resources. Signed-off-by: Sebastian Reichel Acked-by: Lee Jones Tested-by: Marek Belisko My email client was having a crazy day and not showing me this revision of the patches - I'll bring my comments acros

Re: [PATCHv2 9/9] iio: inkern: add iio_read_channel_average_raw

2014-03-15 Thread Jonathan Cameron
On 04/03/14 22:05, Sebastian Reichel wrote: Add iio_read_channel_average_raw to support reading averaged raw values in consumer drivers. Signed-off-by: Sebastian Reichel Acked-by: Jonathan Cameron Sometimes these wrappers seem a little bit silly. There might be a case for automating them som

Re: [PATCHv2 8/9] iio: documentation: Add ABI documentation for *_mean_raw

2014-03-15 Thread Jonathan Cameron
On 04/03/14 22:05, Sebastian Reichel wrote: Add ABI documentation for in_*_mean_raw files, which are already supported and used in the kernel for some time. Signed-off-by: Sebastian Reichel Acked-by: Jonathan Cameron Thanks for doing this. --- Documentation/ABI/testing/sysfs-bus-iio | 8 +

Re: [PATCHv2 6/9] Documentation: DT: Document twl4030-madc binding

2014-03-15 Thread Jonathan Cameron
On 04/03/14 22:05, Sebastian Reichel wrote: Add devicetree binding documentation for twl4030-madc analog digital converter. Signed-off-by: Sebastian Reichel I'm happy with this, but it needs the usual sign off form a device tree maintainer or 3 weeks to pass since it was posted. Acked-by: Jona

Re: [PATCHv2 3/9] mfd: twl4030-madc: Cleanup driver

2014-03-15 Thread Jonathan Cameron
On 04/03/14 22:05, Sebastian Reichel wrote: Some style fixes in twl4030-madc driver. Reported-by: Jonathan Cameron Gah - not sure I want to be known for reporting style issues :) Signed-off-by: Sebastian Reichel Acked-by: Lee Jones Looks good - one little whilst you are here comment below.

Re: [PATCHv2 2/9] mfd: twl4030-madc: Add DT support and convert to IIO framework

2014-03-15 Thread Jonathan Cameron
On 04/03/14 22:05, Sebastian Reichel wrote: This converts twl4030-madc module to use the Industrial IO ADC framework and adds device tree support. Signed-off-by: Sebastian Reichel One issues right down in the remove function alongside the ones Lee raised. Otherwise looks pretty much there to m

Re: [PATCHv2 1/9] mfd: twl4030-madc: Use managed resources

2014-03-15 Thread Jonathan Cameron
On 04/03/14 22:05, Sebastian Reichel wrote: Update twl4030-madc driver to use managed resources. Signed-off-by: Sebastian Reichel Acked-by: Lee Jones Acked-by: Jonathan Cameron --- drivers/mfd/twl4030-madc.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --gi

[PATCH v2 1/2] irqchip: sun4i: Use handle_fasteoi_irq for all interrupts

2014-03-15 Thread Hans de Goede
Since the sun4i irq chip does not require any action and clears the interrupt when the level goes back to inactive, we don't need to mask / unmask for non oneshot IRQs, to achieve this we make sun4i_irq_ack a nop for all irqs except irq 0 and use handle_fasteoi_irq for all interrupts. Now there mi

[PATCH v2 2/2] irqchip: sun4i: simplify sun4i_irq_ack

2014-03-15 Thread Hans de Goede
Now that we only ack irq 0 the code can be simplified a lot. Also switch from read / modify / write to a simple write clear: 1) This is what the android code does (it has a hack for acking irq 0 in its unmask code doing this) 2) read / modify / write simply does not make sense for an irq status

[PATCH v2 0/2] irqchip: sun4i: Use handle_fasteoi_irq for all irqs

2014-03-15 Thread Hans de Goede
Hi All, Here is v2 of my patchset for sun4i-irq.c to use handle_fasteoi_irq for all irqs + follow up clean-up patch. Changes since v2: -adjust commit msg based on Thomas' comments, and merge patch 1 and 2 as they make more sense as 1 patch Regards, Hans -- To unsubscribe from this list: send t

Re: [PATCH v8 2/2] iio: Add AS3935 lightning sensor support

2014-03-15 Thread Jonathan Cameron
On 13/03/14 02:09, Marek Vasut wrote: On Wednesday, March 12, 2014 at 01:53:14 PM, Matt Ranostay wrote: AS3935 chipset can detect lightning strikes and reports those back as events and the estimated distance to the storm. Signed-off-by: Matt Ranostay Reviewed-by: Marek Vasut I'm not 100% h

Re: [PATCH v8 1/2] iio:as3935: Add DT binding docs for AS3935 driver

2014-03-15 Thread Jonathan Cameron
On 12/03/14 14:30, Rob Herring wrote: On Wed, Mar 12, 2014 at 7:53 AM, Matt Ranostay wrote: Document compatible string, required and optional DT properties for AS3935 chipset driver. Signed-off-by: Matt Ranostay Acked-by: Rob Herring Applied to the togreg branch of iio.git (probably pushe

[PATCH v6 3/3] ARM: sun7i/sun6i: irqchip: Update the documentation

2014-03-15 Thread Carlo Caione
Added documentation for NMI irqchip. Signed-off-by: Carlo Caione --- .../allwinner,sun67i-sc-nmi.txt| 27 ++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/allwinner,sun67i-sc-nmi.txt diff --gi

[PATCH v6 1/3] ARM: sun7i/sun6i: irqchip: Add irqchip driver for NMI controller

2014-03-15 Thread Carlo Caione
Allwinner A20/A31 SoCs have special registers to control / (un)mask / acknowledge NMI. This NMI controller is separated and independent from GIC. This patch adds a new irqchip to manage NMI. Signed-off-by: Carlo Caione Acked-by: Maxime Ripard --- drivers/irqchip/Makefile| 1 + drivers

[PATCH v6 2/3] ARM: sun7i/sun6i: dts: Add NMI irqchip support

2014-03-15 Thread Carlo Caione
This patch adds DTS entries for NMI controller as child of GIC. Signed-off-by: Carlo Caione --- arch/arm/boot/dts/sun6i-a31.dtsi | 9 + arch/arm/boot/dts/sun7i-a20.dtsi | 9 + 2 files changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun

[PATCH v6 0/3] ARM: sun7i/sun6i: irqchip: Irqchip driver for NMI controller

2014-03-15 Thread Carlo Caione
Allwinner A20/A31 SoCs have a special interrupt controller for managing NMI. Three register are present to (un)mask, control and acknowledge NMI. These two patches add a new irqchip driver in cascade with GIC. Changes since v1: - added binding document Changes since v2: - fixed tr

[PATCH v2 4/5] net: cpsw: Use cpsw-ctrl-macid driver

2014-03-15 Thread Markus Pargmann
Use ctrl-macid driver to obtain the macids stored in the processor. This is only done when defined in DT. The internal macid is not used if mac-address is given explicitly. So it does not change the behavior if the bootloader provides a mac address through the mac-address property Signed-off-by:

[PATCH v2 1/5] net: cpsw: document mac-address being optional

2014-03-15 Thread Markus Pargmann
mac-address is an optional property. If no mac-address is set, a random mac-address will be generated. Signed-off-by: Markus Pargmann --- Documentation/devicetree/bindings/net/cpsw.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/net/cpsw.

[PATCH v2 0/5] net: cpsw: Support for am335x chip MACIDs

2014-03-15 Thread Markus Pargmann
Hi, This series introduces a driver to read and use the MACIDs stored in the am335x control module. These are read-only registers for a unique MACID. At the moment the MACIDs are generated randomly when the mac-address property is not a valid mac address. In v2 I changed the precedence of mac-add

[PATCH v2 3/5] net: cpsw: Add control-module macid driver

2014-03-15 Thread Markus Pargmann
This driver extracts the hardware macid from the control module of am335x processors. It exports a function cpsw_ctrl_macid_read for cpsw to get the macid from within the processor. Signed-off-by: Markus Pargmann --- .../devicetree/bindings/net/cpsw-ctrl-macid.txt| 32 + drivers/net/eth

[PATCH v2 2/5] net: cpsw: make cpsw.h self-contained

2014-03-15 Thread Markus Pargmann
cpsw.h uses the symbol MII_BUS_ID_SIZE which is defined in . Add the respective #include to not depend on users to include it themselves. Signed-off-by: Markus Pargmann --- drivers/net/ethernet/ti/cpsw.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/ti/cpsw.h b/drivers

[PATCH v2 5/5] arm: dts: am33xx, Add device node for cpsw-ctrl-macid

2014-03-15 Thread Markus Pargmann
Add cpsw-ctrl-macid to the am33xx dtsi file. It does not change the behaviour of boards with a provided mac-address, so it is safe to add it for all boards with this CPU. Signed-off-by: Markus Pargmann --- arch/arm/boot/dts/am33xx.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a

Re: [PATCH v5 09/11] arm: add support for reserved memory defined by device tree

2014-03-15 Thread Grant Likely
On Thu, 13 Mar 2014 14:51:56 -0700, Kevin Hilman wrote: > Josh Cartwright writes: > > > On Thu, Mar 13, 2014 at 01:46:50PM -0700, Kevin Hilman wrote: > >> On Fri, Feb 21, 2014 at 4:25 AM, Marek Szyprowski > >> wrote: > >> > Enable reserved memory initialization from device tree. > >> > > >> > S

Re: [PATCHv2 8/8] devfreq: exynos4: Add busfreq driver for exynos4210/exynos4x12

2014-03-15 Thread Tomasz Figa
On 15.03.2014 12:36, Kyungmin Park wrote: On Sat, Mar 15, 2014 at 2:35 AM, Tomasz Figa wrote: Hi Chanwoo, Mark, On 14.03.2014 11:56, Chanwoo Choi wrote: Hi Mark, On 03/14/2014 07:35 PM, Mark Rutland wrote: On Fri, Mar 14, 2014 at 07:14:37AM +, Chanwoo Choi wrote: Hi Mark, On 03/14

Re: [RFC v3 3/3] of: Make of_find_node_by_path() handle /aliases

2014-03-15 Thread Grant Likely
On Fri, 14 Mar 2014 16:39:38 -0500, Rob Herring wrote: > On Fri, Mar 14, 2014 at 12:11 PM, Grant Likely > wrote: > > Make of_find_node_by_path() handle aliases as prefixes. To make this > > work the name search is refactored to search by path component instead > > of by full string. This should

[PATCH v3 4/4] ASoC: simple-card: Add DT documentation for multi-DAI links

2014-03-15 Thread Jean-Francois Moine
There may be many couples of CPU/CODEC DAI links. The example 2 is extracted from the Cubox DT. Signed-off-by: Jean-Francois Moine --- .../devicetree/bindings/sound/simple-card.txt | 34 +- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/Documentation/devic

Re: [PATCHv2 8/8] devfreq: exynos4: Add busfreq driver for exynos4210/exynos4x12

2014-03-15 Thread Kyungmin Park
On Sat, Mar 15, 2014 at 2:35 AM, Tomasz Figa wrote: > Hi Chanwoo, Mark, > > > On 14.03.2014 11:56, Chanwoo Choi wrote: >> >> Hi Mark, >> >> On 03/14/2014 07:35 PM, Mark Rutland wrote: >>> >>> On Fri, Mar 14, 2014 at 07:14:37AM +, Chanwoo Choi wrote: Hi Mark, On 03/14/2014 0

Re: [PATCH v18 3/4] ata: Add APM X-Gene SoC AHCI SATA host controller driver

2014-03-15 Thread Arnd Bergmann
On Saturday 15 March 2014, Loc Ho wrote: > This patch adds support for the APM X-Gene SoC AHCI SATA host controller > driver. It requires the corresponding APM X-Gene SoC PHY driver. This > initial version only supports Gen3 speed. This version seems workable, thanks for the quick follow-up. The

Re: [PATCH v18 4/4] arm64: Add APM X-Gene SoC AHCI SATA host controller DTS entries

2014-03-15 Thread Arnd Bergmann
On Saturday 15 March 2014, Loc Ho wrote: > This patch adds APM X-Gene SoC AHCI SATA host controller DTS entries. > > Signed-off-by: Loc Ho > Signed-off-by: Tuan Phan > Signed-off-by: Suman Tripathi Acked-by: Arnd Bergmann -- To unsubscribe from this list: send the line "unsubscribe devicetree

Re: [PATCH v18 2/4] Documentation: Add documentation for the APM X-Gene SoC SATA host controller DTS binding

2014-03-15 Thread Arnd Bergmann
On Saturday 15 March 2014, Loc Ho wrote: > This patch adds documentation for the APM X-Gene SoC SATA host controller DTS > binding. > > Signed-off-by: Loc Ho > Signed-off-by: Tuan Phan > Signed-off-by: Suman Tripathi Acked-by: Arnd Bergmann -- To unsubscribe from this list: send the line "uns

Re: [PATCH v18 1/4] arm64: Add APM X-Gene SoC 15Gbps Multi-purpose PHY DTS entries

2014-03-15 Thread Arnd Bergmann
On Saturday 15 March 2014, Loc Ho wrote: > This patch adds the DTS entries for the APM X-Gene SoC 15Gbps Multi-purpose > PHY driver. The PHY for SATA controller 2 and 3 are enabled by default. > > Signed-off-by: Loc Ho > Signed-off-by: Tuan Phan > Signed-off-by: Suman Tripathi Acked-by: Arnd B

Re: [PATCH v17 3/4] ata: Add APM X-Gene SoC AHCI SATA host controller driver

2014-03-15 Thread Arnd Bergmann
On Friday 14 March 2014, Loc Ho wrote: > > I still think it's rather unlikely that we will actually see ACPI support > > on your platform, btw. > > > > I'm willing to look at the patches you need for it, but I'm not very > > optimistic, in particular because of the kind of hacks you need > > for r

Re: [PATCH v4 2/4] arm64: dts: APM X-Gene PCIe device tree nodes

2014-03-15 Thread Arnd Bergmann
On Saturday 15 March 2014, Tanmay Inamdar wrote: > On Fri, Mar 14, 2014 at 5:07 AM, Arnd Bergmann wrote: > > On Thursday 06 March 2014, Tanmay Inamdar wrote: > >> + pcie0: pcie@1f2b { > >> + status = "disabled"; > >> + device_type = "pci"; >

Re: [PATCH v2] gpio: davinci: fix gpio selection for OF

2014-03-15 Thread Alexander Holler
Am 14.03.2014 20:52, schrieb Linus Walleij: So a few Tested-by's from the people using this driver would for example convince me that it is solving a real problem for them and it needs to go into fixes. 2001: a space odyssey is fast action movie compared with the movie kernel bug fixing. And