[PATCH v7 06/14] usb: dwc2_udc_otg: use the phy bulk API to get phys

2020-04-29 Thread Chunfeng Yun
Use the phy bulk API to get a group of phys Signed-off-by: Chunfeng Yun Reviewed-by: Weijie Gao --- v7: use new API of phy bulk v6: add Reviewed-by Weijie v5: no changes v4: new patch --- drivers/usb/gadget/dwc2_udc_otg.c | 93 ++- 1 file changed, 17

[PATCH v7 04/14] test: dm: phy: add a test item for the phy_bulk API

2020-04-29 Thread Chunfeng Yun
Add a test item for the phy_bulk API Signed-off-by: Chunfeng Yun Reviewed-by: Weijie Gao Reviewed-by: Simon Glass --- v7: test new API v6: add Reviewed-by Weijie & Simon v5: no changes v4: new patch --- arch/sandbox/dts/test.dts | 11 +++ test/dm/phy.c | 33

[PATCH v7 00/14] Add support for MediaTek xHCI host controller

2020-04-29 Thread Chunfeng Yun
The series of patches are used to support xHCI host controller on MediaTek SoCs which has a glue layer IPPC (IP Port Control), and add USB function on T-PHY including T-PHY V1 and V2; Finally add USB related nodes for MT7629 platform. The files of xhci-mtk.* and phy-mtk-tphy.* are ported from

[PATCH v7 01/14] dm: core: Add function to get child count of ofnode or device

2020-04-29 Thread Chunfeng Yun
This patch add function used to get the child count of a ofnode or a device Signed-off-by: Chunfeng Yun Reviewed-by: Weijie Gao Reviewed-by: Simon Glass --- v7: no changes v6: add Reviewed-by Weijie & Simon v4~v5: no changes v3: 1. add non/inline function dev_get_child_count() instead

[PATCH v7 08/14] phy: phy-mtk-tphy: add support new version

2020-04-29 Thread Chunfeng Yun
The new version removes all shared banks between multi-phys Signed-off-by: Chunfeng Yun Reviewed-by: Weijie Gao --- v7: no changes v6: add Reviewed-by Weijie v2~v5: no changes --- drivers/phy/phy-mtk-tphy.c | 68 +++--- 1 file changed, 63 insertions(+), 5

[PATCH v7 14/14] MAINTAINERS: MediaTek: add USB related files

2020-04-29 Thread Chunfeng Yun
Add dt-binding files of xhci-mtk and phys, C files of phys. Signed-off-by: Chunfeng Yun Reviewed-by: Weijie Gao --- v7: no changes v6: add Reviewed-by Weijie v5: new patch --- MAINTAINERS | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index

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

2020-04-29 Thread Stefan Roese
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 Glass --- drivers/core/read.c | 6 +++--- 1 file changed, 3

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

2020-04-29 Thread Park, Aiden
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: slimbootloader: Support 64-bit operation > > Hi Aiden, > > On Tue, 21 Apr 2020 at

RE: [PATCH 6/8] x86: Fix 64-bit compile warning

2020-04-29 Thread Park, Aiden
Hi Simon, > -Original Message- > From: Simon Glass > Sent: Sunday, April 26, 2020 12:46 PM > To: Park, Aiden > Cc: Bin Meng ; U-Boot Mailing List b...@lists.denx.de> > Subject: Re: [PATCH 6/8] x86: Fix 64-bit compile warning > > Hi Aiden, > > On Tue, 21 Apr 2020 at 18:45, wrote: > >

[PATCH v7 11/14] arm: dts: mt7629: add usb related nodes

2020-04-29 Thread Chunfeng Yun
Add usb, phy and clock nodes Signed-off-by: Chunfeng Yun Reviewed-by: Weijie Gao --- v7: no changes v6: add Reviewed-by Weijie v3~v5: no changes v2: 1. remove fixed clock clk20m --- arch/arm/dts/mt7629-rfb.dts | 8 arch/arm/dts/mt7629.dtsi| 41

[PATCH v2 0/2] add brcm iproc gpio driver

2020-04-29 Thread Rayagonda Kokatanur
Add support for broadcom iproc gpio driver. Changes from v1: -Address review comments from Simon Glass, Use dev_read_...() instead of fdtdec_...(). Rayagonda Kokatanur (2): drivers: gpio: add broadcom iproc gpio driver support gpio: do not include on TARGET_BCMNS3

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

