[PATCH v2 0/2] usb: dwc3: Add support for standalone DWC3 nodes

2022-06-16 Thread Alban Bedel
mx8mq case and might add support for a few other SoC at the same time. Alban -- v2: - Rebased onto current master - Fixed a typo the log message Alban Bedel (2): Revert "usb: dwc3: dwc3-generic: check the parent nodes" usb: dwc3: Add support for standalone DWC3 nodes d

[PATCH 1/2] usb: dwc3: core: fix warnings when building without driver model

2022-04-19 Thread Alban Bedel
arning when building without driver model. Signed-off-by: Alban Bedel --- drivers/usb/dwc3/core.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index b592a487e001..fdd8c5db2460 100644 --- a/drivers/usb/dwc3/core.c +

[PATCH 1/2] usb: dwc3: core: Fix warnings when building without driver model

2022-04-19 Thread Alban Bedel
arning when building without driver model. Signed-off-by: Alban Bedel --- drivers/usb/dwc3/core.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index b592a487e001..fdd8c5db2460 100644 --- a/drivers/usb/dwc3/core.c +

[PATCH] usb: dwc3-generic: Fix the iMX8MQ support

2022-04-19 Thread Alban Bedel
The binding of iMX8MQ USB controller doesn't use child nodes like the other devices supported in this driver. To support it split the child nodes parsing to its own function and add a field to the platform data to indicate that we should just use the top node. Signed-off-by: Alban

[PATCH] devres: Use the correct devres implementation in SPL builds

2022-04-19 Thread Alban Bedel
/devres.h to also check for CONFIG_SPL_DM in SPL builds. Signed-off-by: Alban Bedel --- include/dm/devres.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/dm/devres.h b/include/dm/devres.h index 0ab277ec38e9..8765b73d5e90 100644 --- a/include/dm/devres.h +++ b/include

[PATCH 1/2] usb: gadget: Add a config option to set the SPL product ID

2022-04-19 Thread Alban Bedel
gadgets. Signed-off-by: Alban Bedel --- common/spl/Kconfig | 6 ++ drivers/usb/gadget/ether.c | 2 +- drivers/usb/gadget/g_dnl.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/common/spl/Kconfig b/common/spl/Kconfig index ac61b25a0660..196f3cfc5558 100644 --- a

[PATCH 2/2] mach-imx: Use CONFIG_SPL_USB_GADGET_PRODUCT_NUM

2022-04-19 Thread Alban Bedel
Remove the hardcoded USB product ID offset for the SPL as it doesn't work anymore for the product ID needed for iMX8 with current flashing tools. Update all the defconfig of iMX boards that have CONFIG_SPL_USB_GADGET enabled to still return the same product ID. Signed-off-by: Alban

[PATCH] imx: spl: Default to SPD when booting from USB serial download

