[PATCH v3 09/12] driver: net: fm: add DM ETH support

2020-04-29 Thread Madalin Bucur
Probe the FMan MACs based on the device tree while retaining the legacy code/functionality. One notable change introduced here is that, for DM_ETH, the name of the interfaces is corrected to the fmX-macY format, that avoids the referral to the MAC block names, which were incorrect for FMan v3

[PATCH v3 12/12] MAINTAINERS: add QorIQ DPAA

2020-04-29 Thread Madalin Bucur
Add entries for the QorIQ DPAA related files - the DPAA FMan Ethernet driver and the QorIQ ARM DPAA device tree include files. Signed-off-by: Madalin Bucur --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index dd92af5..6aabb77 100644 ---

[PATCH v3 11/12] configs: enable DM_ETH support for LS1046ARDB

2020-04-29 Thread Madalin Bucur
Enable DM_ETH on all the defconfigs for the LS1046ARDB board. Signed-off-by: Madalin Bucur --- configs/ls1046ardb_emmc_defconfig | 3 +++ configs/ls1046ardb_qspi_SECURE_BOOT_defconfig | 3 +++ configs/ls1046ardb_qspi_defconfig | 3 +++

[PATCH v3 10/12] configs: enable DM_ETH support for LS1043ARDB

2020-04-29 Thread Madalin Bucur
Enable DM_ETH on all the defconfigs for the LS1043ARDB board. Signed-off-by: Madalin Bucur --- configs/ls1043ardb_SECURE_BOOT_defconfig| 3 +++ configs/ls1043ardb_defconfig| 3 +++ configs/ls1043ardb_nand_SECURE_BOOT_defconfig | 3 +++

[PATCH v3 07/12] driver: net: fm: separate receive buffer free code

2020-04-29 Thread Madalin Bucur
Move the receive buffer free code in a separate function. Signed-off-by: Madalin Bucur --- drivers/net/fm/eth.c | 63 ++-- 1 file changed, 37 insertions(+), 26 deletions(-) diff --git a/drivers/net/fm/eth.c b/drivers/net/fm/eth.c index

[PATCH v3 08/12] driver: net: fm: add DM MDIO support

2020-04-29 Thread Madalin Bucur
Allow the MDIO devices to be probed based on the device tree. Signed-off-by: Madalin Bucur --- drivers/net/fm/memac_phy.c | 139 - 1 file changed, 137 insertions(+), 2 deletions(-) diff --git a/drivers/net/fm/memac_phy.c b/drivers/net/fm/memac_phy.c

[PATCH v3 06/12] driver: net: fm: change init_phy() param

2020-04-29 Thread Madalin Bucur
Change the init_phy() parameter to simplify the code. Signed-off-by: Madalin Bucur --- drivers/net/fm/eth.c | 19 --- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/drivers/net/fm/eth.c b/drivers/net/fm/eth.c index 88019c9..57db2e9 100644 ---

[PATCH v3 05/12] ARM: dts: add QorIQ DPAA 1 FMan v3 to LS1046ARDB

2020-04-29 Thread Madalin Bucur
Introduce the QorIQ DPAA 1 Frame Manager nodes in the LS1046ARDB device tree. The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- arch/arm/dts/fsl-ls1046a-rdb.dts | 67

[PATCH v3 04/12] ARM: dts: add QorIQ DPAA 1 FMan v3 for LS1046A

2020-04-29 Thread Madalin Bucur
Add the QorIQ DPAA 1 Frame Manager v3 device tree nodes for the LS1046A SoC. The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- arch/arm/dts/fsl-ls1046-post.dtsi | 49 +++ 1

[PATCH v3 01/12] ARM: dts: add QorIQ DPAA 1 FMan v3 device tree nodes

2020-04-29 Thread Madalin Bucur
Add the QorIQ DPAA Frame Manager v3 device tree nodes description. The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- arch/arm/dts/qoriq-fman3-0-10g-0.dtsi | 44 +++

[PATCH v3 02/12] ARM: dts: add QorIQ DPAA 1 FMan v3 for LS1043A

2020-04-29 Thread Madalin Bucur
Add the QorIQ DPAA 1 Frame Manager v3 device tree nodes for the LS1043A SoC. The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- arch/arm/dts/fsl-ls1043-post.dtsi | 48 +++ 1

[PATCH v3 00/12] Enable DM_ETH on the DPAA1 ARM platforms

2020-04-29 Thread Madalin Bucur
Changes in v3: - addressed conflicts in the defconfig changes with the latest upstream master Changes in v2: - addressed a minor issue in the code adding DM_ETH support - removed one patch addressing an issue that was fixed since v1 - added entries in the MAINTAINERS file for QorIQ DPAA This

[PATCH v3 03/12] ARM: dts: add QorIQ DPAA 1 FMan v3 to LS1043ARDB

2020-04-29 Thread Madalin Bucur
Introduce the QorIQ DPAA 1 Frame Manager nodes in the LS1043ARDB device tree. The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- arch/arm/dts/fsl-ls1043a-rdb.dts | 81

[PATCH 1/1] MAINTAINERS: assign test/py/tests/test_efi*/ to EFI PAYLOAD

2020-04-29 Thread Heinrich Schuchardt
Some UEFI related files are not assigned currently. Add them to the EFI PAYLOAD area. Signed-off-by: Heinrich Schuchardt --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 0ee358bac6..2b856057b9 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@

Re: [PATCH v3 2/2] efi_loader: identify EFI system partition