2020-04-29 Thread Rayagonda Kokatanur
On Tue, Apr 28, 2020 at 11:27 PM Simon Glass wrote: > > Hi Rayagonda, > > On Tue, 28 Apr 2020 at 02:11, Rayagonda Kokatanur > wrote: > > > > Add gpio driver support for Broadcom iproc-based socs. > > > > Signed-off-by: Rayagonda Kokatanur > > Signed-off-by: Sheetal Tigadoli > > --- > >

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

2020-04-29 Thread Rayagonda Kokatanur
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 + drivers/gpio/iproc_gpio.c | 259 ++ 3 files changed, 270

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

2020-04-29 Thread Rayagonda Kokatanur
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 deletion(-) diff --git a/arch/arm/include/asm/gpio.h

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

2020-04-29 Thread Rayagonda Kokatanur
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 + drivers/gpio/iproc_gpio.c | 258 ++ 3 files changed, 269

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

2020-04-29 Thread Rayagonda Kokatanur
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 deletion(-) diff --git a/arch/arm/include/asm/gpio.h

[PATCH v3 0/2] add brcm iproc gpio driver

2020-04-29 Thread Rayagonda Kokatanur
Add support for broadcom iproc gpio driver. Changes from v2: -remove ununsed variable "node" in iproc_get_gpio_pctrl_mapping() func to fix compilation warning. Changes from v1: -Address review comments from Simon Glass, Use dev_read_...() instead of fdtdec_...(). Rayagonda Kokatanur (2):

[PATCH v7 02/14] test: dm: add test item for ofnode_get_child_count()

2020-04-29 Thread Chunfeng Yun
Add a test item for ofnode_get_child_count() Signed-off-by: Chunfeng Yun Reviewed-by: Simon Glass Reviewed-by: Weijie Gao --- v7: add @index for nodes with reg property suggested by Fabio v6: add Reviewed-by Weijie v4~v5: no changes v3: 1. squash dts patch into this one suggested by

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

2020-04-29 Thread Chunfeng Yun
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. Signed-off-by: Chunfeng Yun Reviewed-by: Weijie Gao --- v7: provide bulk

[PATCH v7 05/14] usb: dwc3: use the phy bulk API to get phys

2020-04-29 Thread Chunfeng Yun
Get a group of phys by the phy bulk API Signed-off-by: Chunfeng Yun Reviewed-by: Weijie Gao --- v7: use new API of phy bulk v6: add Reviewed-by Weijie v5: no changes v4: new patch --- drivers/usb/dwc3/core.c | 87 ++--- drivers/usb/dwc3/dwc3-generic.c |

[PATCH v7 12/14] dt-bindings: phy-mtk-tphy: add properties of address mapping and clocks

2020-04-29 Thread Chunfeng Yun
1. add the address mapping related properties; 2. make "ref" clock optional, and add optional clock "da_ref"; 3. add the banks layout of TPHY V1 and V2; Signed-off-by: Chunfeng Yun Reviewed-by: Weijie Gao --- v7: no changes v6: add Reviewed-by Weijie v2~v5: no changes ---

[PATCH v7 09/14] phy: phy-mtk-tphy: add a new reference clock

2020-04-29 Thread Chunfeng Yun
Usually the digital and analog phys use the same reference clock, but some platforms have two separate reference clocks for each of them, so add another optional clock to support them. In order to keep the clock names consistent with PHY IP's, change the da_ref for analog phy and ref clock for

[PATCH v7 10/14] xhci: mediatek: Add support for MTK xHCI host controller

2020-04-29 Thread Chunfeng Yun
This patch is used to support the on-chip xHCI controller on MediaTek SoCs, currently control/bulk/interrupt transfers are supported. Signed-off-by: Chunfeng Yun Reviewed-by: Weijie Gao --- v7: use new API of phy bulk v6: add Reviewed-by Weijie v5: 1. print error number suggested by Marek

RE: [PATCH 7/8] x86: enable 64-bit kernel boot from 64-bit U-Boot

2020-04-29 Thread Park, Aiden
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 7/8] x86: enable 64-bit kernel boot from 64-bit U-Boot > > Hi Aiden, > > On Tue, 21 Apr 2020 at

Re: [PATCH 2/2] usb: xhci: Load Raspberry Pi 4 VL805's firmware

