Re: [PATCH 2/3] ARM: dts: lpc4337-ciaa: enable SCT-PWM

2015-12-17 Thread Joachim Eastwood
On 16 December 2015 at 13:55, Ariel D'Alessandro wrote: > Joachim, > > El 14/12/15 a las 19:48, Joachim Eastwood escribió: >> Hi Ariel, >> >> Sorry for the late reply. I have just started to put together my DT >> for 4.5 branch now. >> >> On 25 No

Re: [PATCH 1/3] ARM: dts: lpc4337-ciaa: enable EEPROM memory

2015-12-14 Thread Joachim Eastwood
ards that included the lpc4357.dtsi from when I tested your driver. So opted to use that patch instead of this one. This is really a SoC device feature that doesn't require any board resources so I think it is better to have this entry in lpc4357.dtsi. regards, Joachim Eastwood -- To unsubscr

Re: [PATCH 2/3] ARM: dts: lpc4337-ciaa: enable SCT-PWM

2015-12-14 Thread Joachim Eastwood
dts/lpc4337-ciaa.dts >> b/arch/arm/boot/dts/lpc4337-ciaa.dts >> index 03bdf77..1a23589 100644 >> --- a/arch/arm/boot/dts/lpc4337-ciaa.dts >> +++ b/arch/arm/boot/dts/lpc4337-ciaa.dts >> @@ -170,6 +170,10 @@ >> pinctrl-0 = <&enet_rmii_pins>; >>

Re: [PATCH v4 3/4] ARM: dts: lpc18xx: add EEPROM memory node

2015-12-14 Thread Joachim Eastwood
Hi Srinivas. On 14 December 2015 at 11:05, Srinivas Kandagatla wrote: > Hi Joachim, > > Could you take this DT patches via your tree, I picked up the nvmem patches. Cool. Yes, I will take the DT and defconfig patch. regards, Joachim Eastwood -- To unsubscribe from this list: send

Re: [PATCH 0/3] LPC4337 CIAA-NXP DTS changes

2015-11-23 Thread Joachim Eastwood
2c0 and devices If you want me to pick up the patches please put me in the To field so they end up in my inbox. regards, Joachim Eastwood -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 08/11] clk: lpc18xx: add NXP specific common clock framework selection

2015-11-22 Thread Joachim Eastwood
> Signed-off-by: Vladimir Zapolskiy > Cc: Joachim Eastwood > --- > arch/arm/Kconfig | 1 + > drivers/clk/Kconfig | 5 + > drivers/clk/Makefile | 2 +- > 3 files changed, 7 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig >

Re: [PATCH v2 2/4] nvmem: NXP LPC18xx EEPROM memory NVMEM driver