2020-04-29 Thread Heinrich Schuchardt
On 4/23/20 2:19 AM, AKASHI Takahiro wrote: > Heinrich, > > On Wed, Apr 22, 2020 at 07:51:33PM +0200, Heinrich Schuchardt wrote: >> In subsequent patches UEFI variables shalled be stored on the EFI system >> partition. Hence we need to identify the EFI system partition. >> >> Signed-off-by:

Re: Pull request: u-boot-rockchip-20200429

2020-04-29 Thread Kever Yang
://gitlab.denx.de/u-boot/custodians/u-boot-video (2020-04-27 09:41:51 -0400) are available in the Git repository at: https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip.git tags/u-boot-rockchip-20200429 for you to fetch changes up to 400ea1f5b9287233837d92662b370963f8ef4f59: NAK

[PATCH v2 7/9] ARM: dts: rk3399: amend dwc3 related nodes

2020-04-29 Thread Frank Wang
We have changed to use dwc3 generic driver for Rockchip SoCs, so let amend dts to fix it and keep in line with Linux Kernel. Signed-off-by: Frank Wang --- arch/arm/dts/rk3399-evb.dts | 16 +++ arch/arm/dts/rk3399.dtsi| 54 ++--- 2 files changed, 49

[PATCH v2 9/9] configs: evb-rk3399: update support usb3.0 host

2020-04-29 Thread Frank Wang
Update evb-rk3399 default config to enable USB3.0 Host. Signed-off-by: Frank Wang --- configs/evb-rk3399_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/configs/evb-rk3399_defconfig b/configs/evb-rk3399_defconfig index a342bfd16d..0234995175 100644 ---

[PATCH v2 8/9] configs: evb-rk3399: slect type-c phy support

2020-04-29 Thread Frank Wang
Update evb-rk3399 default config to enable Type-C PHY. Signed-off-by: Frank Wang --- configs/evb-rk3399_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/evb-rk3399_defconfig b/configs/evb-rk3399_defconfig index 7f14e18b1b..a342bfd16d 100644 ---

[PATCH v2 5/9] phy: rockchip: add a new driver for type-c phy

2020-04-29 Thread Frank Wang
This implements the Type-C PHY driver for Rockchip platform with Cadence IP block. Signed-off-by: Frank Wang Signed-off-by: William Wu --- drivers/phy/Kconfig| 7 + drivers/phy/Makefile | 1 + drivers/phy/phy-rockchip-typec.c | 523

[PATCH v2 2/9] usb: dwc3: add dis_u2_freeclk_exists_quirk

2020-04-29 Thread Frank Wang
Add a quirk to clear the GUSB2PHYCFG.U2_FREECLK_EXISTS bit, which specifies whether the USB2.0 PHY provides a free-running PHY clock, which is active when the clock control input is active. Refer to commit 27f83eeb6b42("usb: dwc3: add dis_u2_freeclk_exists_quirk") in Linux Rockchip Kernel.

[PATCH v2 6/9] driver: usb: drop legacy rockchip xhci driver

2020-04-29 Thread Frank Wang
We have changed to use dwc3 generic driver for usb3.0 host, so the legacy Rockchip's xHCI driver is not needed, and drop it. Signed-off-by: Frank Wang --- drivers/usb/host/Kconfig | 9 -- drivers/usb/host/Makefile| 1 - drivers/usb/host/xhci-rockchip.c | 196

[PATCH v2 4/9] usb: dwc3: add make compatible for rockchip platform

2020-04-29 Thread Frank Wang
RK3399 Type-C PHY is required that must hold whole USB3.0 OTG controller in resetting to hold pipe power state in P2 before initializing the PHY. This commit fixed it and added device compatible for rockchip platform. Signed-off-by: Frank Wang --- drivers/usb/dwc3/dwc3-generic.c | 33

[PATCH v2 1/9] usb: dwc3: add dis_enblslpm_quirk

2020-04-29 Thread Frank Wang
Add a quirk to clear the GUSB2PHYCFG.ENBLSLPM bit, which controls whether the PHY receives the suspend signal from the controller. Refer to commit ec791d149bca("usb: dwc3: Add dis_enblslpm_quirk") in Linux Kernel. Signed-off-by: Frank Wang Reviewed-by: Kever Yang --- drivers/usb/dwc3/core.c |

[PATCH v2 0/9] Add Rockchip RK3399 USB3.0 Host support

2020-04-29 Thread Frank Wang
This series add quirks for DWC3 and add Rockchip RK3399 USB3.0 host support. For V2 update: - Amend type-c driver followed Jagan's comments for [PATCH 5/8]. - Fix dts commit for [PATCH 7/8]. - Split RK3399 default config for [PATCH 8/8]. - Add 'Reviewed-by' tag for [PATCH 1/8], [PATCH 2/8]

[PATCH v2 3/9] usb: dwc3: amend UTMI/UTMIW phy interface setup

2020-04-29 Thread Frank Wang
Let move 8/16-bit UTMI+ interface initialization into DWC3 core init that is convenient for both DM_USB and u-boot traditional process. Signed-off-by: Frank Wang Reviewed-by: Kever Yang --- drivers/usb/common/common.c | 25 ++ drivers/usb/dwc3/core.c | 65

Re: [PATCH v7 03/14] phy: Add API for a bulk of phys

2020-04-29 Thread Chunfeng Yun
On Wed, 2020-04-29 at 15:03 -0600, Simon Glass wrote: > Hi, > > On Wed, 29 Apr 2020 at 00:07, Chunfeng Yun wrote: > > > > This patch adds a "bulk" API to the phy API in order to > > get/init/exit/power on/off a group of phys associated > > with a device. > > > > The bulk API will avoid adding a

