Re: [PATCH 1/1] espresso7420: remove unused symbol CONFIG_DEFAULT_CONSOLE

2020-10-14 Thread Minkyu Kang
Dear Heinrich Schuchardt, On Mon, 7 Sep 2020 at 14:13, Minkyu Kang wrote: > Dear Heinrich Schuchardt, > > On 07/09/2020 04:33, Heinrich Schuchardt wrote: > > On 9/6/20 9:00 PM, Andre Heider wrote: > >> On 05/09/2020 12:02, Heinrich Schuchardt wrote: > >>> Symbol CONFIG_DEFAULT_CONSOLE in

Re: [PATCH 1/4] treewide: configs: get rid of unused CONFIG_DEFAULT_CONSOLE

2020-10-14 Thread Minkyu Kang
Dear Andre Heider, On Wed, 23 Sep 2020 at 03:59, Simon Glass wrote: > On Thu, 17 Sep 2020 at 00:52, Andre Heider wrote: > > > > These are all unused. > > > > Signed-off-by: Andre Heider > > --- > > This sets completely removes CONFIG_DEFAULT_CONSOLE from the tree. > > Only compile time

[PATCH 4/4] serial: serial_xen: add DEBUG_UART support

2020-10-14 Thread AKASHI Takahiro
By using a hypervisor call, we can implement DEBUG_UART on xen. This will allow us to see messages even earlier than serial_init(). Signed-off-by: AKASHI Takahiro --- drivers/serial/Kconfig | 14 +++--- drivers/serial/serial_xen.c | 20 2 files changed, 31

[PATCH 2/4] arch: arm/xen: add putc() for debugging

2020-10-14 Thread AKASHI Takahiro
This new function, xen_debug_putc(), is intended to be used to enable CONFIG_DEBUG_UART on xen guest. Please note that the underlying functionality in Xen is available only when Xen is configured with !NDEBUG but is much simpler than a generic HYPERVISOR_console_io(). Signed-off-by: AKASHI

[PATCH 1/4] serial: serial_xen: print U-Boot banner and others

2020-10-14 Thread AKASHI Takahiro
At present, DM_FLAG_PRE_RELOC is set only if !OF_CONTROL. It doesn't make sense for this para-virtualized driver. With this patch applied, you will be able to see early boot messages: U-Boot 2020.10-1-ge442e71a6c52-dirty (Oct 15 2020 - 11:02:25 +0900) xenguest Xen virtual CPU Model:

[PATCH 0/4] xen: improve console outputs

2020-10-14 Thread AKASHI Takahiro
This patch series improves the behavior and functionality of console output on Xen: Patch#1: allow for U-Boot banner Patch#2-4: enable DEBUG_UART (or early printf) AKASHI Takahiro (4): serial: serial_xen: print U-Boot banner and others arch: arm/xen: add putc() for debugging xen: add

[PATCH 3/4] xen: add definitions for console_io

2020-10-14 Thread AKASHI Takahiro
Those definitions added are used with HYPERVISOR_console_io(). Signed-off-by: AKASHI Takahiro --- include/xen/interface/xen.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/xen/interface/xen.h b/include/xen/interface/xen.h index eec8ab75b9ce..a7c8ed781b34 100644 ---

Missing license/copyright notice in zlib.h

2020-10-14 Thread Tan, Ley Foon
Hi Mike All *.c and *.h files under https://gitlab.denx.de/u-boot/u-boot/-/blob/master/lib/zlib/ have header statement "For conditions of distribution and use, see copyright notice in zlib.h". But, there is no copyright notice in zlib.h. Are you miss adding it? Regards Ley Foon

RE: [v3 0/2] Refactor AST2500 reset control

2020-10-14 Thread ChiaWei Wang
Hi Tom, The patches has been rebased onto the up-to-date U-Boot master. A makefile error is also fixed in the revised version and verified with an AST2500 EVB. Thanks, Chiawei > -Original Message- > From: ChiaWei Wang > Sent: Thursday, October 15, 2020 10:25 AM > To:

[v3 0/2] Refactor AST2500 reset control

2020-10-14 Thread Chia-Wei, Wang
This patch series refactors the reset method to use the System Control Unit (SCU) reset control for simplicity. In addition, the naming of reset driver and Kconfig option is also refined for future consistency. v3: - Fix Makefile to adapt to the renamed reset driver file v2: - Rebase

[v3 2/2] cosmetic: reset: ast2500: Rename driver and configs

2020-10-14 Thread Chia-Wei, Wang
1. Rename AST2500 reset driver from ast2500-reset.c to reset-ast2500.c 2. Rename AST2500 reset kconfig option from AST2500_RESET to RESET_AST2500 Signed-off-by: Chia-Wei, Wang Reviewed-by: Ryan Chen --- drivers/reset/Kconfig | 2 +- drivers/reset/Makefile

[v3 1/2] reset: ast2500: Use SCU for reset control

2020-10-14 Thread Chia-Wei, Wang
The System Control Unit (SCU) controller of Aspeed SoCs provides the reset control for each peripheral. This patch refactors the reset method to leverage the SCU reset control. Thus the driver dependency on watchdog including dedicated WDT API and reset flag encoding can be eliminated. The

Re: [PATCH v2] configs: mt8512: enable device mode of mtu3 explicitly

