Re: [PATCH 0/5] Add spi boot support to am335x-icev2

2020-09-10 Thread Faiz Abbas
Hi Lokesh, On 11/09/20 8:16 am, Lokesh Vutla wrote: > > > On 02/09/20 4:47 pm, Faiz Abbas wrote: >> The following patches add spi boot support to TI's am335x-icev2 platform > > > Can you post v2 with comments addressed? I am waiting on this for sending a PR > Will do that by today. Thanks,

[PATCH v2] arm: mvebu: Espressobin: Set environment variable fdtfile

2020-09-10 Thread Andre Heider
Required for the generic distro mechanism. Linux ships with 4 variants: marvell/armada-3720-espressobin-v7-emmc.dtb marvell/armada-3720-espressobin-v7.dtb marvell/armada-3720-espressobin-emmc.dtb marvell/armada-3720-espressobin.dtb Use available information to determine the appropriate filename.

Re: [PATCH] i2c: i2c-gpio: Convert to use APIs which support live DT

2020-09-10 Thread Heiko Schocher
Hello Patrick, Am 10.09.2020 um 18:25 schrieb Patrick Delaunay: Use ofnode_ or dev_ APIs instead of fdt_ and fdtdec_ APIs so that the driver can support live DT. Signed-off-by: Patrick Delaunay --- drivers/i2c/i2c-gpio.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-)

Re: [PATCH] gpio: Convert to use APIs which support live DT

2020-09-10 Thread Heiko Schocher
Hello Patrick, Am 09.09.2020 um 18:26 schrieb Patrick Delaunay: Use ofnode_ or dev_ APIs instead of fdt_ and fdtdec_ APIs so that the driver can support live DT. Signed-off-by: Patrick Delaunay --- drivers/gpio/gpio-uclass.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)

Re: [PATCH] armv8: dts: fsl-lx2160a: add gpio0 gpio1 gpio3 DT nodes

2020-09-10 Thread Heiko Schocher
Hello Hui, Am 10.09.2020 um 11:28 schrieb Hui Song: From: "hui.song" add gpio0 gpio1 gpio3 DT nodes to fsl-lx21600.dtsi Signed-off-by: hui.song --- arch/arm/dts/fsl-lx2160a.dtsi | 33 + 1 file changed, 33 insertions(+) Reviewed-by: Heiko Schocher bye,

Re: [PATCH 0/5] Add spi boot support to am335x-icev2

2020-09-10 Thread Lokesh Vutla
On 02/09/20 4:47 pm, Faiz Abbas wrote: > The following patches add spi boot support to TI's am335x-icev2 platform Can you post v2 with comments addressed? I am waiting on this for sending a PR Thanks and regards, Lokesh > > Faiz Abbas (5): > arm: dts: am335x-icev2: Add spi node >

Re: [PATCH v6 00/17] efi_loader: add capsule update support

2020-09-10 Thread Tom Rini
On Fri, Sep 11, 2020 at 11:31:11AM +0900, AKASHI Takahiro wrote: > Tom, > > On Thu, Sep 10, 2020 at 09:02:59PM -0400, Tom Rini wrote: > > On Fri, Sep 11, 2020 at 09:52:10AM +0900, AKASHI Takahiro wrote: > > > On Wed, Sep 09, 2020 at 10:58:53PM -0400, Tom Rini wrote: > > > > On Thu, Sep 10, 2020

Re: [PATCH v6 01/17] dfu: rename dfu_tftp_write() to dfu_write_by_name()

2020-09-10 Thread Tom Rini
On Fri, Sep 11, 2020 at 09:46:14AM +0900, AKASHI Takahiro wrote: > On Wed, Sep 09, 2020 at 10:26:34PM -0400, Tom Rini wrote: > > On Thu, Sep 10, 2020 at 10:54:18AM +0900, AKASHI Takahiro wrote: > > > On Wed, Sep 09, 2020 at 02:30:53PM +0200, Heinrich Schuchardt wrote: > > > > On 07.09.20 07:34,

Re: [PATCH v2 19/30] pwm: ti: am33xx: add subsystem driver

2020-09-10 Thread Lokesh Vutla
On 10/09/20 11:52 pm, Dario Binacchi wrote: > Hi Lokesh, > >> Il 07/09/2020 07:32 Lokesh Vutla ha scritto: >> >> >> Hi Dario, >> >> On 06/09/20 5:41 pm, Dario Binacchi wrote: >>> The TI PWMSS driver is a simple bus driver for providing clock and power >>> management for the PWM peripherals

Re: [PATCH v6 00/17] efi_loader: add capsule update support

2020-09-10 Thread AKASHI Takahiro
Tom, On Thu, Sep 10, 2020 at 09:02:59PM -0400, Tom Rini wrote: > On Fri, Sep 11, 2020 at 09:52:10AM +0900, AKASHI Takahiro wrote: > > On Wed, Sep 09, 2020 at 10:58:53PM -0400, Tom Rini wrote: > > > On Thu, Sep 10, 2020 at 11:52:37AM +0900, AKASHI Takahiro wrote: > > > > On Wed, Sep 09, 2020 at

[PATCH 12/16] Kconfig: MISC_INIT_R and BOARD_LATE_INIT -> start-up hooks

2020-09-10 Thread Simon Glass
These are start-up hooks so put them under that menu. Signed-off-by: Simon Glass --- common/Kconfig | 34 +- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/common/Kconfig b/common/Kconfig index 1955dd6ee91..bcb3519c775 100644 ---

[PATCH 13/16] Kconfig: Move VERSION_VARIABLE under environment

