[PATCH 02/33] arm: stm32mp: migrate cmd_stm32prog to log macro

2020-10-14 Thread Patrick Delaunay
Change debug and pr_ macro to log macro. Signed-off-by: Patrick Delaunay --- .../cmd_stm32prog/cmd_stm32prog.c | 4 +- .../mach-stm32mp/cmd_stm32prog/stm32prog.c| 112 +- .../mach-stm32mp/cmd_stm32prog/stm32prog.h| 2 +-

[PATCH 04/33] pinctrl: stm32: migrate trace to log macro

2020-10-14 Thread Patrick Delaunay
Change debug to log macro and define LOG_CATEGORY. Remove "%s:" with __func__ as it is managed by log macro (CONFIG_LOGF_FUNC) Signed-off-by: Patrick Delaunay --- drivers/pinctrl/pinctrl_stm32.c | 30 -- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git

[PATCH 06/33] remoproc: stm32: migrate trace to log macro

2020-10-14 Thread Patrick Delaunay
Define LOG_CATEGORY and remove unneeded pr_fmt macro with the dev macro as dev->name is displayed and CONFIG_LOGF_FUNC can be activated for log macro. Signed-off-by: Patrick Delaunay --- drivers/remoteproc/stm32_copro.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH 01/33] arm: stm32mp: migrate trace to log macro

2020-10-14 Thread Patrick Delaunay
Change debug and pr_ macro to log macro and define LOG_CATEGORY. Signed-off-by: Patrick Delaunay --- arch/arm/mach-stm32mp/boot_params.c | 8 +--- arch/arm/mach-stm32mp/cmd_stm32key.c | 3 ++- arch/arm/mach-stm32mp/cpu.c | 18 ++

Re: [PATCH v8 5/9] usb: add MediaTek USB3 DRD driver

2020-10-14 Thread Marek Vasut
On 10/14/20 9:08 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 one does not apply, can you rebase just this one on top of usb/next and resend ? I picked the other

[PATCH] dt-bindings: arm64: versal: Add clk and power headers

2020-10-14 Thread Michal Simek
Add power and reset headers to be sources by Versal dtses. Signed-off-by: Michal Simek --- include/dt-bindings/clock/xlnx-versal-clk.h | 123 ++ include/dt-bindings/power/xlnx-versal-power.h | 40 ++ 2 files changed, 163 insertions(+) create mode 100644

[PATCH V2 11/12] doc: board: Convert i.MX6UL 14x14 EVK README to reST

2020-10-14 Thread Peng Fan
Convert plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Peng Fan --- doc/board/freescale/index.rst | 1 + .../board/freescale/mx6ul_14x14_evk.rst | 62 --- 2 files changed, 40

[PATCH V2 09/12] doc: board: Convert i.MX6 Sabreauto README to reST

2020-10-14 Thread Peng Fan
Convert plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Peng Fan --- board/freescale/mx6sabreauto/README | 82 -- doc/board/freescale/index.rst| 1 +

[PATCH V2 08/12] doc: board: Convert i.MXRT1050 EVK README to reST

2020-10-14 Thread Peng Fan
Convert plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Peng Fan --- board/freescale/imxrt1050-evk/README | 31 doc/board/freescale/imxrt1050-evk.rst | 41 +++

[PATCH V2 10/12] doc: board: Convert i.MX6 Sabresd README to reST

2020-10-14 Thread Peng Fan
Convert plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Peng Fan --- board/freescale/mx6sabresd/README | 114 - doc/board/freescale/index.rst | 1 + doc/board/freescale/mx6sabresd.rst

[PATCH V2 06/12] doc: board: Convert i.MX8QXP MEK README to reST

2020-10-14 Thread Peng Fan
Convert plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Peng Fan --- board/freescale/imx8qxp_mek/README | 50 -- doc/board/freescale/imx8qxp_mek.rst | 66 +

[PATCH V2 12/12] doc: board: Convert i.MX6ULL EVK README to reST

2020-10-14 Thread Peng Fan
Convert plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Peng Fan --- doc/board/freescale/index.rst | 1 + .../board/freescale/mx6ullevk.rst | 29 +-- 2 files changed, 21

[PATCH] spi: zynq_spi: Use clk subsystem to get reference spi clk

2020-10-14 Thread Michal Simek
From: T Karthik Reddy Remove fixed reference clk used by plat->frequency and use clk subsystem to get reference clk. As per spi dt bindings "spi-max-frequency" property should be used by the slave devices. This property is read by spi-uclass driver for the slave device. So avoid reading above

[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 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 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 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 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] cmd: Add a 'misc' command to access miscellaneous devices

2020-10-14 Thread Bin Meng
From: Bin Meng Enable the command "misc" for accessing miscellaneous devices with a MISC uclass driver. The command provides listing all MISC devices as well as read and write functionalities via their drivers. Signed-off-by: Bin Meng --- This patch depends on

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

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

[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

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

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

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

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

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

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:

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

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

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

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

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

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

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

[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

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

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

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

<    1   2