2020-10-14 Thread Chunfeng Yun
On Wed, 2020-10-14 at 15:31 +0200, Marek Vasut wrote: > On 10/14/20 3:03 PM, Chunfeng Yun wrote: > > On Wed, 2020-10-14 at 15:01 +0200, Marek Vasut wrote: > >> On 10/14/20 2:54 PM, Chunfeng Yun wrote: > >>> Set CONFIG_USB_MTU3_GADGET=y to enable device mode explicitly, > >>> try to avoid build

Re: [PATCH v9] usb: add MediaTek USB3 DRD driver

2020-10-14 Thread Chunfeng Yun
Hi Marek, On Wed, 2020-10-14 at 15:03 +0200, Marek Vasut wrote: > On 10/14/20 2:29 PM, Chunfeng Yun wrote: > > On Wed, 2020-10-14 at 12:56 +0200, Marek Vasut wrote: > >> On 10/14/20 10:50 AM, Chunfeng Yun wrote: > >>> This patch adds support for the MediaTek USB3 DRD controller, > >>> its host

Re: [PATCH v2] configs: mt8512: enable device mode of mtu3 explicitly

2020-10-14 Thread Chunfeng Yun
On Wed, 2020-10-14 at 15:31 +0200, Marek Vasut wrote: > On 10/14/20 3:03 PM, Chunfeng Yun wrote: > > On Wed, 2020-10-14 at 15:01 +0200, Marek Vasut wrote: > >> On 10/14/20 2:54 PM, Chunfeng Yun wrote: > >>> Set CONFIG_USB_MTU3_GADGET=y to enable device mode explicitly, > >>> try to avoid build

Re: Please pull u-boot-marvell/master

2020-10-14 Thread Tom Rini
On Wed, Oct 14, 2020 at 10:19:26AM +0200, Stefan Roese wrote: > Hi Tom, > > please pull the first series of Marvell MVEBU related patches. Here the > summary log: > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

[PATCH v2] clk: ccf: replace the get_rate helper

2020-10-14 Thread Dario Binacchi
The 12d152620d commit fixed the get_rate helper because the set_parent one did not re-parent the clock device to the new parent. The 4d139f3838 commit allows you to remove this workaround by calling the clk_get_parent_rate routine. Signed-off-by: Dario Binacchi --- Changes in v2: - Replace

Re: [PATCH] video: rockchip: Add missing dpcd_write() call to link_train_ce()

2020-10-14 Thread Alper Nebi Yasak
On 14/10/2020 22:31, Tom Rini wrote: > On Wed, Oct 14, 2020 at 09:58:28PM +0300, Alper Nebi Yasak wrote: >> On 14/10/2020 18:24, Tom Rini wrote: >>> Ugh. In so far as anything can be re-licensed, who did it all >>> originally? I suspect coreboot isn't interested in 2.0+ but we can do >>>

Re: [PATCH] video: rockchip: Add missing dpcd_write() call to link_train_ce()

2020-10-14 Thread Tom Rini
On Wed, Oct 14, 2020 at 09:58:28PM +0300, Alper Nebi Yasak wrote: > On 14/10/2020 18:24, Tom Rini wrote: > > On Tue, Oct 13, 2020 at 09:54:55AM -0600, Simon Glass wrote: > >> I think it is OK to change the file to GPL2. I'm not sure if changing > >> coreboot parts to 2.0+ is an option. I believe

Re: [PATCH] video: rockchip: Add missing dpcd_write() call to link_train_ce()

2020-10-14 Thread Simon Glass
Hi, On Wed, 14 Oct 2020 at 09:24, Tom Rini wrote: > > On Tue, Oct 13, 2020 at 09:54:55AM -0600, Simon Glass wrote: > > Hi Alper, > > > > On Tue, 13 Oct 2020 at 09:01, Alper Nebi Yasak > > wrote: > > > > > > On 12/10/2020 06:34, Simon Glass wrote: > > > > On Tue, 6 Oct 2020 at 14:40, Alper Nebi

Re: [PATCH] video: rockchip: Add missing dpcd_write() call to link_train_ce()

2020-10-14 Thread Alper Nebi Yasak
On 14/10/2020 18:24, Tom Rini wrote: > On Tue, Oct 13, 2020 at 09:54:55AM -0600, Simon Glass wrote: >> I think it is OK to change the file to GPL2. I'm not sure if changing >> coreboot parts to 2.0+ is an option. I believe the use of 2+ in U-Boot >> is for fairly narrow reasons, but I'm not sure

Re: [PATCH v4 07/27] rockchip: Enable building a SPI ROM image on bob

2020-10-14 Thread Hugh Cole-Baker
Hello, > On 11 Oct 2020, at 16:39, Emmanuel Vadot wrote: > > > Hi Simon, > > On Sun, 19 Jul 2020 13:55:58 -0600 > Simon Glass wrote: > >> Add a simple binman config and enable CONFIG_HAS_ROM so that U-Boot >> produces a ROM for bob. >> >> Signed-off-by: Simon Glass >> --- >> >> Changes in

Re: [PATCH v5 2/3] test: Add PStore command tests

2020-10-14 Thread Tom Rini
On Fri, Mar 20, 2020 at 10:59:23AM +0100, Frédéric Danis wrote: > Add PStore command to sandbox and sandbox64 defconfigs. > Add test checking: > - 'pstore display' of all records > - 'pstore display' only the 2nd dump record > - 'pstore save' of all records > > Signed-off-by: Frédéric Danis >

Re: [PATCH v2] net: e1000: add defaults for i210 TX/RX PBSIZE

