RE: [PATCH v2] arm: socfpga: soc64: Document down boot_scratch_cold register usage

2020-08-09 Thread Tan, Ley Foon
> -Original Message- > From: Lim, Elly Siew Chin > Sent: Monday, August 10, 2020 10:56 AM > To: u-boot@lists.denx.de > Cc: Marek Vasut ; Tan, Ley Foon > ; See, Chin Liang ; > Simon Goldschmidt ; Ang, Chee Hong > ; Chee, Tien Fong ; > Lim, Elly Siew Chin > Subject: [PATCH v2] arm: socfp

Re: [PATCH] ram: rockchip: Disable debug output of RAM init by default

2020-08-09 Thread Michael Walle
Hi Kever, Am 2020-08-08 11:40, schrieb Kever Yang: Hi Michael,     I think there do have some information are really help people identify what's happen for TPL fail, that's why rockchip's dram binary always keep some DRAM info print for all the boards.     I would like to keep it as is for no

RE: [PATCH] common/board_f: make sure to call fix_fdt() before reserve_fdt()

2020-08-09 Thread Pragnesh Patel
Hi Atish, >-Original Message- >From: Atish Patra >Sent: 10 August 2020 01:51 >To: Pragnesh Patel >Cc: Atish Patra ; Bin Meng ; U- >Boot Mailing List ; Anup Patel ; >Sagar Kadam ; Rick Chen ; >Paul Walmsley ( Sifive) ; Simon Glass >; Ovidiu Panait ; Stephen Warren >; Patrick Delaunay ; Vi

[U-Boot] requesting a custodian tree for Aspeed SoCs maintenance

2020-08-09 Thread ChiaWei Wang
Hi, We are Aspeed SW team and would like to request the creation of a u-boot-aspeed.git custodian tree for the u-boot support related to Aspeed SoCs. Attached is the SSH key generated for this purpose. By the way, the Aspeed SoCs are based on ARM architecture. However, we are not sure if the A

[PATCH v4 10/10] MAINTAINERS: add mtu3 driver to ARM MEDIATEK

2020-08-09 Thread Chunfeng Yun
Add MediaTek USB3 Dual-Role controller driver to ARM MEDIATEK Signed-off-by: Chunfeng Yun --- v4: new patch --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 889a73f..e3fe859 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -265,6 +265,7 @@ F: driv

[PATCH v2] arm: socfpga: soc64: Document down boot_scratch_cold register usage

2020-08-09 Thread Siew Chin Lim
From: Chin Liang See Document down the usage of boot_scratch_cold register to avoid overlapping of usage in the code for S10 & Agilex. The boot_scratch_cold register is generally used for passing critical system info between SPL, U-Boot and Linux. Signed-off-by: Chin Liang See Signed-off-by: Si

[PATCH] arm: socfpga: soc64: Document down boot_scratch_cold register usage

2020-08-09 Thread Siew Chin Lim
From: Chin Liang See Document down the usage of boot_scratch_cold register to avoid overlapping of usage in the code for S10 & Agilex. The boot_scratch_cold register is generally used for passing critical system info between SPL, U-Boot and Linux. Signed-off-by: Chin Liang See Signed-off-by: Si

RE: [PATCH] arm: socfpga: soc64: Document down boot_scratch_cold register usage

2020-08-09 Thread Lim, Elly Siew Chin
Kindly ignore this patch review request. There is one more comment need to be added for SYSMGR_SOC64_BOOT_SCRATCH_COLD3 register. I will send "PATCH v2" for review. Thanks a lot, Siew Chin -Original Message- From: Lim, Elly Siew Chin Sent: Monday, August 10, 2020 10:05 AM To: u-boot

[PATCH v4 04/10] usb: common: add define of usb_speed_string()

2020-08-09 Thread Chunfeng Yun
There is only declear of usb_speed_string(), but not define it. Signed-off-by: Chunfeng Yun --- v4: new patch --- drivers/usb/common/common.c | 7 +++ include/linux/usb/ch9.h | 4 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/usb/common/common.c b/drivers/us

