[PATCH v3] i2c: axxia: Add I2C driver for AXM55xx

2014-10-03 Thread Anders Berg
Add I2C bus driver for the controller found in the LSI Axxia family SoCs. The driver implements 10-bit addressing and SMBus transfer modes via emulation (including SMBus block data read). Signed-off-by: Anders Berg --- Changelog v3: - class-based instantiation not used - move driver

Re: [PATCH v2] i2c: axxia: Add I2C driver for AXM55xx

2014-10-03 Thread Anders Berg
On Fri, Oct 3, 2014 at 12:36 PM, Wolfram Sang wrote: >> diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig >> index 2ac87fa..8983474 100644 >> --- a/drivers/i2c/busses/Kconfig >> +++ b/drivers/i2c/busses/Kconfig >> @@ -77,6 +77,17 @@ config I2C_AMD8111 >> This driver can

Re: [PATCH v2] i2c: axxia: Add I2C driver for AXM55xx

2014-10-03 Thread Anders Berg
On Fri, Oct 3, 2014 at 12:36 PM, Wolfram Sang w...@the-dreams.de wrote: diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig index 2ac87fa..8983474 100644 --- a/drivers/i2c/busses/Kconfig +++ b/drivers/i2c/busses/Kconfig @@ -77,6 +77,17 @@ config I2C_AMD8111 This

[PATCH v3] i2c: axxia: Add I2C driver for AXM55xx

2014-10-03 Thread Anders Berg
Add I2C bus driver for the controller found in the LSI Axxia family SoCs. The driver implements 10-bit addressing and SMBus transfer modes via emulation (including SMBus block data read). Signed-off-by: Anders Berg anders.b...@avagotech.com --- Changelog v3: - class-based instantiation

Re: [PATCH v2] i2c: axxia: Add I2C driver for AXM55xx

2014-09-29 Thread Anders Berg
On Mon, Sep 29, 2014 at 12:07 PM, Varka Bhadram wrote: > On 09/29/2014 03:02 PM, Anders Berg wrote: >> >> Add I2C bus driver for the controller found in the LSI Axxia family SoCs. >> The >> driver implements 10-bit addressing and SMBus transfer modes via emulation >

[PATCH v2] i2c: axxia: Add I2C driver for AXM55xx

2014-09-29 Thread Anders Berg
Add I2C bus driver for the controller found in the LSI Axxia family SoCs. The driver implements 10-bit addressing and SMBus transfer modes via emulation (including SMBus block data read). Signed-off-by: Anders Berg --- Changelog v2: - Document the len <= 255 limitation - ret

Re: [PATCH 07/10] power/reset: axxia: Register with kernel restart handler

2014-09-29 Thread Anders Berg
On Sat, Sep 27, 2014 at 2:57 AM, Guenter Roeck wrote: > Register with kernel restart handler instead of setting arm_pm_restart > directly. > > Cc: Anders Berg > Signed-off-by: Guenter Roeck > --- > drivers/power/reset/axxia-reset.c | 19 ++- > 1 fil

Re: [PATCH 07/10] power/reset: axxia: Register with kernel restart handler

2014-09-29 Thread Anders Berg
On Sat, Sep 27, 2014 at 2:57 AM, Guenter Roeck li...@roeck-us.net wrote: Register with kernel restart handler instead of setting arm_pm_restart directly. Cc: Anders Berg anders.b...@lsi.com Signed-off-by: Guenter Roeck li...@roeck-us.net --- drivers/power/reset/axxia-reset.c | 19

[PATCH v2] i2c: axxia: Add I2C driver for AXM55xx

2014-09-29 Thread Anders Berg
Add I2C bus driver for the controller found in the LSI Axxia family SoCs. The driver implements 10-bit addressing and SMBus transfer modes via emulation (including SMBus block data read). Signed-off-by: Anders Berg anders.b...@avagotech.com --- Changelog v2: - Document the len = 255

Re: [PATCH v2] i2c: axxia: Add I2C driver for AXM55xx