2020-10-14 Thread Tom Rini
On Tue, Oct 06, 2020 at 04:08:35PM +0200, Christian Gmeiner wrote: > Set the defaults on probe for the packet buffer size registers > for the i210. > > The TX/RX PBSIZE register of the i210 resets to its default value > only at power-on - see Intel Ethernet Controller I210 Datasheet rev 3.5 >

Re: [PATCH v2] doc: Sphinx.override_domain() deprecated

2020-10-14 Thread Tom Rini
On Tue, Oct 06, 2020 at 05:56:59PM +0200, Heinrich Schuchardt wrote: > Sphinx.override_domain() is deprecated since Sphinx 1.8 and removed in > Sphinx 3. > > Use Sphinx.add_domain(, override=True) instead. > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom

Re: [PATCH v5 3/3] cmd: Fixup DT to pass PStore Ramoops parameters

2020-10-14 Thread Tom Rini
On Fri, Mar 20, 2020 at 10:59:24AM +0100, Frédéric Danis wrote: > To simplify configuration and keep synchronized the PStore/Ramoops between > U-Boot and the Linux kernel, this commit dynamically adds the Ramoops > parameters defined in the U-Boot session to the Device Tree. > > Signed-off-by:

Re: [PATCH v5 1/3] cmd: Add command to display or save Linux PStore dumps

2020-10-14 Thread Tom Rini
On Fri, Mar 20, 2020 at 10:59:22AM +0100, Frédéric Danis wrote: > This patch adds a new pstore command allowing to display or save ramoops > logs (oops, panic, console, ftrace and user) generated by a previous > kernel crash. > PStore parameters can be set in U-Boot configuration file, or at

Re: [PATCH v2 1/2] treewide: Fix wrong CONFIG_IS_ENABLED() handling

2020-10-14 Thread Tom Rini
On Mon, Oct 05, 2020 at 09:57:29AM +0300, Alper Nebi Yasak wrote: > CONFIG_IS_ENABLED() takes the kconfig name without the CONFIG_ prefix, > e.g. CONFIG_IS_ENABLED(CLK) for CONFIG_CLK. Some of these were being > fixed every now and then, see: > > commit 71ba2cb0d678 ("board: stm32mp1:

Re: [PATCH v2 2/2] checkpatch.pl: Make CONFIG_IS_ENABLED(CONFIG_*) an error

2020-10-14 Thread Tom Rini
On Mon, Oct 05, 2020 at 09:57:30AM +0300, Alper Nebi Yasak wrote: > CONFIG_IS_ENABLED() takes the kconfig name without the CONFIG_ prefix, > e.g. CONFIG_IS_ENABLED(CLK) for CONFIG_CLK. Make including the prefix > an error in checkpatch.pl so calls in the wrong format aren't > accidentally

Re: [PATCH v3 1/3] global_data.h: convert GD_FLG_* to enum

2020-10-14 Thread Tom Rini
On Mon, Oct 05, 2020 at 08:30:08AM +0200, Heinrich Schuchardt wrote: > Sphinx documentation is only available for enums not for #defines. > Anyway it is better to keep related definitions in an enum. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Simon Glass Applied to u-boot/master,

Re: [PATCH 2/2] spl: Add SPL_SERIAL as requirement for SDP_USB_SDP

2020-10-14 Thread Tom Rini
On Tue, Sep 29, 2020 at 11:14:29PM -0300, Otavio Salvador wrote: > The USB SDP protocol require the SPL serial support to allow the build > to succeed. > > Signed-off-by: Otavio Salvador Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v3 2/3] global_data.h: add Sphinx documentation

2020-10-14 Thread Tom Rini
On Mon, Oct 05, 2020 at 08:30:09AM +0200, Heinrich Schuchardt wrote: > Add the missing Sphinx documentation for struct global_data and > gd_board_type(). > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [PATCH v3 3/3] doc: global data pointer

2020-10-14 Thread Tom Rini
On Mon, Oct 05, 2020 at 08:30:10AM +0200, Heinrich Schuchardt wrote: > Add the description of the global data pointer to the generated HTML > documentation. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [PATCH 1/1] bootm: add {arch,board}_preboot_os() to bootm.h

2020-10-14 Thread Tom Rini
On Tue, Sep 15, 2020 at 01:58:11AM +0200, Heinrich Schuchardt wrote: > Functions that are used in multiple C modules should be defined in an > include. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Michael Walle Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [PATCH v2 3/3] cmd/button: return button status

2020-10-14 Thread Tom Rini
On Mon, Sep 14, 2020 at 12:50:56PM +0200, Heinrich Schuchardt wrote: > To make the button command useful in a shell script it should return the > status of the button: > > * 0 (true) - pressed, on > * 1 (false) - not pressed, off > > The button command takes only one argument. Correct maxargs.

Re: [PATCH 1/1] arm: enable DM_RNG on QEMU by default

2020-10-14 Thread Tom Rini
On Sat, Sep 19, 2020 at 07:55:35AM +0200, Heinrich Schuchardt wrote: > The EFI_RNG_PROTOCOL is needed for address randomization in Linux. > We should provide it by default on QEMU. > > Reported-by: François Ozog > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom

Re: [PATCH v2 1/3] test: sharpen button label unit test

2020-10-14 Thread Tom Rini
On Mon, Sep 14, 2020 at 12:50:54PM +0200, Heinrich Schuchardt wrote: > Using different strings for the device tree node labels and the label > property of buttons sharpens the button label unit test. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Philippe Reynes Applied to

Re: [PATCH v2 2/3] drivers: gpio: keep output value for input on sandbox

