RE: [PATCH 3/4] Revert "lpc32xx: cpu: add support for soft reset"

2020-12-17 Thread Sylvain Lemieux
be able to keep this patch local until somebody in the team look at a sysreset driver implementation. Regards, Sylvain Lemieux -Original Message- From: Harald Seiler Sent: Thursday, December 17, 2020 5:09 AM To: Sylvain Lemieux ; u-boot@lists.denx.de Cc: Tom Rini ; Simon Glass Subject:

RE: [PATCH 3/4] Revert "lpc32xx: cpu: add support for soft reset"

2020-12-15 Thread Sylvain Lemieux
Hi, This functionality (soft vs hard reset) is used in multiple LPC32xx products with our custom hardware. If this support is remove from upstream, we will have to maintain this patch locally (out of tree). Sylvain Lemieux -Original Message- From: Harald Seiler Sent: Tuesday

Re: [U-Boot] [PATCH 8/8] spi: Kconfig: Mark LPC32XX_SSP has BROKEN

2019-05-09 Thread Sylvain Lemieux
Acked-by: Sylvain Lemieux On Tue, Apr 30, 2019 at 4:48 PM Vladimir Zapolskiy wrote: > > Hi Jagan, > > On 04/28/2019 11:48 PM, Jagan Teki wrote: > > Mark LPC32XX_SSP has BROKEN, this so the resulting build shows > > warning for broken configuration enabled and associated

[U-Boot] [PATCH v4] usb: lpc32xx: add i2c DM support

2017-05-17 Thread Sylvain Lemieux
From: Liam Beguin Add DM support for i2c functions. Signed-off-by: Liam Beguin Signed-off-by: Sylvain Lemieux Reviewed-by: Marek Vasut --- Changes from v3 to v4: * Moved "dm.h" to the proper location in include list. * Added Reviewed-by from Marek (taken from v3) Changes fro

Re: [U-Boot] [PATCH v3] usb: lpc32xx: add i2c DM support

2017-05-01 Thread Sylvain Lemieux
Hi, On Fri, 2017-04-28 at 18:28 -0600, Simon Glass wrote: > Hi, > > On 26 April 2017 at 05:57, Sylvain Lemieux wrote: > > From: Liam Beguin > > > > Add DM support for i2c functions. > > > > Signed-off-by: Liam Beguin > > Signed-off-by: Sylva

[U-Boot] [PATCH v3] usb: lpc32xx: add i2c DM support

2017-04-26 Thread Sylvain Lemieux
From: Liam Beguin Add DM support for i2c functions. Signed-off-by: Liam Beguin Signed-off-by: Sylvain Lemieux --- Changes from v2 to v3: * Code clean-up to remove conditional compile else section (CONFIG_DM_I2C). * As suggested by Marek, added Simon Glass to the list of cc for the patch

[U-Boot] [PATCH v2] usb: lpc32xx: add i2c DM support

2017-04-19 Thread Sylvain Lemieux
From: Liam Beguin Add DM support for i2c functions. Signed-off-by: Liam Beguin Signed-off-by: Sylvain Lemieux --- Changes from v1 to v2: * Do not request udevice on each single i2c write. Note: * This patch is require as part of the DM support of the LPC32xx I2C driver. All I2C drivers

Re: [U-Boot] [PATCH] usb: lpc32xx: Add i2c DM support

2017-04-19 Thread Sylvain Lemieux
On Fri, 2017-04-14 at 16:01 +0200, Marek Vasut wrote: > On 03/14/2017 04:28 PM, Sylvain Lemieux wrote: > > From: Liam Beguin > > > > Add DM support for i2c functions. > > > > Signed-off-by: Liam Beguin > > Signed-off-by: Sylvain Lemieux > > --- >

[U-Boot] [PATCH v2 4/7] i2c: lpc32xx: Add DM for lpc32xx I2C

2017-03-27 Thread Sylvain Lemieux
From: Liam Beguin Adding DM specific wrapper functions and definitions. Signed-off-by: Liam Beguin Signed-off-by: Sylvain Lemieux --- Changes from v1 to v2: * Fixed checkpatch issue. drivers/i2c/lpc32xx_i2c.c | 91 +++ 1 file changed, 91

[U-Boot] [PATCH v2 3/7] i2c: lpc32xx: Factor out i2c_adapter parameter

2017-03-27 Thread Sylvain Lemieux
From: Liam Beguin This is part of the prep work for the migration to the driver model. It will enable the driver to support DM and non-DM configurations using the same functions. Signed-off-by: Liam Beguin Signed-off-by: Sylvain Lemieux --- Changes from v1 to v2: * Fixed checkpatch issue

[U-Boot] [PATCH] net: link_local: Fix netmask endianness bug