2022-04-19 Thread Alban Bedel
n USB mass storage support has been built in the SPL. With USB-C on both side, the programmer could switch back to device mode and use the exposed mass storage device after the serial download finished. Signed-off-by: Alban Bedel --- arch/arm/mach-imx/spl.c | 3 ++- 1 file changed, 2 insertions(

[PATCH 0/2] usb: dwc3: Add support for standalone DWC3 nodes

2022-04-20 Thread Alban Bedel
q case and might add support for a few other SoC at the same time. Alban Alban Bedel (2): Revert "usb: dwc3: dwc3-generic: check the parent nodes" usb: dwc3: Add support for standalone DWC3 nodes drivers/usb/dwc3/dwc3-generic.c | 124 +--- 1 file ch

[PATCH v2 1/2] usb: dwc3: core: fix warnings when building without driver model

2022-04-20 Thread Alban Bedel
t driver model. Signed-off-by: Alban Bedel --- v2: Use __maybe_unused instead of an #ifdef --- drivers/usb/dwc3/core.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index b592a487e001..2107a2993309 100644 --- a/drivers/

[PATCH v2 2/2] usb: dwc3: Don't build DM drivers in SPL unless DM USB is available

2022-04-20 Thread Alban Bedel
Most platform glue drivers need DM USB, if one of these driver is enabled along with SPL without DM the build break. As the SPL might still want to use the core DWC3 put the DM glue drivers under ifdef CONFIG_$(SPL_)DM_USB. Signed-off-by: Alban Bedel --- drivers/usb/dwc3/Makefile | 9

[PATCH 2/3] imx8m: Automatically add the optee firmware node to the FDT

2022-05-16 Thread Alban Bedel
If optee is running add the firmware node to the FDT to allow the kernel to use a more generic device tree. Signed-off-by: Alban Bedel --- arch/arm/mach-imx/imx8m/soc.c | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/mach-imx/imx8m/soc.c b/arch/arm/mach-imx/imx8m/soc.c

[PATCH 1/3] optee: Add an helper to add the optee firmware node in the FDT

2022-05-16 Thread Alban Bedel
Some platforms can detect if an optee firmware is running and then manually add the firmware node to the FDT. Provide a common helper to avoid code duplication in the board code. Signed-off-by: Alban Bedel --- include/tee/optee.h | 11 + lib/optee/optee.c | 60

Re: [U-Boot] [PATCH] board: tec-ng: Do not make directories in a board Makefile

2014-01-14 Thread Alban Bedel
On Tue, 14 Jan 2014 10:55:02 +0900 Masahiro Yamada wrote: > Commit e5c5301f refactored the build system not to make > directories in board makefiles. > But commit 8f380381 create directories again in > board/avionic-design/tec-ng/Makefile. > > Signed-off-by: Masahiro Yamada

[U-Boot] [PATCH] ARM: tegra20: Add a missing entry in the pullid enum

2014-01-15 Thread Alban Bedel
. Also fix the pin group descriptions that were using these buggy entries. In particular SLXA that needed to used CRTP to actually write the SLXA register. Signed-off-by: Alban Bedel --- arch/arm/cpu/tegra20-common/pinmux.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff

Re: [U-Boot] [PATCH] ARM: tegra20: Add a missing entry in the pullid enum

2014-01-20 Thread Alban Bedel
On Wed, 15 Jan 2014 11:36:03 -0700 Stephen Warren wrote: > On 01/15/2014 07:55 AM, Alban Bedel wrote: > > It seems two entries were merged in one when this file has been > > created. The GPSLXAU entries is obviously a mix of GPU and SLXA which > > are next to each o

[U-Boot] [PATCH] tegra20: tamonten: Fix the early gpio init

2014-10-02 Thread Alban Bedel
To set gpio during the early init we now need to use tegra_spl_gpio_direction_output(), copied from seaboard. Change-Id: Id0aadb17a71b78e75e8c3f8de374102b3eab767b Signed-off-by: Alban Bedel --- board/avionic-design/common/tamonten.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff

[U-Boot] [PATCH] tegra20: display: Add support for flipped panels

2014-10-02 Thread Alban Bedel
Add support for two new panel properties, flip-vertical and flip-horizontal. If set the display controller will be setup to correctly flip the image. Change-Id: I324b5d2b0b7ebbde7e08e5f32509cf101c057c84 Signed-off-by: Alban Bedel --- arch/arm/cpu/armv7/tegra20/display.c| 20

Re: [U-Boot] [PATCH] tegra20: tamonten: Fix the early gpio init

2014-10-02 Thread Alban Bedel
On Thu, 02 Oct 2014 09:42:18 -0600 Stephen Warren wrote: > On 10/02/2014 09:14 AM, Alban Bedel wrote: > > To set gpio during the early init we now need to use > > tegra_spl_gpio_direction_output(), copied from seaboard. > > > > Change-Id: Id0aadb17a71b78e75e8c3f8

[U-Boot] [PATCH 1/2] net: Add a command to access the EEPROM from ethernet devices

2014-10-07 Thread Alban Bedel
configuration and read/write the device MAC address. The defaults command allow priming the EEPROM for devices that need more than just a MAC address in the EEPROM. Change-Id: I9f2d15f84b772dc680349c65c89e772780823745 Signed-off-by: Alban Bedel --- common/cmd_net.c | 134

[U-Boot] [PATCH 2/2] usb: eth: smsc95xx: Add EEPROM access support

2014-10-07 Thread Alban Bedel
Use the new ethernet eeprom API to allow the user to read/write the EEPROM. Change-Id: I21233b6ee805a75bd8a03ca12e22c41421b7629c Signed-off-by: Alban Bedel --- drivers/usb/eth/smsc95xx.c | 199 +++-- 1 file changed, 192 insertions(+), 7 deletions(-) diff

[U-Boot] [PATCH] checkpatch: Add a check for forbidden tags in the git log

2014-10-07 Thread Alban Bedel
After doing this error too many times myself add a check for left over tags from gerrit and co. Signed-off-by: Alban Bedel --- scripts/checkpatch.pl | 15 +++ 1 file changed, 15 insertions(+) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 74db2e2..3f1dedf 100755

Re: [U-Boot] [PATCH 2/2] usb: eth: smsc95xx: Add EEPROM access support

2014-10-07 Thread Alban Bedel
On Tue, 7 Oct 2014 14:22:09 +0200 Pavel Machek wrote: > On Tue 2014-10-07 11:19:37, Alban Bedel wrote: > > Use the new ethernet eeprom API to allow the user to read/write the > > EEPROM. > > > > Change-Id: I21233b6ee805a75bd8a03ca12e22c41421b7629c >

[U-Boot] [PATCH v2 1/2] net: Add a command to access the EEPROM from ethernet devices

2014-10-09 Thread Alban Bedel
configuration and read/write the device MAC address. The defaults command allow priming the EEPROM for devices that need more than just a MAC address in the EEPROM. Signed-off-by: Alban Bedel --- v2: * No changes since v1 --- common/cmd_net.c | 134

[U-Boot] [PATCH v2 2/2] usb: eth: smsc95xx: Add EEPROM access support for LAN9514

2014-10-09 Thread Alban Bedel
Use the new ethernet eeprom API to allow the user to read/write the EEPROM. Signed-off-by: Alban Bedel --- v2: * Rework the defaults implementation to use the proper config depending on the device type. * Allow the board to override the defaults data. * Use the proper defaults

Re: [U-Boot] [PATCH v2 1/2] net: Add a command to access the EEPROM from ethernet devices

2014-10-13 Thread Alban Bedel
On Thu, 9 Oct 2014 17:17:00 +0200 Marek Vasut wrote: > On Thursday, October 09, 2014 at 01:42:49 PM, Alban Bedel wrote: > > Many ethernet devices use an EEPROM to store various settings, most > > commonly the device MAC address. But on some devices it can contains > > a lot

[U-Boot] [PATCH v3 2/3] net: Add a command to access the EEPROM from ethernet devices

2014-10-14 Thread Alban Bedel
configuration and read/write the device MAC address. The defaults command allow priming the EEPROM for devices that need more than just a MAC address in the EEPROM. Signed-off-by: Alban Bedel --- v2: * No changes since v1 v3: * Replace the dedicated 'eth_eeprom' command with a subcommand

[U-Boot] [PATCH v3 1/3] net: Add a command to manipulate ethernet devices

2014-10-14 Thread Alban Bedel
Add the 'eth' command for operations on ethernet devices. This first version only contains a command to show a device properties, currently only name, index and MAC address. Signed-off-by: Alban Bedel --- v1: * Patch didn't exists v2: * Patch didn't exists v3: * Replace the d

[U-Boot] [PATCH v3 3/3] usb: eth: smsc95xx: Add EEPROM access support for LAN9514

2014-10-14 Thread Alban Bedel
Use the new ethernet eeprom API to allow the user to read/write the EEPROM. Signed-off-by: Alban Bedel --- v2: * Rework the defaults implementation to use the proper config depending on the device type. * Allow the board to override the defaults data. * Use the proper defaults

Re: [U-Boot] [PATCH v3 2/3] net: Add a command to access the EEPROM from ethernet devices

2014-10-15 Thread Alban Bedel
On Tue, 14 Oct 2014 21:18:37 +0200 Simon Glass wrote: > Hi Joe, > > On 14 October 2014 21:14, Joe Hershberger wrote: > > > > On Tue, Oct 14, 2014 at 12:21 PM, Simon Glass wrote: > > > > > > Hi, > > > > > > On 14 October 2014 18:26, Alb

Re: [U-Boot] [PATCH v3 2/3] net: Add a command to access the EEPROM from ethernet devices

2014-10-21 Thread Alban Bedel
On Fri, 17 Oct 2014 14:12:18 -0600 Simon Glass wrote: > > > > I'm unsure about the 'defaults' commands, I would tend to see it at > > the eeprom level as it might be needed in various situations. However > > it must be provided by the device, not the eeprom driver itself. > > It might also make s

Re: [U-Boot] [PATCH 1/2] ARM: tegra: support SKU b1 of Tegra30

2013-09-23 Thread Alban Bedel
On Fri, 20 Sep 2013 10:57:42 -0700 Tom Warren wrote: > Alban, > > Were you going to do a V2 of this patchset? I expected to, but up to now there was no concrete change request. Should I split the PMU stuff to its own mini driver, or is it acceptable as is for now? Alban __

Re: [U-Boot] [PATCH 1/2] ARM: tegra: support SKU b1 of Tegra30

2013-10-17 Thread Alban Bedel
On Mon, 23 Sep 2013 17:23:12 -0700 Tom Warren wrote: > It's fine as-is for now. Send a V2 with any changes Stephen, et al requested > (if any), and I'll get it into tegra-next when I return from vacation > next Monday (assuming it's been Acked). What is the status with this patch serie? I'd real

[U-Boot] [PATCH v2 2/2] ARM: tegra: Add the Tamonten™ NG Evaluation Carrier board

2013-10-17 Thread Alban Bedel
Add support for the new Tamonten™ NG platform from Avionic Design. Currently only I2C, MMC, USB and ethernet have been tested. Signed-off-by: Alban Bedel --- .../common/pinmux-config-tamonten-ng.h | 385 + board/avionic-design/common/tamonten-ng.c | 129

[U-Boot] [PATCH v2 0/2] ARM: tegra: Add the Tamonten-NG Evaluation carrier boards

2013-10-17 Thread Alban Bedel
Hi all, This new serie has been rebased on the current master from denx and the SKU 0xb1 names has been changed to SKU_ID_TM30MQS_A3 to better reflect nvidia's internal namming. Alban Bedel (2): ARM: tegra: support SKU b1 of Tegra30 ARM: tegra: Add the Tamonten™ NG Evaluation Carrier

[U-Boot] [PATCH v2 1/2] ARM: tegra: support SKU b1 of Tegra30

2013-10-17 Thread Alban Bedel
Add the Tegra30 SKU b1 and treat it like other Tegra30 chips. Signed-off-by: Alban Bedel Reviewed-by: Julian Scheel --- arch/arm/cpu/tegra-common/ap.c | 1 + arch/arm/include/asm/arch-tegra/tegra.h | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm/cpu/tegra-common/ap.c b

[U-Boot] [PATCH v3] ARM: tegra: Add the Tamonten™ NG Evaluation Carrier board

2013-10-21 Thread Alban Bedel
Add support for the new Tamonten™ NG platform from Avionic Design. Currently only I2C, MMC, USB and ethernet have been tested. Signed-off-by: Alban Bedel --- .../common/pinmux-config-tamonten-ng.h | 385 + board/avionic-design/common/tamonten-ng.c | 110

Re: [U-Boot] [PATCH v3] ARM: tegra: Add the Tamonten™ NG Evaluation Carrier board

2013-10-30 Thread Alban Bedel
On Mon, 28 Oct 2013 16:00:06 -0600 Stephen Warren wrote: > On 10/21/2013 08:28 AM, Alban Bedel wrote: > > Add support for the new Tamonten™ NG platform from Avionic Design. > > Currently only I2C, MMC, USB and ethernet have been tested. > > What changed in v3? There'

[U-Boot] [PATCH v4 2/3] i2c: tegra: Add the fifth bus on SoC with more than 4 buses

2013-11-13 Thread Alban Bedel
Create the i2c adapter object for the fifth bus on SoC with more than 4 buses. This allow using all the bus available on T30. Signed-off-by: Alban Bedel --- drivers/i2c/tegra_i2c.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/i2c/tegra_i2c.c b/drivers/i2c/tegra_i2c.c index

[U-Boot] [PATCH v4 1/3] ARM: tegra: support SKU b1 of Tegra30

2013-11-13 Thread Alban Bedel
Add the Tegra30 SKU b1 and treat it like other Tegra30 chips. Signed-off-by: Alban Bedel Reviewed-by: Julian Scheel --- V4: Renamed SKU_ID_TM30MQS_A3 to SKU_ID_TM30MQS_P_A3, according to Thierry Reding this ID should be better suited as there is another TM30MQS variant with another SKU

[U-Boot] [PATCH v4 3/3] ARM: tegra: Add the Tamonten™ NG Evaluation Carrier board

2013-11-13 Thread Alban Bedel
Add support for the new Tamonten™ NG platform from Avionic Design. Currently only I2C, MMC, USB and ethernet have been tested. Signed-off-by: Alban Bedel --- V3: * Removed the retries from pmu_write() * Removed the not strictly needed power init V4: * Removed the unused PMU defines

[U-Boot] [PATCH v4 0/3] ARM: tegra: Add the Tamonten-NG Evaluation carrier boards

2013-11-13 Thread Alban Bedel
e now been removed. Alban Bedel (3): ARM: tegra: support SKU b1 of Tegra30 i2c: tegra: Add the fifth bus on SoC with more than 4 buses ARM: tegra: Add the Tamonten™ NG Evaluation Carrier board arch/arm/cpu/tegra-common/ap.c | 1 + arch/arm/include/asm/arch-teg

[U-Boot] [PATCH v5] ARM: tegra: Add the Tamonten™ NG Evaluation Carrier board

2013-11-14 Thread Alban Bedel
Add support for the new Tamonten™ NG platform from Avionic Design. Currently only I2C, MMC, USB and ethernet have been tested. Signed-off-by: Alban Bedel --- V3: * Removed the retries from pmu_write() * Removed the not strictly needed power init V4: * Removed the unused PMU defines

[U-Boot] [PATCH] arm: tegra: Fix the CPU complex reset masks

2013-11-20 Thread Alban Bedel
cores. Signed-off-by: Alban Bedel --- arch/arm/include/asm/arch-tegra/clock.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/include/asm/arch-tegra/clock.h b/arch/arm/include/asm/arch-tegra/clock.h index c3174bd..e7d0fd4 100644 --- a/arch/arm/include/asm/arch

Re: [U-Boot] [PATCH] arm: tegra: Fix the CPU complex reset masks

2013-11-25 Thread Alban Bedel
On Thu, 21 Nov 2013 13:26:07 -0700 Stephen Warren wrote: > On 11/20/2013 09:42 AM, Alban Bedel wrote: > > The CPU complex reset masks are not matching with the datasheet for > > the CLK_RST_CONTROLLER_RST_CPU_CMPLX_SET/CLR_0 registers. For both T20 > > and T30 the register c

[U-Boot] [PATCH] ARM: tegra: Use the IRAM for the early stack

2013-12-09 Thread Alban Bedel
the stack. To fix the problem simply use the IRAM for the initial stack. Signed-off-by: Alban Bedel --- include/configs/tegra-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h index 522cd41..340f5aa 100644

Re: [U-Boot] [PATCH] ARM: tegra: Use the IRAM for the early stack

2013-12-09 Thread Alban Bedel
On Mon, 09 Dec 2013 10:09:49 -0700 Stephen Warren wrote: > On 12/09/2013 10:06 AM, Alban Bedel wrote: > > Unlike many other platforms the tegra platform has the luxury of > > already having the SDRAM running during the early init, and it is used > > for the early stack. Ho

[U-Boot] [PATCH 2/2] ARM: tegra: Add the Tamonten™ NG Evaluation Carrier board

2013-09-04 Thread Alban Bedel
Add support for the new Tamonten™ NG platform from Avionic Design. Currently only I2C, MMC, USB and ethernet have been tested. Signed-off-by: Alban Bedel --- .../common/pinmux-config-tamonten-ng.h | 385 + board/avionic-design/common/tamonten-ng.c | 129

[U-Boot] [PATCH 1/2] ARM: tegra: support SKU b1 of Tegra30

2013-09-04 Thread Alban Bedel
Add the Tegra30 SKU b1 and treat it like other Tegra30 chips. Signed-off-by: Alban Bedel Reviewed-by: Julian Scheel --- arch/arm/cpu/tegra-common/ap.c | 1 + arch/arm/include/asm/arch-tegra/tegra.h | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm/cpu/tegra-common/ap.c b

Re: [U-Boot] [PATCH 2/2] ARM: tegra: Add the Tamonten™ NG Evaluation Carrier board

2013-09-05 Thread Alban Bedel
On Wed, 04 Sep 2013 12:05:00 -0600 Stephen Warren wrote: > On 09/04/2013 07:00 AM, Alban Bedel wrote: > > Add support for the new Tamonten™ NG platform from Avionic Design. > > Currently only I2C, MMC, USB and ethernet have been tested. > > (Also CC'ing the Tegra main

[U-Boot] [PATCH 1/3] usb: ci_udc: Fix set address to work with older controllers

2015-02-24 Thread Alban Bedel
Older controllers don't implement "Device Address Advance" which allow to pass the device address to the controller when it is received. To support such controller we need to store the requested address and only apply it after the next IN transfer completed on EP0. Signed-off-

[U-Boot] [PATCH 2/3] ARM: tegra: Fix the USB gadget configuration for T20

2015-02-24 Thread Alban Bedel
The USB controller on T20 doesn't have the HOSTPC feature. As there is not define for the SoC type at this level we use the address of the first USB controller as match. Not very nice but it should do for now. Signed-off-by: Alban Bedel --- include/configs/tegra-common-usb-gadget.h | 2

[U-Boot] [PATCH 3/3] ARM: tegra: usb gadgets: Allow accessing the NAND via DFU

2015-02-24 Thread Alban Bedel
Many T20 boards use NAND instead of MMC, allow accessing it via DFU. Signed-off-by: Alban Bedel --- include/configs/tegra-common-usb-gadget.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/tegra-common-usb-gadget.h b/include/configs/tegra-common-usb-gadget.h index

[U-Boot] [PATCH] tegra20: tamonten: Fix the early gpio init

2015-02-24 Thread Alban Bedel
To set gpio during the early init we now need to use tegra_spl_gpio_direction_output(), copied from seaboard. Signed-off-by: Alban Bedel --- board/avionic-design/common/tamonten.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/board/avionic-design/common/tamonten.c b

Re: [U-Boot] [PATCH] tegra20: tamonten: Fix the early gpio init

2015-02-24 Thread Alban Bedel
On Tue, 24 Feb 2015 10:02:04 -0700 Stephen Warren wrote: > On 02/24/2015 09:58 AM, Alban Bedel wrote: > > To set gpio during the early init we now need to use > > tegra_spl_gpio_direction_output(), copied from seaboard. > > Can you explain "now" a bit more. Did

Re: [U-Boot] [PATCH] tegra20: tamonten: Fix the early gpio init

2015-02-24 Thread Alban Bedel
On Tue, 24 Feb 2015 10:22:52 -0700 Stephen Warren wrote: > On 02/24/2015 10:18 AM, Alban Bedel wrote: > > On Tue, 24 Feb 2015 10:02:04 -0700 > > Stephen Warren wrote: > > > >> On 02/24/2015 09:58 AM, Alban Bedel wrote: > >>> To set gpi

Re: [U-Boot] [PATCH 3/3] ARM: tegra: usb gadgets: Allow accessing the NAND via DFU

2015-02-24 Thread Alban Bedel
On Tue, 24 Feb 2015 09:56:50 -0700 Stephen Warren wrote: > On 02/24/2015 09:44 AM, Alban Bedel wrote: > > Many T20 boards use NAND instead of MMC, allow accessing it via DFU. > > I have no particular objection to this, but I wonder how extensively > you've tested this? I

Re: [U-Boot] [PATCH 2/3] ARM: tegra: Fix the USB gadget configuration for T20

2015-02-24 Thread Alban Bedel
On Tue, 24 Feb 2015 09:54:31 -0700 Stephen Warren wrote: > On 02/24/2015 09:44 AM, Alban Bedel wrote: > > The USB controller on T20 doesn't have the HOSTPC feature. > > > > As there is not define for the SoC type at this level we use the > > address of the first U

Re: [U-Boot] [PATCH 1/3] usb: ci_udc: Fix set address to work with older controllers

2015-02-24 Thread Alban Bedel
On Tue, 24 Feb 2015 10:00:43 -0700 Stephen Warren wrote: > On 02/24/2015 09:44 AM, Alban Bedel wrote: > > Older controllers don't implement "Device Address Advance" which allow > > to pass the device address to the controller when it is received. > > To supp

[U-Boot] [PATCH v2] tegra20: tamonten: Fix the early gpio init

2015-02-24 Thread Alban Bedel
As the GPIO driver isn't ready when gpio_early_init() is called the normal GPIO API can't be used. Fix this like on seaboard by using the lower level function tegra_spl_gpio_direction_output(). Signed-off-by: Alban Bedel --- v2: Updated the log message to better describe the problem

Re: [U-Boot] [PATCH 1/3] usb: ci_udc: Fix set address to work with older controllers

2015-02-26 Thread Alban Bedel
On Tue, 24 Feb 2015 12:25:50 -0700 Stephen Warren wrote: > On 02/24/2015 10:41 AM, Alban Bedel wrote: > > On Tue, 24 Feb 2015 10:00:43 -0700 > > Stephen Warren wrote: > > > >> On 02/24/2015 09:44 AM, Alban Bedel wrote: > >>> Older controllers don't

[U-Boot] [PATCH] net: asix: Fix ASIX 88772B with driver model

2016-08-02 Thread Alban Bedel
y seems to increase the code complexity, so this patch revert this part of commit 147271209a9d. Change-Id: I7edc89f5714ead60e5204340ba05caf21b155593 Fixes: 147271209a9d ("net: asix: fix operation without eeprom") Signed-off-by: Alban Bedel --- drivers/usb/eth/asix.c | 22 +++---

[U-Boot] [PATCH 3/4] eth: asix88179: Prepare supporting the driver model

2016-08-02 Thread Alban Bedel
Change the prototype of a few functions to allow resuing the code for the driver model. Signed-off-by: Alban Bedel --- drivers/usb/eth/asix88179.c | 71 - 1 file changed, 44 insertions(+), 27 deletions(-) diff --git a/drivers/usb/eth/asix88179.c b

[U-Boot] [PATCH 2/4] eth: asix88179: Fix receiving on big endian system

2016-08-02 Thread Alban Bedel
In asix_recv() the call to convert the endianess of the receive header was applied on the wrong variable. Instead of converting rx_hdr it converted pkt_hdr which is a pointer, and not yet initialiazed at this point. Signed-off-by: Alban Bedel --- drivers/usb/eth/asix88179.c | 2 +- 1 file

[U-Boot] [PATCH 1/4] eth: asix88179: Add VID:DID for Cypress GX3 USB Ethernet Adapter

2016-08-02 Thread Alban Bedel
Added support for the Cypress GX3 SuperSpeed to Gigabit Ethernet Bridge Controller (VID_04b4/PID_3610). Signed-off-by: Alban Bedel --- drivers/usb/eth/asix88179.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/eth/asix88179.c b/drivers/usb/eth/asix88179.c index 5e1ea8693b0b

[U-Boot] [PATCH 4/4] eth: asix88179: Add support for the driver model

2016-08-02 Thread Alban Bedel
Signed-off-by: Alban Bedel --- drivers/usb/eth/asix88179.c | 184 1 file changed, 184 insertions(+) diff --git a/drivers/usb/eth/asix88179.c b/drivers/usb/eth/asix88179.c index 45106ce5ef59..cc4ae3c17f16 100644 --- a/drivers/usb/eth/asix88179.c +++ b

[U-Boot] [PATCH] net: e1000: Fix the build with driver model and SPI EEPROM

2016-08-03 Thread Alban Bedel
When adding support for the driver model the SPI EEPROM feature had been ignored. Fix the build with both CONFIG_DM_ETH and CONFIG_E1000_SPI enabled. Signed-off-by: Alban Bedel --- drivers/net/e1000.c | 6 +- drivers/net/e1000_spi.c | 57

[U-Boot] [PATCH] tegra: config: Add 'pci enum' to preboot when PCI is enabled

2016-08-03 Thread Alban Bedel
For simplicity and backward compatibility automatically run 'pci enum' via preboot when PCI is enabled. As preboot is already used for the USB keyboard support this rework how CONFIG_PREBOOT is set to allow combining several commands. Signed-off-by: Alban Bedel --- include/configs/te

Re: [U-Boot] [PATCH] net: asix: Fix ASIX 88772B with driver model

2016-08-03 Thread Alban Bedel
On Wed, 3 Aug 2016 09:00:42 +0200 Marek Vasut wrote: > On 08/03/2016 07:32 AM, Alban Bedel wrote: > > Commit 147271209a9d ("net: asix: fix operation without eeprom") > > added a special handling for ASIX 88772B that enable another > > type of header. This break the

[U-Boot] [PATCH v2] eth: asix88179: Add support for the driver model

2016-08-03 Thread Alban Bedel
Adjust this driver to support driver model for Ethernet. Signed-off-by: Alban Bedel --- drivers/usb/eth/asix88179.c | 184 1 file changed, 184 insertions(+) diff --git a/drivers/usb/eth/asix88179.c b/drivers/usb/eth/asix88179.c index 45106ce5ef59

Re: [U-Boot] [PATCH] tegra: config: Add 'pci enum' to preboot when PCI is enabled

2016-08-04 Thread Alban Bedel
On Wed, 3 Aug 2016 19:16:57 -0600 Simon Glass wrote: > Hi, > > On 3 August 2016 at 09:37, Stephen Warren wrote: > > On 08/03/2016 03:35 AM, Alban Bedel wrote: > >> > >> For simplicity and backward compatibility automatically run 'pci enum' > >

Re: [U-Boot] [PATCH] net: asix: Fix ASIX 88772B with driver model

2016-08-04 Thread Alban Bedel
On Wed, 3 Aug 2016 15:23:30 + Marcel Ziswiler wrote: > On Wed, 2016-08-03 at 15:51 +0200, Marek Vasut wrote: > > On 08/03/2016 11:46 AM, Alban Bedel wrote: > > > > > > On Wed, 3 Aug 2016 09:00:42 +0200 > > > Marek Vasut wrote: > > > > &g

Re: [U-Boot] [PATCH] net: e1000: Allow to use e1000 SPI command with DM

2016-08-08 Thread Alban Bedel
this patch email is malformed and not parsed by > patchwork properly. > > Another patch with the same intent was also sent just after this one: > https://patchwork.ozlabs.org/patch/655311/ > > With permission of you and Alban Bedel I'll add both of your SOB to > Alban&#

[U-Boot] [PATCH v3 2/2] eth: asix88179: Add support for the driver model

2016-08-09 Thread Alban Bedel
Adjust this driver to support driver model for Ethernet. Signed-off-by: Alban Bedel --- drivers/usb/eth/asix88179.c | 184 1 file changed, 184 insertions(+) diff --git a/drivers/usb/eth/asix88179.c b/drivers/usb/eth/asix88179.c index f3179bcf1e2e

[U-Boot] [PATCH v3 1/2] eth: asix88179: Prepare supporting the driver model

2016-08-09 Thread Alban Bedel
Change the prototype of a few functions to allow resuing the code for the driver model. Signed-off-by: Alban Bedel --- Changelog: v3: * Don't break the build without driver model --- drivers/usb/eth/asix88179.c | 75 - 1 file changed, 47 inser

Re: [U-Boot] [PATCH] net: asix: Fix ASIX 88772B with driver model

2016-08-11 Thread Alban Bedel
On Thu, 11 Aug 2016 11:26:23 +0200 Marek Vasut wrote: > On 08/11/2016 10:52 AM, Alban Bedel wrote: > > On Tue, 9 Aug 2016 14:32:14 +0200 > > Marek Vasut wrote: > > > >> On 08/09/2016 02:14 PM, Marcel Ziswiler wrote: > >>> On Thu, 2016-08-04 at 11:12

Re: [U-Boot] [PATCH] net: asix: Fix ASIX 88772B with driver model

2016-08-11 Thread Alban Bedel
On Tue, 9 Aug 2016 14:32:14 +0200 Marek Vasut wrote: > On 08/09/2016 02:14 PM, Marcel Ziswiler wrote: > > On Thu, 2016-08-04 at 11:12 +0200, Marek Vasut wrote: > >> On 08/04/2016 11:07 AM, Alban Bedel wrote: > >>> > >>> On Wed, 3 Aug 2016 1

Re: [U-Boot] [PATCH] eth: asix88179: Reset device during probe with DM_ETH enabled

2016-09-06 Thread Alban Bedel
On Mon, 5 Sep 2016 19:04:49 -0600 Simon Glass wrote: > Hi, > > On 30 August 2016 at 08:01, Nikolaus Schulz > wrote: > > With the ethernet driver model enabled, reset the device before reading > > the MAC address, just like it's done for the non-device-model code path. > > This avoids a timeout

[PATCH] armv8: fsl-layerscape: Fix automatic setting of bootmcd with TF-A

2020-11-17 Thread Alban Bedel
t environment when redundant env is enabled on MMC, so in that case `bootcmd` is overwritten on every boot. Instead of increasing the complexity of the detection just check if `bootcmd` and `mcinitcmd` are set in the environment and set them if they are not. Signed-off-by: Alban Bedel --- arch/arm/cpu/ar

[PATCH] armv8: fsl-layerscape: Erratum A010315 needs PCIE support

2021-09-06 Thread Alban Bedel
Disabling PCIE support currently lead to a crash because the code for erratum A010315 is still run. Add a conditional to only select CONFIG_SYS_FSL_ERRATUM_A010315 when CONFIG_PCIE_LAYERSCAPE is enabled. Signed-off-by: Alban Bedel --- arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 4 ++-- 1 file