2020-10-14 Thread Tom Rini
On Mon, Sep 14, 2020 at 12:50:55PM +0200, Heinrich Schuchardt wrote: > For testing purposes keep the output value when switching to input. > This allows us to manipulate the input value via the gpio command. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Philippe Reynes Applied to

Re: [PATCH] spl: Avoid printing boot device if silent console is enabled

2020-10-14 Thread Tom Rini
On Thu, Sep 03, 2020 at 02:25:15PM -0300, Otavio Salvador wrote: > Signed-off-by: Otavio Salvador > Reviewed-by: Tom Rini > Reviewed-by: Stefan Roese Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] cmd: fat: Use do_save() for fatwrite

2020-10-14 Thread Tom Rini
On Tue, Sep 29, 2020 at 08:13:00AM +0100, Lad Prabhakar wrote: > do_save() function defined in fs.c also supports FAT file system > re-use the same for fatwrite command. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Biju Das > --- > cmd/fat.c | 43 +--

Re: [PATCH 1/2] mmc: remove duplicate mmc_get_env_dev() implementations

2020-10-14 Thread Tom Rini
On Tue, Aug 04, 2020 at 10:05:46AM +0100, David Woodhouse wrote: > Since it's so trivial I could just about tolerate this when there were only > two copies of it. But now there are about to be three. > > Signed-off-by: David Woodhouse Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [PATCH 2/2] env/ext4.c: allow loading from an EXT4 partition on the MMC boot device

2020-10-14 Thread Tom Rini
On Tue, Aug 04, 2020 at 10:05:47AM +0100, David Woodhouse wrote: > This parallels what I added for FAT in commit 6731bef6966, allowing the > environment to be found in a specific partition on the device that the > board's mmc_get_env_dev() returns. On the Banana Pi R2 that means the > device that

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

2020-10-14 Thread Tom Rini
On Wed, Sep 09, 2020 at 04:24:56PM -0400, 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

[PATCH v3 2/2] clk: renesas: Add R8A774E1 clock tables

2020-10-14 Thread Biju Das
This sync's the RZ/G2H clock tables with mainline linux 5.9 commit bbf5c979011a ("Linux 5.9"). Signed-off-by: Biju Das Reviewed-by: Lad Prabhakar --- V2->V3 * Synced with Linux 5.9. * Updated commit message. V1->V2 * Rebased to u-boot-sh master. --- arch/arm/mach-rmobile/Kconfig.64

[PATCH v3 1/2] clk: renesas: Add R8A774B1 clock tables

2020-10-14 Thread Biju Das
This sync's the RZ/G2N clock tables with mainline linux 5.9 commit bbf5c979011a ("Linux 5.9"). Signed-off-by: Biju Das Reviewed-by: Lad Prabhakar --- V2->V3 * Synced with Linux 5.9. * Updated commit message. V1->V2 * Rebased to u-boot-sh master. --- arch/arm/mach-rmobile/Kconfig.64

[PATCH v3 0/2] Add Clock driver support for RZ/G2[HN] SoC's

2020-10-14 Thread Biju Das
Add Clock driver support for RZ/G2[HN] SoC's. This patches are based on u-boot-sh master. Biju Das (2): clk: renesas: Add R8A774B1 clock tables clk: renesas: Add R8A774E1 clock tables arch/arm/mach-rmobile/Kconfig.64| 2 + drivers/clk/renesas/Kconfig | 12 +

Re: [PATCH] mtd: spi-nor-ids: Add Winbond W25M512JV flash entry

