Re: [U-Boot] [PATCH 1/2] spi: add support for ARM PL022 SPI controller

2018-08-09 Thread Jagan Teki
On Tue, Aug 7, 2018 at 2:47 PM, Quentin Schulz wrote: > This adds support for the ARM PL022 SPI controller for the standard > variant (0x00041022) which has a 16bit wide and 8 locations deep TX/RX > FIFO. > > A few parts were borrowed from the Linux kernel driver. > > Cc: Armando Visconti > Cc:

Re: [U-Boot] [PATCH] efi_loader: Rename sections to allow for implicit data

2018-08-09 Thread Bin Meng
Hi Alex, On Wed, Aug 8, 2018 at 1:16 AM, Alexander Graf wrote: > > >> Am 07.08.2018 um 18:12 schrieb Simon Glass : >> >> Hi Alex, >> >>> On 11 June 2018 at 23:48, Alexander Graf wrote: >>> Some times gcc may generate data that is then used within code that may >>> be part of an efi runtime

Re: [U-Boot] [PATCH] spi: Add SPI driver for MT76xx SoCs

2018-08-09 Thread Jagan Teki
On Tue, Aug 7, 2018 at 11:24 AM, Stefan Roese wrote: > This patch adds the SPI driver for the MediaTek MT7688 SoC (and > derivates). Its been tested on the LinkIt Smart 7688 and the Gardena > Smart Gateway with and SPI NOR on CS0 and on the Gardena Smart > Gateway additionally with an SPI NAND on

Re: [U-Boot] [PATCH 5/6] serial: ns16550: fix debug uart putc called before init

2018-08-09 Thread Simon Goldschmidt
On 10.08.2018 00:41, Marek Vasut wrote: On 08/10/2018 12:35 AM, Andy Shevchenko wrote: On Fri, Aug 10, 2018 at 12:45 AM, Marek Vasut wrote: On 08/09/2018 11:13 PM, Adam Ford wrote: On Thu, Aug 9, 2018 at 2:08 PM Simon Goldschmidt wrote: If _debug_uart_putc() is called before

Re: [U-Boot] [PATCH] spi: davinci: Full dm conversion

2018-08-09 Thread Jagan Teki
On Wed, Aug 8, 2018 at 6:47 PM, Adam Ford wrote: > On Tue, Aug 7, 2018 at 1:29 AM Jagan Teki wrote: >> >> davinci_spi now support dt along with platform data, >> respective boards need to switch into dm for the same. >> >> Cc: Adam Ford >> Cc: Vitaly Andrianov >> Cc: Stefano Babic >> Cc:

Re: [U-Boot] [PATCH] pci: Support parsing PCI controller DT subnodes

2018-08-09 Thread Bin Meng
Hi Marek, On Thu, Aug 9, 2018 at 6:25 PM, Marek Vasut wrote: > On 08/09/2018 11:41 AM, Bin Meng wrote: > > [...] > >> Sorry this is a hack to current U-Boot implementation, not fix. > > I am waiting for a better solution or suggestion ... > >> The fix should be adding

Re: [U-Boot] [PATCH v4 1/8] armv8: enable BLK code configuration

2018-08-09 Thread York Sun
On 08/09/2018 08:19 PM, Y.b. Lu wrote: > Hi Yinbo, > >> -Original Message- >> From: York Sun >> Sent: Wednesday, August 8, 2018 6:09 AM >> To: Yinbo Zhu ; york...@freescale.com; >> u-boot@lists.denx.de >> Cc: Y.b. Lu ; Xiaobo Xie ; Andy >> Tang ; Peng Ma >> Subject: Re: [PATCH v4 1/8]

Re: [U-Boot] [PATCH] bcm968380gerg: Add MAINTAINERS file

2018-08-09 Thread Tom Rini
On Thu, Aug 09, 2018 at 11:48:51AM -0400, Tom Rini wrote: > Add an initial MAINTAINERS file based on author of the code. > > Cc: Philippe Reynes > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] Please pull u-boot-dm

2018-08-09 Thread Tom Rini
On Thu, Aug 09, 2018 at 08:29:13AM -0600, Simon Glass wrote: > Hi Tom, > > This includes Bin's PCI improvements, a patman fix and moving pylibfdt over > to match upstream. > > > The following changes since commit b1aad8dbe28415695b290726199681ced969c118: > > zynqmp: Add

Re: [U-Boot] [GIT PULL] u-boot-mips/master

2018-08-09 Thread Tom Rini
On Wed, Aug 08, 2018 at 05:31:44PM +0200, Daniel Schwierzeck wrote: > Hi Tom, > > I hope it's okay for post RC1, but I wanted to wait until you had the Kconfig > sorting stuff merged. > > Travis CI: https://travis-ci.org/danielschwierzeck/u-boot/builds/413538994 > > > The following changes

Re: [U-Boot] [PATCH v4 1/8] armv8: enable BLK code configuration

2018-08-09 Thread Y.b. Lu
Hi Yinbo, > -Original Message- > From: York Sun > Sent: Wednesday, August 8, 2018 6:09 AM > To: Yinbo Zhu ; york...@freescale.com; > u-boot@lists.denx.de > Cc: Y.b. Lu ; Xiaobo Xie ; Andy > Tang ; Peng Ma > Subject: Re: [PATCH v4 1/8] armv8: enable BLK code configuration > > On

Re: [U-Boot] [PATCH v3 2/2] armv8: layerscape: move ns_dev[] define from h to c file.

2018-08-09 Thread Ran Wang
Hi York, > -Original Message- > From: York Sun > Sent: Friday, August 10, 2018 03:46 > To: Ran Wang > Cc: u-boot@lists.denx.de > Subject: Re: [PATCH v3 2/2] armv8: layerscape: move ns_dev[] define from h > to c file. > > On 08/03/2018 12:56 AM, Ran Wang wrote: > > Since more c files

