[PATCH v2 6/6] rockchip: rk3328: Add support for ROC-RK3328-CC board

2020-04-04 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The ROC-RK3328-CC from Firefly and Libre Computer Project is a credit card size development board based on the Rockchip RK3328 SoC, with: - 1/2/4 GB DDR4 DRAM - eMMC connector for optional module - micro SD card slot - 1 x USB 3.0 host port - 2 x USB 2.0 host port

[PATCH v2 2/6] rockchip: dts: rk3328-evb: Move gmac2io related nodes to -u-boot.dtsi

2020-04-04 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The device tree file for rk3328-evb in the Linux kernel does not have gmac2io enabled. Instead, gmac2phy is enabled, but that is not supported in U-boot. Move the gmac2io related nodes to rk3328-evb-u-boot.dtsi to preserve the current functionality. When the device tree files

[PATCH v2 0/6] rockchip: rk3328: sync dts and add ROC-RK3328-CC board

2020-04-04 Thread Chen-Yu Tsai
From: Chen-Yu Tsai Hi everyone, This is v2 of my ROC-RK3328-CC series. Changes from v1 are mainly dropping the custom board target, and dealing with the pinmuxing through proper use of DM regulators / GPIO / pinctrl in SPL. This series adds proper support for Firefly / Libre Computer

[PATCH v2 1/6] rockchip: dts: rk3328-evb: Move vcc5v0-host-xhci-drv to -u-boot.dtsi