2020-04-29 Thread Marek Szyprowski
Hi Nicolas, On 28.04.2020 19:44, Nicolas Saenz Julienne wrote: > When needed, RPi4's co-processor (called VideoCore) has to be instructed > to load VL805's firmware (the chip providing xHCI support). VideCore's > firmware expects the board's PCIe bus to be already configured in order > for it to

[PATCH v7 07/14] phy: phy-mtk-tphy: add support USB phys

2020-04-29 Thread Chunfeng Yun
Support USB2 and USB3 PHY with shared banks when support multi-phys Signed-off-by: Chunfeng Yun Reviewed-by: Weijie Gao --- v7: no changes v6: add Reviewed-by Weijie v3~v5: no changes v2: get the count of phys by dev_get_child_count() --- drivers/phy/phy-mtk-tphy.c | 227

RE: [PATCH 5/8] configs: slimbootloader: Add x86_64 slimbootloader config

2020-04-29 Thread Park, Aiden
Hi Simon, > -Original Message- > From: Simon Glass > Sent: Sunday, April 26, 2020 1:32 PM > To: Park, Aiden > Cc: Bin Meng ; U-Boot Mailing List b...@lists.denx.de> > Subject: Re: [PATCH 5/8] configs: slimbootloader: Add x86_64 slimbootloader > config > > Hi Aiden, > > On Tue, 21 Apr

[PATCH v7 13/14] dt-bindings: usb: mtk-xhci: Add binding for MediaTek xHCI host controller

2020-04-29 Thread Chunfeng Yun
Add dt-binding for MediaTek xHCI host controller Signed-off-by: Chunfeng Yun Reviewed-by: Weijie Gao --- v7: no changes v6: add Reviewed-by Weijie v2~v5: no changes --- .../usb/mediatek,mtk-xhci.txt | 40 +++ 1 file changed, 40 insertions(+) create mode

Re: [PATCH] video: cfb_console: Fix 64 bits support problem

2020-04-29 Thread Anatolij Gustschin
Hi Peng, On Wed, 29 Apr 2020 11:45:14 +0800 Peng Fan peng@nxp.com wrote: > From: Ye Li > > There are some integer to pointer convert. To support 64 bits system, > change the unsigned int to unsigned long. cfb_console is obsolete and shouldn't be used. Why are you not using DM_VIDEO based

Re: [PATCH 2/2] usb: xhci: Load Raspberry Pi 4 VL805's firmware

2020-04-29 Thread Bin Meng
Hi Nicolas, On Wed, Apr 29, 2020 at 1:45 AM Nicolas Saenz Julienne wrote: > > When needed, RPi4's co-processor (called VideoCore) has to be instructed > to load VL805's firmware (the chip providing xHCI support). VideCore's > firmware expects the board's PCIe bus to be already configured in

[PATCH v3 1/2] test/py: vboot: add a test to check fit signature on fit with padding

2020-04-29 Thread Philippe Reynes
The pytest vboot does all his tests on fit without padding. We add the same tests on fit with padding. Reviewed-by: Simon Glass Signed-off-by: Philippe Reynes --- test/py/tests/test_vboot.py | 52 - 1 file changed, 33 insertions(+), 19 deletions(-)

[PATCH v3 2/2] rsa: sig: fix config signature check for fit with padding

2020-04-29 Thread Philippe Reynes
The signature check on config node is broken on fit with padding. To compute the signature for config node, U-Boot compute the signature on all properties of requested node for this config, except for the property "data". But, when padding is used for binary in a fit, there isn't a property "data"

[PATCH v3 0/2] test/py: vboot: fix signature check on config node

2020-04-29 Thread Philippe Reynes
The signature check of config node is broken when used on fit with padding. We didn't see it before because this case is not covered by vboot test. When check the signature for a config nde, u-boot uses all the properties of the node referenced in the config node, except the property data. When