2020-09-10 Thread Simon Glass
This relates to the environment so should not be at the top level. Move it. Signed-off-by: Simon Glass --- common/Kconfig | 10 -- env/Kconfig| 9 + 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/common/Kconfig b/common/Kconfig index

[PATCH 14/16] Kconfig: Move BOUNCE_BUFFER under driver options

2020-09-10 Thread Simon Glass
This option does not belong at the top level. Move it under generic driver options. Signed-off-by: Simon Glass --- common/Kconfig | 11 --- drivers/core/Kconfig | 11 +++ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/common/Kconfig b/common/Kconfig

[PATCH 16/16] Kconfig: Create a new tools menu

2020-09-10 Thread Simon Glass
At present MKIMAGE_DTC_PATH is in the devicetree menu but not within 'devicetree control' since it does not relate to that. As a result it shows up in the top menu. It actually relates to the mkimage tool, so create a new tools menu for it and move it there. Signed-off-by: Simon Glass ---

[PATCH 15/16] Kconfig: Move BOARD_TYPES under init options

2020-09-10 Thread Simon Glass
This actually relates to something displayed on start-up, so move it into that menu. Signed-off-by: Simon Glass --- common/Kconfig | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/common/Kconfig b/common/Kconfig index a1a898babd8..318d372a481 100644 ---

[PATCH 10/16] Kconfig: Create a new 'init options' menu

2020-09-10 Thread Simon Glass
There are quite a few options at the top level relating to U-Boot init. Move them into their own menu. Signed-off-by: Simon Glass --- common/Kconfig | 4 1 file changed, 4 insertions(+) diff --git a/common/Kconfig b/common/Kconfig index 6423ab37973..3aa8cf358a0 100644 ---

[PATCH 11/16] Kconfig: Move startup hooks under init options

2020-09-10 Thread Simon Glass
These hooks relate to U-Boot init so move them under that menu. Signed-off-by: Simon Glass --- common/Kconfig | 62 +- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/common/Kconfig b/common/Kconfig index 3aa8cf358a0..1955dd6ee91

[PATCH 09/16] Kconfig: Move DEFAULT_FDT_FILE under boot options

2020-09-10 Thread Simon Glass
This relates to booting since it is the default devicetree provided to Linux. Move it under the 'boot options' menu. Signed-off-by: Simon Glass --- common/Kconfig | 5 - common/Kconfig.boot | 5 + 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/common/Kconfig

[PATCH 05/16] Kconfig: Move autoboot options under boot options

2020-09-10 Thread Simon Glass
At present the autoboot options are in cmd/Kconfig but they don't really relate to commands. They relate to booting, so move this menu under the boot menu. Signed-off-by: Simon Glass --- cmd/Kconfig | 117 common/Kconfig.boot | 117

[PATCH 07/16] Kconfig: Move misc boot options under 'boot options'

2020-09-10 Thread Simon Glass
There are a number of miscellaneous boot images at the top level of the kconfig menu. Move these into the 'boot options' menu. Signed-off-by: Simon Glass --- common/Kconfig | 53 - common/Kconfig.boot | 53

[PATCH 08/16] Kconfig: Move SUPPORT_RAW_INITRD under boot options

2020-09-10 Thread Simon Glass
This relates to booting, so move it under the 'boot images' menu. Signed-off-by: Simon Glass --- common/Kconfig | 8 common/Kconfig.boot | 8 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/common/Kconfig b/common/Kconfig index 703505b0818..bd9b574a8dc

[PATCH 06/16] Kconfig: Move CONFIG_BOOTDELAY under autoboot options

2020-09-10 Thread Simon Glass
This option relates to autoboot, so move it there. Signed-off-by: Simon Glass --- common/Kconfig | 16 common/Kconfig.boot | 16 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/common/Kconfig b/common/Kconfig index

[PATCH 04/16] Kconfig: Move boot media under boot options

2020-09-10 Thread Simon Glass
This relates to booting, so move it under the boot menu. Signed-off-by: Simon Glass --- common/Kconfig | 63 - common/Kconfig.boot | 63 + 2 files changed, 63 insertions(+), 63 deletions(-) diff --git

[PATCH 03/16] Kconfig: Move boot timing under boot options

2020-09-10 Thread Simon Glass
This relates to booting, so move it under the boot menu. Signed-off-by: Simon Glass --- common/Kconfig | 291 common/Kconfig.boot | 291 2 files changed, 291 insertions(+), 291 deletions(-) diff

[PATCH 00/16] Kconfig: Tidy up the top-level kconfig menu

2020-09-10 Thread Simon Glass
At present this menu is pretty messy, with quite a few minor options shown at the top level. This series creates a few new menus and moves things around so that the top-level menu is cleaner. There is more to do, but this is a start. Simon Glass (16): Kconfig: Add a 'Boot options' menu

[PATCH 02/16] Kconfig: Move boot menu into common/

2020-09-10 Thread Simon Glass
Most of the boot options are in common/Kconfig but that file is already extremely large. Create a new Kconfig.boot to hold the boot options. Signed-off-by: Simon Glass --- Kconfig | 342 common/Kconfig | 2 + common/Kconfig.boot |

[PATCH 01/16] Kconfig: Add a 'Boot options' menu

2020-09-10 Thread Simon Glass
There are quite a few boot-related menu options at the top level. Create a new menu to hold these and move 'Boot images' into it. Signed-off-by: Simon Glass --- Kconfig | 4 1 file changed, 4 insertions(+) diff --git a/Kconfig b/Kconfig index 883e3f71d01..3866b2b6e75 100644 --- a/Kconfig

RE: [PATCH v1 11/16] arm: socfpga: soc64: Add ATF support for Reset Manager driver