2015-10-24 Thread Joachim Eastwood
return ret; > +} > + > +static int lpc18xx_eeprom_remove(struct platform_device *pdev) > +{ > + struct lpc18xx_eeprom_dev *eeprom = platform_get_drvdata(pdev); > + > + lpc18xx_eeprom_writel(eeprom, LPC18XX_EEPROM_PWRDWN, > +

Re: [PATCH v2 1/4] DT: nvmem: Add NXP LPC18xx EEPROM memory binding documentation

2015-10-24 Thread Joachim Eastwood
atible = "nxp,lpc1857-eeprom"; > +reg = <0x4000e000 0x1000>, > + <0x2004 0x4000>; > +reg-names = "reg", "mem"; > + clocks = <&ccu1 CLK_CPU_EEPROM>; > +clock-names = "eeprom"; > +resets = <&rg

Re: [PATCH v2 3/4] ARM: dts: lpc18xx: add EEPROM memory node

2015-10-24 Thread Joachim Eastwood
Hi Ariel, On 19 October 2015 at 19:32, Ariel D'Alessandro wrote: > Add node for the NXP LPC18xx EEPROM memory which can be found in > NXP LPC185x/3x and LPC435x/3x/2x/1x devices. > > Signed-off-by: Ariel D'Alessandro Acked-by: Joachim Eastwood I'll pick it u

Re: [PATCH v2 4/4] ARM: configs: lpc18xx: enable EEPROM NVMEM driver

2015-10-24 Thread Joachim Eastwood
Hi Ariel, On 19 October 2015 at 19:32, Ariel D'Alessandro wrote: > Enable NVMEM driver for NXP LPC18xx EEPROM, which can be found in > NXP LPC185x/3x and LPC435x/3x/2x/1x devices. > > Signed-off-by: Ariel D'Alessandro Acked-by: Joachim Eastwood I'll pick it u

Re: [PATCH 2/2] DT: nvmem: Add NXP LPC18xx EEPROM memory binding documentation

2015-10-18 Thread Joachim Eastwood
On 16 October 2015 at 20:45, Ariel D'Alessandro wrote: > Ezequiel, Joachim, all, > > El 16/10/15 a las 14:09, Joachim Eastwood escribió: >> On 16 October 2015 at 17:41, Ezequiel Garcia >> wrote: >>> +DT bindings maintainers >>> >>> As

Re: [PATCH 2/2] DT: nvmem: Add NXP LPC18xx EEPROM memory binding documentation

2015-10-16 Thread Joachim Eastwood
> Correct me if I'm wrong, but I believe not all LPC18xx/43xx devices > have an EEPROM. > > Isn't it restricted to LPC18x7/LPC43x7 devices? The EEPROM can only be found on Flash devices. Flashless devices doesn't have the EEPROM. > Should the compatible be nxp,lpc185

Re: [PATCH 2/5] arm: dts: lpc32xx: fix improper usage of ranges property

2015-10-14 Thread Joachim Eastwood
On 14 October 2015 at 22:07, Arnd Bergmann wrote: > On Wednesday 14 October 2015 19:23:09 Joachim Eastwood wrote: >> > >> > /ahb5 { >> > ranges = <0 0x2000 0x1000>; >> > >> > apb { >> > r

Re: [PATCH 5/5] arm: dts: lpc32xx: add device node for the second pwm controller

2015-10-14 Thread Joachim Eastwood
1", "pwm2"; #pwm-cells = <3>; }; With two clocks and where the first pwm-cell would select either PWM1 or PWM2. Seems like the driver only handle one clock, but should be fairly easy to fix. Note: with your DT change you would also need to change the driver since it cur

Re: [PATCH 2/5] arm: dts: lpc32xx: fix improper usage of ranges property

2015-10-14 Thread Joachim Eastwood
de. If doesn't offer any advantages why not remove instead of adding the ranges property which seems to grow a bit complex now? Of course removing it would create a lot of churn because of the re-indentation but at least the end result would be simpler. regards, Joachim Eastwood -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 4/5] arm: dts: lpc32xx: remove unneeded cell settings from cpus

2015-10-13 Thread Joachim Eastwood
> > cpus { > - #address-cells = <0>; > - #size-cells = <0>; > - According to Documentation/devicetree/bindings/arm/cpus.txt these properties are required. Take a look at Example 3 in the doc for it should look like on a ARM 926EJ-S

[PATCH 12/16] ARM: dts: lpc4357-ea4357: add ssp0

2015-10-01 Thread Joachim Eastwood
The SSP0 can be found on the EA4357 Dev Kit on J15 pin 3-6. Signed-off-by: Joachim Eastwood --- arch/arm/boot/dts/lpc4357-ea4357-devkit.dts | 24 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts b/arch/arm/boot/dts/lpc4357

[PATCH 15/16] ARM: dts: lpc4350-hitex-eval: add i2c0 and devices

2015-10-01 Thread Joachim Eastwood
From: Ariel D'Alessandro Add the I2C0 bus and the some of the I2C devices on the Hitex LPC4350 eval board. Signed-off-by: Ariel D'Alessandro Signed-off-by: Joachim Eastwood --- arch/arm/boot/dts/lpc4350-hitex-eval.dts | 33 1 file changed, 33

[PATCH 11/16] ARM: dts: lpc4357-ea4357: add spifi and flash device

2015-10-01 Thread Joachim Eastwood
The EA4357 dev kit has a Spansion S25FL016K SPI-NOR Flash connected to the SPIFI perherial. Signed-off-by: Joachim Eastwood --- arch/arm/boot/dts/lpc4357-ea4357-devkit.dts | 46 + 1 file changed, 46 insertions(+) diff --git a/arch/arm/boot/dts/lpc4357-ea4357

[PATCH 10/16] ARM: dts: lpc18xx: add resets entry to device nodes

2015-10-01 Thread Joachim Eastwood
Most of the peripherals on LPC18xx/43xx devices have their reset lines hooked up to internal reset controller (RGU). Add reset entries to the device nodes so a driver can use the reset line. Signed-off-by: Joachim Eastwood --- arch/arm/boot/dts/lpc18xx.dtsi | 20 1 file

[PATCH 13/16] ARM: dts: lpc4357-ea4357: add i2c0 and devices

2015-10-01 Thread Joachim Eastwood
Add I2C0 and some of the I2C devices on the EA4357 dev kit. Signed-off-by: Joachim Eastwood --- arch/arm/boot/dts/lpc4357-ea4357-devkit.dts | 25 + 1 file changed, 25 insertions(+) diff --git a/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts b/arch/arm/boot/dts/lpc4357

[PATCH 14/16] ARM: dts: lpc4350-hitex-eval: add spifi and flash device

2015-10-01 Thread Joachim Eastwood
The Hitex LPC4350 eval board has a Spansion S25SL064P SPI-NOR Flash connected to the SPIFI perherial. Signed-off-by: Joachim Eastwood --- arch/arm/boot/dts/lpc4350-hitex-eval.dts | 57 1 file changed, 57 insertions(+) diff --git a/arch/arm/boot/dts/lpc4350

[PATCH 16/16] ARM: dts: lpc4350-hitex-eval: add joystick, buttons and leds

2015-10-01 Thread Joachim Eastwood
Add the joystick, buttons and LEDs connected to the I2C I/O expander. Signed-off-by: Joachim Eastwood --- arch/arm/boot/dts/lpc4350-hitex-eval.dts | 85 1 file changed, 85 insertions(+) diff --git a/arch/arm/boot/dts/lpc4350-hitex-eval.dts b/arch/arm/boot/dts

[PATCH 09/16] ARM: dts: lpc18xx: add sct pwm node

2015-10-01 Thread Joachim Eastwood
From: Ariel D'Alessandro NXP LPC SoCs family, which includes LPC18xx/LPC43xx, provides a State Configurable Timer (SCT) which can be configured as a Pulse Width Modulator. Signed-off-by: Ariel D'Alessandro Signed-off-by: Joachim Eastwood --- arch/arm/boot/dts/lpc18xx.dtsi | 10 +++

[PATCH 03/16] ARM: dts: lpc18xx: add dmac node

2015-10-01 Thread Joachim Eastwood
Add the ARM PL080 DMA controller node to the dtsi for all lpc18xx/43xx devices. Signed-off-by: Joachim Eastwood --- arch/arm/boot/dts/lpc18xx.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/lpc18xx.dtsi b/arch/arm/boot/dts/lpc18xx.dtsi index

[PATCH 00/16] LPC18xx DTS changes for 4.4

2015-10-01 Thread Joachim Eastwood
: dts: lpc18xx: add sct pwm node ARM: dts: lpc4350-hitex-eval: add i2c0 and devices Joachim Eastwood (13): ARM: dts: lpc18xx: add rgu node ARM: dts: lpc18xx: add spifi node ARM: dts: lpc18xx: add dmac node ARM: dts: lpc18xx: add dmamux node ARM: dts: lpc18xx: add dma to ssp0/1 ARM

[PATCH 02/16] ARM: dts: lpc18xx: add spifi node

2015-10-01 Thread Joachim Eastwood
Add the NXP LPC1773 SPIFI (SPI Flash Interface) flash controller node to the dtsi for all lpc18xx/43xx devices. Signed-off-by: Joachim Eastwood --- arch/arm/boot/dts/lpc18xx.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/lpc18xx.dtsi b/arch/arm/boot/dts

[PATCH 05/16] ARM: dts: lpc18xx: add dma to ssp0/1

2015-10-01 Thread Joachim Eastwood
Add dmas entries to the two SSP peripherals on LPC18xx/43xx devices so that DMA can be used to transfer data. Signed-off-by: Joachim Eastwood --- arch/arm/boot/dts/lpc18xx.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/lpc18xx.dtsi b/arch/arm/boot/dts

[PATCH 08/16] ARM: dts: lpc18xx: add watchdog node

2015-10-01 Thread Joachim Eastwood
From: Ariel D'Alessandro Add node for the watchdog timer found on LPC18xx/LPC43xx. Signed-off-by: Ariel D'Alessandro Signed-off-by: Joachim Eastwood --- arch/arm/boot/dts/lpc18xx.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/lpc18xx.dtsi b/arc

[PATCH 04/16] ARM: dts: lpc18xx: add dmamux node

2015-10-01 Thread Joachim Eastwood
Add node for the DMA multiplexer placed in front of the PL080 DMA controller on lpc18xx/43xx devices. Signed-off-by: Joachim Eastwood --- arch/arm/boot/dts/lpc18xx.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/lpc18xx.dtsi b/arch/arm/boot/dts/lpc18xx.dtsi

[PATCH 01/16] ARM: dts: lpc18xx: add rgu node

2015-10-01 Thread Joachim Eastwood
Add the NXP LPC1850 RGU (Reset Generation Unit) reset controller node to the dtsi for all lpc18xx/43xx devices. Signed-off-by: Joachim Eastwood --- arch/arm/boot/dts/lpc18xx.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/lpc18xx.dtsi b/arch/arm/boot/dts

[PATCH 07/16] ARM: dts: lpc18xx: add i2c nodes

2015-10-01 Thread Joachim Eastwood
Add NXP LPC1778 I2C controller nodes to the dtsi for all lpc18xx/43xx devices. Signed-off-by: Joachim Eastwood --- arch/arm/boot/dts/lpc18xx.dtsi | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/lpc18xx.dtsi b/arch/arm/boot/dts/lpc18xx.dtsi index

[PATCH 06/16] ARM: dts: lpc18xx: add dma to uart0/1/2/3

2015-10-01 Thread Joachim Eastwood
Add dmas entries to the four UART peripherals on LPC18xx/43xx devices so that DMA can be used to transfer data. Signed-off-by: Joachim Eastwood --- arch/arm/boot/dts/lpc18xx.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/lpc18xx.dtsi b/arch/arm/boot

Re: [PATCH 0/4] memory: pl17x: add support of PL175 and PL176 controllers

2015-09-30 Thread Joachim Eastwood
On 29 September 2015 at 23:28, Vladimir Zapolskiy wrote: > Hi Joachim, > > On 29.09.2015 23:39, Joachim Eastwood wrote: >> Hi Vladimir, >> >> On 28 September 2015 at 18:50, Vladimir Zapolskiy wrote: >>> The change adds support of ARM PrimeCell PL175 MPMC a

Re: [PATCH 0/4] memory: pl17x: add support of PL175 and PL176 controllers

2015-09-29 Thread Joachim Eastwood
What LPC32xx board did you test this on, btw? Also if you have added the controller to lpc32xx.dtsi it would be great if you could also submit those changes to the lpc32xx maintainer. regards, Joachim Eastwood -- To unsubscribe from this list: send the line "unsubscribe devicetree&quo

Re: [PATCH v2 0/2] I2C support for NXP LPC18xx family

2015-08-19 Thread Joachim Eastwood
On 19 August 2015 at 17:18, Wolfram Sang wrote: > On Sun, Aug 16, 2015 at 08:10:15PM +0200, Joachim Eastwood wrote: >> This patch set adds a I2C driver and documentation for the I2C >> peripheral found on many NXP LPC MCUs. >> >> The driver is a rework of an old driver

Re: [PATCH v2 1/2] i2c: add i2c-lpc2k driver

2015-08-17 Thread Joachim Eastwood
On 17 August 2015 at 22:18, Ezequiel Garcia wrote: > On 16 Aug 08:10 PM, Joachim Eastwood wrote: > [..] >> + >> +static int 2(struct lpc2k_i2c *i2c) >> +{ >> + unsigned long timeout = jiffies + msecs_to_jiffies(1000); >> + >> + /*1 >>

[PATCH v2 0/2] I2C support for NXP LPC18xx family

2015-08-16 Thread Joachim Eastwood
- use i2c_add_adapter - change return value on NACK and arb lost (I think all the others should be okay as they are) - fix 80 char warnings (involved s/reg_base/base) - rebase on i2c/for-next Joachim Eastwood (2): i2c: add i2c-lpc2k driver doc: dt: add documentation for nxp,lpc1788-i2c .../devic

[PATCH v2 1/2] i2c: add i2c-lpc2k driver

2015-08-16 Thread Joachim Eastwood
, programmable clock rate, and speeds up to 1 Mbit/s. Signed-off-by: Joachim Eastwood --- drivers/i2c/busses/Kconfig | 10 + drivers/i2c/busses/Makefile| 1 + drivers/i2c/busses/i2c-lpc2k.c | 513 + 3 files changed, 524 insertions(+) create mode

[PATCH v2 2/2] doc: dt: add documentation for nxp,lpc1788-i2c

2015-08-16 Thread Joachim Eastwood
Add binding documentation for the nxp,lpc1788-i2c controller which also can be found on LPC2xxx, LPC178x/7x and LPC18xx/43xx devices. Signed-off-by: Joachim Eastwood --- .../devicetree/bindings/i2c/i2c-lpc2k.txt | 33 ++ 1 file changed, 33 insertions(+) create mode

Re: [PATCH 1/2] i2c: add i2c-lpc2k driver

2015-08-15 Thread Joachim Eastwood
Hi Wolfram, On 15 August 2015 at 22:24, Wolfram Sang wrote: > On Mon, Jul 13, 2015 at 12:47:21AM +0200, Joachim Eastwood wrote: >> Add support for the I2C controller found on several NXP devices >> including LPC2xxx, LPC178x/7x and LPC18xx/43xx. The controller >> is i

Re: [PATCH 1/2] clk: add lpc18xx creg clk driver

2015-08-13 Thread Joachim Eastwood
On 11 August 2015 at 22:41, Michael Turquette wrote: > Hi Joachim, > > Quoting Joachim Eastwood (2015-07-11 14:48:26) >> +static void __init lpc18xx_creg_clk_init(struct device_node *np) >> +{ >> + const char *clk_32khz_parent; >> + struct regma

Re: [RFC PATCH v4 7/9] arm: lpc18xx_defconfig: remove CONFIG_MMC_DW_IDMAC

2015-08-07 Thread Joachim Eastwood
On 6 August 2015 at 08:46, Shawn Lin wrote: > DesignWare MMC Controller's transfer mode should be decided > at runtime instead of compile-time. So we remove this config > option and read dw_mmc's register to select DMA master. > > Signed-off-by: Shawn Lin Acked-by: J

Re: [RFC PATCH v4 1/9] mmc: dw_mmc: Add external dma interface support

2015-08-07 Thread Joachim Eastwood
} else if (trans_mode == 1 || trans_mode == 2) { > + trans_mode = TRANS_MODE_EDMAC; > + } else { > + trans_mode = TRANS_MODE_PIO; > + goto no_dma; > + } > + > /* Check ADDR_CONFIG bit in HCON to find IDMA

Re: [PATCH 2/2] DT: pwm: Add NXP LPC18xx PWM/SCT binding documentation

2015-08-07 Thread Joachim Eastwood
On 31 July 2015 at 20:09, Ezequiel Garcia wrote: > Joachim, > > On 30 July 2015 at 20:30, Joachim Eastwood wrote: >> On 29 July 2015 at 15:47, Ezequiel Garcia >> wrote: >>> +devicetree guys >>> >>> On 28 July 2015 at 20:22, Joachim Eastwood

Re: [PATCH 2/2] DT: pwm: Add NXP LPC18xx PWM/SCT binding documentation

2015-07-30 Thread Joachim Eastwood
On 29 July 2015 at 15:47, Ezequiel Garcia wrote: > +devicetree guys > > On 28 July 2015 at 20:22, Joachim Eastwood wrote: >> On 29 July 2015 at 00:45, Ezequiel Garcia >> wrote: >>> On 28 July 2015 at 19:37, Joachim Eastwood wrote: >>>> On

Re: [PATCH v3 0/2] RTC support for NXP LPC18xx family

2015-07-21 Thread Joachim Eastwood
On 21 July 2015 at 18:28, Alexandre Belloni wrote: > Hi, > > On 11/07/2015 at 19:28:48 +0200, Joachim Eastwood wrote : >> This patch set adds support for the RTC found on many NXP devices >> including LPC178x/18xx/408x/43xx. The RTC provides calendar and >> clock functi

Re: [PATCH v4 0/2] USB OTG PHY driver for NXP LPC18xx family

2015-07-15 Thread Joachim Eastwood
On 15 July 2015 at 12:50, Kishon Vijay Abraham I wrote: > > > On Friday 10 July 2015 02:18 AM, Joachim Eastwood wrote: >> This patch set adds support for the internal USB OTG PHY found >> on NXP LPC18xx and LPC43xx devices. Driver takes care of >> enabling the PHY and s

[PATCH v2 1/2] memory: add ARM PL172 MultiPort Memory Controller driver

2015-07-13 Thread Joachim Eastwood
static memory devices like NAND and NOR Flash before they are probed by a driver. Signed-off-by: Joachim Eastwood --- drivers/memory/Kconfig | 8 ++ drivers/memory/Makefile | 1 + drivers/memory/pl172.c | 302 3 files changed, 311 insertions

[PATCH v2 2/2] doc: dt: add documentation for pl172 memory bindings

2015-07-13 Thread Joachim Eastwood
Add documentation for configuration and timing setup of static memory devices on the ARM PL172 controller. Signed-off-by: Joachim Eastwood --- .../bindings/memory-controllers/arm,pl172.txt | 125 + 1 file changed, 125 insertions(+) create mode 100644 Documentation

[PATCH v2 0/2] Add support for PL172 memory-controller

2015-07-13 Thread Joachim Eastwood
emory controller. PL172 can be found on a number of NXP devices like the LPC18xx family. Tested on Embedded Artists' LPC4357 Developer's Kit with NOR Flash (SST39VF320) and 74LCV16374 (gpio-74x164) on MPMC. Changes since v1: - Add proper commit messages - Misc clean ups Joachim East

Re: [PATCH v3 1/2] rtc: add rtc-lpc24xx driver

2015-07-13 Thread Joachim Eastwood
On 13 July 2015 at 19:37, Josh Cartwright wrote: > On Sat, Jul 11, 2015 at 07:28:49PM +0200, Joachim Eastwood wrote: >> Add driver for the RTC found on NXP LPC178x/18xx/408x/43xx devices. >> The RTC provides calendar and clock functionality together with >> alarm interrupt

[PATCH 1/2] i2c: add i2c-lpc2k driver

2015-07-12 Thread Joachim Eastwood
, programmable clock rate, and speeds up to 1 Mbit/s. Signed-off-by: Joachim Eastwood --- drivers/i2c/busses/Kconfig | 10 + drivers/i2c/busses/Makefile| 1 + drivers/i2c/busses/i2c-lpc2k.c | 551 + 3 files changed, 562 insertions(+) create mode

[PATCH 2/2] doc: dt: add documentation for i2c-lpc2k

2015-07-12 Thread Joachim Eastwood
Add binding documentation for the nxp,lpc1788-i2c controller which also can be found on LPC2xxx, LPC178x/7x and LPC18xx/43xx devices. Signed-off-by: Joachim Eastwood --- .../devicetree/bindings/i2c/i2c-lpc2k.txt | 33 ++ 1 file changed, 33 insertions(+) create mode

[PATCH 0/2] I2C support for NXP LPC18xx family

2015-07-12 Thread Joachim Eastwood
the LPC2xxx platforms. Patches based on v4.2-rc1 and tested on Embedded Artists' LPC4357 Developer's Kit with several I2C devices. Joachim Eastwood (2): i2c: add i2c-lpc2k driver doc: dt: add documentation for i2c-lpc2k .../devicetree/bindings/i2c/i2c-lpc2k.txt | 33 ++ d

[PATCH 2/2] doc: dt: add documentation for lpc1850-creg-clk driver

2015-07-11 Thread Joachim Eastwood
Add DT binding documentation for lpc1850-creg-clk driver. Signed-off-by: Joachim Eastwood --- .../devicetree/bindings/clock/lpc1850-creg-clk.txt | 52 ++ 1 file changed, 52 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/lpc1850-creg-clk.txt diff

[PATCH 0/2] CREG clk driver for NXP LPC18xx family

2015-07-11 Thread Joachim Eastwood
support peripherals like the internal RTC on the lpc18xx platform. Based on v4.2-rc1. Joachim Eastwood (2): clk: add lpc18xx creg clk driver doc: dt: add documentation for lpc1850-creg-clk driver .../devicetree/bindings/clock/lpc1850-creg-clk.txt | 52 +++ drivers/clk/nxp/Makefile

[PATCH 1/2] clk: add lpc18xx creg clk driver

2015-07-11 Thread Joachim Eastwood
/nxp/clk-lpc18xx-creg.c b/drivers/clk/nxp/clk-lpc18xx-creg.c new file mode 100644 index ..4bca11eca4a1 --- /dev/null +++ b/drivers/clk/nxp/clk-lpc18xx-creg.c @@ -0,0 +1,173 @@ +/* + * Clk driver for NXP LPC18xx/43xx Configuration Registers (CREG) + * + * Copyright (C) 2015 Joachim Eastwood

[PATCH v3 0/2] RTC support for NXP LPC18xx family

2015-07-11 Thread Joachim Eastwood
lpc2k/lpc24xx for better consistency - fix Kconfig entry - drop support for old versions for the ip block Patch set is based on Linux v4.2-rc1. Joachim Eastwood (2): rtc: add rtc-lpc24xx driver doc: dt: add documentation for nxp,lpc1788-rtc .../devicetree/bindings/rtc/nxp,lpc1788-rtc.txt

[PATCH v3 2/2] doc: dt: add documentation for nxp,lpc1788-rtc

2015-07-11 Thread Joachim Eastwood
Signed-off-by: Joachim Eastwood --- .../devicetree/bindings/rtc/nxp,lpc1788-rtc.txt | 21 + 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/nxp,lpc1788-rtc.txt diff --git a/Documentation/devicetree/bindings/rtc/nxp,lpc1788

[PATCH v3 1/2] rtc: add rtc-lpc24xx driver

2015-07-11 Thread Joachim Eastwood
Add driver for the RTC found on NXP LPC178x/18xx/408x/43xx devices. The RTC provides calendar and clock functionality together with alarm interrupt support. Signed-off-by: Joachim Eastwood --- drivers/rtc/Kconfig | 12 ++ drivers/rtc/Makefile | 1 + drivers/rtc/rtc-lpc24xx.c | 310

[PATCH 2/4] doc: dt: dma: add binding doc for pl08x

2015-07-11 Thread Joachim Eastwood
] Signed-off-by: Linus Walleij Signed-off-by: Joachim Eastwood --- .../devicetree/bindings/dma/arm-pl08x.txt | 54 ++ 1 file changed, 54 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/arm-pl08x.txt diff --git a/Documentation/devicetree/bindings

[PATCH 3/4] dmaengine: add driver for lpc18xx dmamux

2015-07-11 Thread Joachim Eastwood
Add support for DMA on NXP LPC18xx/43xx platforms which has a multiplexer in front of the PL080 dma request lines. The mux is a single register in the LPC18xx/43xx CREG block and can multiplex up to 4 request lines to each of the 16 lines on the PL080. Signed-off-by: Joachim Eastwood

[PATCH 1/4] dmaengine: pl08x: support dt channel assignment

2015-07-11 Thread Joachim Eastwood
From: Linus Walleij Add support for assigning DMA channels from a device tree. [je: remove channel sub-node parsing, dynamic channel creation on xlate] Signed-off-by: Linus Walleij Signed-off-by: Joachim Eastwood --- drivers/dma/amba-pl08x.c | 192

[PATCH 0/4] PL08x DT bindings and LPC18xx DMA support

2015-07-11 Thread Joachim Eastwood
radead.org/pipermail/linux-arm-kernel/2014-September/286150.html Joachim Eastwood (2): dmaengine: add driver for lpc18xx dmamux doc: dt: dma: add bindings for lpc1850-dmamux Linus Walleij (2): dmaengine: pl08x: support dt channel assignment doc: dt: dma: add binding doc for pl08x .../

[PATCH 4/4] doc: dt: dma: add bindings for lpc1850-dmamux

2015-07-11 Thread Joachim Eastwood
Add device tree bindings documentation for the lpc1850-dmamux DMA router. Signed-off-by: Joachim Eastwood --- .../devicetree/bindings/dma/lpc1850-dmamux.txt | 54 ++ 1 file changed, 54 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/lpc1850

[PATCH v4 0/2] USB OTG PHY driver for NXP LPC18xx family

2015-07-09 Thread Joachim Eastwood
set on 4.2-rc1. Changes in v4: - rebase on 4.2-rc1 - move dt node under creg where the control reg is Changes in v3: - depend on MFD_SYSCON Changes in v2: - use PTR_ERR_OR_ZERO in phy driver - rename binding doc - update doc commit message Joachim Eastwood (2): phy: add lpc18xx usb otg

[PATCH v4 2/2] phy: dt bindings: add NXP LPC18xx/43xx USB OTG PHY bindings

2015-07-09 Thread Joachim Eastwood
Add binding documentation for NXP LPC18xx/43xx USB OTG PHY. This PHY can found on NXP LPC18xx and LPC43xx devices with USB support. Signed-off-by: Joachim Eastwood --- .../bindings/phy/phy-lpc18xx-usb-otg.txt | 26 ++ 1 file changed, 26 insertions(+) create mode

[PATCH v4 1/2] phy: add lpc18xx usb otg phy driver

2015-07-09 Thread Joachim Eastwood
Add PHY driver for the internal USB OTG PHY found on NXP LPC18xx and LPC43xx devices. This driver takes care of enabling the PHY in CREG (syscon) and setting the required clock frequency. Signed-off-by: Joachim Eastwood --- drivers/phy/Kconfig | 11 +++ drivers/phy/Makefile

[PATCH v4 0/2] NXP SPIFI driver for LPC18xx/43xx familiy

2015-07-09 Thread Joachim Eastwood
debug print Joachim Eastwood (2): mtd: spi-nor: add driver for NXP SPI Flash Interface (SPIFI) doc: dt: add documentation for nxp,lpc1773-spifi .../devicetree/bindings/mtd/nxp-spifi.txt | 58 +++ drivers/mtd/spi-nor/Kconfig| 11 + drivers/mtd/spi-nor/Makefile

[PATCH v4 1/2] mtd: spi-nor: add driver for NXP SPI Flash Interface (SPIFI)

2015-07-09 Thread Joachim Eastwood
exposed as normal memory and can be directly accessed by the CPU. Signed-off-by: Joachim Eastwood Reviewed-by: Ezequiel Garcia --- drivers/mtd/spi-nor/Kconfig | 11 + drivers/mtd/spi-nor/Makefile| 1 + drivers/mtd/spi-nor/nxp-spifi.c | 494 3

[PATCH v4 2/2] doc: dt: add documentation for nxp,lpc1773-spifi

2015-07-09 Thread Joachim Eastwood
Add device tree binding documentation for the SPI Flash Interface (SPIFI) found on NXP LPC18xx and LPC43xx devies. Signed-off-by: Joachim Eastwood --- .../devicetree/bindings/mtd/nxp-spifi.txt | 58 ++ 1 file changed, 58 insertions(+) create mode 100644

Re: [PATCH RFC 0/4] PL08x DT bindings and LPC18xx DMA support

2015-06-29 Thread Joachim Eastwood
Hi Linus, On 29 June 2015 at 12:53, Linus Walleij wrote: > On Sun, Jun 14, 2015 at 1:22 PM, Joachim Eastwood wrote: > >> This patch set aims to add support for DMA on the NXP LPC18xx/43xx >> (Cortex-M3/M4) platform. The platform has a PL080 controller with a >> mux in

Re: [PATCH v4 3/5] clk: add lpc18xx ccu clk driver

2015-06-18 Thread Joachim Eastwood
On 19 June 2015 at 00:45, Michael Turquette wrote: > Quoting Joachim Eastwood (2015-06-10 07:02:59) >> Hi Mike, >> >> >> > Hi Joachim, >> > >> > If it were me, I would have broken this up into two tables, one for each >> > CCU. In genera

[PATCH RFC 2/4] doc: dt: dma: add binding doc for pl08x

2015-06-14 Thread Joachim Eastwood
] Signed-off-by: Linus Walleij Signed-off-by: Joachim Eastwood --- .../devicetree/bindings/dma/arm-pl08x.txt | 54 ++ 1 file changed, 54 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/arm-pl08x.txt diff --git a/Documentation/devicetree/bindings

[PATCH RFC 4/4] doc: dt: dma: add bindings for lpc1850-dmamux

2015-06-14 Thread Joachim Eastwood
Add device tree bindings documentation for the lpc1850-dmamux DMA router. Signed-off-by: Joachim Eastwood --- .../devicetree/bindings/dma/lpc1850-dmamux.txt | 54 ++ 1 file changed, 54 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/lpc1850

[PATCH RFC 1/4] dmaengine: pl08x: support dt channel assignment

2015-06-14 Thread Joachim Eastwood
From: Linus Walleij Add support for assigning DMA channels from a device tree. [je: remove channel sub-node parsing, dynamic channel creation on xlate] Signed-off-by: Linus Walleij Signed-off-by: Joachim Eastwood --- drivers/dma/amba-pl08x.c | 192

[PATCH RFC 3/4] dmaengine: add driver for lpc18xx dmamux

2015-06-14 Thread Joachim Eastwood
Add support for DMA on NXP LPC18xx/43xx platforms which has a multiplexer in front of the PL080 dma request lines. The mux is a single register in the LPC18xx/43xx CREG block and can multiplex up to 4 request lines to each of the 16 lines on the PL080. Signed-off-by: Joachim Eastwood

[PATCH RFC 0/4] PL08x DT bindings and LPC18xx DMA support

2015-06-14 Thread Joachim Eastwood
/pipermail/linux-arm-kernel/2014-September/286150.html Joachim Eastwood (2): dmaengine: add driver for lpc18xx dmamux doc: dt: dma: add bindings for lpc1850-dmamux Linus Walleij (2): dmaengine: pl08x: support dt channel assignment doc: dt: dma: add binding doc for pl08x .../devicetree/bindin

Re: [PATCH v3 0/2] USB OTG PHY driver for NXP LPC18xx family

2015-06-10 Thread Joachim Eastwood
Hi Kishon, On 29 May 2015 at 20:03, Joachim Eastwood wrote: > This patch set adds support for the internal USB OTG PHY found > on NXP LPC18xx and LPC43xx devices. Driver takes care of > enabling the PHY and setting the clock rate which is need for > USB0 support on this platfo

Re: [PATCH v4 3/5] clk: add lpc18xx ccu clk driver

2015-06-10 Thread Joachim Eastwood
team about it. But it isn't critical for me to get the DTS changes in for 4.2, but I would be very grateful for getting the drivers and headers in for 4.2 so that 4.3 is ready and doesn't have any header dependencies for all the driver DTS stuff. Thanks, Mike. regards, Joachim Eastw

[PATCH v3 2/2] doc: dt: add documentation for nxp,lpc1773-spifi

2015-06-04 Thread Joachim Eastwood
Add device tree binding documentation for the SPI Flash Interface (SPIFI) found on NXP LPC18xx and LPC43xx devies. Signed-off-by: Joachim Eastwood --- .../devicetree/bindings/mtd/nxp-spifi.txt | 58 ++ 1 file changed, 58 insertions(+) create mode 100644

[PATCH v3 1/2] mtd: spi-nor: add driver for NXP SPI Flash Interface (SPIFI)

2015-06-04 Thread Joachim Eastwood
exposed as normal memory and can be directly accessed by the CPU. Signed-off-by: Joachim Eastwood Reviewed-by: Ezequiel Garcia --- drivers/mtd/spi-nor/Kconfig | 11 + drivers/mtd/spi-nor/Makefile| 1 + drivers/mtd/spi-nor/nxp-spifi.c | 496 3

[PATCH v3 0/2] NXP SPIFI driver for LPC18xx/43xx familiy

2015-06-04 Thread Joachim Eastwood
tray white space - removed leftover debug print Support for LPC18xx/43xx can found in linux-next now. Patch against l2-mtd.git master branch. Joachim Eastwood (2): mtd: spi-nor: add driver for NXP SPI Flash Interface (SPIFI) doc: dt: add documentation for nxp,lpc1773-spifi .../devicetree/bi

Re: [PATCH v2 1/2] mtd: spi-nor: add driver for NXP SPI Flash Interface (SPIFI)

2015-06-04 Thread Joachim Eastwood
On 4 June 2015 at 17:05, Ezequiel Garcia wrote: > Joachim, > > I tested the driver and found an issue with it. > > On 05/31/2015 06:06 PM, Joachim Eastwood wrote: >> + >> + spifi->mtd.priv = &spifi->nor; >> + spifi->nor.mtd = &

[PATCH v2 2/2] doc: dt: add documentation for nxp,lpc1773-spifi

2015-05-31 Thread Joachim Eastwood
Add device tree binding documentation for the SPI Flash Interface (SPIFI) found on NXP LPC18xx and LPC43xx devies. Signed-off-by: Joachim Eastwood --- .../devicetree/bindings/mtd/nxp-spifi.txt | 56 ++ 1 file changed, 56 insertions(+) create mode 100644

[PATCH v2 0/2] NXP SPIFI driver for LPC18xx/43xx familiy

2015-05-31 Thread Joachim Eastwood
: - use readb_poll_timeout instead of open coding - cache current mode (memory/command) - depend on HAS_IOMEM - removed stray white space - removed leftover debug print Support for LPC18xx/43xx can found in linux-next now. Patch against l2-mtd.git master branch. Joachim Eastwood (2): mtd: spi-nor: ad

[PATCH v2 1/2] mtd: spi-nor: add driver for NXP SPI Flash Interface (SPIFI)

2015-05-31 Thread Joachim Eastwood
exposed as normal memory and can be directly accessed by the CPU. Signed-off-by: Joachim Eastwood Reviewed-by: Ezequiel Garcia --- drivers/mtd/spi-nor/Kconfig | 11 + drivers/mtd/spi-nor/Makefile| 1 + drivers/mtd/spi-nor/nxp-spifi.c | 491 3

[PATCH v2 0/2] 8250 UART driver for NXP LPC18xx family

2015-05-30 Thread Joachim Eastwood
non-DMA mode on EA4357 Dev Kit successfully. Changes since v1: - DMA support + doc update - Cleaned up probe function DMA support for LPC18xx will be posted soonish. Joachim Eastwood (2): serial: 8250: add LPC18xx/43xx UART driver doc: dt: add documentation for nxp,lpc1850-uart

[PATCH v2 2/2] doc: dt: add documentation for nxp,lpc1850-uart

2015-05-30 Thread Joachim Eastwood
Add device tree binding documentation for nxp,lpc1850-uart. Signed-off-by: Joachim Eastwood --- .../bindings/serial/nxp,lpc1850-uart.txt | 28 ++ 1 file changed, 28 insertions(+) create mode 100644 Documentation/devicetree/bindings/serial/nxp,lpc1850-uart.txt

[PATCH v2 1/2] serial: 8250: add LPC18xx/43xx UART driver

2015-05-30 Thread Joachim Eastwood
Serial port driver for the 8250-based UART found on LPC18xx/43xx devices. The UART is 16550A compatible with additional features like RS485 support, synchronous mode, IrDA, and DMA. For now only basic UART and RS485 operation is supported. Signed-off-by: Joachim Eastwood --- drivers/tty/serial

Re: [PATCH 1/2] mtd: spi-nor: add driver for NXP SPI Flash Interface (SPIFI)

2015-05-30 Thread Joachim Eastwood
On 30 May 2015 at 21:33, Richard Weinberger wrote: > Am 30.05.2015 um 20:08 schrieb Ezequiel Garcia: >> +Richard >> >> On 05/30/2015 01:51 PM, Joachim Eastwood wrote: >>> Hi Ezequiel, >>> >>> On 30 May 2015 at 17:43, Ezequiel Garcia >>>

Re: [PATCH 1/2] mtd: spi-nor: add driver for NXP SPI Flash Interface (SPIFI)

2015-05-30 Thread Joachim Eastwood
Hi Ezequiel, On 30 May 2015 at 17:43, Ezequiel Garcia wrote: > Hi Joachim, > > Looks pretty neat. I've just a couple comments. > > On 05/29/2015 02:50 PM, Joachim Eastwood wrote: >> Add SPI-NOR driver for the SPI Flash Interface (SPIFI) >> controller tha

[PATCH v3 1/2] phy: add lpc18xx usb otg phy driver

2015-05-29 Thread Joachim Eastwood
Add PHY driver for the internal USB OTG PHY found on NXP LPC18xx and LPC43xx devices. This driver takes care of enabling the PHY in CREG (syscon) and setting the required clock frequency. Signed-off-by: Joachim Eastwood --- drivers/phy/Kconfig | 11 +++ drivers/phy/Makefile

[PATCH v3 0/2] USB OTG PHY driver for NXP LPC18xx family

2015-05-29 Thread Joachim Eastwood
: - depend on MFD_SYSCON Changes in v2: - use PTR_ERR_OR_ZERO in phy driver - rename binding doc - update doc commit message Base support for this platform can now be found in arm-soc next. Joachim Eastwood (2): phy: add lpc18xx usb otg phy driver phy: dt bindings: add XP LPC18xx/43xx USB OTG

[PATCH v3 2/2] phy: dt bindings: add XP LPC18xx/43xx USB OTG PHY bindings

2015-05-29 Thread Joachim Eastwood
Add binding documentation for NXP LPC18xx/43xx USB OTG PHY. This PHY can found on NXP LPC18xx and LPC43xx devices with USB support. Signed-off-by: Joachim Eastwood --- .../devicetree/bindings/phy/phy-lpc18xx-usb-otg.txt | 19 +++ 1 file changed, 19 insertions(+) create mode

[PATCH 1/2] mtd: spi-nor: add driver for NXP SPI Flash Interface (SPIFI)

2015-05-29 Thread Joachim Eastwood
exposed as normal memory and can be directly accessed by the CPU. Signed-off-by: Joachim Eastwood --- drivers/mtd/spi-nor/Kconfig | 10 + drivers/mtd/spi-nor/Makefile| 1 + drivers/mtd/spi-nor/nxp-spifi.c | 508 3 files changed, 519 insertions

[PATCH 2/2] doc: dt: add documentation for nxp,lpc1773-spifi

2015-05-29 Thread Joachim Eastwood
Add device tree binding documentation for the SPI Flash Interface (SPIFI) found on NXP LPC18xx and LPC43xx devies. Signed-off-by: Joachim Eastwood --- .../devicetree/bindings/mtd/nxp-spifi.txt | 56 ++ 1 file changed, 56 insertions(+) create mode 100644

[PATCH 0/2] NXP SPIFI driver for LPC18xx/43xx familiy

2015-05-29 Thread Joachim Eastwood
mode 0 or 3. The controller operates in either command or memory mode. In memory mode the Flash is accessible from the CPU as normal memory. Support for LPC18xx/43xx can found in linux-next now. Patch against l2-mtd.git master branch. Joachim Eastwood (2): mtd: spi-nor: add driver for NXP SPI

[PATCH v4 3/5] clk: add lpc18xx ccu clk driver

2015-05-28 Thread Joachim Eastwood
Add driver for NXP LPC18xx/43xx Clock Control Unit (CCU). The CCU provides fine grained gating of most clocks present in the SoC. Signed-off-by: Joachim Eastwood --- drivers/clk/nxp/Makefile| 1 + drivers/clk/nxp/clk-lpc18xx-ccu.c | 293

  1   2   >