[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 +++

[PATCH v2 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 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

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] 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

[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 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 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

RE: [PATCH v2 2/6] arm: dts: lx2160aqds: add MDIO slots

2020-04-29 Thread Razvan Ionut Cirjan
> -Original Message- > From: Ioana Ciornei > Sent: Monday, April 27, 2020 3:21 PM > To: Priyanka Jain ; u-boot@lists.denx.de > Cc: Alexandru Marginean ; Madalin Bucur > ; Florin Laurentiu Chiculita > ; Razvan Ionut Cirjan > ; Ioana Ciornei > Subject: [PATCH v2 2/6] arm: dts:

RE: [PATCH v2 3/6] arm: dts: lx2160aqds: add nodes describing possible mezzanine cards

2020-04-29 Thread Razvan Ionut Cirjan
> -Original Message- > From: Ioana Ciornei > Sent: Monday, April 27, 2020 3:21 PM > To: Priyanka Jain ; u-boot@lists.denx.de > Cc: Alexandru Marginean ; Madalin Bucur > ; Florin Laurentiu Chiculita > ; Razvan Ionut Cirjan > ; Ioana Ciornei > Subject: [PATCH v2 3/6] arm: dts:

RE: [PATCH v2 4/6] board: lx2160aqds: transition to DM_ETH

2020-04-29 Thread Razvan Ionut Cirjan
> -Original Message- > From: Ioana Ciornei > Sent: Monday, April 27, 2020 3:21 PM > To: Priyanka Jain ; u-boot@lists.denx.de > Cc: Alexandru Marginean ; Madalin Bucur > ; Florin Laurentiu Chiculita > ; Razvan Ionut Cirjan > ; Ioana Ciornei > Subject: [PATCH v2 4/6] board: lx2160aqds:

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 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: [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: 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 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;

[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 5/6] board: lx2160aqds: implement board_fit_config_name_match

2020-04-29 Thread Razvan Ionut Cirjan
> -Original Message- > From: Ioana Ciornei > Sent: Monday, April 27, 2020 3:21 PM > To: Priyanka Jain ; u-boot@lists.denx.de > Cc: Alexandru Marginean ; Madalin Bucur > ; Florin Laurentiu Chiculita > ; Razvan Ionut Cirjan > ; Ioana Ciornei > Subject: [PATCH v2 5/6] board: lx2160aqds:

RE: [PATCH v2 6/6] configs: lx2160aqds_tfa_defconfig: enable DM_ETH and related

2020-04-29 Thread Razvan Ionut Cirjan
> -Original Message- > From: Ioana Ciornei > Sent: Monday, April 27, 2020 3:21 PM > To: Priyanka Jain ; u-boot@lists.denx.de > Cc: Alexandru Marginean ; Madalin Bucur > ; Florin Laurentiu Chiculita > ; Razvan Ionut Cirjan > ; Ioana Ciornei > Subject: [PATCH v2 6/6] configs:

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] 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: [PATCH 3/8] ARM: imx8m: Don't use the addr parameter of reset_cpu()

2020-04-29 Thread Fabio Estevam
Hi Harald, On Wed, Apr 29, 2020 at 10:04 AM Harald Seiler wrote: > > From: Claudius Heine > > imx8m has the only implementation of reset_cpu() which does not ignore > the addr parameter and instead gives it some meaning as the base address Unrelated to this patch, but maybe the reset_cpu()

Re: [PATCH 0/8] ARM: imx: Fix reset in SPL

2020-04-29 Thread Fabio Estevam
Hi folks, On Wed, Apr 29, 2020 at 10:04 AM Harald Seiler wrote: > > This series is a merge of "ARM: Fix reset in SPL if SYSRESET is not > used" [1] and "ARM: imx: Do not define do_reset() if sysreset is > enabled" [2] as the two solve the same problem. > > The first of the two was sent to

RE: [PATCH v2 1/6] arm: dts: lx2160a: add noted for dpmacs 1, 2, 5-6

2020-04-29 Thread Razvan Ionut Cirjan
> -Original Message- > From: Ioana Ciornei > Sent: Monday, April 27, 2020 3:21 PM > To: Priyanka Jain ; u-boot@lists.denx.de > Cc: Alexandru Marginean ; Madalin Bucur > ; Florin Laurentiu Chiculita > ; Razvan Ionut Cirjan > ; Ioana Ciornei > Subject: [PATCH v2 1/6] arm: dts: lx2160a:

[PATCH v2 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 v2 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 v2 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 v2 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 v2 00/12] Enable DM_ETH on the DPAA1 ARM platforms

2020-04-29 Thread Madalin Bucur
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 set enables DM_ETH on the DPAA1 ARM platforms. The required changes are added to the

[PATCH v2 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

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 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 >

[PATCH v2 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 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

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 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 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 ---

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 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 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.

[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

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 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 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] 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 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: [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] 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

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 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] 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 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 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 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

[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] 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] 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 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

[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 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: > > > > > > >

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

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 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

  1   2   >