2020-10-14 Thread Lad, Prabhakar
On Thu, Sep 17, 2020 at 3:50 PM Lad Prabhakar wrote: > > Add Winbond W25M512JV flash device description. > > Linux already has the flash entry present. A snippet below: > { "w25m512jv", INFO(0xef7119, 0, 64 * 1024, 1024...}, > > Signed-off-by: Lad Prabhakar > Reviewed-by: Biju Das > --- >

Re: [PATCH] env: sf: add support for env erase

2020-10-14 Thread Harry Waschkeit
 On 10/9/20 7:00 PM, Sean Anderson wrote: On 10/9/20 12:43 PM, Harry Waschkeit wrote: Hi Sean, thanks for your try and sorry for the inconvenience my beginner's mistakes have caused :-( It is definitely no good idea to use copy with patch data, I should have guessed that beforehand ... You

[PATCH v3] pinctrl: renesas: pfc-r8a77990: Sync PFC tables with Linux 5.9

2020-10-14 Thread Lad Prabhakar
Sync the R8A77990 SoC PFC tables with Linux 5.9 , commit bbf5c979011a. Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- v2->v3 * Synced with Linux 5.9 instead of 5.8. * Updated commit message. v1->v2 * Updated commit message * Synced with Linux 5.8 instead of 5.9.rc4 v1:

Re: [PATCH V2 00/12] imx: doc update

2020-10-14 Thread Tom Rini
On Wed, Oct 14, 2020 at 05:11:58PM +0800, Peng Fan wrote: > V2: > Migrate README to doc/board/freescale > patch 1 is not changed. Thanks for doing this! -- Tom signature.asc Description: PGP signature

Re: [PATCH] video: rockchip: Add missing dpcd_write() call to link_train_ce()

2020-10-14 Thread Tom Rini
On Tue, Oct 13, 2020 at 09:54:55AM -0600, Simon Glass wrote: > Hi Alper, > > On Tue, 13 Oct 2020 at 09:01, Alper Nebi Yasak > wrote: > > > > On 12/10/2020 06:34, Simon Glass wrote: > > > On Tue, 6 Oct 2020 at 14:40, Alper Nebi Yasak > > > wrote: > > >> > > >> Found this by comparing it to the

[PATCH 1/3] dm: core: Add support for getting node from aliases

2020-10-14 Thread Michal Simek
Add support for getting a node/property from aliases. The similar functionality is provided for chosen node and this implemenatation is copy of it. Signed-off-by: Michal Simek --- drivers/core/ofnode.c | 22 ++ include/dm/ofnode.h | 22 ++

[PATCH 3/3] xilinx: board: Add support for additional card detection

2020-10-14 Thread Michal Simek
The most of Xilinx evaluation boards have FMC connectors which contain small eeprom for card identification. That's why read content of eeprom and record it. Also generate cardX_ variables for easier script handling. Signed-off-by: Michal Simek --- board/xilinx/common/board.c | 85

[PATCH 0/3] xilinx: board: Add support for board eeproms

2020-10-14 Thread Michal Simek
Hi, Based on discussion with Rob we should be using nvmem alias to pointing to eeprom which stores information about device. ZynqMP boards are using format which is based on offset. The code is reading it and setup environment variables based on it. They can be used within scripts to automate

[PATCH 2/3] xilinx: board: Read the whole eeprom not just offset

2020-10-14 Thread Michal Simek
Starts to use new way how eeproms should be referenced. Reference is done via nvmem alias nodes. When this new way is specified code itself read the eeprom and decode xilinx legacy format and fill struct xilinx_board_description. Then based on information present there board_* variables are setup.

Re: [PATCH v2] configs: mt8512: enable device mode of mtu3 explicitly

2020-10-14 Thread Marek Vasut
On 10/14/20 3:03 PM, Chunfeng Yun wrote: > On Wed, 2020-10-14 at 15:01 +0200, Marek Vasut wrote: >> On 10/14/20 2:54 PM, Chunfeng Yun wrote: >>> Set CONFIG_USB_MTU3_GADGET=y to enable device mode explicitly, >>> try to avoid build error: >>> "undefined reference to

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

2020-10-14 Thread Pali Rohár
On Wednesday 14 October 2020 10:45:33 Pali Rohár wrote: > On Wednesday 14 October 2020 10:37:57 Andre Heider wrote: > > On 14/10/2020 10:21, Pali Rohár wrote: > > > > > > > > > > > diff --git a/doc/README.marvell b/doc/README.marvell > > > > > index 5416bc3035..be07f31f8c 100644 > > > > > ---

Re: [PATCH v2 05/22] log: Use CONFIG_IS_ENABLED() for LOG_TEST

2020-10-14 Thread Simon Glass
Hi Sean, On Mon, 12 Oct 2020 at 10:56, Sean Anderson wrote: > > On 10/11/20 11:35 PM, Simon Glass wrote: > > On Sat, 10 Oct 2020 at 13:43, Sean Anderson wrote: > >> > >> Checkpatch complains about using #ifdef for CONFIG variables. > >> > >> Signed-off-by: Sean Anderson > >> --- > >> > >> (no

[PATCH] mx6: peripheral clock from oscillator

2020-10-14 Thread Jorge Ramirez-Ortiz
In order to be able to run the I2C bus at 400Khz, the chip errata[1] recommends that the peripheral clock runs out of the 24MHz oscillator. [1] Rev 2, 10/2019, ERR007805 Signed-off-by: Jorge Ramirez-Ortiz --- arch/arm/mach-imx/mx6/soc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH 03/32] x86: Add a layout for Chrome OS verified boot

2020-10-14 Thread Simon Glass
Hi Bin, On Sun, 27 Sep 2020 at 22:26, Simon Glass wrote: > > Add definitions for part of the vboot context used with verified boot. > > Signed-off-by: Simon Glass > --- > > arch/x86/include/asm/acpi/vbnv_layout.h | 38 + > 1 file changed, 38 insertions(+) > create mode

Re: [PATCH v9] usb: add MediaTek USB3 DRD driver

2020-10-14 Thread Marek Vasut
On 10/14/20 2:29 PM, Chunfeng Yun wrote: > On Wed, 2020-10-14 at 12:56 +0200, Marek Vasut wrote: >> On 10/14/20 10:50 AM, Chunfeng Yun wrote: >>> This patch adds support for the MediaTek USB3 DRD controller, >>> its host side is based on xHCI, this driver supports device mode >>> and host mode. >>

Re: [PATCH v2] configs: mt8512: enable device mode of mtu3 explicitly