2020-09-10 Thread Tan, Ley Foon
> -Original Message- > From: Ang, Chee Hong > Sent: Monday, August 17, 2020 12:34 PM > To: u-boot@lists.denx.de > Cc: Marek Vasut ; Simon Goldschmidt > ; Tom Rini ; See, > Chin Liang ; Tan, Ley Foon > ; Ang, Chee Hong ; > Chee, Tien Fong ; Lim, Elly Siew Chin > > Subject: [PATCH v1

RE: [PATCH v1 03/16] arm: socfpga: Add function for checking description from FIT image

2020-09-10 Thread Tan, Ley Foon
> -Original Message- > From: Ang, Chee Hong > Sent: Monday, August 17, 2020 12:34 PM > To: u-boot@lists.denx.de > Cc: Marek Vasut ; Simon Goldschmidt > ; Tom Rini ; See, > Chin Liang ; Tan, Ley Foon > ; Ang, Chee Hong ; > Chee, Tien Fong ; Lim, Elly Siew Chin > > Subject: [PATCH v1

Re: [PATCH v6 00/17] efi_loader: add capsule update support

2020-09-10 Thread Tom Rini
On Fri, Sep 11, 2020 at 09:52:10AM +0900, AKASHI Takahiro wrote: > On Wed, Sep 09, 2020 at 10:58:53PM -0400, Tom Rini wrote: > > On Thu, Sep 10, 2020 at 11:52:37AM +0900, AKASHI Takahiro wrote: > > > On Wed, Sep 09, 2020 at 12:56:28PM -0400, Tom Rini wrote: > > > > On Wed, Sep 09, 2020 at

Re: [PATCH v6 00/17] efi_loader: add capsule update support

2020-09-10 Thread AKASHI Takahiro
On Wed, Sep 09, 2020 at 10:58:53PM -0400, Tom Rini wrote: > On Thu, Sep 10, 2020 at 11:52:37AM +0900, AKASHI Takahiro wrote: > > On Wed, Sep 09, 2020 at 12:56:28PM -0400, Tom Rini wrote: > > > On Wed, Sep 09, 2020 at 04:48:30PM +0200, Heinrich Schuchardt wrote: > > > > On 07.09.20 07:34, AKASHI

Re: [PATCH v6 01/17] dfu: rename dfu_tftp_write() to dfu_write_by_name()

2020-09-10 Thread AKASHI Takahiro
On Wed, Sep 09, 2020 at 10:26:34PM -0400, Tom Rini wrote: > On Thu, Sep 10, 2020 at 10:54:18AM +0900, AKASHI Takahiro wrote: > > On Wed, Sep 09, 2020 at 02:30:53PM +0200, Heinrich Schuchardt wrote: > > > On 07.09.20 07:34, AKASHI Takahiro wrote: > > > > This function is essentially independent

Re: [PATCH v2 1/3] net: cortina_ni: Add eth support for Cortina Access CAxxxx SoCs

2020-09-10 Thread Alex Nemirovsky
Will do. Thanks Tom. Abbie, please review. > On Sep 10, 2020, at 4:54 PM, Tom Rini wrote: > > On Thu, Sep 10, 2020 at 11:18:46PM +, Alex Nemirovsky wrote: > >> bump. > > Sorry, I've meant to reply on some of this. Please fix the usage of > ca_status_t and use the normal errno values.

Re: [PATCH v2 1/3] net: cortina_ni: Add eth support for Cortina Access CAxxxx SoCs

2020-09-10 Thread Tom Rini
On Thu, Sep 10, 2020 at 11:18:46PM +, Alex Nemirovsky wrote: > bump. Sorry, I've meant to reply on some of this. Please fix the usage of ca_status_t and use the normal errno values. Make sure that checkpatch.pl is happy about formatting, etc. Please also check for existing standard

Re: [PATCH v10 1/2] spi: ca_sflash: Add CAxxxx SPI Flash Controller

2020-09-10 Thread Alex Nemirovsky
bump > On Jul 30, 2020, at 12:52 PM, Alex Nemirovsky > wrote: > > From: Pengpeng Chen > > Add SPI Flash controller driver for Cortina Access > CA SoCs > > Signed-off-by: Pengpeng Chen > Signed-off-by: Alex Nemirovsky > CC: Jagan Teki > CC: Vignesh R > CC: Tom Rini > > --- > > (no

Re: [PATCH v2 1/3] net: cortina_ni: Add eth support for Cortina Access CAxxxx SoCs

2020-09-10 Thread Alex Nemirovsky
bump. > On Jul 30, 2020, at 12:05 PM, Alex Nemirovsky > wrote: > > 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 >

Re: Improvements to FIT ciphering

2020-09-10 Thread Patrick Oppenlander
Hi Philippe, On Fri, Sep 11, 2020 at 2:08 AM Philippe REYNES wrote: > > Hi Patrick, > > Sorry for the late answer, I was very busy in the beginning of september No problem at all. I have a product deadline at the end of September rapidly approaching so I am also extremely busy at the moment. >

Re: RPi4 U-Boot freeze

2020-09-10 Thread Stefan Agner
On 2020-09-07 16:36, Peter Robinson wrote: >> Any thoughts on this issue? > > Any reason why you're using 2020.01 and not at least 2020.07, or at > least seeing if it's reproducible on 2020.10-rc3? The RPi4 support has > changed quite a bit since then I suspect. > Hi Peter, It's a stable

Re: [PATCH] mmc: stm32_sdmmc2: Use mmc_of_parse() to read host capabilities

2020-09-10 Thread Alex G.
On 9/10/20 11:04 AM, Patrick DELAUNAY wrote: Hi Alexandru, Hi [snip] + cfg->f_max = 5200; + mmc_of_parse(dev, cfg); Result of mmc_of_parse is not tested ? I proposed: + ret = mmc_of_parse(dev, cfg); + if (ret) + return ret; You're right. I'll

Re: [PATCH] PCI: mediatek: Release the resource when PCIe enable port fail

2020-09-10 Thread Frank Wunderlich
Am 10. September 2020 21:33:01 MESZ schrieb Tom Rini : >Yes, OK, thanks for letting me know. I've queued this up for master >when I push again. Is there anything else currently that's outstanding >for MediaTek and should be in this release? Hi, For my boards only xhci 0.96 support is

Re: [PATCH] PCI: mediatek: Release the resource when PCIe enable port fail

2020-09-10 Thread Tom Rini
On Thu, Sep 10, 2020 at 08:59:05PM +0200, Frank Wunderlich wrote: > Am 10. September 2020 20:40:10 MESZ schrieb Tom Rini : > >Applied to u-boot/next, thanks! > > Thanks > > Can it be applied to current release too as it is a fix (hang till watchdog > reset on pci enum if no card inserted in

Re: [PATCH] mmc: xenon_sdhci: Add missing common host capabilities

2020-09-10 Thread Pali Rohár
On Thursday 10 September 2020 19:53:40 Andre Heider wrote: > Use mmc_of_parse() to set the common host properties. That includes > "bus-width", so parsing it can be removed from the driver. > > But more importantly, "non-removable" is now respected, which fixes > the usage of eMMC. > >

Re: [PATCH] PCI: mediatek: Release the resource when PCIe enable port fail

2020-09-10 Thread Frank Wunderlich
Am 10. September 2020 20:40:10 MESZ schrieb Tom Rini : >Applied to u-boot/next, thanks! Thanks Can it be applied to current release too as it is a fix (hang till watchdog reset on pci enum if no card inserted in pcie slot,but sata chip connected)? regards Frank

Re: [PATCH] PCI: mediatek: Release the resource when PCIe enable port fail

2020-09-10 Thread Tom Rini
On Mon, Aug 31, 2020 at 03:53:12PM +0800, Chuanjia Liu wrote: > On the mt7623 platform, if one port enable fail and other port > enable succeed. It will hang on when using pci enum > because the resource was not released correctly. > > Signed-off-by: Chuanjia Liu > Tested-by: Frank Wunderlich

Re: [PATCH v2] arm: dts: fix ast2500-evb inclusion for the correct soc family

2020-09-10 Thread Tom Rini
On Tue, Sep 01, 2020 at 01:42:45PM -0700, Thirupathaiah Annapureddy wrote: > Include ast2500-evb.dtb for CONFIG_ASPEED_AST2500 instead of > for all aspeed targets. > > ast2400 is based on ARM926EJ-S processor (ARMv5-architecture). > ast2500 is based on ARM1176JZS processor (ARMv6-architecture).

Re: [PATCH v2 1/3] cosmetic: aspeed: ast2500: Rename clock header

2020-09-10 Thread Tom Rini
On Mon, Aug 31, 2020 at 02:03:03PM +0800, Ryan Chen wrote: > Rename the ast2500-scu.h to aspeed-clock.h. > > Signed-off-by: Ryan Chen > Reviewed-by: Chia-Wei, Wang > Reviewed-by: Cédric Le Goater Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v2 2/3] clock:aspeed: Sync with Linux kernel clock header define

2020-09-10 Thread Tom Rini
On Mon, Aug 31, 2020 at 02:03:04PM +0800, Ryan Chen wrote: > v2: modify title description aspeed:clock -> clock:aspeed > > Use kernel include/dt-bindings/clock/aspeed-clock.h define > for clock driver. > > Signed-off-by: Ryan Chen > Reviewed-by: Chia-Wei, Wang Applied to u-boot/next, thanks!

Re: [PATCH v2 3/3] cosmetic: aspeed: Modify for SPDX-License

2020-09-10 Thread Tom Rini
On Mon, Aug 31, 2020 at 02:03:05PM +0800, Ryan Chen wrote: > Modify SPDX-License for furture patch warning > > Signed-off-by: Ryan Chen > Reviewed-by: Chia-Wei, Wang Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v2 3/5] cmd: broadcom: add command for chimp handshake

2020-09-10 Thread Tom Rini
On Thu, Aug 20, 2020 at 08:41:06PM +0530, Rayagonda Kokatanur wrote: > From: Bharat Kumar Reddy Gooty > > Add command for chimp handshake. > Handshake is used to know chimp is loaded and booted successfully. > > Signed-off-by: Bharat Kumar Reddy Gooty > Signed-off-by: Rayagonda Kokatanur >

Re: [PATCH v2 4/5] board: ns3: kconfig: extend board kconfig with specific commands

2020-09-10 Thread Tom Rini
On Thu, Aug 20, 2020 at 08:41:07PM +0530, Rayagonda Kokatanur wrote: > From: Vladimir Olovyannikov > > Extend Kconfig for the board with board-specific commands selection. > > Signed-off-by: Vladimir Olovyannikov > Signed-off-by: Rayagonda Kokatanur > Reviewed-by: Simon Glass Applied to

Re: [PATCH v2 5/5] MAINTAINERS: update maintainers file for new files

2020-09-10 Thread Tom Rini
On Thu, Aug 20, 2020 at 08:41:08PM +0530, Rayagonda Kokatanur wrote: > Update MAINTAINERS file for new files. > > Signed-off-by: Rayagonda Kokatanur > Reviewed-by: Simon Glass Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v2 1/1] board: ns3: check bnxt chimp handshake status

2020-09-10 Thread Tom Rini
On Tue, Aug 25, 2020 at 11:16:37PM +0530, Rayagonda Kokatanur wrote: > Chimp is a core in Broadcom netxtream controller (bnxt). > Add support to check bnxt's chimp component status. > > Signed-off-by: Rayagonda Kokatanur > Reviewed-by: Simon Glass Applied to u-boot/next, thanks! -- Tom

Re: [PATCH v2 1/5] cmd: broadcom: add bnxt boot command

2020-09-10 Thread Tom Rini
On Thu, Aug 20, 2020 at 08:41:04PM +0530, Rayagonda Kokatanur wrote: > From: Trac Hoang > > Chimp is a core in Broadcom netxtream controller (bnxt). > Add command to load binary to chimp and boot bnxt. > > Signed-off-by: Trac Hoang > Signed-off-by: Rayagonda Kokatanur > Reviewed-by: Simon

Re: [PATCH v2 2/5] cmd: broadcom: add cmd to update bnxt image env variables

2020-09-10 Thread Tom Rini
On Thu, Aug 20, 2020 at 08:41:05PM +0530, Rayagonda Kokatanur wrote: > From: Vikas Gupta > > Add command to update the environmental variables which > are used to read the data from QSPI offsets and load > the binaries to bnxt. > > Signed-off-by: Vikas Gupta > Signed-off-by: Rayagonda

Re: [PATCH v2 1/5] cmd: broadcom: add bnxt boot command

2020-09-10 Thread Tom Rini
On Thu, Aug 20, 2020 at 08:41:04PM +0530, Rayagonda Kokatanur wrote: > From: Trac Hoang > > Chimp is a core in Broadcom netxtream controller (bnxt). > Add command to load binary to chimp and boot bnxt. > > Signed-off-by: Trac Hoang > Signed-off-by: Rayagonda Kokatanur > Reviewed-by: Simon

Re: [PULL u-boot] Please pull u-boot-amlogic-20200910

2020-09-10 Thread Tom Rini
gt; https://gitlab.denx.de/u-boot/custodians/u-boot-amlogic.git > tags/u-boot-amlogic-20200910 > > for you to fetch changes up to 92f10e61351d730c49c00cdbbd195c838140: > > configs: odroid-c4: update for HDMI output background & USB keyboard > (2020-09-10 10:51:36

Re: [PATCH v2 19/30] pwm: ti: am33xx: add subsystem driver

2020-09-10 Thread Dario Binacchi
Hi Lokesh, > Il 07/09/2020 07:32 Lokesh Vutla ha scritto: > > > Hi Dario, > > On 06/09/20 5:41 pm, Dario Binacchi wrote: > > The TI PWMSS driver is a simple bus driver for providing clock and power > > management for the PWM peripherals on TI AM33xx SoCs, namely eCAP, > > eHRPWM and eQEP. >

RE: [EXT] [PATCH] mmc: xenon_sdhci: Add missing common host capabilities

2020-09-10 Thread Kostya Porotchkin
> -Original Message- > From: Andre Heider > Sent: Thursday, September 10, 2020 20:54 > To: Stefan Roese ; Kostya Porotchkin > Cc: Pali Rohár ; Gérald Kerma ; u- > b...@lists.denx.de > Subject: [EXT] [PATCH] mmc: xenon_sdhci: Add missing common host > capabilities > > External Email >

Re: [PATCH v2 3/3] arm64: dts: a3720: add support for espressobin with populated emmc

2020-09-10 Thread Andre Heider
On 09/09/2020 11:16, Andre Heider wrote: On 04/09/2020 17:33, Andre Heider wrote: Import armada-3720-espressobin-emmc.dts from Linux, but use sdhc1 for emmc, since our dtsi is still based on downstream and sdhc0 is used for the sd card. Signed-off-by: Andre Heider We've found a tester with

Re: [PATCH 3/5] spi: spi-uclass: Block dm_scan_fdt_dev with OF_CONTROL to prevent build failures

2020-09-10 Thread Jagan Teki
On Wed, Sep 2, 2020 at 4:48 PM Faiz Abbas wrote: > > There are devices which don't use OF_CONTROL or OF_PLATDATA but instead > rely on statically defined platdata. Block dm_scan_fdt_dev() with both > configs to avoid build failures under this condition. > > Signed-off-by: Faiz Abbas > --- >

[PATCH] mmc: xenon_sdhci: Add missing common host capabilities

2020-09-10 Thread Andre Heider
Use mmc_of_parse() to set the common host properties. That includes "bus-width", so parsing it can be removed from the driver. But more importantly, "non-removable" is now respected, which fixes the usage of eMMC. Signed-off-by: Andre Heider --- Tested myself on v5 without emmc, `mmc info` is

[RFC PATCH] dm: add cells_count parameter in *_count_phandle_with_args

2020-09-10 Thread Patrick Delaunay
The cell_count argument is required when cells_name is NULL. This patch adds this parameter in live tree API - of_count_phandle_with_args - ofnode_count_phandle_with_args - dev_count_phandle_with_args This parameter solves issue when these API is used to count the number of element of a cell

[PATCH] dm: add cells_count parameter in live DT APIs of_parse_phandle_with_args

2020-09-10 Thread Patrick Delaunay
In the live tree API ofnode_parse_phandle_with_args, the cell_count argument must be used when cells_name is NULL. But this argument is not provided to the live DT function of_parse_phandle_with_args even it is provided to fdtdec_parse_phandle_with_args. This patch adds support of the

[PATCH] i2c: i2c-gpio: Convert to use APIs which support live DT

2020-09-10 Thread Patrick Delaunay
Use ofnode_ or dev_ APIs instead of fdt_ and fdtdec_ APIs so that the driver can support live DT. Signed-off-by: Patrick Delaunay --- drivers/i2c/i2c-gpio.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/i2c/i2c-gpio.c b/drivers/i2c/i2c-gpio.c index

[PATCH 1/2] power: regulator: gpio-regulator: protect count value

2020-09-10 Thread Patrick Delaunay
Update the size of states_array to avoid overflow for dev_pdata->voltages[j] and dev_pdata->states[j]. As the size of array is GPIO_REGULATOR_MAX_STATES, the size of states_array is limited by GPIO_REGULATOR_MAX_STATES * 2 = 4 instead of 8 previously. The value of the "count" variable is limited

[PATCH 2/2] power: regulator: gpio-regulator: Convert to use APIs which support live DT

2020-09-10 Thread Patrick Delaunay
Use ofnode_ or dev_ APIs instead of fdt_ and fdtdec_ APIs so that the driver can support live DT. Signed-off-by: Patrick Delaunay --- drivers/power/regulator/gpio-regulator.c | 22 +- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git

Re: Improvements to FIT ciphering

2020-09-10 Thread Philippe REYNES
Hi Patrick, Sorry for the late answer, I was very busy in the beginning of september >> >> I agree that IV should be set in the FIT. >> >> So in the dts, we may have: >> cipher { >> algo = "aes256"; >> key-name-hint = "aeskey"; >> iv = "aesiv"; >> }; >> or (I propose) : >> cipher { >> algo =

RE: [PATCH] mmc: stm32_sdmmc2: Use mmc_of_parse() to read host capabilities

2020-09-10 Thread Patrick DELAUNAY
Hi Alexandru, > Sent: mercredi 9 septembre 2020 23:54 > To: uboot-st...@st-md-mailman.stormreply.com > Cc: Alexandru Gagniuc ; Patrick DELAUNAY > ; Patrice CHOTARD ; Peng > Fan ; u-boot@lists.denx.de > Subject: [PATCH] mmc: stm32_sdmmc2: Use mmc_of_parse() to read host > capabilities >

Re: [PATCH v4 2/8] timer: Add helper for drivers using timebase fallback

2020-09-10 Thread Sean Anderson
On 9/10/20 9:38 AM, Simon Glass wrote: > On Wed, 9 Sep 2020 at 14:09, Sean Anderson wrote: >> >> This function is designed to be used when a timer used to be initialized by >> the cpu (e.g. RISC-V timers), but now is initialized by dm_timer_init. In >> such a case, the timer may prefer to use the

Re: [PATCH 1/1] test: do no assume hush parser in validate_empty()

2020-09-10 Thread Stephen Warren
On 9/10/20 4:09 AM, Heinrich Schuchardt wrote: > The environment variable test uses function validate_empty() to check that > a variable is not defined. If the hush parser is not enabled, we cannot > refer to a variable by $var_name but only by ${var_name}. Acked-by: Stephen Warren

Re: [PATCH v3 4/4] arm64: Trap non-PIE builds early if starting from wrong address

2020-09-10 Thread Michal Simek
On 10. 09. 20 15:50, Tom Rini wrote: > On Thu, Sep 10, 2020 at 03:38:25PM +0200, Michal Simek wrote: >> >> >> On 10. 09. 20 15:06, André Przywara wrote: >>> On 10/09/2020 13:38, Michal Simek wrote: On 09. 09. 20 19:07, Edgar E. Iglesias wrote: > From: "Edgar E. Iglesias"

Re: [PATCH 2/2] video: stm32_dsi: Convert to use APIs which support live DT

2020-09-10 Thread Yannick FERTRE
Reviewed-by: Yannick Fertré On 9/9/20 5:44 PM, Patrick Delaunay wrote: > Use ofnode_ or dev_ APIs instead of fdt_ and fdtdec_ APIs so that the > driver can support live DT. > > Signed-off-by: Patrick Delaunay > --- > > drivers/video/stm32/stm32_dsi.c | 3 +-- > 1 file changed, 1

Re: [PATCH 1/2] video: stm32_ltdc: Convert to use APIs which support live DT

2020-09-10 Thread Yannick FERTRE
Reviewed-by: Yannick Fertré On 9/9/20 5:44 PM, Patrick Delaunay wrote: > Use ofnode_ or dev_ APIs instead of fdt_ and fdtdec_ APIs so that the > driver can support live DT. > > Signed-off-by: Patrick Delaunay > --- > > drivers/video/stm32/stm32_ltdc.c | 3 +-- > 1 file changed, 1

chromebook_coral.dts: multiple FSP-S entries for same parameters

2020-09-10 Thread Wolfgang Wallner
Hi Simon, chromebook_coral.dts contains multiple entries of fsps,pcie-root-port-en and fsps,pcie-rp-hot-plug. I don't think this is intentional, as the code parsing the FSP-S settings will only use one of those settings. regards, Wolfgang -- 8<

[PATCH v3 8/8] IPQ40xx: Add USB nodes

2020-09-10 Thread Robert Marko
There are drivers to support built in USB controller and PHY-s now, so lets add the USB nodes to DTSI. Signed-off-by: Robert Marko Cc: Luka Perkov --- arch/arm/dts/qcom-ipq4019.dtsi | 76 ++ 1 file changed, 76 insertions(+) diff --git

[PATCH v3 7/8] usb: dwc3: Add Qualcomm DWC3 compatible string

2020-09-10 Thread Robert Marko
Lot of Qualcomm SoC-s use DWC3 controller for both USB2.0 and USB3.0 ports. Qualcomm has some custom config registers on top of the generic ones, but for host mode these are not needed. So lets add the neccessary compatible string. Signed-off-by: Robert Marko Cc: Luka Perkov ---

[PATCH v3 6/8] phy: add driver for Qualcomm IPQ40xx USB PHY

2020-09-10 Thread Robert Marko
Add a driver to setup the USB PHY-s on Qualcomm IPQ40xx series SoCs. The driver sets up HS and SS phys. Signed-off-by: Robert Marko Cc: Luka Perkov --- MAINTAINERS| 1 + drivers/phy/Kconfig| 6 ++ drivers/phy/Makefile | 1 +

[PATCH v3 4/8] reset: Add IPQ40xx reset controller driver

2020-09-10 Thread Robert Marko
On Qualcomm IPQ40xx SoC series, GCC clock IP also handles the resets. So since this will be needed by further drivers, lets add a driver for the reset controller. Signed-off-by: Robert Marko Cc: Luka Perkov --- MAINTAINERS | 2 + drivers/reset/Kconfig

[PATCH v3 2/8] IPQ40xx: clk: Use dt-bindings instead of hardcoding

2020-09-10 Thread Robert Marko
Its common to use dt-bindings instead of hard-coding clocks or resets. So lets use the imported Linux GCC bindings on IPQ40xx target. Signed-off-by: Robert Marko Cc: Luka Perkov --- arch/arm/dts/qcom-ipq4019.dtsi| 3 ++- arch/arm/mach-ipq40xx/clock-ipq4019.c | 4 +++- 2 files changed,

[PATCH v3 1/8] dt-bindings: clock: import Qualcomm IPQ4019 bindings

2020-09-10 Thread Robert Marko
Import Qualcomm IPQ4019 GCC bindings from Linux. This will enable using bindings instead of raw clock numbers both in the driver and DTS like Linux does. Signed-off-by: Robert Marko Cc: Luka Perkov --- MAINTAINERS | 1 +

[PATCH v3 3/8] IPQ40xx: Add SMEM support

2020-09-10 Thread Robert Marko
There is already existing driver for SMEM so lets enable it for IPQ40xx as well. Signed-off-by: Robert Marko Cc: Luka Perkov --- arch/arm/Kconfig | 2 ++ arch/arm/dts/qcom-ipq4019.dtsi | 5 + drivers/smem/Kconfig | 2 +- 3 files changed, 8 insertions(+), 1

[PATCH v3 5/8] IPQ40xx: Add reset controller support

2020-09-10 Thread Robert Marko
Since we have a driver for the reset controller, lets add the necessary node. Signed-off-by: Robert Marko Cc: Luka Perkov --- arch/arm/Kconfig | 1 + arch/arm/dts/qcom-ipq4019.dtsi | 9 + 2 files changed, 10 insertions(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig

[PATCH v3 0/8] IPQ40xx: Improve support

2020-09-10 Thread Robert Marko
This patch series builds on the previously merged basic Qualcomm IPQ40xx series support. v3 series drops custom USB driver and instead uses existing DWC3 generic driver. Signed-off-by: Robert Marko Cc: Luka Perkov Robert Marko (8): dt-bindings: clock: import Qualcomm IPQ4019 bindings

Re: [PATCH v2 7/9] usb: dwc3: Make PHY functions depend on CONFIG_USB_DWC3

2020-09-10 Thread Robert Marko
On Thu, Sep 10, 2020 at 3:30 PM Tom Rini wrote: > > On Tue, Sep 01, 2020 at 07:23:00PM +0200, Robert Marko wrote: > > > PHY handling functions should depend also on CONFIG_USB_DWC3 aka DM DWC3 > > version. > > Otherwise when using the non DM version with PHY subsystem enabled there > > will be

Re: [PATCH v2 8/9] usb: xhci: Add Qualcomm DWC3 xHCI driver

2020-09-10 Thread Robert Marko
On Thu, Sep 10, 2020 at 3:37 PM Marek Vasut wrote: > > On 9/10/20 3:30 PM, Tom Rini wrote: > > On Tue, Sep 01, 2020 at 07:23:01PM +0200, Robert Marko wrote: > > > >> Add driver for Qualcomm DWC3 based dual role xHCI USB controller. > >> Currently tested on IPQ40xx, but should support other

Re: [PATCH v2 0/8] IPQ40xx: Improve support

2020-09-10 Thread Robert Marko
On Thu, Sep 10, 2020 at 3:30 PM Tom Rini wrote: > > On Thu, Sep 10, 2020 at 01:09:00PM +0200, Robert Marko wrote: > > > This patch series builds on the previously merged basic > > Qualcomm IPQ40xx series support. > > > > v2 series drops custom USB driver and instead uses existing > > DWC3 generic

Re: [PATCH v3 4/4] arm64: Trap non-PIE builds early if starting from wrong address

2020-09-10 Thread Tom Rini
On Thu, Sep 10, 2020 at 03:38:25PM +0200, Michal Simek wrote: > > > On 10. 09. 20 15:06, André Przywara wrote: > > On 10/09/2020 13:38, Michal Simek wrote: > >> > >> > >> On 09. 09. 20 19:07, Edgar E. Iglesias wrote: > >>> From: "Edgar E. Iglesias" > >>> > >>> Trap non-PIE builds early if the

Re: [PATCH] ARM: zynq: Add Z-turn board V5

2020-09-10 Thread Michal Simek
On 07. 09. 20 18:11, agrive...@deutnet.info wrote: > From: Alexandre GRIVEAUX > > Adding Z-turn board V5 to resolve the change between: > > "Z-TURNBOARD_schematic.pdf" schematics state version 1 to 4 has Atheros AR8035 > "Z-Turn_Board_sch_V15_20160303.pdf" schematics state version 5 has

Re: [PATCH v4 4/8] dt-bindings: arm: SCMI bindings documentation

2020-09-10 Thread Simon Glass
On Wed, 9 Sep 2020 at 10:44, Etienne Carriere wrote: > > Dump SCMI DT bindings documentation from Linux kernel source > tree v5.8-rc1. > > Signed-off-by: Etienne Carriere > Reviewed-by: Simon Glass > --- > > No change in v4. > > No change in v3. > > Changes in v2: > - No change but added R-b

Re: [PATCH v4 2/8] timer: Add helper for drivers using timebase fallback

2020-09-10 Thread Simon Glass
On Wed, 9 Sep 2020 at 14:09, Sean Anderson wrote: > > This function is designed to be used when a timer used to be initialized by > the cpu (e.g. RISC-V timers), but now is initialized by dm_timer_init. In > such a case, the timer may prefer to use the clocks and clock-frequency > properties, but

Re: [PATCH v4 8/8] firmware: smci: sandbox test for SCMI reset controllers

2020-09-10 Thread Simon Glass
On Wed, 9 Sep 2020 at 10:44, Etienne Carriere wrote: > > Add tests for SCMI reset controllers. A test device driver > sandbox-scmi_devices.c is used to get reset resources, allowing further > resets manipulation. > > Change sandbox-smci_agent to emulate 1 reset controller exposed through > an

Re: [PATCH v4 3/8] firmware: scmi: support Arm SMCCC transport

2020-09-10 Thread Simon Glass
On Wed, 9 Sep 2020 at 10:44, Etienne Carriere wrote: > > This change implements a SMCCC transport for SCMI exchanges. This > implementation follows the Linux kernel as references implementation > for SCMI message processing, using the SMT format for communication > channel meta-data. > > Use of

Re: [PATCH v4 7/8] reset: add reset controller driver for SCMI agents

2020-09-10 Thread Simon Glass
On Wed, 9 Sep 2020 at 10:44, Etienne Carriere wrote: > > This change introduces a reset controller driver for SCMI agent devices. > When SCMI agent and SCMI reset domain drivers are enabled, SCMI agent > binds a reset controller device for each SCMI reset domain protocol > devices enabled in the

Re: [PATCH v4 5/8] clk: add clock driver for SCMI agents

2020-09-10 Thread Simon Glass
On Wed, 9 Sep 2020 at 10:44, Etienne Carriere wrote: > > This change introduces a clock driver for SCMI agent devices. When > SCMI agent and SCMI clock drivers are enabled, SCMI agent binds a > clock device for each SCMI clock protocol devices enabled in the FDT. > > SCMI clock driver is embedded

Re: [PATCH v3 4/4] arm64: Trap non-PIE builds early if starting from wrong address

2020-09-10 Thread Michal Simek
On 10. 09. 20 15:06, André Przywara wrote: > On 10/09/2020 13:38, Michal Simek wrote: >> >> >> On 09. 09. 20 19:07, Edgar E. Iglesias wrote: >>> From: "Edgar E. Iglesias" >>> >>> Trap non-PIE builds early if the start address doesn't match >>> between run-time and link-time. This will trap the

Re: [PATCH v4 6/8] firmware: scmi: sandbox test for SCMI clocks

2020-09-10 Thread Simon Glass
On Wed, 9 Sep 2020 at 10:44, Etienne Carriere wrote: > > Add tests for SCMI clocks. A test device driver sandbox-scmi_devices.c > is used to get clock resources, allowing further clock manipulation. > > Change sandbox-smci_agent to emulate 3 clocks exposed through 2 agents. > Add DM test

Re: [PATCH v2] time: Fix get_ticks being non-monotonic

2020-09-10 Thread Simon Glass
On Wed, 9 Sep 2020 at 14:25, Sean Anderson wrote: > > get_ticks does not always succeed. Sometimes it can be called before the > timer has been initialized. If it does, it returns a negative errno. > This causes the timer to appear non-monotonic, because the value will > become much smaller after

Re: [PATCH v4 2/8] firmware: scmi: mailbox/smt agent device

2020-09-10 Thread Simon Glass
On Wed, 9 Sep 2020 at 10:44, Etienne Carriere wrote: > > This change implements a mailbox transport using SMT format for SCMI > exchanges. This implementation follows the Linux kernel and > SCP-firmware [1] as references implementation for SCMI message > processing using SMT format for

Re: [PATCH 2/2] video: stm32_dsi: Convert to use APIs which support live DT

2020-09-10 Thread Simon Glass
On Wed, 9 Sep 2020 at 09:44, Patrick Delaunay wrote: > > Use ofnode_ or dev_ APIs instead of fdt_ and fdtdec_ APIs so that the > driver can support live DT. > > Signed-off-by: Patrick Delaunay > --- > > drivers/video/stm32/stm32_dsi.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-)

Re: [PATCH] gpio: Convert to use APIs which support live DT

2020-09-10 Thread Simon Glass
On Wed, 9 Sep 2020 at 10:26, Patrick Delaunay wrote: > > Use ofnode_ or dev_ APIs instead of fdt_ and fdtdec_ APIs so that the > driver can support live DT. > > Signed-off-by: Patrick Delaunay > --- > > drivers/gpio/gpio-uclass.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-)

  1   2   >