[PATCH v4 03/10] usb: add USB_SPEED_SUPER_PLUS

2020-08-09 Thread Chunfeng Yun
Add enum USB_SPEED_SUPER_PLUS for USB3.1 Signed-off-by: Chunfeng Yun --- v4: also add it into speed_names array v2~v3: no changes --- include/linux/usb/ch9.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/usb/common/common.c b/drivers/usb/common/common.c index d4ae186..76f5a9

[PATCH v4 02/10] dt-bindings: usb: mtu3: add bindings for MediaTek USB3 DRD

2020-08-09 Thread Chunfeng Yun
Add dt-binding for MediaTek USB3 DRD Driver Signed-off-by: Chunfeng Yun --- v4: Add support host mode, introduce some new properties and subnode v2~v3: no changes --- doc/device-tree-bindings/usb/mediatek,mtu3.txt | 79 ++ 1 file changed, 79 insertions(+) create mode

[PATCH v4 07/10] arm: dts: mt8512: add usb related nodes

2020-08-09 Thread Chunfeng Yun
Add usb, usb phy, and fixed regulators nodes Signed-off-by: Chunfeng Yun --- v4: add host related properties, add subnode. v3: remove unused property mediatek,discth v2: no changes arch/arm/dts/mt8512-bm1-emmc.dts | 34 arch/arm/dts/mt8512.dtsi | 49 +++

[PATCH v4 08/10] configs: mt8512: enable fastboot

2020-08-09 Thread Chunfeng Yun
Enable fastboot to support download image from usb, also enable usb related drivers, such as usb phy etc. Signed-off-by: Chunfeng Yun --- v2~v4: no changes --- configs/mt8512_bm1_emmc_defconfig | 19 +++ 1 file changed, 19 insertions(+) diff --git a/configs/mt8512_bm1_emmc_defco

[PATCH v4 09/10] configs: mt8512: add USB host related configs

2020-08-09 Thread Chunfeng Yun
Add USB, FAT commands, and fixed regulator, mass storage drivers. Due to device mode is enabled by default, comment out the host mode config here. Signed-off-by: Chunfeng Yun --- v4: new patch --- configs/mt8512_bm1_emmc_defconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/config

[PATCH v4 06/10] usb: gadget: Add bcdDevice for the MTU3 USB Gadget Controller

2020-08-09 Thread Chunfeng Yun
Add an entry in usb_gadget_controller_number() for the MTU3 gadget controller. It is used to bind the USB Ethernet driver. Signed-off-by: Chunfeng Yun --- v4: no changes v3: new patch --- drivers/usb/gadget/gadget_chips.h | 8 1 file changed, 8 insertions(+) diff --git a/drivers/usb/g

[PATCH v4 01/10] dt-binding: usb: add bindings for some common properties

2020-08-09 Thread Chunfeng Yun
Add bindings for common properties, include maximum-speed, dr_mode and phy_type Signed-off-by: Chunfeng Yun --- v2~v4: no changes --- doc/device-tree-bindings/usb/generic.txt | 31 +++ 1 file changed, 31 insertions(+) create mode 100644 doc/device-tree-bindings/usb/g

[PATCH v4 00/10] Add support MediaTek USB3 DRD driver

2020-08-09 Thread Chunfeng Yun
These patches introduce the MediaTek USB3 Dual-Role Controller driver. The driver can be configured as Peripheral only and Host only(xHCI) modes, and it's ported from Linux Kernel 5.8-rc1 v4 changes: 1. [4/10], [9/10] and [10/10] are new patches 2. add a glue driver 3. add host driver

RE: [PATCH] Revert "mmc: disable UHS modes if Vcc cannot be switched on and off"

2020-08-09 Thread Peng Fan
Faiz, Jean > Subject: [PATCH] Revert "mmc: disable UHS modes if Vcc cannot be switched > on and off" Got time to take a look? Thanks, Peng. > > This reverts commit 04a2ea248f58b3b6216d0cd0a6b8698df8b14355. > > That commit is causing reboot loops on Nokia N900 and basically make > U-Boot on No