2017-03-14 Thread Sylvain Lemieux
From: Alexandre Messier The network mask must be stored in network order when in a 'struct in_addr'. This fix removes the "gatewayip needed but not set" message on the console when using a link-local IP setup. Signed-off-by: Alexandre Messier Signed-off-by: Sylva

[U-Boot] [PATCH] arm: lpc32xx: Add i2c DM support

2017-03-14 Thread Sylvain Lemieux
From: Liam Beguin Since the driver does not yet support devicetree bindings, the i2c buses need to be defined and probed when the bus is initialized. Signed-off-by: Liam Beguin Signed-off-by: Sylvain Lemieux --- Note: * In the init functions, we can only display a warning and not return an

[U-Boot] [PATCH] usb: lpc32xx: Add i2c DM support

2017-03-14 Thread Sylvain Lemieux
From: Liam Beguin Add DM support for i2c functions. Signed-off-by: Liam Beguin Signed-off-by: Sylvain Lemieux --- Note: * This patch is require as part of the DM support of the LPC32xx I2C driver. All I2C drivers should be converted, to DM, by the end of June 2017. * The USB driver is

[U-Boot] [PATCH 6/7] i2c: lpc32xx: Move definitions to header file

2017-03-14 Thread Sylvain Lemieux
From: Liam Beguin Since the lpc32xx i2c driver does not yet support the devicetree bindings, this structure is also needed by the board file as the hardware description is done there. Signed-off-by: Liam Beguin Signed-off-by: Sylvain Lemieux --- arch/arm/include/asm/arch-lpc32xx/i2c.h | 37

[U-Boot] [PATCH 3/7] i2c: lpc32xx: Factor out i2c_adapter parameter

2017-03-14 Thread Sylvain Lemieux
From: Liam Beguin This is part of the prep work for the migration to the driver model. It will enable the driver to support DM and non-DM configurations using the same functions. Signed-off-by: Liam Beguin Signed-off-by: Sylvain Lemieux --- drivers/i2c/lpc32xx_i2c.c | 107

[U-Boot] [PATCH 4/7] i2c: lpc32xx: Add DM for lpc32xx I2C

2017-03-14 Thread Sylvain Lemieux
From: Liam Beguin Adding DM specific wrapper functions and definitions. Signed-off-by: Liam Beguin Signed-off-by: Sylvain Lemieux --- drivers/i2c/lpc32xx_i2c.c | 91 +++ 1 file changed, 91 insertions(+) diff --git a/drivers/i2c/lpc32xx_i2c.c b

[U-Boot] [PATCH 5/7] i2c: lpc32xx: Remove note for DM conversation

2017-03-14 Thread Sylvain Lemieux
From: Sylvain Lemieux Removed note in the LPC32xx I2C driver for DM conversation. Signed-off-by: Sylvain Lemieux --- drivers/i2c/lpc32xx_i2c.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/i2c/lpc32xx_i2c.c b/drivers/i2c/lpc32xx_i2c.c index 17e8b744e5..e00a7a0fa2 100644 --- a

[U-Boot] [PATCH 7/7] i2c: lpc32xx: Force consistent bus numbering

2017-03-14 Thread Sylvain Lemieux
m 0 to 2 with i2c0 enabled, i2c1 disabled and i2c2 enabled; i2c2 can be selected using 'i2c dev 1' and 'i2c dev 2' commands because a bus can be probed using req_seq or seq interchangeably. Signed-off-by: Liam Beguin Signed-off-by: Sylvain Lemieux --- drivers/i2c/lpc32xx_i2c.

[U-Boot] [PATCH 2/7] i2c: lpc32xx: Prepare compatibility functions

2017-03-14 Thread Sylvain Lemieux
From: Liam Beguin This is part of the prep work for the migration to the driver model. Signed-off-by: Liam Beguin Signed-off-by: Sylvain Lemieux --- drivers/i2c/lpc32xx_i2c.c | 47 ++- 1 file changed, 38 insertions(+), 9 deletions(-) diff --git a

[U-Boot] [PATCH 1/7] i2c: lpc32xx: Rename probe function

2017-03-14 Thread Sylvain Lemieux
From: Liam Beguin This is part of the prep work for the migration to the driver model. What used to be the probe function is now called probe_chip. Signed-off-by: Liam Beguin Signed-off-by: Sylvain Lemieux --- drivers/i2c/lpc32xx_i2c.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions

[U-Boot] [PATCH 0/7] i2c: lpc32xx: add DM support

2017-03-14 Thread Sylvain Lemieux
From: Sylvain Lemieux This patchset add DM support to the I2C LPC32xx platform. All I2C drivers should be converted, to DM, by the end of June 2017. The I2C driver is supporting the DM and non-DM setup. Since the mainline LPC32xx boards are not supporting the devicetree bindings, patch #6 and