2020-04-04 Thread Chen-Yu Tsai
From: Chen-Yu Tsai USB 3.0 is only supported in U-boot, not in the Linux kernel where the device tree files are ultimately synced from. While the xhci node was moved, the external vbus regulator was not. Move it as well. Fixes: 2e91e2025c1b ("rockchip: rk3328: migrate u-boot node to

[PATCH v2 5/6] rockchip: dts: rk3328: Sync device tree files from Linux

2020-04-04 Thread Chen-Yu Tsai
From: Chen-Yu Tsai This syncs rk3328 device tree files from the Linux kernel next-20200324. The last commit to touch these files is: b2411befed60 ("arm64: dts: add bus to rockchip amba nodenames") Additional changes not yet in the Linux kernel include: arm64: dts: rockchip: rk3328:

[PATCH v2 3/6] dt-bindings: clock: rk3328: sync from upstream Linux kernel

2020-04-04 Thread Chen-Yu Tsai
From: Chen-Yu Tsai This syncs the rk3328 clock header file from Linux kernel next-20200324, to support newer hardware blocks when syncing the device tree files. The last non-merge commit to touch it was 0dc14b013f79 ("clk: rockchip: add clock id for watchdog pclk on rk3328") Reviewed-by:

[PATCH v2 4/6] dt-bindings: power: rk3328-power: sync from upstream Linux kernel

2020-04-04 Thread Chen-Yu Tsai
From: Chen-Yu Tsai This syncs the rk3328 power domain header file from Linux kernel next-20200324, to support newer hardware blocks when syncing the device tree files. The last non-merge commit to touch it was b24413180f56 ("License cleanup: add SPDX GPL-2.0 license identifier to files

Please pull u-boot-x86

2020-04-04 Thread Bin Meng
Hi Tom, This PR includes the following changes for v2020.04 release: - verdin-imx8mm board reST documentation update - Intel Edison board ACPI table I2C/USB minor updates - Fix a regression of ns16550 serial driver that breaks Intel Edison The following changes since commit

[PULL] u-boot-sh/master

2020-04-04 Thread Marek Vasut
This is a small fix for current release (2020.04) The following changes since commit e0718b3ab754860bd47677e6b4fc5b70da42c4ab: Merge tag 'dm-pull-1apr20' of git://git.denx.de/u-boot-dm (2020-04-01 14:29:21 -0400) are available in the Git repository at: git://git.denx.de/u-boot-sh.git

Re: [PATCH] efi_loader: enable RNG if DM_RNG is enabled

2020-04-04 Thread Sughosh Ganu
On Wed, 1 Apr 2020 at 15:45, Peter Robinson wrote: > Enable EFI_RNG_PROTOCOL by default if DM_RNG is set. > > Signed-off-by: Peter Robinson > --- > > I think it makes sense to enable EFI_RNG_PROTOCOL by default if a config > has enabled both DM_RNG and UEFI. > Acked-by: Sughosh Ganu -sughosh

Re: [PATCH 1/5] arm: dts: rockchip: rk3399: add and enable rng node

2020-04-04 Thread Sughosh Ganu
On Tue, 31 Mar 2020 at 15:10, Lin Jinhan wrote: > Add rng node in rk3399-u-boot.dtsi and enable it in > rk3399-evb-u-boot.dtsi. > > Signed-off-by: Lin Jinhan > For the series Reviewed-by: Sughosh Ganu I guess Kever can pick it up directly in the rockchip tree. Thanks. -sughosh > --- >

RE: [U-Boot] [PATCH v2 5/5] sifive: fu540: Enable spi-nor flash support

2020-04-04 Thread Sagar Kadam
Hello Jagan, > -Original Message- > From: Jagan Teki > Sent: Saturday, April 4, 2020 11:45 PM > To: Sagar Kadam > Cc: Bin Meng ; Palmer Dabbelt > ; U-Boot Mailing List ; linux- > amarula > Subject: Re: [U-Boot] [PATCH v2 5/5] sifive: fu540: Enable spi-nor flash > support > > [External

Re: [U-Boot] [PATCH v2 5/5] sifive: fu540: Enable spi-nor flash support

2020-04-04 Thread Jagan Teki
Hi Bin, On Mon, Nov 18, 2019 at 8:19 AM Bin Meng wrote: > > Hi Segar Kadam, > > On Mon, Nov 18, 2019 at 4:59 AM Sagar Kadam wrote: > > > > > > Hello Jagan/Bin, > > > > > -Original Message- > > > From: U-Boot On Behalf Of Bin Meng > > > Sent: Monday, November 11, 2019 8:02 PM > > > To:

Re: [U-Boot] [PATCH v2 5/5] sifive: fu540: Enable spi-nor flash support

2020-04-04 Thread Jagan Teki
Hi Sagar, On Mon, Nov 18, 2019 at 2:29 AM Sagar Kadam wrote: > > > Hello Jagan/Bin, > > > -Original Message- > > From: U-Boot On Behalf Of Bin Meng > > Sent: Monday, November 11, 2019 8:02 PM > > To: Jagan Teki > > Cc: Palmer Dabbelt ( Sifive) ; U-Boot Mailing List >

Re: [PATCH v3] serial: ns16550: Fix ordering of getting base address

2020-04-04 Thread Bin Meng
On Sat, Apr 4, 2020 at 6:32 PM Andy Shevchenko wrote: > > On Fri, Apr 03, 2020 at 06:35:32PM -0700, Bin Meng wrote: > > Currently the driver gets ns16550 base address in the driver > > probe() routine, which may potentially break any ns16550 wrapper > > driver that does additional initialization

[PATCH] ARM: dts: rmobile: Synchronize Gen2 DTs with Linux 5.6.2

2020-04-04 Thread Marek Vasut
Synchronize R-Car Gen2 device trees with Linux 5.6.2, commit 9fbe5c87eaa9b72db08425c52c373eb5f6537a0a . Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/dts/r8a7790-lager.dts| 23 +-- arch/arm/dts/r8a7790-stout.dts| 9 +- arch/arm/dts/r8a7790.dtsi

[PATCH] bmips: allow disabling usb support

2020-04-04 Thread Álvaro Fernández Rojas
Currently, if usb is disabled the following error is produced: CC drivers/usb/host/ohci-hcd.o drivers/usb/host/ohci-hcd.c: In function ‘usb_lowlevel_init’: drivers/usb/host/ohci-hcd.c:2057:35: error: ‘CONFIG_SYS_USB_OHCI_REGS_BASE’ undeclared (first use in this function); did you mean

Re: i.MX8QXP hangs in SPL after a "reboot" command

2020-04-04 Thread Fabio Estevam
On Thu, Apr 2, 2020 at 4:21 PM Fabio Estevam wrote: > U-Boot SPL 2020.04-rc4-00061-ge0718b3ab7 (Apr 02 2020 - 16:14:22 -0300) > Normal Boot > WDT: Not found! > Trying to boot from MMC2_2 > spl: mmc init failed with error: -70 > SPL: failed to boot from all boot devices > ### ERROR ### Please

[PATCH] net: sh_eth: Init the hardware before PHY access

2020-04-04 Thread Marek Vasut
To access the PHY, the MAC registers must be initialized. Call the init function in probe() to make it so, otherwise the PHY ID readout returns all zeroes. Signed-off-by: Marek Vasut Cc: Joe Hershberger Cc: Nobuhiro Iwamatsu --- NOTE: This is for 2020.04 --- drivers/net/sh_eth.c | 4 1

Re: [PATCH 3/3] dm: core: refactor functions reading an u32 from dt

2020-04-04 Thread dariobin
> Il 2 aprile 2020 alle 20.54 Simon Glass ha scritto: > > > Hi Dario, > > On Wed, 1 Apr 2020 at 13:34, wrote: > > > > > > > Il 31 marzo 2020 alle 1.57 Simon Glass ha scritto: > > > > > > > > > On Sun, 29 Mar 2020 at 10:05, Dario Binacchi wrote: > > > > > > > > Now reading a 32 bit value

[PATCH V2 5/5] mmc: tmio: sdhi: Implement get_b_max function

2020-04-04 Thread Marek Vasut
Implement get_b_max() for the Renesas R-Car SDHI controller driver, limit the b_max per hardware capabilities such that select Gen2 controllers have 16bit block transfer limit, the rest has 32bit block transfer limit and on Gen3, the block transfer limit on addresses above the 32bit boundary is

[PATCH V2 4/5] mmc: Add option to adjust b_max before long read

2020-04-04 Thread Marek Vasut
Add getter function which permits adjusting the maximum number of blocks that could be read in a single sustained read transfer based on the location of the source/target buffer and length, before such transfer starts. This is mainly useful on systems which have various DMA restrictions for

[PATCH V2 2/5] ARM: rmobile: Increase malloc area size

2020-04-04 Thread Marek Vasut
Increase the malloc area size significantly to cater for bounce buffer used by the SDHI driver. Signed-off-by: Marek Vasut Cc: Daniel Schwierzeck Cc: Masahiro Yamada Cc: Peng Fan Cc: Simon Glass Cc: Tom Rini --- V2: No change --- include/configs/rcar-gen3-common.h | 2 +- 1 file changed, 1

[PATCH V2 1/5] common: bouncebuf: Permit passing custom alignment check function

2020-04-04 Thread Marek Vasut
Add extended version of the bounce_buffer_start(), which permits passing in a custom alignment checker function for the buffer. This is useful e.g. on systems with various DMA restrictions and where the checker function might be more complex than a simple CPU cache alignment check. Signed-off-by:

[PATCH V2 3/5] mmc: tmio: sdhi: Use bounce buffer to avoid DMA limitations

2020-04-04 Thread Marek Vasut
The R-Car SDHI DMA controller has various restrictions. To work around those restrictions without falling back to PIO, implement bounce buffer with custom alignment check function which tests for those limitations. Signed-off-by: Marek Vasut Cc: Daniel Schwierzeck Cc: Masahiro Yamada Cc: Peng

Re: [PATCH v3] serial: ns16550: Fix ordering of getting base address

2020-04-04 Thread Andy Shevchenko
On Fri, Apr 03, 2020 at 06:35:32PM -0700, Bin Meng wrote: > Currently the driver gets ns16550 base address in the driver > probe() routine, which may potentially break any ns16550 wrapper > driver that does additional initialization before calling > ns16550_serial_probe(). > > Things are

[PATCH] net: Fix warning when including netdev.h on DM systems

2020-04-04 Thread Marek Vasut
If the DM_ETH is enabled and netdev.h is included somewhere, the struct eth_device may not be defined, yet it is used in the header file as an argument to fecmxc_register_mii_postcall. Add forward declaration to remove the warning. Signed-off-by: Marek Vasut Cc: Joe Hershberger ---