2014-09-29 Thread Anders Berg
On Mon, Sep 29, 2014 at 12:07 PM, Varka Bhadram varkabhad...@gmail.com wrote: On 09/29/2014 03:02 PM, Anders Berg wrote: Add I2C bus driver for the controller found in the LSI Axxia family SoCs. The driver implements 10-bit addressing and SMBus transfer modes via emulation (including SMBus

Re: [PATCH] i2c: axxia: Add I2C driver for AXM55xx

2014-09-22 Thread Anders Berg
On Mon, Sep 22, 2014 at 1:04 PM, Wolfram Sang wrote: > >> >> >> + if (msg->len == 0 || msg->len > 255) >> >> >> + return -EINVAL; >> >> > >> >> > Ouch, really? Maybe we should warn the user here. >> >> >> >> Yeah, the transfer length register limits the length to 255. I'll add >>

Re: [PATCH] i2c: axxia: Add I2C driver for AXM55xx

2014-09-22 Thread Anders Berg
On Mon, Sep 22, 2014 at 11:59 AM, Wolfram Sang wrote: >> >> +static int >> >> +axxia_i2c_xfer_msg(struct axxia_i2c_dev *idev, struct i2c_msg *msg) >> >> +{ >> >> + u32 int_mask = MST_STATUS_ERR | MST_STATUS_SNS; >> >> + u32 rx_xfer, tx_xfer; >> >> + u32 addr_1, addr_2; >> >> + int

Re: [PATCH] i2c: axxia: Add I2C driver for AXM55xx

2014-09-22 Thread Anders Berg
On Mon, Sep 22, 2014 at 11:59 AM, Wolfram Sang wrote: > >> >> + if (idev->msg_xfrd == 0 && i2c_m_recv_len(msg)) { >> >> + /* >> >> + * Check length byte for SMBus block read >> >> + */ >> >> + if (c <=

Re: [PATCH] i2c: axxia: Add I2C driver for AXM55xx

2014-09-22 Thread Anders Berg
On Sat, Sep 20, 2014 at 2:12 PM, Wolfram Sang wrote: > Hi, > > thanks for the submission. Sure. Thanks for the comments. I'll update the patch and submit a v2. > > On Mon, Aug 25, 2014 at 01:51:22PM +0200, Anders Berg wrote: >> Add I2C bus driver for the controller found in

Re: [PATCH] i2c: axxia: Add I2C driver for AXM55xx

2014-09-22 Thread Anders Berg
On Sat, Sep 20, 2014 at 2:12 PM, Wolfram Sang w...@the-dreams.de wrote: Hi, thanks for the submission. Sure. Thanks for the comments. I'll update the patch and submit a v2. On Mon, Aug 25, 2014 at 01:51:22PM +0200, Anders Berg wrote: Add I2C bus driver for the controller found in the LSI

Re: [PATCH] i2c: axxia: Add I2C driver for AXM55xx

2014-09-22 Thread Anders Berg
On Mon, Sep 22, 2014 at 11:59 AM, Wolfram Sang w...@the-dreams.de wrote: + if (idev-msg_xfrd == 0 i2c_m_recv_len(msg)) { + /* + * Check length byte for SMBus block read + */ + if (c = 0) { +

Re: [PATCH] i2c: axxia: Add I2C driver for AXM55xx

2014-09-22 Thread Anders Berg
On Mon, Sep 22, 2014 at 11:59 AM, Wolfram Sang w...@the-dreams.de wrote: +static int +axxia_i2c_xfer_msg(struct axxia_i2c_dev *idev, struct i2c_msg *msg) +{ + u32 int_mask = MST_STATUS_ERR | MST_STATUS_SNS; + u32 rx_xfer, tx_xfer; + u32 addr_1, addr_2; + int ret; +

Re: [PATCH] i2c: axxia: Add I2C driver for AXM55xx

2014-09-22 Thread Anders Berg
On Mon, Sep 22, 2014 at 1:04 PM, Wolfram Sang w...@the-dreams.de wrote: + if (msg-len == 0 || msg-len 255) + return -EINVAL; Ouch, really? Maybe we should warn the user here. Yeah, the transfer length register limits the length to 255. I'll add a warning here.

[PATCH v2] spi: pl022: Add support for chip select extension

2014-09-17 Thread Anders Berg
be overridden in the device tree using the "arm,primecell-periphid" property with the value 0x000b6022. Signed-off-by: Anders Berg --- Adding Russell to Cc. Changelog: v2: - added constant to drivers/spi/spi-pl022.c | 59 +++- include/linux/

[PATCH v2] spi: pl022: Add support for chip select extension

2014-09-17 Thread Anders Berg
be overridden in the device tree using the arm,primecell-periphid property with the value 0x000b6022. Signed-off-by: Anders Berg anders.b...@avagotech.com --- Adding Russell to Cc. Changelog: v2: - added constant to linux/amba/bus.h drivers/spi/spi-pl022.c | 59

[PATCH v2] spi: pl022: Add support for chip select extension

2014-09-15 Thread Anders Berg
be overridden in the device tree using the "arm,primecell-periphid" property with the value 0x000b6022. Signed-off-by: Anders Berg --- Changelog: v2: - added constant to drivers/spi/spi-pl022.c | 59 +++- include/linux/amba/bus.h | 5 +++

Re: [PATCH] spi: pl022: Add support for chip select extension

2014-09-15 Thread Anders Berg
On Fri, Sep 12, 2014 at 7:00 PM, Linus Walleij wrote: > On Thu, Sep 11, 2014 at 10:10 PM, Anders Berg > wrote: (...) >> I picked 0xb6 since I've seen some reference manuals for other AMBA >> peripherals the use of JEDEC assigned vendor IDs in this register field (se

Re: [PATCH] spi: pl022: Add support for chip select extension

2014-09-15 Thread Anders Berg
On Fri, Sep 12, 2014 at 7:00 PM, Linus Walleij linus.wall...@linaro.org wrote: On Thu, Sep 11, 2014 at 10:10 PM, Anders Berg anders.b...@avagotech.com wrote: (...) I picked 0xb6 since I've seen some reference manuals for other AMBA peripherals the use of JEDEC assigned vendor IDs

[PATCH v2] spi: pl022: Add support for chip select extension

2014-09-15 Thread Anders Berg
be overridden in the device tree using the arm,primecell-periphid property with the value 0x000b6022. Signed-off-by: Anders Berg anders.b...@avagotech.com --- Changelog: v2: - added constant to linux/amba/bus.h drivers/spi/spi-pl022.c | 59 +++- include

Re: [PATCH] spi: pl022: Add support for chip select extension

2014-09-11 Thread Anders Berg
On Thu, Sep 11, 2014 at 3:26 PM, Linus Walleij wrote: > On Wed, Sep 10, 2014 at 4:40 PM, Anders Berg > wrote: > >> Add support for a extended PL022 which has an extra register for controlling >> up >> to five chip select signals. This controller is found on the AX

Re: [PATCH] spi: pl022: Add support for chip select extension

2014-09-11 Thread Anders Berg
On Thu, Sep 11, 2014 at 3:26 PM, Linus Walleij linus.wall...@linaro.org wrote: On Wed, Sep 10, 2014 at 4:40 PM, Anders Berg anders.b...@avagotech.com wrote: Add support for a extended PL022 which has an extra register for controlling up to five chip select signals. This controller is found

[PATCH] spi: pl022: Add support for chip select extension

2014-09-10 Thread Anders Berg
be overridden in the device tree using the "arm,primecell-periphid" property with the value 0x000b6022. Signed-off-by: Anders Berg --- drivers/spi/spi-pl022.c | 59 - 1 file changed, 58 insertions(+), 1 deletion(-) diff --git a/drivers/spi/spi

[PATCH] spi: pl022: Add support for chip select extension

2014-09-10 Thread Anders Berg
be overridden in the device tree using the arm,primecell-periphid property with the value 0x000b6022. Signed-off-by: Anders Berg anders.b...@avagotech.com --- drivers/spi/spi-pl022.c | 59 - 1 file changed, 58 insertions(+), 1 deletion(-) diff --git

Re: [PATCH 1/2] gpio: Add driver for AXM55xx SSP chip selects

2014-09-08 Thread Anders Berg
On Sat, Sep 6, 2014 at 3:53 PM, Mark Brown wrote: > On Fri, Sep 05, 2014 at 11:05:37AM +0200, Anders Berg wrote: > >> Well, the problem with adding this to the spi-pl022 driver (as a >> vendor specific extension) is that this IP block unfortunately isn't >> distinguishab

Re: [PATCH 1/2] gpio: Add driver for AXM55xx SSP chip selects

2014-09-08 Thread Anders Berg
On Sat, Sep 6, 2014 at 3:53 PM, Mark Brown broo...@kernel.org wrote: On Fri, Sep 05, 2014 at 11:05:37AM +0200, Anders Berg wrote: Well, the problem with adding this to the spi-pl022 driver (as a vendor specific extension) is that this IP block unfortunately isn't distinguishable from

Re: [PATCH 1/2] gpio: Add driver for AXM55xx SSP chip selects

2014-09-05 Thread Anders Berg
On Fri, Sep 5, 2014 at 11:47 AM, Russell King - ARM Linux wrote: > On Mon, Sep 01, 2014 at 02:53:40PM +0200, Anders Berg wrote: >> The AXM55xx device has a ARM PL022 SSP controller with an extension that >> enables the control of up to five chip select signals. This driver implemen

Re: [PATCH 1/2] gpio: Add driver for AXM55xx SSP chip selects

2014-09-05 Thread Anders Berg
> On Thu, Sep 4, 2014 at 7:06 PM, Mark Brown wrote: >> On Thu, Sep 04, 2014 at 07:04:44PM +0200, Linus Walleij wrote: >>> I need an ACK from Mark Brown on this before I apply. >>> The driver seems to do what it should, but I need Mark to >>> be OK with exporting the CS signals from an SSP/SPI

Re: [PATCH 1/2] gpio: Add driver for AXM55xx SSP chip selects

2014-09-05 Thread Anders Berg
On Thu, Sep 4, 2014 at 7:06 PM, Mark Brown broo...@kernel.org wrote: On Thu, Sep 04, 2014 at 07:04:44PM +0200, Linus Walleij wrote: I need an ACK from Mark Brown on this before I apply. The driver seems to do what it should, but I need Mark to be OK with exporting the CS signals from an

Re: [PATCH 1/2] gpio: Add driver for AXM55xx SSP chip selects

2014-09-05 Thread Anders Berg
On Fri, Sep 5, 2014 at 11:47 AM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Mon, Sep 01, 2014 at 02:53:40PM +0200, Anders Berg wrote: The AXM55xx device has a ARM PL022 SSP controller with an extension that enables the control of up to five chip select signals. This driver

[PATCH 0/2] Add driver for AXM55xx SSP chip selects

2014-09-01 Thread Anders Berg
This driver enables control of the SSP/SPI chip-select signals as GPIOs on the AXM55xx device. Anders Berg (2): gpio: Add driver for AXM55xx SSP chip selects Documentation: DT bindings for AXM55xx SSP CS .../devicetree/bindings/gpio/gpio-axxia-sspcs.txt | 36 ++ drivers/gpio/Kconfig

[PATCH 2/2] Documentation: DT bindings for AXM55xx SSP CS

2014-09-01 Thread Anders Berg
Bindings and documentation for AXM55xx SSP chip select controller. Signed-off-by: Anders Berg --- .../devicetree/bindings/gpio/gpio-axxia-sspcs.txt | 36 ++ 1 file changed, 36 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpio/gpio-axxia-sspcs.txt

[PATCH 1/2] gpio: Add driver for AXM55xx SSP chip selects

2014-09-01 Thread Anders Berg
The AXM55xx device has a ARM PL022 SSP controller with an extension that enables the control of up to five chip select signals. This driver implements the logic to control these signals and exports them as GPIOs. Signed-off-by: Anders Berg --- drivers/gpio/Kconfig | 8 +++ drivers

[PATCH 2/2] Documentation: DT bindings for AXM55xx SSP CS

2014-09-01 Thread Anders Berg
Bindings and documentation for AXM55xx SSP chip select controller. Signed-off-by: Anders Berg anders.b...@avagotech.com --- .../devicetree/bindings/gpio/gpio-axxia-sspcs.txt | 36 ++ 1 file changed, 36 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpio

[PATCH 1/2] gpio: Add driver for AXM55xx SSP chip selects

2014-09-01 Thread Anders Berg
The AXM55xx device has a ARM PL022 SSP controller with an extension that enables the control of up to five chip select signals. This driver implements the logic to control these signals and exports them as GPIOs. Signed-off-by: Anders Berg anders.b...@avagotech.com --- drivers/gpio/Kconfig

[PATCH 0/2] Add driver for AXM55xx SSP chip selects

2014-09-01 Thread Anders Berg
This driver enables control of the SSP/SPI chip-select signals as GPIOs on the AXM55xx device. Anders Berg (2): gpio: Add driver for AXM55xx SSP chip selects Documentation: DT bindings for AXM55xx SSP CS .../devicetree/bindings/gpio/gpio-axxia-sspcs.txt | 36 ++ drivers/gpio/Kconfig

[PATCH] i2c: axxia: Add I2C driver for AXM55xx

2014-08-25 Thread Anders Berg
Add I2C bus driver for the controller found in the LSI Axxia family SoCs. The driver implements 10-bit addressing and SMBus transfer modes via emulation (including SMBus block data read). Signed-off-by: Anders Berg --- .../devicetree/bindings/i2c/i2c-axxia.txt | 30 ++ drivers/i2c

[PATCH] i2c: axxia: Add I2C driver for AXM55xx

2014-08-25 Thread Anders Berg
Add I2C bus driver for the controller found in the LSI Axxia family SoCs. The driver implements 10-bit addressing and SMBus transfer modes via emulation (including SMBus block data read). Signed-off-by: Anders Berg anders.b...@avagotech.com --- .../devicetree/bindings/i2c/i2c-axxia.txt

[PATCH v4 1/5] ARM: Add platform support for LSI AXM55xx SoC

2014-05-23 Thread Anders Berg
From: Anders Berg The AXM55xx family consists of devices that may contain up to 16 ARM Cortex-A15 cores (in a 4x4 cluster configuration). The cores within each cluster share an L2 cache, and the clusters are connected to each other via a CCN-504 cache coherent interconnect. This machine

[PATCH v4 5/5] ARM: dts: axxia: Add reset controller

2014-05-23 Thread Anders Berg
From: Anders Berg Add the reset controller to the AXM5xx device tree. Signed-off-by: Anders Berg Acked-by: Linus Walleij --- arch/arm/boot/dts/axm55xx.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/axm55xx.dtsi b/arch/arm/boot/dts/axm55xx.dtsi index 3fbd83c

[PATCH v4 2/5] ARM: dts: Device tree for AXM55xx.

2014-05-23 Thread Anders Berg
From: Anders Berg Add device tree for the Amarillo validation board with an AXM5516 SoC. Signed-off-by: Anders Berg Acked-by: Linus Walleij --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/axm5516-amarillo.dts | 51 + arch/arm/boot/dts/axm5516-cpus.dtsi| 204

[PATCH v4 3/5] ARM: axxia: Adding defconfig for AXM55xx

2014-05-23 Thread Anders Berg
From: Anders Berg Add a defconfig file for the LSI Axxia family of devices (CONFIG_ARCH_AXXIA). Signed-off-by: Anders Berg Acked-by: Linus Walleij --- arch/arm/configs/axm55xx_defconfig | 248 + 1 file changed, 248 insertions(+) create mode 100644 arch

[PATCH v4 4/5] power: reset: Add Axxia system reset driver

2014-05-23 Thread Anders Berg
From: Anders Berg Add Axxia (AXM55xx) SoC system reset driver. This driver handles only system reboot (and not power-off). Signed-off-by: Anders Berg Cc: Dmitry Eremin-Solenikov Cc: David Woodhouse Acked-by: Linus Walleij --- .../bindings/power_supply/axxia-reset.txt | 20

[PATCH v4 0/5] Add platform support for LSI AXM55xx

2014-05-23 Thread Anders Berg
Makefile.boot Anders Berg (5): ARM: Add platform support for LSI AXM55xx SoC ARM: dts: Device tree for AXM55xx. ARM: axxia: Adding defconfig for AXM55xx power: reset: Add Axxia system reset driver ARM: dts: axxia: Add reset controller Documentation/devicetree/bindings/arm/axxia.txt| 12

[PATCH v4 0/5] Add platform support for LSI AXM55xx

2014-05-23 Thread Anders Berg
Makefile.boot Anders Berg (5): ARM: Add platform support for LSI AXM55xx SoC ARM: dts: Device tree for AXM55xx. ARM: axxia: Adding defconfig for AXM55xx power: reset: Add Axxia system reset driver ARM: dts: axxia: Add reset controller Documentation/devicetree/bindings/arm/axxia.txt| 12

[PATCH v4 4/5] power: reset: Add Axxia system reset driver

2014-05-23 Thread Anders Berg
From: Anders Berg anders.b...@lsi.com Add Axxia (AXM55xx) SoC system reset driver. This driver handles only system reboot (and not power-off). Signed-off-by: Anders Berg anders.b...@lsi.com Cc: Dmitry Eremin-Solenikov dbarysh...@gmail.com Cc: David Woodhouse dw...@infradead.org Acked-by: Linus

[PATCH v4 3/5] ARM: axxia: Adding defconfig for AXM55xx

2014-05-23 Thread Anders Berg
From: Anders Berg anders.b...@lsi.com Add a defconfig file for the LSI Axxia family of devices (CONFIG_ARCH_AXXIA). Signed-off-by: Anders Berg anders.b...@lsi.com Acked-by: Linus Walleij linus.wall...@linaro.org --- arch/arm/configs/axm55xx_defconfig | 248

[PATCH v4 5/5] ARM: dts: axxia: Add reset controller

2014-05-23 Thread Anders Berg
From: Anders Berg anders.b...@lsi.com Add the reset controller to the AXM5xx device tree. Signed-off-by: Anders Berg anders.b...@lsi.com Acked-by: Linus Walleij linus.wall...@linaro.org --- arch/arm/boot/dts/axm55xx.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts

[PATCH v4 2/5] ARM: dts: Device tree for AXM55xx.

2014-05-23 Thread Anders Berg
From: Anders Berg anders.b...@lsi.com Add device tree for the Amarillo validation board with an AXM5516 SoC. Signed-off-by: Anders Berg anders.b...@lsi.com Acked-by: Linus Walleij linus.wall...@linaro.org --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/axm5516-amarillo.dts

[PATCH v4 1/5] ARM: Add platform support for LSI AXM55xx SoC

2014-05-23 Thread Anders Berg
From: Anders Berg anders.b...@lsi.com The AXM55xx family consists of devices that may contain up to 16 ARM Cortex-A15 cores (in a 4x4 cluster configuration). The cores within each cluster share an L2 cache, and the clusters are connected to each other via a CCN-504 cache coherent interconnect

Re: [PATCH] clk: Add clock driver for AXM55xx SoC

2014-05-22 Thread Anders Berg
On Thu, May 15, 2014 at 3:42 PM, Anders Berg wrote: > From: Anders Berg > > Add clk driver to support clock blocks found on the AXM55xx devices. The > driver > provides clock implementations for three different types of clock devices on > the AXM55xx device: PLL cloc

Re: [PATCH] clk: Add clock driver for AXM55xx SoC

2014-05-22 Thread Anders Berg
On Thu, May 15, 2014 at 3:42 PM, Anders Berg anders.b...@avagotech.com wrote: From: Anders Berg anders.b...@lsi.com Add clk driver to support clock blocks found on the AXM55xx devices. The driver provides clock implementations for three different types of clock devices on the AXM55xx device

[PATCH] clk: Add clock driver for AXM55xx SoC

2014-05-15 Thread Anders Berg
From: Anders Berg Add clk driver to support clock blocks found on the AXM55xx devices. The driver provides clock implementations for three different types of clock devices on the AXM55xx device: PLL clock, a clock divider and a clock mux. Signed-off-by: Anders Berg Cc: Mike Turquette Cc: Mark

Re: [PATCH v3 0/6] Add platform support for LSI AXM55xx

2014-05-15 Thread Anders Berg
On Thu, May 15, 2014 at 2:39 PM, Arnd Bergmann wrote: > I don't see the dependency: The clock driver is built only when > CONFIG_ARCH_AXXIA > is set, and that only gets introduced in the platform patches. As long > as the header files come with the platform, it should be fine. You're right of

Re: [PATCH v3 0/6] Add platform support for LSI AXM55xx

2014-05-15 Thread Anders Berg
On Wed, May 14, 2014 at 8:56 PM, Arnd Bergmann wrote: > On Wednesday 14 May 2014 20:37:55 Anders Berg wrote: >> >> This is version 3 of this series to introduces basic platform support for >> the LSI >> AXM5516 SoC. >> >> No major changes since v2. Ready t

Re: [PATCH v3 0/6] Add platform support for LSI AXM55xx

2014-05-15 Thread Anders Berg
On Wed, May 14, 2014 at 8:56 PM, Arnd Bergmann a...@arndb.de wrote: On Wednesday 14 May 2014 20:37:55 Anders Berg wrote: This is version 3 of this series to introduces basic platform support for the LSI AXM5516 SoC. No major changes since v2. Ready to be applied to the arm-soc tree? I

Re: [PATCH v3 0/6] Add platform support for LSI AXM55xx

2014-05-15 Thread Anders Berg
On Thu, May 15, 2014 at 2:39 PM, Arnd Bergmann a...@arndb.de wrote: I don't see the dependency: The clock driver is built only when CONFIG_ARCH_AXXIA is set, and that only gets introduced in the platform patches. As long as the header files come with the platform, it should be fine. You're

[PATCH] clk: Add clock driver for AXM55xx SoC

2014-05-15 Thread Anders Berg
From: Anders Berg anders.b...@lsi.com Add clk driver to support clock blocks found on the AXM55xx devices. The driver provides clock implementations for three different types of clock devices on the AXM55xx device: PLL clock, a clock divider and a clock mux. Signed-off-by: Anders Berg anders.b

Re: [PATCH v3 2/6] clk: Add clock driver for AXM55xx SoC

2014-05-14 Thread Anders Berg
On Wed, May 14, 2014 at 10:08 PM, Mike Turquette wrote: > Quoting Anders Berg (2014-05-14 11:37:57) >> +Example: >> + >> + clk_ref0: clk_ref0 { >> + compatible = "fixed-clock"; >> + #clock-cells = <0>

Re: [PATCH v3 0/6] Add platform support for LSI AXM55xx

2014-05-14 Thread Anders Berg
On Wed, May 14, 2014 at 8:56 PM, Arnd Bergmann wrote: > On Wednesday 14 May 2014 20:37:55 Anders Berg wrote: >> >> This is version 3 of this series to introduces basic platform support for >> the LSI >> AXM5516 SoC. >> >> No major changes since v2. Ready t

[PATCH v3 3/6] ARM: dts: Device tree for AXM55xx.

2014-05-14 Thread Anders Berg
From: Anders Berg Add device tree for the Amarillo validation board with an AXM5516 SoC. Signed-off-by: Anders Berg Acked-by: Linus Walleij --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/axm5516-amarillo.dts | 51 ++ arch/arm/boot/dts/axm5516-cpus.dtsi| 204

[PATCH v3 2/6] clk: Add clock driver for AXM55xx SoC

2014-05-14 Thread Anders Berg
From: Anders Berg Add clk driver to support clock blocks found on the AXM55xx devices. The driver provides clock implementations for three different types of clock devices on the AXM55xx device: PLL clock, a clock divider and a clock mux. Signed-off-by: Anders Berg Cc: Mike Turquette Cc: Mark

[PATCH v3 4/6] ARM: axxia: Adding defconfig for AXM55xx

2014-05-14 Thread Anders Berg
From: Anders Berg Add a defconfig file for the LSI Axxia family of devices (CONFIG_ARCH_AXXIA). Signed-off-by: Anders Berg Acked-by: Linus Walleij --- arch/arm/configs/axm55xx_defconfig | 248 + 1 file changed, 248 insertions(+) create mode 100644 arch

[PATCH v3 6/6] ARM: dts: axxia: Add reset controller

2014-05-14 Thread Anders Berg
From: Anders Berg Add the reset controller to the AXM5xx device tree. Signed-off-by: Anders Berg Acked-by: Linus Walleij --- arch/arm/boot/dts/axm55xx.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/axm55xx.dtsi b/arch/arm/boot/dts/axm55xx.dtsi index 5d63887

[PATCH v3 1/6] ARM: Add platform support for LSI AXM55xx SoC

2014-05-14 Thread Anders Berg
From: Anders Berg The AXM55xx family consists of devices that may contain up to 16 ARM Cortex-A15 cores (in a 4x4 cluster configuration). The cores within each cluster share an L2 cache, and the clusters are connected to each other via a CCN-504 cache coherent interconnect. This machine

[PATCH v3 5/6] power: reset: Add Axxia system reset driver

2014-05-14 Thread Anders Berg
From: Anders Berg Add Axxia (AXM55xx) SoC system reset driver. This driver handles only system reboot (and not power-off). Signed-off-by: Anders Berg Cc: Dmitry Eremin-Solenikov Cc: David Woodhouse Acked-by: Linus Walleij --- .../bindings/power_supply/axxia-reset.txt | 20

[PATCH v3 0/6] Add platform support for LSI AXM55xx

2014-05-14 Thread Anders Berg
to include full model number. * Break out clk-axxia driver as separate patch * Removed Makefile.boot Anders Berg (6): ARM: Add platform support for LSI AXM55xx SoC clk: Add clock driver for AXM55xx SoC ARM: dts: Device tree for AXM55xx. ARM: axxia: Adding defconfig for AXM55xx

[PATCH v3 0/6] Add platform support for LSI AXM55xx

2014-05-14 Thread Anders Berg
to include full model number. * Break out clk-axxia driver as separate patch * Removed Makefile.boot Anders Berg (6): ARM: Add platform support for LSI AXM55xx SoC clk: Add clock driver for AXM55xx SoC ARM: dts: Device tree for AXM55xx. ARM: axxia: Adding defconfig for AXM55xx

[PATCH v3 5/6] power: reset: Add Axxia system reset driver

2014-05-14 Thread Anders Berg
From: Anders Berg anders.b...@lsi.com Add Axxia (AXM55xx) SoC system reset driver. This driver handles only system reboot (and not power-off). Signed-off-by: Anders Berg anders.b...@lsi.com Cc: Dmitry Eremin-Solenikov dbarysh...@gmail.com Cc: David Woodhouse dw...@infradead.org Acked-by: Linus

[PATCH v3 1/6] ARM: Add platform support for LSI AXM55xx SoC

2014-05-14 Thread Anders Berg
From: Anders Berg anders.b...@lsi.com The AXM55xx family consists of devices that may contain up to 16 ARM Cortex-A15 cores (in a 4x4 cluster configuration). The cores within each cluster share an L2 cache, and the clusters are connected to each other via a CCN-504 cache coherent interconnect

[PATCH v3 2/6] clk: Add clock driver for AXM55xx SoC

2014-05-14 Thread Anders Berg
From: Anders Berg anders.b...@lsi.com Add clk driver to support clock blocks found on the AXM55xx devices. The driver provides clock implementations for three different types of clock devices on the AXM55xx device: PLL clock, a clock divider and a clock mux. Signed-off-by: Anders Berg anders.b

[PATCH v3 4/6] ARM: axxia: Adding defconfig for AXM55xx

2014-05-14 Thread Anders Berg
From: Anders Berg anders.b...@lsi.com Add a defconfig file for the LSI Axxia family of devices (CONFIG_ARCH_AXXIA). Signed-off-by: Anders Berg anders.b...@lsi.com Acked-by: Linus Walleij linus.wall...@linaro.org --- arch/arm/configs/axm55xx_defconfig | 248

[PATCH v3 6/6] ARM: dts: axxia: Add reset controller

2014-05-14 Thread Anders Berg
From: Anders Berg anders.b...@lsi.com Add the reset controller to the AXM5xx device tree. Signed-off-by: Anders Berg anders.b...@lsi.com Acked-by: Linus Walleij linus.wall...@linaro.org --- arch/arm/boot/dts/axm55xx.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts

[PATCH v3 3/6] ARM: dts: Device tree for AXM55xx.

2014-05-14 Thread Anders Berg
From: Anders Berg anders.b...@lsi.com Add device tree for the Amarillo validation board with an AXM5516 SoC. Signed-off-by: Anders Berg anders.b...@lsi.com Acked-by: Linus Walleij linus.wall...@linaro.org --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/axm5516-amarillo.dts

Re: [PATCH v3 0/6] Add platform support for LSI AXM55xx

2014-05-14 Thread Anders Berg
On Wed, May 14, 2014 at 8:56 PM, Arnd Bergmann a...@arndb.de wrote: On Wednesday 14 May 2014 20:37:55 Anders Berg wrote: This is version 3 of this series to introduces basic platform support for the LSI AXM5516 SoC. No major changes since v2. Ready to be applied to the arm-soc tree? I

Re: [PATCH v3 2/6] clk: Add clock driver for AXM55xx SoC

2014-05-14 Thread Anders Berg
On Wed, May 14, 2014 at 10:08 PM, Mike Turquette mturque...@linaro.org wrote: Quoting Anders Berg (2014-05-14 11:37:57) +Example: + + clk_ref0: clk_ref0 { + compatible = fixed-clock; + #clock-cells = 0; + clock-frequency = 12500

Re: [PATCH v2 2/6] clk: Add clock driver for AXM55xx SoC

2014-05-08 Thread Anders Berg
Hi Mike, Any comments on this..? Could you take this upstream through your clk tree? /Anders On Thu, Apr 24, 2014 at 12:44 PM, Anders Berg wrote: > Add clk driver to support clock blocks found on the AXM55xx devices. The > driver > provides clock implementations for three differ

Re: [PATCH v2 2/6] clk: Add clock driver for AXM55xx SoC

2014-05-08 Thread Anders Berg
Hi Mike, Any comments on this..? Could you take this upstream through your clk tree? /Anders On Thu, Apr 24, 2014 at 12:44 PM, Anders Berg anders.b...@lsi.com wrote: Add clk driver to support clock blocks found on the AXM55xx devices. The driver provides clock implementations for three

Re: [PATCH v2 0/6] Add platform support for LSI AXM55xx

2014-05-05 Thread Anders Berg
Hi Anrd, Any comments on this updated series? /Anders On Thu, Apr 24, 2014 at 12:44:03PM +0200, Anders Berg wrote: > Hi, > > Verion 2 of this series to introduces basic platform support for the LSI > AXM5516 SoC. When this is in shape, could it be merged into the arm-soc tree?

Re: [PATCH v2 0/6] Add platform support for LSI AXM55xx

2014-05-05 Thread Anders Berg
Hi Anrd, Any comments on this updated series? /Anders On Thu, Apr 24, 2014 at 12:44:03PM +0200, Anders Berg wrote: Hi, Verion 2 of this series to introduces basic platform support for the LSI AXM5516 SoC. When this is in shape, could it be merged into the arm-soc tree? Changes: v2

Re: [PATCH v2 3/6] ARM: dts: Device tree for AXM55xx.

2014-04-28 Thread Anders Berg
On Fri, Apr 25, 2014 at 01:50:25PM +0200, Linus Walleij wrote: > On Fri, Apr 25, 2014 at 11:43 AM, Anders Berg wrote: > > On Fri, Apr 25, 2014 at 11:16:18AM +0200, Linus Walleij wrote: > >> On Thu, Apr 24, 2014 at 7:47 PM, Anders Berg wrote: > >> > On Thu, Apr 24, 2

Re: [PATCH v2 3/6] ARM: dts: Device tree for AXM55xx.

2014-04-28 Thread Anders Berg
On Fri, Apr 25, 2014 at 01:50:25PM +0200, Linus Walleij wrote: On Fri, Apr 25, 2014 at 11:43 AM, Anders Berg anders.b...@lsi.com wrote: On Fri, Apr 25, 2014 at 11:16:18AM +0200, Linus Walleij wrote: On Thu, Apr 24, 2014 at 7:47 PM, Anders Berg anders.b...@lsi.com wrote: On Thu, Apr 24

Re: [PATCH v2 3/6] ARM: dts: Device tree for AXM55xx.

2014-04-25 Thread Anders Berg
On Fri, Apr 25, 2014 at 11:16:18AM +0200, Linus Walleij wrote: > On Thu, Apr 24, 2014 at 7:47 PM, Anders Berg wrote: > > On Thu, Apr 24, 2014 at 03:24:14PM +0200, Linus Walleij wrote: > > >> One interrupt per CPU core? > >> > >> The drivers for these blo

Re: [PATCH v2 3/6] ARM: dts: Device tree for AXM55xx.

2014-04-25 Thread Anders Berg
On Fri, Apr 25, 2014 at 11:16:18AM +0200, Linus Walleij wrote: On Thu, Apr 24, 2014 at 7:47 PM, Anders Berg anders.b...@lsi.com wrote: On Thu, Apr 24, 2014 at 03:24:14PM +0200, Linus Walleij wrote: One interrupt per CPU core? The drivers for these blocks will really just grab the first

Re: [PATCH v2 3/6] ARM: dts: Device tree for AXM55xx.

2014-04-24 Thread Anders Berg
On Thu, Apr 24, 2014 at 03:24:14PM +0200, Linus Walleij wrote: > On Thu, Apr 24, 2014 at 12:44 PM, Anders Berg wrote: > > > Add device tree for the Amarillo validation board with an AXM5516 SoC. > > > > Signed-off-by: Anders Berg > (...) > > > +

[PATCH v2 2/6] clk: Add clock driver for AXM55xx SoC

2014-04-24 Thread Anders Berg
Add clk driver to support clock blocks found on the AXM55xx devices. The driver provides clock implementations for three different types of clock devices on the AXM55xx device: PLL clock, a clock divider and a clock mux. Signed-off-by: Anders Berg --- .../devicetree/bindings/clock/clk-axxia.txt

[PATCH v2 1/6] ARM: Add platform support for LSI AXM55xx SoC

2014-04-24 Thread Anders Berg
enabled as all peripherals are located above 4GB in the memory map. Signed-off-by: Anders Berg --- Documentation/devicetree/bindings/arm/axxia.txt | 12 arch/arm/Kconfig| 2 + arch/arm/Makefile | 2 + arch/arm/mach-axxia/Kconfig

[PATCH v2 5/6] power: reset: Add Axxia system reset driver

2014-04-24 Thread Anders Berg
Add Axxia (AXM55xx) SoC system reset driver. This driver handles only system reboot (and not power-off). Signed-off-by: Anders Berg --- .../bindings/power_supply/axxia-reset.txt | 20 + drivers/power/reset/Kconfig| 8 ++ drivers/power/reset/Makefile

[PATCH v2 3/6] ARM: dts: Device tree for AXM55xx.

2014-04-24 Thread Anders Berg
Add device tree for the Amarillo validation board with an AXM5516 SoC. Signed-off-by: Anders Berg --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/axm5516-amarillo.dts | 51 ++ arch/arm/boot/dts/axm5516-cpus.dtsi| 204 ++ arch/arm/boot/dts

[PATCH v2 4/6] ARM: axxia: Adding defconfig for AXM55xx

2014-04-24 Thread Anders Berg
Add a defconfig file for the LSI Axxia family of devices (CONFIG_ARCH_AXXIA). Signed-off-by: Anders Berg --- arch/arm/configs/axm55xx_defconfig | 248 + 1 file changed, 248 insertions(+) create mode 100644 arch/arm/configs/axm55xx_defconfig diff --git

[PATCH v2 6/6] ARM: dts: axxia: Add reset controller

2014-04-24 Thread Anders Berg
Add the reset controller to the AXM5xx device tree. Signed-off-by: Anders Berg --- arch/arm/boot/dts/axm55xx.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/axm55xx.dtsi b/arch/arm/boot/dts/axm55xx.dtsi index 5d63887..bd1e07d 100644 --- a/arch/arm/boot/dts

[PATCH v2 0/6] Add platform support for LSI AXM55xx

2014-04-24 Thread Anders Berg
as separate patch * Removed Makefile.boot Anders Berg (6): ARM: Add platform support for LSI AXM55xx SoC clk: Add clock driver for AXM55xx SoC ARM: dts: Device tree for AXM55xx. ARM: axxia: Adding defconfig for AXM55xx power: reset: Add Axxia system reset driver ARM: dts: axxia: Add

Re: [PATCH 1/5] ARM: Add platform support for LSI AXM55xx SoC

2014-04-24 Thread Anders Berg
On Tue, Apr 15, 2014 at 02:30:55PM +0200, Arnd Bergmann wrote: > On Tuesday 15 April 2014 14:06:10 Anders Berg wrote: > > > diff --git a/arch/arm/mach-axxia/Kconfig b/arch/arm/mach-axxia/Kconfig > > new file mode 100644 > > index 000..336426a > > --- /dev/null

Re: [PATCH 1/5] ARM: Add platform support for LSI AXM55xx SoC

2014-04-24 Thread Anders Berg
On Tue, Apr 15, 2014 at 02:30:55PM +0200, Arnd Bergmann wrote: On Tuesday 15 April 2014 14:06:10 Anders Berg wrote: diff --git a/arch/arm/mach-axxia/Kconfig b/arch/arm/mach-axxia/Kconfig new file mode 100644 index 000..336426a --- /dev/null +++ b/arch/arm/mach-axxia/Kconfig

[PATCH v2 0/6] Add platform support for LSI AXM55xx

2014-04-24 Thread Anders Berg
as separate patch * Removed Makefile.boot Anders Berg (6): ARM: Add platform support for LSI AXM55xx SoC clk: Add clock driver for AXM55xx SoC ARM: dts: Device tree for AXM55xx. ARM: axxia: Adding defconfig for AXM55xx power: reset: Add Axxia system reset driver ARM: dts: axxia: Add

[PATCH v2 6/6] ARM: dts: axxia: Add reset controller

2014-04-24 Thread Anders Berg
Add the reset controller to the AXM5xx device tree. Signed-off-by: Anders Berg anders.b...@lsi.com --- arch/arm/boot/dts/axm55xx.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/axm55xx.dtsi b/arch/arm/boot/dts/axm55xx.dtsi index 5d63887..bd1e07d 100644 --- a/arch

  1   2   >