[PATCH v2 2/2] board: presidio-asic: Add CAxxxx Ethernet support

2020-04-29 Thread Alex Nemirovsky
Add CA Ethernet support for the Cortina Access Presidio Engineering Board Signed-off-by: Alex Nemirovsky Cc: Joe Hershberger Cc: Tom Rini --- arch/arm/dts/ca-presidio-engboard.dts| 7 +++ board/cortina/presidio-asic/presidio.c | 21 +

[PATCH v2 1/2] net: cortina_ni: Addd eth support for Cortina Access CAxxxx SoCs

2020-04-29 Thread Alex Nemirovsky
From: Aaron Tseng Add Cortina Access Ethernet device driver for CA SoCs. This driver supports both legacy and DM_ETH network models. Signed-off-by: Aaron Tseng Signed-off-by: Alex Nemirovsky Signed-off-by: Abbie Chang Cc: Joe Hershberger Series changes: 2 - cleanup MAINTAINERS ---

[PATCH 1/2] net: cortina_ni: Addd eth support for Cortina Access CAxxxx SoCs

2020-04-29 Thread Alex Nemirovsky
From: Aaron Tseng Add Cortina Access Ethernet device driver for CA SoCs. This driver supports both legacy and DM_ETH network models. Signed-off-by: Aaron Tseng Signed-off-by: Alex Nemirovsky Signed-off-by: Abbie Chang Cc: Joe Hershberger --- MAINTAINERS |6 +

[PATCH 2/2] board: presidio-asic: Add CAxxxx Ethernet support

2020-04-29 Thread Alex Nemirovsky
Add CA Ethernet support for the Cortina Access Presidio Engineering Board Signed-off-by: Alex Nemirovsky Cc: Joe Hershberger Cc: Tom Rini --- arch/arm/dts/ca-presidio-engboard.dts| 7 +++ board/cortina/presidio-asic/presidio.c | 21 +

[PATCH] board: venus: Add basic Venus engr. development board support

2020-04-29 Thread Alex Nemirovsky
From: Lee Jenfeng Add basic Cortina Access Venus engineering board support Signed-off-by: Lee Jenfeng Signed-off-by: Alex Nemirovsky Cc: Tom Rini --- arch/arm/Kconfig | 5 ++ arch/arm/dts/Makefile| 1 + arch/arm/dts/ca-venus-engboard.dts | 69

Re: [PATCH] net: dwc_eth_qos: Pad descriptors to cacheline size

2020-04-29 Thread Stephen Warren
On 4/29/20 3:41 PM, Marek Vasut wrote: > On 4/29/20 11:25 PM, Stephen Warren wrote: >> On 4/29/20 1:56 PM, Marek Vasut wrote: >>> On 4/29/20 9:51 PM, Stephen Warren wrote: On 4/29/20 1:14 PM, Marek Vasut wrote: > The DWMAC4 IP has the possibility to skip up to 7 64bit words after >

Re: [PATCH] net: dwc_eth_qos: Pad descriptors to cacheline size

2020-04-29 Thread Marek Vasut
On 4/29/20 11:25 PM, Stephen Warren wrote: > On 4/29/20 1:56 PM, Marek Vasut wrote: >> On 4/29/20 9:51 PM, Stephen Warren wrote: >>> On 4/29/20 1:14 PM, Marek Vasut wrote: The DWMAC4 IP has the possibility to skip up to 7 64bit words after the descriptor, use this to pad the descriptors

Re: [PATCH] net: dwc_eth_qos: Pad descriptors to cacheline size

2020-04-29 Thread Stephen Warren
On 4/29/20 1:56 PM, Marek Vasut wrote: > On 4/29/20 9:51 PM, Stephen Warren wrote: >> On 4/29/20 1:14 PM, Marek Vasut wrote: >>> The DWMAC4 IP has the possibility to skip up to 7 64bit words after >>> the descriptor, use this to pad the descriptors to cacheline size. >> >>> diff --git

Re: [PATCH v7 03/14] phy: Add API for a bulk of phys

2020-04-29 Thread Simon Glass
Hi, On Wed, 29 Apr 2020 at 00:07, Chunfeng Yun wrote: > > This patch adds a "bulk" API to the phy API in order to > get/init/exit/power on/off a group of phys associated > with a device. > > The bulk API will avoid adding a copy of the same code to > manage a group of phys in drivers. > >

Re: [PATCH v2 1/2] arm: dts: bcm283x: Allow UARTs to work before relocation

2020-04-29 Thread Simon Glass
Hi Tom, On Wed, 15 Apr 2020 at 13:59, Tom Rini wrote: > > On Tue, Apr 14, 2020 at 08:23:10PM -0600, Simon Glass wrote: > > Hi, > > > > On Sun, 22 Mar 2020 at 21:16, Simon Glass wrote: > > > > > > At present the pinctrl nodes are not enabled in pre-relocation U-Boot so > > > the UARTs do not

Re: [PATCH] net: dwc_eth_qos: Pad descriptors to cacheline size

2020-04-29 Thread Marek Vasut
On 4/29/20 9:51 PM, Stephen Warren wrote: > On 4/29/20 1:14 PM, Marek Vasut wrote: >> The DWMAC4 IP has the possibility to skip up to 7 64bit words after >> the descriptor, use this to pad the descriptors to cacheline size. > >> diff --git a/drivers/net/dwc_eth_qos.c b/drivers/net/dwc_eth_qos.c >

Re: [PATCH] net: dwc_eth_qos: Pad descriptors to cacheline size