Re: [U-Boot] [PATCH V3 07/32] misc: add i.MX8 misc driver

2018-08-09 Thread Peng Fan
Hi Anatolij, > -Original Message- > From: Anatolij Gustschin [mailto:ag...@denx.de] > Sent: 2018年8月10日 0:19 > To: Peng Fan ; u-boot@lists.denx.de > Cc: sba...@denx.de; Fabio Estevam ; dl-linux-imx > > Subject: Re: [U-Boot] [PATCH V3 07/32] misc: add i.MX8 misc driver > > Hi Peng, > >

Re: [U-Boot] [RFC] efi_loader: workaround for EDK2's shell.efi

2018-08-09 Thread AKASHI Takahiro
Leif, Heinrich, Thank you for your comments. I should have been more careful in reading UEFI specification :) On Thu, Aug 09, 2018 at 02:08:32PM +0100, Leif Lindholm wrote: > On Thu, Aug 09, 2018 at 03:15:38PM +0900, AKASHI Takahiro wrote: > > The commit 21b3edfc964 ("efi_loader: check

Re: [U-Boot] [PATCH 5/6] serial: ns16550: fix debug uart putc called before init

2018-08-09 Thread Marek Vasut
On 08/10/2018 12:35 AM, Andy Shevchenko wrote: > On Fri, Aug 10, 2018 at 12:45 AM, Marek Vasut wrote: >> On 08/09/2018 11:13 PM, Adam Ford wrote: >>> On Thu, Aug 9, 2018 at 2:08 PM Simon Goldschmidt >>> wrote: If _debug_uart_putc() is called before _debug_uart_init(), the ns16550

Re: [U-Boot] [PATCH 5/6] serial: ns16550: fix debug uart putc called before init

2018-08-09 Thread Andy Shevchenko
On Fri, Aug 10, 2018 at 12:45 AM, Marek Vasut wrote: > On 08/09/2018 11:13 PM, Adam Ford wrote: >> On Thu, Aug 9, 2018 at 2:08 PM Simon Goldschmidt >> wrote: >>> >>> If _debug_uart_putc() is called before _debug_uart_init(), the >>> ns16550 debug uart driver hangs in a tight loop waiting for the

Re: [U-Boot] [PATCH] arm: socfpga: make socfpga_socrates_defconfig boot from QSPI

2018-08-09 Thread Marek Vasut
On 08/09/2018 09:17 PM, Simon Goldschmidt wrote: > On Mon, Aug 6, 2018 at 3:45 PM Simon Goldschmidt > wrote: >> >> >> >> Marek Vasut schrieb am Mo., 6. Aug. 2018, 15:19: >>> >>> On 08/06/2018 03:05 PM, Simon Goldschmidt wrote: This fixes the board's dts to supply SPL with QSPI info.

Re: [U-Boot] [PATCH 3/6] arm: socfpga: spl_gen5: clean up malloc_base assignment

2018-08-09 Thread Marek Vasut
On 08/09/2018 09:04 PM, Simon Goldschmidt wrote: > From: Simon Goldschmidt > > In spl_gen5's board_init_f(), gd->malloc_base is manually assigned > at the end of the function to point to sdram. This code is outdated > as by now, the heap is switched to sdram by the common function >

Re: [U-Boot] [PATCH 5/6] serial: ns16550: fix debug uart putc called before init

2018-08-09 Thread Marek Vasut
On 08/09/2018 11:13 PM, Adam Ford wrote: > On Thu, Aug 9, 2018 at 2:08 PM Simon Goldschmidt > wrote: >> >> If _debug_uart_putc() is called before _debug_uart_init(), the >> ns16550 debug uart driver hangs in a tight loop waiting for the >> tx FIFO to get empty. >> >> As this can happen via a

Re: [U-Boot] [PATCH 2/6] arm: socfpga: fix device trees to work with DM serial

2018-08-09 Thread Marek Vasut
On 08/09/2018 09:04 PM, Simon Goldschmidt wrote: > Device trees need to have the serial console device available > before relocation and require a stdout-path in chosen at least > for SPL to have a console. > > Signed-off-by: Simon Goldschmidt > --- > v2: no changes > >

Re: [U-Boot] [PATCH 1/6] arm: socfpga: fix SPL on gen5 after moving to DM serial

2018-08-09 Thread Marek Vasut
On 08/09/2018 09:04 PM, Simon Goldschmidt wrote: > There were NULL pointers dereferenced because DM was used > too early without correct initialization: > - malloc_simple returned NULL when called from preloader_console_init() > because gd->malloc_limit was 0 > - uclass_add dereferenced

Re: [U-Boot] [PATCH 5/6] serial: ns16550: fix debug uart putc called before init

2018-08-09 Thread Adam Ford
On Thu, Aug 9, 2018 at 2:08 PM Simon Goldschmidt wrote: > > If _debug_uart_putc() is called before _debug_uart_init(), the > ns16550 debug uart driver hangs in a tight loop waiting for the > tx FIFO to get empty. > > As this can happen via a printf sneaking in before the port calls >

Re: [U-Boot] [PATCH 1/1] mtd: nand: fsl_ifc: Fix handling of bitflips in erased pages

2018-08-09 Thread York Sun
On 08/08/2018 04:55 AM, Kurt Kanzenbach wrote: > Hi York, > > On Tue, Aug 07, 2018 at 09:52:46PM +, York Sun wrote: >> On 08/02/2018 01:03 AM, Kurt Kanzenbach wrote: >>> From: Darwin Dingel >>> >>> This is a fix made for the fsl_ifc_nand driver on linux kernel by >>> Pavel Machek and is

Re: [U-Boot] [PATCH v3 2/2] armv8: layerscape: move ns_dev[] define from h to c file.

2018-08-09 Thread York Sun
On 08/03/2018 12:56 AM, Ran Wang wrote: > Since more c files will include ns_access.h, this move will fix some > compiling warnings and make it sense. > > Signed-off-by: Ran Wang > --- > Change in v3: > - New file > > .../include/asm/arch-fsl-layerscape/ns_access.h| 80 >

Re: [U-Boot] [PATCH] arm: socfpga: make socfpga_socrates_defconfig boot from QSPI

2018-08-09 Thread Simon Goldschmidt
On Mon, Aug 6, 2018 at 3:45 PM Simon Goldschmidt wrote: > > > > Marek Vasut schrieb am Mo., 6. Aug. 2018, 15:19: >> >> On 08/06/2018 03:05 PM, Simon Goldschmidt wrote: >> > This fixes the board's dts to supply SPL with QSPI info. >> > >> > The EBV Socrates board has DIP switches to boot from SD

[U-Boot] [PATCH 5/6] serial: ns16550: fix debug uart putc called before init

2018-08-09 Thread Simon Goldschmidt
If _debug_uart_putc() is called before _debug_uart_init(), the ns16550 debug uart driver hangs in a tight loop waiting for the tx FIFO to get empty. As this can happen via a printf sneaking in before the port calls debug_uart_init(), let's rather ignore characters before the debug uart is

[U-Boot] [PATCH 6/6] malloc_simple: calloc: don't call memset if malloc failed

2018-08-09 Thread Simon Goldschmidt
malloc_simple() can return 0 if out of memory. Don't call memset from calloc() in this case but rely on the caller checking the return value. Signed-off-by: Simon Goldschmidt Reviewed-by: Marek Vasut --- v2: no changes common/malloc_simple.c | 3 ++- 1 file changed, 2 insertions(+), 1

[U-Boot] [PATCH 4/6] arm: socfpga: cyclone5: handle debug uart

2018-08-09 Thread Simon Goldschmidt
If CONFIG_DEBUG_UART is enabled, correctly initialize the debug uart before console is initialized to debug early boot problems in SPL. Signed-off-by: Simon Goldschmidt --- v2: - don't change printf() to debug() in reset_manager_gen5.c socfpga_bridges_reset()

[U-Boot] [PATCH 2/6] arm: socfpga: fix device trees to work with DM serial

2018-08-09 Thread Simon Goldschmidt
Device trees need to have the serial console device available before relocation and require a stdout-path in chosen at least for SPL to have a console. Signed-off-by: Simon Goldschmidt --- v2: no changes arch/arm/dts/socfpga.dtsi | 1 +

[U-Boot] [PATCH 3/6] arm: socfpga: spl_gen5: clean up malloc_base assignment

2018-08-09 Thread Simon Goldschmidt
From: Simon Goldschmidt In spl_gen5's board_init_f(), gd->malloc_base is manually assigned at the end of the function to point to sdram. This code is outdated as by now, the heap is switched to sdram by the common function spl_relocate_stack_gd() if the appropriate defines are set. As it was,

[U-Boot] [PATCH 1/6] arm: socfpga: fix SPL on gen5 after moving to DM serial

2018-08-09 Thread Simon Goldschmidt
There were NULL pointers dereferenced because DM was used too early without correct initialization: - malloc_simple returned NULL when called from preloader_console_init() because gd->malloc_limit was 0 - uclass_add dereferenced gd->uclass_root members which were NULL because dm_init (or one

[U-Boot] [PATCH 0/6] Get socfpga gen5 SPL working again.

2018-08-09 Thread Simon Goldschmidt
Socfpga gen5 SPL has been broken since moving to DM serial with v2018.07. Also, U-Boot console output has been broken since then. This series fixes this and makes some related small improvements. Changes in v2: - Improved comment on patch 1 - Removing gd->malloc_base assignment at the end of

[U-Boot] [PATCH 1/1] fat: provide position in debug message

2018-08-09 Thread Heinrich Schuchardt
The debug message in file_fat_read_at() is not very useful without indicating the position at which the file is read. Suggested-by: Tero Kristo Signed-off-by: Heinrich Schuchardt --- fs/fat/fat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/fat/fat.c b/fs/fat/fat.c

Re: [U-Boot] [PATCH V3 07/32] misc: add i.MX8 misc driver

2018-08-09 Thread Anatolij Gustschin
Hi Peng, On Mon, 6 Aug 2018 10:50:22 +0800 Peng Fan peng@nxp.com wrote: > Add i.MX8 MISC driver to handle the communication between > A35 Core and SCU. Thanks for working on this! I think we should rename this driver to imx-mu and unify it, so that it can be used on i.MX7 and i.MX6SX, if

[U-Boot] [PATCH] bcm968380gerg: Add MAINTAINERS file

2018-08-09 Thread Tom Rini
Add an initial MAINTAINERS file based on author of the code. Cc: Philippe Reynes Signed-off-by: Tom Rini --- board/broadcom/bcm968380gerg/MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) create mode 100644 board/broadcom/bcm968380gerg/MAINTAINERS diff --git

[U-Boot] [PATCH v4 0/7] Fixes/Addition to use the USB Ethernet gadget with the DWC3 gadget controller

2018-08-09 Thread Jean-Jacques Hiblot
This series implements 2 fixes to be able to use USB Ethernet gadget with the dwc3 driver. It also adds new commands to bind/unbind a device to/from a driver and update the 'dm tree' command to make it easier to use those new commands. The bind/unbind commands can be used to bind the DWC3 USB

[U-Boot] [PATCH v4 7/7] cmd: Add bind/unbind commands to bind a device to a driver from the command line

2018-08-09 Thread Jean-Jacques Hiblot
In some cases it can be useful to be able to bind a device to a driver from the command line. The obvious example is for versatile devices such as USB gadget. Another use case is when the devices are not yet ready at startup and require some setup before the drivers are bound (ex: FPGA which

Re: [U-Boot] [PATCH 1/4 v2] spi: spi-mem: Use 2 SPI messages instead of a single full-duplex one

2018-08-09 Thread Stefan Roese
Hi Miquel, On 09.08.2018 16:50, Miquel Raynal wrote: Stefan Roese wrote on Thu, 9 Aug 2018 11:10:15 +0200: Hi Miquel, On 09.08.2018 10:13, Miquel Raynal wrote: Stefan Roese wrote on Thu, 9 Aug 2018 07:24:14 +0200: Hi Miquel, On 08.08.2018 10:56, Miquel Raynal wrote: Boris Brezillon

Re: [U-Boot] [PATCH 1/4 v2] spi: spi-mem: Use 2 SPI messages instead of a single full-duplex one

2018-08-09 Thread Miquel Raynal
Hi Stefan, Stefan Roese wrote on Thu, 9 Aug 2018 11:10:15 +0200: > Hi Miquel, > > On 09.08.2018 10:13, Miquel Raynal wrote: > > Stefan Roese wrote on Thu, 9 Aug 2018 07:24:14 +0200: > > >> Hi Miquel, > >> > >> On 08.08.2018 10:56, Miquel Raynal wrote: > >>> Boris Brezillon wrote on

[U-Boot] Please pull u-boot-dm

2018-08-09 Thread Simon Glass
Hi Tom, This includes Bin's PCI improvements, a patman fix and moving pylibfdt over to match upstream. The following changes since commit b1aad8dbe28415695b290726199681ced969c118: zynqmp: Add avnet_ultra96_rev1_defconfig to the lits of boards (2018-08-07 11:36:39 -0400) are available in the

Re: [U-Boot] [PATCH v3 0/7] Fixes/Addition to use the USB Ethernet gadget with the DWC3 gadget controller

2018-08-09 Thread Jean-Jacques Hiblot
On 08/08/2018 18:54, Tom Rini wrote: On Wed, Aug 08, 2018 at 06:44:07PM +0200, Eugeniu Rosca wrote: On Wed, Aug 8, 2018 at 6:18 PM Jean-Jacques Hiblot wrote: On 08/08/2018 15:08, Eugeniu Rosca wrote: [snip] I think having a warning-free build is a basic policy everybody is expected to

[U-Boot] [PATCH v4 1/7] usb: gadget: Add bcdDevice for the DWC3 USB Gadget Controller

2018-08-09 Thread Jean-Jacques Hiblot
Add an entry in usb_gadget_controller_number() for the DWC3 gadget controller. Without it, it is not possible to bind the USB Ethernet driver. Signed-off-by: Jean-Jacques Hiblot --- Changes in v4: None Changes in v3: None Changes in v2: None drivers/usb/gadget/gadget_chips.h | 2 ++ 1 file

Re: [U-Boot] [PATCH 1/4] mips: Add basic MediaTek MT7620/88 support

2018-08-09 Thread Stefan Roese
Hi Daniel, On 09.08.2018 15:28, Daniel Schwierzeck wrote: Am Do., 9. Aug. 2018 um 12:46 Uhr schrieb Stefan Roese : Hi Daniel, On 07.08.2018 17:44, Daniel Schwierzeck wrote: 2018-08-06 17:11 GMT+02:00 Stefan Roese : This patch adds basic support for the MediaTek MT7620/88 SoCs. Parts of the

[U-Boot] [PATCH v4 3/7] uclass: Add dev_get_uclass_index() to get the uclass/index of a device

2018-08-09 Thread Jean-Jacques Hiblot
This function is the reciprocal of uclass_find_device(). It will be used to print the index information in dm tree dump. Signed-off-by: Jean-Jacques Hiblot --- Changes in v4: None Changes in v3: - update commit log - fixed problem with the function name Changes in v2: None

[U-Boot] [PATCH v4 6/7] device: expose the functions used to remove and unbind children of a device

2018-08-09 Thread Jean-Jacques Hiblot
Also add a 'drv' parameter to filter the children to remove/unbind. Exporting those functions is a preparatory work for the addition of the bind/unbind commands. Signed-off-by: Jean-Jacques Hiblot --- Changes in v4: None Changes in v3: - new Changes in v2: None drivers/core/device-remove.c

[U-Boot] [PATCH v4 4/7] dm: print the index of the device when dumping the dm tree

2018-08-09 Thread Jean-Jacques Hiblot
Command "dm tree" dumps the devices with class, driver, name information. Add the index of the device in the class too, because the information is useful for the bind/unbind commands. Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Simon Glass --- Changes in v4: None Changes in v3: - update

[U-Boot] [PATCH v4 5/7] dm: convert device_get_global_by_of_offset() to device_get_global_by_ofnode()

2018-08-09 Thread Jean-Jacques Hiblot
Also add device_find_global_by_ofnode() that also find a device based on the OF node, but doesn't probe the device. Signed-off-by: Jean-Jacques Hiblot --- Changes in v4: None Changes in v3: - new commit Changes in v2: None arch/arm/mach-rockchip/rk3188-board-spl.c | 2 +-

[U-Boot] [PATCH v4 2/7] net: eth-uclass: Fix for DM USB ethernet support

2018-08-09 Thread Jean-Jacques Hiblot
When a USB ethernet device is halted, the device driver is removed. When this happens the uclass private memory is freed and uclass_priv is set to NULL. This causes a data abort when uclass_priv->state is then set to ETH_STATE_PASSIVE. Fix it by checking if uclass_priv is NULL before setting

[U-Boot] [PATCH v2 28/30] ARM: dts: at91: sama5d3_xplained: add onewire connector for LCD eeprom

2018-08-09 Thread Eugen Hristev
Add onewire node in device tree for TM series LCDs Signed-off-by: Eugen Hristev --- arch/arm/dts/at91-sama5d3_xplained.dts | 17 + arch/arm/dts/sama5d3.dtsi | 5 + 2 files changed, 22 insertions(+) diff --git a/arch/arm/dts/at91-sama5d3_xplained.dts

[U-Boot] [PATCH v2 22/30] board: sama5d2_ptc_ek: add pda detect call at init time

2018-08-09 Thread Eugen Hristev
Call the PDA detection mechanism at boot time so we can have the pda environment variable ready for use. Signed-off-by: Eugen Hristev --- arch/arm/mach-at91/Kconfig | 1 + board/atmel/sama5d2_ptc_ek/sama5d2_ptc_ek.c | 10 ++ 2 files changed, 11 insertions(+) diff

[U-Boot] [PATCH v2 18/30] board: atmel: add support for pda detection

2018-08-09 Thread Eugen Hristev
This adds the support for PDA detection as common code for Atmel boards. Using the one wire interface over GPIO , an EEPROM memory is read and compared to preprogrammed values for PDA screens TM4300, TM7000 and TM7000B. Once the PDA is detected, an environment variable is set accordingly.

[U-Boot] [PATCH v2 12/30] sandbox: DTS: w1: add node for one wire interface on GPIO

2018-08-09 Thread Eugen Hristev
Add a node for the one wire uclass and one wire gpio driver in sandbox. Signed-off-by: Eugen Hristev --- arch/sandbox/dts/sandbox.dts | 20 1 file changed, 20 insertions(+) diff --git a/arch/sandbox/dts/sandbox.dts b/arch/sandbox/dts/sandbox.dts index 0ea2452..2be836d

[U-Boot] [PATCH v2 21/30] board: sama5d27_som1_ek: add pda detect call at init time

2018-08-09 Thread Eugen Hristev
Call the PDA detection mechanism at boot time so we can have the pda environment variable ready for use. Signed-off-by: Eugen Hristev --- board/atmel/sama5d27_som1_ek/sama5d27_som1_ek.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board/atmel/sama5d27_som1_ek/sama5d27_som1_ek.c

[U-Boot] [PATCH v2 14/30] configs: sama5d2_xplained: add onewire and eeprom drivers

2018-08-09 Thread Eugen Hristev
SAMA5D2 SoC can have extra clip boards (PDAs) connected, which have an EEPROM memory for identification. A special GPIO can be used to read this memory over 1wire protocol. Enabling one wire and eeprom drivers for this memory. Signed-off-by: Eugen Hristev ---

[U-Boot] [PATCH v2 29/30] ARM: dts: at91: sama5d27_som1_ek: add onewire connector for LCD eeprom

2018-08-09 Thread Eugen Hristev
Add onewire node in device tree for TM series LCDs Signed-off-by: Eugen Hristev --- arch/arm/dts/at91-sama5d27_som1_ek.dts | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm/dts/at91-sama5d27_som1_ek.dts b/arch/arm/dts/at91-sama5d27_som1_ek.dts index

[U-Boot] [PATCH v2 16/30] configs: sama5d27_som1_ek: add onewire and eeprom drivers

2018-08-09 Thread Eugen Hristev
SAMA5D2 SoC can have extra clip boards (PDAs) connected, which have an EEPROM memory for identification. A special GPIO can be used to read this memory over 1wire protocol. Enabling one wire and eeprom drivers for this memory. Signed-off-by: Eugen Hristev ---

[U-Boot] [PATCH v2 20/30] board: sama5d3_xplained: add pda detect call at init time

2018-08-09 Thread Eugen Hristev
Call the PDA detection mechanism at boot time so we can have the pda environment variable ready for use. Signed-off-by: Eugen Hristev --- arch/arm/mach-at91/Kconfig | 1 + board/atmel/sama5d3_xplained/sama5d3_xplained.c | 10 ++ 2 files changed, 11 insertions(+)

[U-Boot] [PATCH v2 09/30] dt-bindings: w1-eeprom: eep_sandbox: create bindings

2018-08-09 Thread Eugen Hristev
Bindings for sandbox onewire eeprom driver Signed-off-by: Eugen Hristev --- doc/device-tree-bindings/w1-eeprom/eep_sandbox.txt | 34 ++ 1 file changed, 34 insertions(+) create mode 100644 doc/device-tree-bindings/w1-eeprom/eep_sandbox.txt diff --git

[U-Boot] [PATCH v2 13/30] configs: sandbox: add onewire w1 and sandbox eeprom

2018-08-09 Thread Eugen Hristev
To be able to test Dallas onewire protocol and one wire eeproms driver and subsystem, add in sandbox defconfig the drivers' config. Signed-off-by: Eugen Hristev --- configs/sandbox_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/configs/sandbox_defconfig

[U-Boot] [PATCH v2 26/30] configs: sama5d27_som1_ek: add fdt overlay support

2018-08-09 Thread Eugen Hristev
Add commands for fdt overlay merging. This is required for the boot scripts that detect PDAs and apply specific overlays to the DTB passed on to kernel. Signed-off-by: Eugen Hristev --- configs/sama5d27_som1_ek_mmc_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git

[U-Boot] [PATCH v2 10/30] w1: add command for onewire protocol

2018-08-09 Thread Eugen Hristev
Add basic command for bus information and read for onewire bus using Dallas 1-Wire protocol. Signed-off-by: Eugen Hristev --- cmd/Kconfig | 7 cmd/Makefile | 1 + cmd/w1.c | 121 +++ 3 files changed, 129 insertions(+) create

[U-Boot] [PATCH v2 08/30] W1-EEPROM: add sandbox driver

2018-08-09 Thread Eugen Hristev
Add a sandbox driver for a one wire EEPROM memory Signed-off-by: Eugen Hristev --- drivers/w1-eeprom/Kconfig | 6 drivers/w1-eeprom/Makefile | 1 + drivers/w1-eeprom/eep_sandbox.c | 61 + include/w1.h| 1 + 4 files

[U-Boot] [PATCH v2 27/30] ARM: dts: at91: sama5d2_xplained: add onewire connector for LCD eeprom

2018-08-09 Thread Eugen Hristev
Add onewire node in device tree for TM series LCDs Signed-off-by: Eugen Hristev --- arch/arm/dts/at91-sama5d2_xplained.dts | 17 + arch/arm/dts/sama5d2.dtsi | 5 + 2 files changed, 22 insertions(+) diff --git a/arch/arm/dts/at91-sama5d2_xplained.dts

[U-Boot] [PATCH v2 15/30] configs: sama5d3_xplained: add onewire and eeprom drivers

2018-08-09 Thread Eugen Hristev
SAMA5D3 SoC can have extra clip boards (PDAs) connected, which have an EEPROM memory for identification. A special GPIO can be used to read this memory over 1wire protocol. Enabling one wire and eeprom drivers for this memory. Signed-off-by: Eugen Hristev ---

[U-Boot] [PATCH v2 19/30] board: sama5d2_xplained: add pda detect call at init time

2018-08-09 Thread Eugen Hristev
Call the PDA detection mechanism at boot time so we can have the pda environment variable ready for use. Signed-off-by: Eugen Hristev --- board/atmel/sama5d2_xplained/sama5d2_xplained.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board/atmel/sama5d2_xplained/sama5d2_xplained.c

[U-Boot] [PATCH v2 30/30] ARM: dts: at91: sama5d2_ptc: add onewire connector for LCD eeprom

2018-08-09 Thread Eugen Hristev
Add onewire node in device tree for TM series LCDs Signed-off-by: Eugen Hristev --- arch/arm/dts/at91-sama5d2_ptc_ek.dts | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm/dts/at91-sama5d2_ptc_ek.dts b/arch/arm/dts/at91-sama5d2_ptc_ek.dts index ab5ab21..068a117

[U-Boot] [PATCH v2 24/30] configs: sama5d3_xplained: add fdt overlay support

2018-08-09 Thread Eugen Hristev
Add commands for fdt overlay merging. This is required for the boot scripts that detect PDAs and apply specific overlays to the DTB passed on to kernel. Signed-off-by: Eugen Hristev --- configs/sama5d3_xplained_mmc_defconfig | 1 + configs/sama5d3_xplained_nandflash_defconfig | 1 + 2

[U-Boot] [PATCH v2 25/30] configs: sama5d2_ptc_ek: add fdt overlay support

2018-08-09 Thread Eugen Hristev
Add commands for fdt overlay merging. This is required for the boot scripts that detect PDAs and apply specific overlays to the DTB passed on to kernel. Signed-off-by: Eugen Hristev --- configs/sama5d2_ptc_ek_mmc_defconfig | 1 + configs/sama5d2_ptc_ek_nandflash_defconfig | 1 + 2 files

[U-Boot] [PATCH v2 23/30] configs: sama5d2_xplained: add fdt overlay support

2018-08-09 Thread Eugen Hristev
Add commands for fdt overlay merging. This is required for the boot scripts that detect PDAs and apply specific overlays to the DTB passed on to kernel. Signed-off-by: Eugen Hristev --- configs/sama5d2_xplained_mmc_defconfig | 1 + configs/sama5d2_xplained_spiflash_defconfig | 1 + 2 files

[U-Boot] [PATCH v2 17/30] configs: sama5d2_ptc_ek: add onewire and eeprom drivers

2018-08-09 Thread Eugen Hristev
SAMA5D2 SoC can have extra clip boards (PDAs) connected, which have an EEPROM memory for identification. A special GPIO can be used to read this memory over 1wire protocol. Enabling one wire and eeprom drivers for this memory. Signed-off-by: Eugen Hristev ---

[U-Boot] [PATCH v2 07/30] dt-bindings: w1-eeprom: ds24xxx: create bindings

2018-08-09 Thread Eugen Hristev
Bindings for Maxim's ds24 onewire EEPROM families driver Signed-off-by: Eugen Hristev --- doc/device-tree-bindings/w1-eeprom/ds24xxx.txt | 37 ++ 1 file changed, 37 insertions(+) create mode 04 doc/device-tree-bindings/w1-eeprom create mode 100644

[U-Boot] [PATCH v2 11/30] pinctrl: sandbox: add gpio onewire w1 group

2018-08-09 Thread Eugen Hristev
Add onewire "w1" groups and pin function for onewire GPIOs in sandbox. Signed-off-by: Eugen Hristev --- drivers/pinctrl/pinctrl-sandbox.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/pinctrl/pinctrl-sandbox.c b/drivers/pinctrl/pinctrl-sandbox.c index 468fa2a..755ac08 100644

[U-Boot] [PATCH v2 06/30] W1-EEPROM: add support for Maxim DS24 eeprom families

2018-08-09 Thread Eugen Hristev
From: Maxime Ripard Add a driver that supports Maxim 1 wire EEPROMs families DS24B33 and DS2431. Can be extended for other families as well. Signed-off-by: Maxime Ripard [eugen.hris...@microchip.com: reworked driver] Signed-off-by: Eugen Hristev --- drivers/w1-eeprom/Kconfig | 6 +

[U-Boot] [PATCH v2 04/30] W1-EEPROM: Add an W1-EEPROM uclass for 1 wire EEPROMs

2018-08-09 Thread Eugen Hristev
From: Maxime Ripard We might want to access data stored onto one wire EEPROMs. Create a framework to provide a consistent API. Signed-off-by: Maxime Ripard [eugen.hris...@microchip.com: reworked patch] Signed-off-by: Eugen Hristev --- drivers/Kconfig | 2 +

[U-Boot] [PATCH v2 05/30] w1: identify devices with w1-eeprom uclass

2018-08-09 Thread Eugen Hristev
When a new device is discovered, this may be a w1 eeprom device. Attempt to find the proper node and driver from the w1-eeprom subsystem. Signed-off-by: Eugen Hristev --- drivers/w1/w1-uclass.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/w1/w1-uclass.c

[U-Boot] [PATCH v2 03/30] dt-bindings: W1: w1-gpio: added bindings for w1-gpio

2018-08-09 Thread Eugen Hristev
Added bindings specification for bitbanged gpio driver for Dallas one wire protocol Signed-off-by: Eugen Hristev --- doc/device-tree-bindings/w1/w1-gpio.txt | 40 + 1 file changed, 40 insertions(+) create mode 04 doc/device-tree-bindings/w1 create mode

[U-Boot] [PATCH v2 02/30] w1: Add 1-Wire gpio driver

2018-08-09 Thread Eugen Hristev
From: Maxime Ripard Add a bus driver for bitbanging a 1-Wire bus over a GPIO. Signed-off-by: Maxime Ripard [eugen.hris...@microchip.com: addressed review comments] Signed-off-by: Eugen Hristev --- drivers/w1/Kconfig | 7 +++ drivers/w1/Makefile | 2 + drivers/w1/w1-gpio.c | 158

[U-Boot] [PATCH v2 01/30] w1: Add 1-Wire uclass

2018-08-09 Thread Eugen Hristev
From: Maxime Ripard We might want to use 1-Wire devices connected on boards such as EEPROMs in U-Boot. Provide a framework to be able to do that. Signed-off-by: Maxime Ripard [eugen.hris...@microchip.com: reworked] Signed-off-by: Eugen Hristev --- drivers/Kconfig| 2 +

[U-Boot] [PATCH v2 00/30] Add support for 1wire protocol and 1wire eeproms

2018-08-09 Thread Eugen Hristev
This is a patch series originally written by Maxime Ripard, https://lists.denx.de/pipermail/u-boot/2016-November/272138.html titled: [U-Boot] [PATCH RESEND 0/9] sunxi: chip: Enable the DIP auto-detection and reworked to include support for the EEPROMs on the PDAs connected to the sama xplained

Re: [U-Boot] [PATCH 1/4] mips: Add basic MediaTek MT7620/88 support

2018-08-09 Thread Daniel Schwierzeck
Am Do., 9. Aug. 2018 um 12:46 Uhr schrieb Stefan Roese : > > Hi Daniel, > > On 07.08.2018 17:44, Daniel Schwierzeck wrote: > > 2018-08-06 17:11 GMT+02:00 Stefan Roese : > >> This patch adds basic support for the MediaTek MT7620/88 SoCs. Parts of > >> the code is copied from the MediaTek GitHub

Re: [U-Boot] [PATCH v3] usb: ehci-generic: Add vbus-supply regulator support

2018-08-09 Thread Marek Vasut
On 08/09/2018 02:53 PM, Patrice Chotard wrote: > Add vbus-supply regulator support. > On some board vbus is not controlled by the phy but by > an external regulator. > > Signed-off-by: Patrice Chotard > --- > > Changes in v3: > - Update test on device_get_supply_regulator() call > -

[U-Boot] [PATCH v2 3/7] ARM: dts: sun6i: Update A31/A31s dts(i) files from Linux-v4.18-rc3

2018-08-09 Thread Jagan Teki
Update all A31/A31s devicetree dtsi and dtsi files from Linux-v4.18-rc3 with below commit: commit b240b419db5d624ce7a5a397d6f62a1a686009ec Merge: 9c2dd8405c0c 518d2f43c358 Author: Linus Torvalds Date: Thu Apr 5 21:18:09 2018 -0700 Merge tag 'armsoc-dt' of

[U-Boot] [PATCH v2 6/7] ARM: dts: sun8i: Update A83T dts(i) files from Linux-v4.18-rc3

2018-08-09 Thread Jagan Teki
Update all A83T devicetree dtsi and dtsi files from Linux-v4.18-rc3 with below commit: commit 221cb9fd2ee3042689fe0e6613d0f34eb46a5af6 Author: Mylène Josserand Date: Fri May 4 21:05:44 2018 +0200 ARM: dts: sun8i: Add enable-method for SMP support for the A83T SoC Note: bananapi-m3 and

[U-Boot] [PATCH v2 7/7] ARM: dts: sun8i: Update R40/V40 dts(i) files from Linux-v4.18-rc3

2018-08-09 Thread Jagan Teki
Update all R40/V40 devicetree dtsi and dtsi files from Linux-v4.18-rc3 with below commit: R40: commit c36fd5a48bd20820855e3e91a89297eeaa31836e Author: Chen-Yu Tsai Date: Wed May 2 00:12:25 2018 +0800 ARM: dts: sun8i: r40: bananapi-m2-ultra: Enable GMAC ethernet controller V40: commit

[U-Boot] [PATCH v2 5/7] ARM: dts: sun8i: Update A23/A33/r16 dts(i) files from Linux-v4.18-rc3

2018-08-09 Thread Jagan Teki
Update all A23/A33/r16 devicetree dtsi and dtsi files from Linux-v4.18-rc3 with below commits. A23: commit bc3bd041fe766219a44688b182c260064007f0cc Author: Miquel Raynal Date: Tue Apr 24 17:55:02 2018 +0200 ARM: dts: sun8i: a23/a33: declare NAND pins A33: commit

[U-Boot] [PATCH v2 0/7] ARM: dts: sunxi: Update dts(i) files from Linux-v4.18-rc3

2018-08-09 Thread Jagan Teki
This series is trying to update SoC dtsi and board dts files for Allwinner sun4i, 5i, 6i, 8i-a23/a33/a83t, r40 SoC's from Linux-4.18-rc3 These update is useful for supporting features CLK, RESET, DM_MMC etc Since H3/H5/A64 is already updated with Linux-4.18-rc3, this series use same version to

Re: [U-Boot] [RFC] efi_loader: workaround for EDK2's shell.efi

2018-08-09 Thread Leif Lindholm
On Thu, Aug 09, 2018 at 03:15:38PM +0900, AKASHI Takahiro wrote: > The commit 21b3edfc964 ("efi_loader: check parameters of CreateEvent") > enforces a strict parameter check at CreateEvent(). Unfortunately, > however, EDK2's Shell.efi calls this function with notify_tpl == 0. I find this done in

Re: [U-Boot] [PATCH v1] Makefile: Don't generate position independent code

2018-08-09 Thread Andy Shevchenko
On Thu, 2018-08-09 at 14:25 +0200, Heinrich Schuchardt wrote: > I did not test loading of > Linux on x86. For the record I did test this. -- Andy Shevchenko Intel Finland Oy ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] [PATCH v3] usb: ehci-generic: Add vbus-supply regulator support

2018-08-09 Thread Patrice Chotard
Add vbus-supply regulator support. On some board vbus is not controlled by the phy but by an external regulator. Signed-off-by: Patrice Chotard --- Changes in v3: - Update test on device_get_supply_regulator() call - Replace pr_err() by dev_err() - Replace debug() by dev_dbg()

Re: [U-Boot] [PATCH v2] usb: ehci-generic: Add vbus-supply regulator support

2018-08-09 Thread Patrice CHOTARD
On 08/09/2018 02:27 PM, Marek Vasut wrote: > On 08/09/2018 02:25 PM, Patrice CHOTARD wrote: >> Hi Marek >> >> On 08/09/2018 10:02 AM, Marek Vasut wrote: >>> On 08/09/2018 09:14 AM, Patrice Chotard wrote: Add vbus-supply regulator support. On some board vbus is not controlled by the phy

[U-Boot] [PATCH v3 8/8] video_display: Add Xilinx LogiCore DP TX

2018-08-09 Thread Mario Six
Add a driver for the Xilinx LogiCORE DisplayPort IP core, which is a pure DP transmitter core for Xiling FPGA (no display capabilities). Signed-off-by: Mario Six --- v2 -> v3: * Fix style errors * Added full documentation v1 -> v2: * Switch to display_enable * Mentioned that the LogiCORE has

[U-Boot] [PATCH v3 3/8] axi: Add AXI sandbox driver and simple emulator

2018-08-09 Thread Mario Six
Add test infrastructure and tests for the AXI uclass. Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v2 -> v3: * Fixed style violations * Made read/write functions static * Reworked pointer casts for different data sizes (8/16/32 bits) * Moved functions used only by sandbox to distinct

[U-Boot] [PATCH v3 6/8] cmd: Add axi command

2018-08-09 Thread Mario Six
Add a command to debug the AXI bus. Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v2 -> v3: * Fixed style violations * Fixed bus activation (activate in all cases) * Added full documentation * Re-worked function names * Fixed printing issues with transfer widths other than 32 bit *

[U-Boot] [PATCH v3 5/8] test: Add AXI test

2018-08-09 Thread Mario Six
Add tests for the AXI uclass. Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v2 -> v3: * Fixed style violations * Switched to lower-case hex literals v1 -> v2: * Fixed asserts (moved expected values first) --- test/dm/Makefile | 1 + test/dm/axi.c| 77

[U-Boot] [PATCH v3 4/8] sandbox: Add and build AXI bus and device

2018-08-09 Thread Mario Six
Add test AXI drivers to the sandbox. Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v2 -> v3: No changes v1 -> v2: No changes --- arch/sandbox/dts/sandbox.dts | 11 +++ arch/sandbox/dts/test.dts| 11 +++ configs/sandbox_defconfig| 3 +++ 3 files changed, 25

[U-Boot] [PATCH v3 2/8] axi: Add ihs_axi driver

2018-08-09 Thread Mario Six
Add a driver for the gdsys IHS AXI bus used on IHS FPGAs. Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v2 -> v3: * Added bindings file * Added full documentation * Added debug output in error cases * Merged last two parameter of ihs_axi_transfer * Added explaining comments v1 -> v2:

[U-Boot] [PATCH v3 1/8] drivers: Add AXI uclass

2018-08-09 Thread Mario Six
Add a uclass for AXI (Advanced eXtensible Interface) busses, and a driver for the gdsys IHS AXI bus on IHS FPGAs. Signed-off-by: Mario Six Reviewed-by: Simon Glass --- v2 -> v3: * Fixed the AXI uclass comment ('busses' -> 'bus') * Fixed style violations v1 -> v2: * Spelled out all

[U-Boot] [PATCH v3 7/8] video: Sort Makefile entries

2018-08-09 Thread Mario Six
The entries of Makefiles should be sorted, which is not the case in the video driver Makefile. Sort the entries alphabetically as far as this makes sense. Signed-off-by: Mario Six --- v2 -> v3: New in v3 --- drivers/video/Makefile | 42 +- 1 file

Re: [U-Boot] [PATCH v2] usb: ehci-generic: Add vbus-supply regulator support

2018-08-09 Thread Marek Vasut
On 08/09/2018 02:25 PM, Patrice CHOTARD wrote: > Hi Marek > > On 08/09/2018 10:02 AM, Marek Vasut wrote: >> On 08/09/2018 09:14 AM, Patrice Chotard wrote: >>> Add vbus-supply regulator support. >>> On some board vbus is not controlled by the phy but by >>> an external regulator. >>> >>>

Re: [U-Boot] [PATCH v1] Makefile: Don't generate position independent code

2018-08-09 Thread Heinrich Schuchardt
On 08/09/2018 11:54 AM, Bin Meng wrote: > Hi Andy, > > On Thu, Aug 9, 2018 at 5:43 PM, Andy Shevchenko > wrote: >> On Mon, Aug 6, 2018 at 10:49 PM, Andy Shevchenko >> wrote: >>> On Mon, Aug 6, 2018 at 10:40 PM, Heinrich Schuchardt >>> wrote: On 08/06/2018 08:55 PM, Andy Shevchenko wrote:

  1   2   >