Re: OpenBSI and U-Boot

2020-08-09 Thread Atish Patra
On Sun, Aug 9, 2020 at 1:28 PM Heinrich Schuchardt wrote: > > Am 9. August 2020 22:08:23 MESZ schrieb Atish Patra : > >On Sat, Aug 8, 2020 at 9:17 AM Heinrich Schuchardt > >wrote: > >> > >> On 8/8/20 5:32 PM, Sean Anderson wrote: > >> > On 8/8/20 10:59 AM, Heinrich Schuchardt wrote: > >> >> Hello

Re: OpenBSI and U-Boot

2020-08-09 Thread Heinrich Schuchardt
Am 9. August 2020 22:08:23 MESZ schrieb Atish Patra : >On Sat, Aug 8, 2020 at 9:17 AM Heinrich Schuchardt >wrote: >> >> On 8/8/20 5:32 PM, Sean Anderson wrote: >> > On 8/8/20 10:59 AM, Heinrich Schuchardt wrote: >> >> Hello Anup, >> >> >> >> I have looking at you OpenSBI code firmware/payloads/tes

Re: [PATCH] common/board_f: make sure to call fix_fdt() before reserve_fdt()

2020-08-09 Thread Atish Patra
On Wed, Aug 5, 2020 at 2:01 AM Pragnesh Patel wrote: > > There may be a chance that board specific fix_fdt() will change the > size of FDT blob so it's safe to call reserve_fdt() after fix_fdt() > otherwise global data (gd) will overwrite with FDT blob values. > > Signed-off-by: Pragnesh Patel >

Re: master u-boot broken for HiFive Unleashed

2020-08-09 Thread Atish Patra
On Tue, Aug 4, 2020 at 7:33 AM Pragnesh Patel wrote: > > Hi Atish, > > >-Original Message- > >From: U-Boot On Behalf Of Pragnesh Patel > >Sent: 04 August 2020 19:55 > >To: Atish Patra ; Bin Meng ; > >Rick Chen > >Cc: Anup Patel ; Lukas Auer > >; U-Boot Mailing List > >Subject: RE: maste

Re: OpenBSI and U-Boot

2020-08-09 Thread Atish Patra
On Sat, Aug 8, 2020 at 9:17 AM Heinrich Schuchardt wrote: > > On 8/8/20 5:32 PM, Sean Anderson wrote: > > On 8/8/20 10:59 AM, Heinrich Schuchardt wrote: > >> Hello Anup, > >> > >> I have looking at you OpenSBI code firmware/payloads/test_head.S. Here > > > > I think the real start is in firmware/f

Re: OpenBSI and U-Boot

2020-08-09 Thread Atish Patra
On Sat, Aug 8, 2020 at 7:59 AM Heinrich Schuchardt wrote: > > Hello Anup, > > I have looking at you OpenSBI code firmware/payloads/test_head.S. Here > like in U-Boot's common/spl/spl_opensbi.c you put all but one hart in to > an enless loop (hang). > > When Linux boots via UEFI it will wake up the

Re: MAIX: CONFIG_SYS_INIT_SP_ADDR

2020-08-09 Thread Sean Anderson
On 8/9/20 3:16 PM, Heinrich Schuchardt wrote: > Am 9. August 2020 18:35:45 MESZ schrieb Sean Anderson : >> On 8/9/20 12:14 PM, Heinrich Schuchardt wrote: >>> Hello Sean, >>> >>> while trying to understand the handling of SMP I stumbled of this >> question: >>> >>> Why did you define CONFIG_SYS_IN

Re: MAIX: CONFIG_SYS_INIT_SP_ADDR

2020-08-09 Thread Heinrich Schuchardt
Am 9. August 2020 18:35:45 MESZ schrieb Sean Anderson : >On 8/9/20 12:14 PM, Heinrich Schuchardt wrote: >> Hello Sean, >> >> while trying to understand the handling of SMP I stumbled of this >question: >> >> Why did you define CONFIG_SYS_INIT_SP_ADDR as an odd number on the >MAIX >> in commit a7c