2020-10-14 Thread Chunfeng Yun
On Wed, 2020-10-14 at 15:01 +0200, Marek Vasut wrote: > On 10/14/20 2:54 PM, Chunfeng Yun wrote: > > Set CONFIG_USB_MTU3_GADGET=y to enable device mode explicitly, > > try to avoid build error: > > "undefined reference to `dm_usb_gadget_handle_interrupts'" > > > > Fixes: 764751784727 ("configs:

Re: [PATCH v2] configs: mt8512: enable device mode of mtu3 explicitly

2020-10-14 Thread Marek Vasut
On 10/14/20 2:54 PM, Chunfeng Yun wrote: > Set CONFIG_USB_MTU3_GADGET=y to enable device mode explicitly, > try to avoid build error: > "undefined reference to `dm_usb_gadget_handle_interrupts'" > > Fixes: 764751784727 ("configs: mt8512: enable fastboot and USB host related > configs") Should I

[PATCH v2] configs: mt8512: enable device mode of mtu3 explicitly

2020-10-14 Thread Chunfeng Yun
Set CONFIG_USB_MTU3_GADGET=y to enable device mode explicitly, try to avoid build error: "undefined reference to `dm_usb_gadget_handle_interrupts'" Fixes: 764751784727 ("configs: mt8512: enable fastboot and USB host related configs") Signed-off-by: Chunfeng Yun --- v2: change fixes info

Re: [PATCH] configs: mt8512: enable device mode of mtu3 explicitly

2020-10-14 Thread Chunfeng Yun
On Wed, 2020-10-14 at 20:33 +0800, Bin Meng wrote: > On Wed, Oct 14, 2020 at 8:24 PM Chunfeng Yun > wrote: > > > > Set CONFIG_USB_MTU3_GADGET=y to enable it explicitly, > > try to avoid build error: > > "undefined reference to `dm_usb_gadget_handle_interrupts'" > > > > fixes: 311412ead0

Re: [PATCH v2] drivers: serial: probe all uart devices

2020-10-14 Thread Stefan Roese
Hi Vabhav, On 14.10.20 13:15, Vabhav Sharma (OSS) wrote: Hi Stefan, Sorry for delayed reply, Occupied with high priority task -Original Message- From: Stefan Roese Sent: Wednesday, September 30, 2020 10:46 AM To: Vabhav Sharma (OSS) ; andre.przyw...@arm.com; u-boot@lists.denx.de;

Re: [PATCH] configs: mt8512: enable device mode of mtu3 explicitly

2020-10-14 Thread Bin Meng
On Wed, Oct 14, 2020 at 8:24 PM Chunfeng Yun wrote: > > Set CONFIG_USB_MTU3_GADGET=y to enable it explicitly, > try to avoid build error: > "undefined reference to `dm_usb_gadget_handle_interrupts'" > > fixes: 311412ead0 ("configs: mt8512: enable fastboot and USB host related > configs") This

Re: [PATCH v9] usb: add MediaTek USB3 DRD driver

2020-10-14 Thread Chunfeng Yun
On Wed, 2020-10-14 at 12:56 +0200, Marek Vasut wrote: > On 10/14/20 10:50 AM, Chunfeng Yun wrote: > > This patch adds support for the MediaTek USB3 DRD controller, > > its host side is based on xHCI, this driver supports device mode > > and host mode. > > This patch doesn't seem to apply to

RE: [PATCH v2] drivers: serial: probe all uart devices

2020-10-14 Thread Vabhav Sharma (OSS)
Hi Simon, Apology for delayed reply, Got occupied due to other business deliverables > -Original Message- > From: Simon Glass > Sent: Wednesday, September 30, 2020 10:15 PM > To: Vabhav Sharma (OSS) > Cc: Andre Przywara ; U-Boot Mailing List b...@lists.denx.de>; Stefan Roese ; Vabhav

RE: [PATCH v2] drivers: serial: probe all uart devices

2020-10-14 Thread Vabhav Sharma (OSS)
Hi Stefan, Sorry for delayed reply, Occupied with high priority task > -Original Message- > From: Stefan Roese > Sent: Wednesday, September 30, 2020 10:46 AM > To: Vabhav Sharma (OSS) ; > andre.przyw...@arm.com; u-boot@lists.denx.de; s...@chromium.org > Cc: Vabhav Sharma > Subject: Re:

Re: [PATCH v3 00/27] Add DM support for omap PWM backlight

2020-10-14 Thread Felix Brack
On 11.10.20 14:13, Dario Binacchi wrote: > The series was born from the need to manage the PWM backlight of the > display connected to my beaglebone board. To hit the target, I had to > develop drivers for PWM management which in turn relied on drivers for > managing timers and clocks, all

Re: [PATCH v3] net: Add NIC controller driver for OcteonTX2

2020-10-14 Thread Stefan Roese
On 26.08.20 14:37, Stefan Roese wrote: From: Suneel Garapati Adds support for Network Interface controllers found on OcteonTX2 SoC platforms. Signed-off-by: Suneel Garapati Signed-off-by: Stefan Roese Cc: Joe Hershberger --- Series-changes: 3 - Add SoB from Stefan - Remove spdx.org line

[PATCH 2/3] rockchip: efuse: add support for RK3328 non-secure efuse

2020-10-14 Thread Jonas Karlman
From: Joseph Chen Extend rockchip efuse driver with support for RK3328 non-secure efuse. Signed-off-by: Joseph Chen Signed-off-by: Jonas Karlman --- drivers/misc/rockchip-efuse.c | 67 +++ 1 file changed, 67 insertions(+) diff --git

[PATCH] configs: mt8512: enable device mode of mtu3 explicitly

2020-10-14 Thread Chunfeng Yun
Set CONFIG_USB_MTU3_GADGET=y to enable it explicitly, try to avoid build error: "undefined reference to `dm_usb_gadget_handle_interrupts'" fixes: 311412ead0 ("configs: mt8512: enable fastboot and USB host related configs") Signed-off-by: Chunfeng Yun --- configs/mt8512_bm1_emmc_defconfig | 1

[PATCH 3/3] rockchip: dts: rk3288: enable efuse node

2020-10-14 Thread Jonas Karlman
Enable efuse node so that boards can use cpu id in efuse as a source for serial# and ethaddr. Signed-off-by: Jonas Karlman --- arch/arm/dts/rk3288.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/dts/rk3288.dtsi b/arch/arm/dts/rk3288.dtsi index

[PATCH 1/3] rockchip: efuse: add support for RK3288 non-secure efuse

2020-10-14 Thread Jonas Karlman
From: Francis Fan Extend rockchip efuse driver with support for RK3288 non-secure efuse. Signed-off-by: Francis Fan Signed-off-by: Cody Xie Signed-off-by: Jonas Karlman --- drivers/misc/rockchip-efuse.c | 91 +-- 1 file changed, 87 insertions(+), 4

[PATCH 0/3] rockchip: efuse: add RK3288/RK3328 support

2020-10-14 Thread Jonas Karlman
This extends rockchip efuse driver with support for RK3288 and RK3328. Patch 1 and 2 was picked from vendor u-boot and updated to work with mainline u-boot. Patch 3 updates and enable the efuse node in rk3288.dtsi. This makes it possible to get a persisted ethaddr using: CONFIG_MISC=y

[PATCH] doc: dfu: fix typo in README.dfu

2020-10-14 Thread Chance . Yang
Fix "ram" typos for serial flash Signed-off-by: Chance.Yang --- doc/README.dfu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/README.dfu b/doc/README.dfu index 4b9f883540..be53b5b393 100644 --- a/doc/README.dfu +++ b/doc/README.dfu @@ -121,7 +121,7 @@ Commands: "sf"

RE: [PATCH v2 3/5] pinctrl: renesas: r8a77965: Add R8A774B1 PFC support

2020-10-14 Thread Biju Das
Hi Marek, > Subject: Re: [PATCH v2 3/5] pinctrl: renesas: r8a77965: Add R8A774B1 PFC > support > > On 10/13/20 8:30 PM, Biju Das wrote: > > Hi, > > [...] > > On 10/13/20 10:52 AM, Biju Das wrote: > > Renesas RZ/G2N (r8a774b1) is pin compatible with R-Car M3-N > > (r8a77965),

Re: [PATCH v9] usb: add MediaTek USB3 DRD driver

2020-10-14 Thread Marek Vasut
On 10/14/20 10:50 AM, Chunfeng Yun wrote: > This patch adds support for the MediaTek USB3 DRD controller, > its host side is based on xHCI, this driver supports device mode > and host mode. This patch doesn't seem to apply to u-boot-usb/next , and also, u-boot-usb/next does not build:

[PATCH] spi: xilinx_spi: remove unused local variable

2020-10-14 Thread Michal Simek
From: T Karthik Reddy Remove unused variable 'count' which is causing warning while compilation. Signed-off-by: T Karthik Reddy Signed-off-by: Michal Simek --- drivers/spi/xilinx_spi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/spi/xilinx_spi.c

[PATCH 33/33] configs: stm32mp15: enable LOG features

2020-10-14 Thread Patrick Delaunay
Activate the logging features in SPL and U-Boot (CONFIG_LOG and CONFIG_SPL_LOG) and the command 'log' with CONFIG_CMD_LOG. Signed-off-by: Patrick Delaunay --- configs/stm32mp15_basic_defconfig | 2 ++ configs/stm32mp15_trusted_defconfig | 1 + 2 files changed, 3 insertions(+) diff --git

[PATCH 32/33] board: st: common: migrate trace to dev and log macro

2020-10-14 Thread Patrick Delaunay
Change pr_* to dev_ or log_ macro and define LOG_CATEGORY. Signed-off-by: Patrick Delaunay --- board/st/common/stm32mp_dfu.c | 3 ++- board/st/common/stm32mp_mtdparts.c | 5 +++-- board/st/common/stpmic1.c | 5 - board/st/common/stusb160x.c| 2 ++ 4 files changed, 11

[PATCH 31/33] board: st: stm32mp1: migrate trace to dev and log macro

2020-10-14 Thread Patrick Delaunay
Change pr_* to dev_ or log_ macro and define LOG_CATEGORY. Signed-off-by: Patrick Delaunay --- board/st/stm32mp1/stm32mp1.c | 134 +-- 1 file changed, 65 insertions(+), 69 deletions(-) diff --git a/board/st/stm32mp1/stm32mp1.c b/board/st/stm32mp1/stm32mp1.c

[PATCH 26/33] mtd: stm32_fmc2: migrate trace to dev and log macro

2020-10-14 Thread Patrick Delaunay
Change pr_* to dev_ or log_ macro and define LOG_CATEGORY. Signed-off-by: Patrick Delaunay --- drivers/mtd/nand/raw/stm32_fmc2_nand.c | 40 -- 1 file changed, 19 insertions(+), 21 deletions(-) diff --git a/drivers/mtd/nand/raw/stm32_fmc2_nand.c

[PATCH 29/33] video: stm32_ltdc: migrate trace to dev and log macro

2020-10-14 Thread Patrick Delaunay
Change pr_* to dev_ or log_ macro and define LOG_CATEGORY. Signed-off-by: Patrick Delaunay --- drivers/video/stm32/stm32_ltdc.c | 33 +--- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/drivers/video/stm32/stm32_ltdc.c

[PATCH 25/33] spi: stm32_qspi: migrate trace to dev and log macro

2020-10-14 Thread Patrick Delaunay
Change debug/pr_* to log_* or dev_* macro and define LOG_CATEGORY. Remove the "%s:" __func__ header as it is managed by dev macro (dev->name is displayed) or log macro (CONFIG_LOGF_FUNC). Signed-off-by: Patrick Delaunay --- drivers/spi/stm32_qspi.c | 46

[PATCH 28/33] serial: stm32: define LOG_CATEGORY

2020-10-14 Thread Patrick Delaunay
Define LOG_CATEGORY to allow filtering with log command. Signed-off-by: Patrick Delaunay --- drivers/serial/serial_stm32.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/serial/serial_stm32.c b/drivers/serial/serial_stm32.c index cab0db2c96..f5450f4ea9 100644 ---

[PATCH 30/33] video: stm32_dsi: migrate trace to dev and log macro

2020-10-14 Thread Patrick Delaunay
Change pr_* to dev_ or log_ macro and define LOG_CATEGORY. Signed-off-by: Patrick Delaunay --- drivers/video/stm32/stm32_dsi.c | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/drivers/video/stm32/stm32_dsi.c b/drivers/video/stm32/stm32_dsi.c index

[PATCH 21/33] mailbox: stm32-ipcc: migrate trace to dev and log macro

2020-10-14 Thread Patrick Delaunay
Change debug to dev_dbg macro and define LOG_CATEGORY. Remove the "%s:" __func__ header as it is managed by dev macro (dev->name is displayed) or log macro (CONFIG_LOGF_FUNC). Signed-off-by: Patrick Delaunay --- drivers/mailbox/stm32-ipcc.c | 16 +--- 1 file changed, 9

[PATCH 23/33] phy: stm32-usbphyc: migrate trace to dev and log macro

2020-10-14 Thread Patrick Delaunay
Change pr_debug to log_debug or dev_dbg macro and define LOG_CATEGORY. Remove the "%s:" __func__ header as it is managed by dev macro (dev->name is displayed) or log macro (CONFIG_LOGF_FUNC). Signed-off-by: Patrick Delaunay --- drivers/phy/phy-stm32-usbphyc.c | 18 ++ 1 file

[PATCH 22/33] i2c: stm32f7_i2c: migrate trace to dev and log macro

2020-10-14 Thread Patrick Delaunay
Change debug to dev_dbg macro and define LOG_CATEGORY. Remove the "%s:" __func__ header as it is managed by dev macro (dev->name is displayed) or log macro (CONFIG_LOGF_FUNC). Signed-off-by: Patrick Delaunay --- drivers/i2c/stm32f7_i2c.c | 74 +++ 1 file

[PATCH 20/33] reset: stm32-reset: migrate trace to dev and log macro

2020-10-14 Thread Patrick Delaunay
Change debug to dev_dbg macro and define LOG_CATEGORY. Remove the "%s:" __func__ header as it is managed by dev macro (dev->name is displayed). Signed-off-by: Patrick Delaunay --- drivers/reset/stm32-reset.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git

[PATCH 27/33] memory: stm32-fmc2: migrate trace to dev and log macro

2020-10-14 Thread Patrick Delaunay
Change pr_* to dev_ or log_ macro and define LOG_CATEGORY. Signed-off-by: Patrick Delaunay --- drivers/memory/stm32-fmc2-ebi.c | 30 -- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/drivers/memory/stm32-fmc2-ebi.c b/drivers/memory/stm32-fmc2-ebi.c

[PATCH 24/33] spi: stm32_spi: migrate trace to dev and log macro

2020-10-14 Thread Patrick Delaunay
Change debug/pr_debug to log_debug or dev_dbg macro and define LOG_CATEGORY. Remove the "%s:" __func__ header as it is managed by dev macro (dev->name is displayed) or log macro (CONFIG_LOGF_FUNC). Signed-off-by: Patrick Delaunay --- drivers/spi/stm32_spi.c | 31

[PATCH 18/33] clk: clk_stm32f: migrate trace to dev and log macro

2020-10-14 Thread Patrick Delaunay
Change debug and pr_ macro to dev macro and define LOG_CATEGORY. Remove the "%s:" __func__ header as it is managed by dev macro (dev->name is displayed) or log macro (CONFIG_LOGF_FUNC). Signed-off-by: Patrick Delaunay --- drivers/clk/clk_stm32f.c | 39 ---

[PATCH 17/33] clk: stm32mp1: migrate trace to dev and log macro

2020-10-14 Thread Patrick Delaunay
Change debug and pr_ macro to dev macro and define LOG_CATEGORY. Remove the "%s:" __func__ header as it is managed by dev macro (dev->name is displayed) or log macro (CONFIG_LOGF_FUNC). Signed-off-by: Patrick Delaunay --- drivers/clk/clk_stm32mp1.c | 147 ++---

[PATCH 08/33] ram: stm32mp1: migrate trace to dev or log macro

2020-10-14 Thread Patrick Delaunay
Define LOG_CATEGORY, use dev_ macro when it is possible and migrate other trace to log_ macro. Signed-off-by: Patrick Delaunay --- drivers/ram/stm32mp1/stm32mp1_ddr.c | 36 +++--- drivers/ram/stm32mp1/stm32mp1_interactive.c | 4 +- drivers/ram/stm32mp1/stm32mp1_ram.c | 37

[PATCH 16/33] misc: rcc: keep the rcc device name for subnode

2020-10-14 Thread Patrick Delaunay
Update the name associated with the RCC drivers to avoid duplicated name with the driver name. With this patch the traces displayed with log macro provide a correct device name. The rcc device name before the patch is: Class Index Probed DriverName

[PATCH 19/33] clk: clk_stm32h7: migrate trace to dev and log macro

2020-10-14 Thread Patrick Delaunay
Change debug and pr_ macro to dev macro and define LOG_CATEGORY. Remove the "%s:" __func__ header as it is managed by dev macro (dev->name is displayed) or log macro (CONFIG_LOGF_FUNC). Signed-off-by: Patrick Delaunay --- drivers/clk/clk_stm32h7.c | 70 +--

  1   2   >