2020-04-29 Thread Stephen Warren
On 4/29/20 1:14 PM, Marek Vasut wrote: > The DWMAC4 IP has the possibility to skip up to 7 64bit words after > the descriptor, use this to pad the descriptors to cacheline size. > diff --git a/drivers/net/dwc_eth_qos.c b/drivers/net/dwc_eth_qos.c > /* Descriptors */ > +/* Nit: Blank line

[PATCH] rk3399: Enable SF distro bootcmd

2020-04-29 Thread Jagan Teki
Enable SPI flash(SF) distro boot command in rk3399. This distro boot will read the boot script at specific location at the flash and start sourcing the same. Included the SF device at the last of the target devices list since all the rest of the devices on the list have more possibility to boot

[PATCH 1/1] efi_loader: fix 'efidebug bootorder'

2020-04-29 Thread Heinrich Schuchardt
* don't copy GUIDs for no reason * shorten print format strings by using variable names * don't use the run-time table to access exported functions * check the result of malloc() (fixes Coverity CID 300331) Signed-off-by: Heinrich Schuchardt --- cmd/efidebug.c | 47

Re: [PATCH 1/6] net: dwc_eth_qos: Fully rewrite RX descriptor field 3

2020-04-29 Thread Marek Vasut
On 4/7/20 3:19 PM, Patrick DELAUNAY wrote: > Dear, > >> From: Marek Vasut >> Sent: mardi 7 avril 2020 12:04 >> >> On 4/7/20 11:49 AM, Patrick DELAUNAY wrote: >>> Dear Marek, >> >> Hi, >> >>> To complete my test and to check the cache management in the driver, >>> >>> I test the sequence

[PATCH] net: dwc_eth_qos: Pad descriptors to cacheline size

2020-04-29 Thread Marek Vasut
The DWMAC4 IP has the possibility to skip up to 7 64bit words after the descriptor, use this to pad the descriptors to cacheline size. Signed-off-by: Marek Vasut Cc: Joe Hershberger Cc: Patrice Chotard Cc: Patrick Delaunay Cc: Ramon Fried Cc: Stephen Warren --- drivers/net/dwc_eth_qos.c |

Re: [PATCH v7 03/14] phy: Add API for a bulk of phys

2020-04-29 Thread Jagan Teki
On Wed, Apr 29, 2020 at 11:37 AM Chunfeng Yun wrote: > > This patch adds a "bulk" API to the phy API in order to > get/init/exit/power on/off a group of phys associated > with a device. > > The bulk API will avoid adding a copy of the same code to > manage a group of phys in drivers. > >

Re: [PULL] u-boot-sh/master

2020-04-29 Thread Tom Rini
On Wed, Apr 29, 2020 at 02:25:13PM +0200, Marek Vasut wrote: > The following changes since commit d16d37bcd4087b8ea0f66cb76a73edad182d151a: > > Merge tag 'video-for-v2020.07-rc1' of > https://gitlab.denx.de/u-boot/custodians/u-boot-video (2020-04-27 > 09:41:51 -0400) > > are available in the

[PATCH] ARC: HSDK: anounce state of BIM switch

2020-04-29 Thread Eugeniy Paltsev
Anounce state of BIM switch which defines if U-boot is loaded and started by preloader or not. Signed-off-by: Eugeniy Paltsev --- board/synopsys/hsdk/hsdk.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/board/synopsys/hsdk/hsdk.c b/board/synopsys/hsdk/hsdk.c index

[PATCH 1/1] efi_loader: efidebug, avoid illegal memory access

2020-04-29 Thread Heinrich Schuchardt
For EFI_PERSISTENT_MEMORY_TYPE the 'efidebug memmap' command produces an illegal memory access. * Add the missing descriptive string for EFI_PERSISTENT_MEMORY_TYPE. * Replace the check for EFI_MAX_MEMORY_TYPE by the ARRAY_SIZE() macro. Reported-by: Coverity (CID 300336) Signed-off-by: Heinrich

Re: [PATCH v7 0/9] dm: Add programmatic generation of ACPI tables (part A)

2020-04-29 Thread Heinrich Schuchardt
On 4/19/20 10:36 PM, Simon Glass wrote: > This is split from the original series in an attempt to get things applied > in chunks. > > v7 is just a rebase as requested Hello Simon, Andrei Warkentin pointed me to a similar development for EDK2: Dynamic Tables Framework

Re: [PATCH v2 2/5] sandbox: phy: add driver_data for bind test cmd

2020-04-29 Thread Simon Glass
On Wed, 29 Apr 2020 at 06:20, Patrice Chotard wrote: > > Add driver data to existing compatible string "sandbox,phy". > Add an additional compatible string without driver_data > > This will verify that bind command parses, finds and passes the > correct driver data to

Re: [PATCH] gpio: emulate open drain & open source in dm_gpio_set_value()

2020-04-29 Thread Simon Glass
Hi Neil, On Wed, 29 Apr 2020 at 02:06, Neil Armstrong wrote: > > Handle the GPIOD_OPEN_DRAIN & GPIOD_OPEN_SOURCE flags to emulate open drain > and open source by setting the GPIO line as input depending on the > requested value. > > The behaviour is taken from the Linux gpiolib. > > It notably

Re: [PATCH v2 1/5] cmd: bind: allow to bind driver with driver data

2020-04-29 Thread Simon Glass
On Wed, 29 Apr 2020 at 06:20, Patrice Chotard wrote: > > Initial implementation invokes device_bind_with_driver_data() > with driver_data parameter equal to 0. > For driver with driver data, the bind command can't bind > correctly this driver or even worse causes data abort as shown below: > > As

Re: [PATCH v1 2/3] drivers: pinctrl-single: add support to parse gpio properties

2020-04-29 Thread Simon Glass
Hi Rayagonda, +Stephen Warren On Wed, 29 Apr 2020 at 10:35, Rayagonda Kokatanur wrote: > > Parse different gpio properties from dt as part of probe > function. This detail will be used to enable pinctrl pad > later when gpio lines are requested. > > Signed-off-by: Rayagonda Kokatanur > --- >

Re: [PATCH v2 3/5] sandbox: dts: Add compatible string for bind-test node

2020-04-29 Thread Simon Glass
On Wed, 29 Apr 2020 at 06:20, Patrice Chotard wrote: > > Usage of lists_bind_fdt() in bind command imposes to add > a compatible string for bind-test node. > The other impact, is that bind-test node is binded at sandbox > start, so no need to bind it in test_bind_unbind_with_node() test > >

Re: [PATCH v1 1/3] drivers: pinctrl-single: handle different register width

2020-04-29 Thread Simon Glass
Hi Rayagonda, +Stephen Warren On Wed, 29 Apr 2020 at 10:35, Rayagonda Kokatanur wrote: > > Add support to use different register read/write api's > based on register width. > > Signed-off-by: Rayagonda Kokatanur > --- > drivers/pinctrl/pinctrl-single.c | 98 >

Re: [PATCH v1 3/3] drivers: pinctrl-single: add request api

2020-04-29 Thread Simon Glass
Hi Rayagonda, +Stephen Warren On Wed, 29 Apr 2020 at 10:36, Rayagonda Kokatanur wrote: > > Add pinctrl_ops->request api to configure pctrl > pad register in gpio mode. > > Signed-off-by: Rayagonda Kokatanur > --- > drivers/pinctrl/pinctrl-single.c | 29 + > 1 file

Re: [PATCH v2 5/5] doc: add bind/unbind command documentation

2020-04-29 Thread Simon Glass
Hi Patrice, On Wed, 29 Apr 2020 at 06:20, Patrice Chotard wrote: > > Add documentation in doc/drivel-model for the bind/unbind command. > Part of this documentation is extracted from original patch commit > message: > commit 49c752c93a78 ("cmd: Add bind/unbind commands to bind a device to a >

Re: [PATCH v2 4/5] test/py: Update test_bind

2020-04-29 Thread Simon Glass
On Wed, 29 Apr 2020 at 06:20, Patrice Chotard wrote: > > As bind-test is now binded at sandbox startup and no more by > test_bind.py, bind-test nodes are not located at the end of > "dm tree" output, but can be located everywwhere in the tree, so everywhere > bind-test output could either be: >

Re: [PATCH v2 2/2] gpio: do not include on TARGET_BCMNS3

2020-04-29 Thread Simon Glass
On Wed, 29 Apr 2020 at 00:22, Rayagonda Kokatanur wrote: > > As no gpio.h is defined for this architecture, to avoid > compilation failure, do not include for > arch bcmns3. > > Signed-off-by: Rayagonda Kokatanur > --- > arch/arm/include/asm/gpio.h | 2 +- > 1 file changed, 1 insertion(+), 1

Re: [PATCH v2 1/2] drivers: gpio: add broadcom iproc gpio driver support

2020-04-29 Thread Simon Glass
Hi Rayagonda, On Wed, 29 Apr 2020 at 00:21, Rayagonda Kokatanur wrote: > > Add gpio driver support for Broadcom iproc-based socs. > > Signed-off-by: Rayagonda Kokatanur > Signed-off-by: Sheetal Tigadoli > --- > drivers/gpio/Kconfig | 10 ++ > drivers/gpio/Makefile | 1 + >

Re: [PATCH] dm: core: Reorder include files in read.c

2020-04-29 Thread Simon Glass
On Wed, 29 Apr 2020 at 01:08, Stefan Roese wrote: > > Including the assembler headers before including common.h etc leads to > compilation errors upon MIPS64 based platforms using OF_LIVE. This > patch reorders the include files to the "correct" oder. > > Signed-off-by: Stefan Roese > Cc: Simon

Re: [PATCH 5/7] cpu: imx8: fix get core name and rate

2020-04-29 Thread Simon Glass
On Tue, 28 Apr 2020 at 19:54, Peng Fan wrote: > > When current cpu is A53, using is_cortex_a53 could not detect A72 > information, so check cpu device compatible property to get > the correct information. > > Signed-off-by: Peng Fan > --- > drivers/cpu/imx8_cpu.c | 27

Re: [PATCH 7/7] cpu: imx8: show RevC instead of Rev? at boot log

2020-04-29 Thread Simon Glass
On Tue, 28 Apr 2020 at 19:55, Peng Fan wrote: > > From: Frank Li > > Add REVC informaiton. > > Signed-off-by: Frank Li > Signed-off-by: Peng Fan > --- > arch/arm/include/asm/arch-imx/cpu.h | 1 + > drivers/cpu/imx8_cpu.c | 2 ++ > 2 files changed, 3 insertions(+) Reviewed-by:

Re: [PATCH 6/7] cpu: imx_cpu: Print the CPU temperature for iMX8QM A72

2020-04-29 Thread Simon Glass
Hi Peng, On Tue, 28 Apr 2020 at 19:54, Peng Fan wrote: > > From: Ye Li > > iMX8QM registers two thermal devices for CPUs, get the temperature > from "cpu-thermal1" device for A72 > > Signed-off-by: Ye Li > Signed-off-by: Peng Fan > --- > drivers/cpu/imx8_cpu.c | 20 ++-- > 1

Re: [PATCH 4/7] cpu: imx8: support a72 as boot cpu

2020-04-29 Thread Simon Glass
On Tue, 28 Apr 2020 at 19:54, Peng Fan wrote: > > Support booting i.MX8QM with A72 as boot cpu > > Signed-off-by: Peng Fan > --- > drivers/cpu/imx8_cpu.c | 19 +++ > 1 file changed, 19 insertions(+) > Reviewed-by: Simon Glass

Re: [PATCH 1/7] uclass: cpu: Add new API to get udevice for current CPU

2020-04-29 Thread Simon Glass
Hi Peng, On Tue, 28 Apr 2020 at 19:54, Peng Fan wrote: > > When running on SoC with multiple clusters, the boot CPU may > not be fixed, saying booting from cluster A or cluster B. > Add a API that can return the udevice for current boot CPU. > Cpu driver needs to implement is_current_cpu

Re: [PATCH 2/7] common: board_f: Use cpu_get_current_dev in print_cpuinfo

2020-04-29 Thread Simon Glass
On Tue, 28 Apr 2020 at 19:54, Peng Fan wrote: > > From: Ye Li > > Current print_cpuinfo gets the first udevice in CPU class to return > the cpu info. This has problem if the boot CPU is not fixed. > > Changing to use new API cpu_get_current_dev to fix the issue. > > Signed-off-by: Ye Li >

Re: [PATCH 3/7] cpu: imx8: reimplement get cpu count

2020-04-29 Thread Simon Glass
On Tue, 28 Apr 2020 at 19:54, Peng Fan wrote: > > Return 4 is not correct on i.MX8DX/DXL/8QM and etc. we need to count > available cpu node with device_type "cpu". > > Signed-off-by: Peng Fan > --- > drivers/cpu/imx8_cpu.c | 19 ++- > 1 file changed, 18 insertions(+), 1

Re: [PATCH 4/8] x86: slimbootloader: Support 64-bit operation

2020-04-29 Thread Simon Glass
Hi Aiden, On Wed, 29 Apr 2020 at 00:01, Park, Aiden wrote: > > Hi Simon, > > > -Original Message- > > From: Simon Glass > > Sent: Sunday, April 26, 2020 1:16 PM > > To: Park, Aiden > > Cc: Bin Meng ; U-Boot Mailing List > b...@lists.denx.de> > > Subject: Re: [PATCH 4/8] x86:

efi_loader: image_loader - Coverity Scan errors

2020-04-29 Thread Heinrich Schuchardt
Hello Takahiro, this relates to your patch 4540dabdcaca efi_loader: image_loader: support image authentication On 4/29/20 4:16 PM, Tom Rini wrote: > Can you please look in to these, thanks! > > -- Forwarded message - > From: > Date: Tue, Apr 28, 2020 at 4:12 PM > Subject: New

[PATCH 1/1] efi_loader: fix 'efidebug boot dump'

2020-04-29 Thread Heinrich Schuchardt
* Do not recreate a variable name that we already have as u16 string. * Check the return value of malloc() * EFI_NOT_FOUND cannot occur for a variable name returned by GetNextVariableName(). Remove a print statement. * Don't copy a GUID for no reason. * Don't use the run-time service table to

[PATCH] imx: spl: Fix build-time test for CONFIG_SPL_FS_FAT

2020-04-29 Thread Jan Kiszka
From: Jan Kiszka This was already changed in 0c3a9ed409a5 but apparently missed when adding 9d86dbd9cf9d. Signed-off-by: Jan Kiszka --- Found by chance while working on other code. Not tested. arch/arm/mach-imx/spl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH 3/3] acpi: Fix-up patch to correct sandbox test errors

2020-04-29 Thread Simon Glass
Hi Bin, On Tue, 28 Apr 2020 at 19:30, Bin Meng wrote: > > Hi Simon, > > On Tue, Apr 28, 2020 at 11:41 PM Simon Glass wrote: > > > > Hi Bin, > > > > On Tue, 28 Apr 2020 at 08:59, Bin Meng wrote: > > > > > > Hi Simon, > > > > > > On Tue, Apr 28, 2020 at 10:39 PM Simon Glass wrote: > > > > > > >

[PATCH v1 3/3] drivers: pinctrl-single: add request api

2020-04-29 Thread Rayagonda Kokatanur
Add pinctrl_ops->request api to configure pctrl pad register in gpio mode. Signed-off-by: Rayagonda Kokatanur --- drivers/pinctrl/pinctrl-single.c | 29 + 1 file changed, 29 insertions(+) diff --git a/drivers/pinctrl/pinctrl-single.c

[PATCH v1 2/3] drivers: pinctrl-single: add support to parse gpio properties

2020-04-29 Thread Rayagonda Kokatanur
Parse different gpio properties from dt as part of probe function. This detail will be used to enable pinctrl pad later when gpio lines are requested. Signed-off-by: Rayagonda Kokatanur --- drivers/pinctrl/pinctrl-single.c | 62 +++- 1 file changed, 61 insertions(+),

[PATCH v1 0/3] extend pinctrl-single driver with APIs

2020-04-29 Thread Rayagonda Kokatanur
This patch set adds following feature in pinctrl-single driver, 1. Support to use different register read/write api's based on register width. 2. Parse different gpio properties from dt as part of the probe function. This is required to enable pinctrl pad. 3. add pinctrl_ops->request

[PATCH v1 1/3] drivers: pinctrl-single: handle different register width

2020-04-29 Thread Rayagonda Kokatanur
Add support to use different register read/write api's based on register width. Signed-off-by: Rayagonda Kokatanur --- drivers/pinctrl/pinctrl-single.c | 98 1 file changed, 74 insertions(+), 24 deletions(-) diff --git a/drivers/pinctrl/pinctrl-single.c

[PATCH v3] malloc: dlmalloc: add an ability for the malloc to be re-init/init multiple times

2020-04-29 Thread marek . bykowski
From: Marek Bykowski Malloc gets initialized with a call to mem_malloc_init() with the address the allocation starts to and its size. Currently it is not possible to move the malloc from one memory area to another as the malloc would eventually fail. This patch adds in the ability to re-init

RE: [PATCH v2 3/3] doc: sifive: fu540: Document Boot from MMC

2020-04-29 Thread Pragnesh Patel
Hi Jagan, >-Original Message- >From: Jagan Teki >Sent: 29 April 2020 21:26 >To: Pragnesh Patel >Cc: r...@andestech.com; u-boot@lists.denx.de; bmeng...@gmail.com; Sagar >Kadam ; Paul Walmsley >; Troy Benjegerdes >; palmerdabb...@google.com; >anup.pa...@wdc.com; atish.pa...@wdc.com;

Re: [PATCH v2 3/3] doc: sifive: fu540: Document Boot from MMC

2020-04-29 Thread Jagan Teki
On Wed, Apr 29, 2020 at 9:17 PM Pragnesh Patel wrote: > > Hi Jagan, > > >-Original Message- > >From: Jagan Teki > >Sent: 20 April 2020 19:08 > >To: Pragnesh Patel ; r...@andestech.com; u- > >b...@lists.denx.de > >Cc: bmeng...@gmail.com; Sagar Kadam ; Paul > >Walmsley ; Troy Benjegerdes >

Re: [PATCH 7/8] ARM: imx8m: Fix reset in SPL on Toradex iMX8MM Verdin

2020-04-29 Thread Igor Opaniuk
Harald, sorry for the typo in the previous email. On Wed, Apr 29, 2020 at 4:06 PM Harald Seiler wrote: > > From: Marek Vasut > > Board files should not re-implement do_reset() to work around this > function not being defined in for specific configurations. Rather, > the fix is to compile in

RE: [PATCH v2 3/3] doc: sifive: fu540: Document Boot from MMC

2020-04-29 Thread Pragnesh Patel
Hi Jagan, >-Original Message- >From: Jagan Teki >Sent: 20 April 2020 19:08 >To: Pragnesh Patel ; r...@andestech.com; u- >b...@lists.denx.de >Cc: bmeng...@gmail.com; Sagar Kadam ; Paul >Walmsley ; Troy Benjegerdes >; palmerdabb...@google.com; >anup.pa...@wdc.com; atish.pa...@wdc.com;

Re: [PATCH 7/8] ARM: imx8m: Fix reset in SPL on Toradex iMX8MM Verdin

2020-04-29 Thread Igor Opaniuk
Hello Herald, On Wed, Apr 29, 2020 at 4:06 PM Harald Seiler wrote: > > From: Marek Vasut > > Board files should not re-implement do_reset() to work around this > function not being defined in for specific configurations. Rather, > the fix is to compile in drivers which implement this properly.

Re: [PATCH] imx8: Run SPL with caches enabled

2020-04-29 Thread Igor Opaniuk
Hi Fabio, On Tue, Apr 21, 2020 at 6:02 PM Fabio Estevam wrote: > > It is safe to run SPL with caches enabled on i.MX8, so > remove such restriction. > > Signed-off-by: Fabio Estevam > --- > configs/deneb_defconfig| 2 -- > configs/giedi_defconfig| 2 -- >

Re: u-boot DT configuration node

2020-04-29 Thread Rob Herring
On Tue, Apr 28, 2020 at 8:51 AM Michal Simek wrote: > > On 28. 04. 20 15:23, Rob Herring wrote: > > On Wed, Apr 1, 2020 at 4:23 AM Michal Simek wrote: > >> > >> Hi Rob and others, > >> > >> for couple of years already u-boot is using config node in root DT for > >> u-boot configuration. > >> >

RE: [PATCH] net: phy: add phyid search in vendor specific space

2020-04-29 Thread Madalin Bucur (OSS)
> -Original Message- > From: U-Boot On Behalf Of Florin Chiculita > Sent: Wednesday, April 29, 2020 2:26 PM > To: u-boot@lists.denx.de > Cc: Florin Laurentiu Chiculita > Subject: [PATCH] net: phy: add phyid search in vendor specific space > > There are devices accesible through mdio

Re: Pull request: u-boot-rockchip-20200429

2020-04-29 Thread Tom Rini
video-for-v2020.07-rc1' of > https://gitlab.denx.de/u-boot/custodians/u-boot-video (2020-04-27 09:41:51 > -0400) > > are available in the Git repository at: > > https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip.git > tags/u-boot-rockchip-20200429 > >

Re: [PATCH v2 2/3] sifive: fu540: Add U-Boot proper sector start

2020-04-29 Thread Bin Meng
Hi Pragnesh, On Wed, Apr 29, 2020 at 10:04 PM Pragnesh Patel wrote: > > Hi Bin, > > >-Original Message- > >From: Bin Meng > >Sent: 29 April 2020 19:28 > >To: Jagan Teki > >Cc: Pragnesh Patel ; Rick Chen > >; U-Boot Mailing List ; Sagar > >Kadam ; Paul Walmsley > >; Troy Benjegerdes >

RE: [PATCH v2 2/3] sifive: fu540: Add U-Boot proper sector start

2020-04-29 Thread Pragnesh Patel
>-Original Message- >From: Jagan Teki >Sent: 20 April 2020 19:08 >To: Pragnesh Patel ; r...@andestech.com; u- >b...@lists.denx.de >Cc: bmeng...@gmail.com; Sagar Kadam ; Paul >Walmsley ; Troy Benjegerdes >; palmerdabb...@google.com; >anup.pa...@wdc.com; atish.pa...@wdc.com; linux-

Re: [PATCH 7/8] ARM: imx8m: Fix reset in SPL on Toradex iMX8MM Verdin

2020-04-29 Thread Oleksandr Suvorov
On Wed, Apr 29, 2020 at 4:05 PM Harald Seiler wrote: > > From: Marek Vasut > > Board files should not re-implement do_reset() to work around this > function not being defined in for specific configurations. Rather, > the fix is to compile in drivers which implement this properly. > This patch

RE: [PATCH v2 2/3] sifive: fu540: Add U-Boot proper sector start

2020-04-29 Thread Pragnesh Patel
Hi Bin, >-Original Message- >From: Bin Meng >Sent: 29 April 2020 19:28 >To: Jagan Teki >Cc: Pragnesh Patel ; Rick Chen >; U-Boot Mailing List ; Sagar >Kadam ; Paul Walmsley >; Troy Benjegerdes >; Palmer Dabbelt >; Anup Patel ; Atish >Patra ; linux-amarula amar...@amarulasolutions.com>

Re: Pull request: u-boot-rockchip-20200429

2020-04-29 Thread Tom Rini
ttps://gitlab.denx.de/u-boot/custodians/u-boot-rockchip.git > tags/u-boot-rockchip-20200429 > > for you to fetch changes up to 400ea1f5b9287233837d92662b370963f8ef4f59: > > rk3399: Add ROC-RK3399-PC Mezzanine board (2020-04-29 11:11:41 +0800) This tag fails because: commit 51aea0

Re: [PATCH v2 2/3] sifive: fu540: Add U-Boot proper sector start

2020-04-29 Thread Bin Meng
Hi Jagan, On Mon, Apr 20, 2020 at 9:37 PM Jagan Teki wrote: > > Add U-Boot proper sector start offset for SiFive FU540. > This value is based on the partition layout supported > by SiFive FU540. > > u-boot.itb need to write on this specific offset so-that > the SPL will retrieve it from here and

Re: [PATCH v2 3/3] doc: sifive: fu540: Document Boot from MMC

2020-04-29 Thread Bin Meng
On Mon, Apr 20, 2020 at 9:37 PM Jagan Teki wrote: > > Document the Booting from MMC steps. > > Detailed information about partitioning, flashing and etc. > > Signed-off-by: Jagan Teki > --- > Changes for v2: > - new patch > > doc/board/sifive/fu540.rst | 28 > 1

Re: [PATCH v2 1/3] sifive: fu540: Add sample SD gpt partition layout

2020-04-29 Thread Bin Meng
On Mon, Apr 20, 2020 at 9:37 PM Jagan Teki wrote: > > This is a sample GPT partition layout for SD card, > right now three important partitions are added to > make the system bootable. > > partition layout: > > PartStart LBA End LBA Name > Attributes > Type GUID

RE: [PATCH v2 1/3] sifive: fu540: Add sample SD gpt partition layout

2020-04-29 Thread Pragnesh Patel
Hi Jagan, >-Original Message- >From: Jagan Teki >Sent: 20 April 2020 19:08 >To: Pragnesh Patel ; r...@andestech.com; u- >b...@lists.denx.de >Cc: bmeng...@gmail.com; Sagar Kadam ; Paul >Walmsley ; Troy Benjegerdes >; palmerdabb...@google.com; >anup.pa...@wdc.com; atish.pa...@wdc.com;

[PATCH v2 12/12] MAINTAINERS: add QorIQ DPAA

2020-04-29 Thread Madalin Bucur
Add entries for the QorIQ DPAA related files - the DPAA FMan Ethernet driver and the QorIQ ARM DPAA device tree include files. Signed-off-by: Madalin Bucur --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index dd92af5..6aabb77 100644 ---

[PATCH v2 11/12] configs: enable DM_ETH support for LS1046ARDB

2020-04-29 Thread Madalin Bucur
Enable DM_ETH on all the defconfigs for the LS1046ARDB board. Signed-off-by: Madalin Bucur --- configs/ls1046ardb_emmc_defconfig | 3 +++ configs/ls1046ardb_qspi_SECURE_BOOT_defconfig | 3 +++ configs/ls1046ardb_qspi_defconfig | 3 +++

[PATCH v2 09/12] driver: net: fm: add DM ETH support

2020-04-29 Thread Madalin Bucur
Probe the FMan MACs based on the device tree while retaining the legacy code/functionality. One notable change introduced here is that, for DM_ETH, the name of the interfaces is corrected to the fmX-macY format, that avoids the referral to the MAC block names, which were incorrect for FMan v3

[PATCH v2 07/12] driver: net: fm: separate receive buffer free code

2020-04-29 Thread Madalin Bucur
Move the receive buffer free code in a separate function. Signed-off-by: Madalin Bucur --- drivers/net/fm/eth.c | 63 ++-- 1 file changed, 37 insertions(+), 26 deletions(-) diff --git a/drivers/net/fm/eth.c b/drivers/net/fm/eth.c index

[PATCH v2 01/12] ARM: dts: add QorIQ DPAA 1 FMan v3 device tree nodes

2020-04-29 Thread Madalin Bucur
Add the QorIQ DPAA Frame Manager v3 device tree nodes description. The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- arch/arm/dts/qoriq-fman3-0-10g-0.dtsi | 44 +++

  1   2   >