Re: MAIX: CONFIG_SYS_INIT_SP_ADDR

2020-08-09 Thread Sean Anderson
On 8/9/20 12:14 PM, Heinrich Schuchardt wrote: > Hello Sean, > > while trying to understand the handling of SMP I stumbled of this question: > > Why did you define CONFIG_SYS_INIT_SP_ADDR as an odd number on the MAIX > in commit a7c81fc85326 ("riscv: Add Sipeed Maix support") while the > other RI

MAIX: CONFIG_SYS_INIT_SP_ADDR

2020-08-09 Thread Heinrich Schuchardt
Hello Sean, while trying to understand the handling of SMP I stumbled of this question: Why did you define CONFIG_SYS_INIT_SP_ADDR as an odd number on the MAIX in commit a7c81fc85326 ("riscv: Add Sipeed Maix support") while the other RISC-V boards use an even number: include/configs/sifive-fu540

[PATCH] Revert "mmc: disable UHS modes if Vcc cannot be switched on and off"

2020-08-09 Thread Pali Rohár
This reverts commit 04a2ea248f58b3b6216d0cd0a6b8698df8b14355. That commit is causing reboot loops on Nokia N900 and basically make U-Boot on Nokia N900 unusable. Revert it for now until problem is solved. After reverting that commit U-Boot on Nokia N900 is working again. Signed-off-by: Pali Rohá

Re: OpenBSI and U-Boot

2020-08-09 Thread Heinrich Schuchardt
On 8/9/20 3:48 AM, Sean Anderson wrote: > On 8/8/20 2:56 PM, Heinrich Schuchardt wrote: >> On 8/8/20 7:22 PM, Sean Anderson wrote: >>> On 8/8/20 12:17 PM, Heinrich Schuchardt wrote: On 8/8/20 5:32 PM, Sean Anderson wrote: > On 8/8/20 10:59 AM, Heinrich Schuchardt wrote: >> Hello Anup,

[PATCH] serial: sh: Improve FIFO empty check on RX

2020-08-09 Thread Marek Vasut
If the SCIF is receiving data quickly enough, it may happen that the SCxSR_RDxF flag is cleared in sh_serial_getc_generic(), while the FIFO still contains data. If that happens, the serial_getc_check() reports no data in the FIFO as the flag is no longer set. Add one more check, if the SCxSR_RDxF i

[PATCH] git-mailrc: Update email address of Maxime Ripard

2020-08-09 Thread Jonas Smedegaard
Update email address of Maxime Ripard in git-mailrc to match more recently updated entry in MAINTAINERS. commit 9bd9b2bcbee1 ("MAINTAINERS: Update my email address") commit bf8f4c4400e3 ("MAINTAINERS: Update email address for Maxime Ripard") Signed-off-by: Jonas Smedegaard --- doc/git-mailrc |

Re: OpenBSI and U-Boot

2020-08-09 Thread Sean Anderson
On 8/9/20 12:23 AM, Heinrich Schuchardt wrote: > Am 9. August 2020 03:48:19 MESZ schrieb Sean Anderson : >> On 8/8/20 2:56 PM, Heinrich Schuchardt wrote: >>> On 8/8/20 7:22 PM, Sean Anderson wrote: On 8/8/20 12:17 PM, Heinrich Schuchardt wrote: > On 8/8/20 5:32 PM, Sean Anderson wrote: >>>

[PATCH] sunxi: Enable ethernet on newer Olimex OLinuXino-A20-Lime2-eMMC

2020-08-09 Thread Jonas Smedegaard
Olimex OLinuXino LIME2 rev. H through L uses Micrel KSZ9031 PHY. This enables the Micrel PHY for A20-OLinuXino-Lime2-eMMC_defconfig. Signed-off-by: Jonas Smedegaard --- configs/A20-OLinuXino-Lime2-eMMC_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/A20-OLinuXino-Lime2-