Re: [PATCH v4 00/12] Add support for pinmux status command on beaglebone

2021-04-11 Thread Lokesh Vutla
On 11/04/21 1:09 pm, Dario Binacchi wrote: > > The series was born from the need to check the pinmux setting of a > peripheral on a beaglebone board. I then ran the 'pinmux status -a' > command but it failed because some operations (get_pin_muxing, > get_pin_name and get_pins_count) were missin

Re: [PATCH V2 0/3] arm: omap3: Make functions static when possible

2021-04-11 Thread Lokesh Vutla
On 18/03/21 6:10 pm, Adam Ford wrote: > A few functions are defined without being labeled as static > to that file. In an effort to keep SPL as small as possible, > one function needs to be moved into an #ifdef so it's only enabled > when the calling function is available, and all of these can

[PATCH] checkpatch: Ignore ENOSYS warnings

2021-04-11 Thread Sean Anderson
There are no system calls in U-Boot, but ENOSYS is still allowed (and preferred since 42a2668743 ("dm: core: Document the common error codes")). Silence this warning. Signed-off-by: Sean Anderson Seriies-to: sjg --- .checkpatch.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.checkp

[PATCH 11/11] test: Add K210 PLL tests to sandbox defconfigs

2021-04-11 Thread Sean Anderson
This adds the unit test for the K210 PLL to the sandbox defconfigs. Signed-off-by: Sean Anderson --- configs/sandbox64_defconfig| 2 ++ configs/sandbox_defconfig | 2 ++ configs/sandbox_flattree_defconfig | 2 ++ 3 files changed, 6 insertions(+) diff --git a/configs/sandbox64_

[PATCH 09/11] k210: dts: Set PLL1 to the same rate as PLL0

2021-04-11 Thread Sean Anderson
Linux has had some stability issues when using AISRAM with a different frequency from SRAM. Mirror their change here now that we relocate into AISRAM. Signed-off-by: Sean Anderson --- arch/riscv/dts/k210.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/riscv/dts/k210.dtsi b/arch/

[PATCH 10/11] k210: Don't imply CCF

2021-04-11 Thread Sean Anderson
Now that the k210 clock driver does not depend on CCF, we should no longer imply it (and probably should not have in the first place). We can also reduce the pre-relocation malloc arena back to something sensible. Signed-off-by: Sean Anderson --- board/sipeed/maix/Kconfig | 2 -- confi

[PATCH 08/11] clk: k210: Move k210 clock out of its own subdirectory

2021-04-11 Thread Sean Anderson
Now that we have only one clock driver, we don't need to have our own subdirectory. Move the driver back with the rest of the clock drivers. The MAINTAINERS for kendryte pinctrl is also fixed since it has always been wrong. Signed-off-by: Sean Anderson --- MAINTAINERS

[PATCH 06/11] clk: k210: Don't set PLL rates if we are already at the correct rate

2021-04-11 Thread Sean Anderson
This speeds up boot by preventing multiple reconfigurations of the PLLs. Signed-off-by: Sean Anderson --- drivers/clk/kendryte/clk.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/clk/kendryte/clk.c b/drivers/clk/kendryte/clk.c index cdea3d6f2b..8e84

[PATCH 07/11] clk: k210: Remove bypass driver

2021-04-11 Thread Sean Anderson
This driver no longer serves a purpose now that we have moved away from CCF. Drop it. Signed-off-by: Sean Anderson --- drivers/clk/kendryte/Makefile | 2 +- drivers/clk/kendryte/bypass.c | 273 -- include/kendryte/bypass.h | 31 3 files changed, 1 ins

[PATCH 02/11] clk: k210: Rewrite to remove CCF

2021-04-11 Thread Sean Anderson
This is effectively a complete rewrite to remove all dependency on CCF. The code is now smaller, and so is the binary (TODO: numbers). It also takes up less memory at runtime (since we don't have to create 40 udevices). In general, I am much happier with this driver as much of the complexity and la

[PATCH 03/11] clk: k210: Move pll into the rest of the driver

2021-04-11 Thread Sean Anderson
Now that there no separate PLL driver, we can no longer make the PLL functions static. By moving the PLL driver in with the rest of the clock code, we can make these functions static again. We still keep the pll header for unit testing, but it is pretty reduced. Signed-off-by: Sean Anderson ---

[PATCH 05/11] clk: k210: Re-add support for setting rate

2021-04-11 Thread Sean Anderson
This adds support for setting clock rates, which was left out of the initial CCF expunging. There are several tricky bits here, mostly related to the PLLS: * The PLL's bypass is broken. If the PLL is reconfigured, any child clocks will be stopped. * PLL0 is the parent of ACLK which is the CPU an

[PATCH 04/11] clk: k210: Implement soc_clk_dump

2021-04-11 Thread Sean Anderson
Since we are no longer using CCF we cannot use the default soc_clk_dump. Instead, implement our own. Signed-off-by: Sean Anderson --- drivers/clk/kendryte/clk.c | 68 -- 1 file changed, 66 insertions(+), 2 deletions(-) diff --git a/drivers/clk/kendryte/clk.c

[PATCH 01/11] clk: Allow force setting clock defaults before relocation

2021-04-11 Thread Sean Anderson
Since 291da96b8e ("clk: Allow clock defaults to be set during re-reloc state for SPL only") it has been impossible to set clock defaults before relocation. This is annoying on boards without SPL, since there is no way to set clock defaults before U-Boot proper. In particular, the aisram rate must b

[PATCH 00/11] clk: k210: Rewrite K210 clock without CCF

2021-04-11 Thread Sean Anderson
This is something I've been meaning to do for a while but only just got around to. The CCF has been quite unwieldy in a few ways: * It is very rigid, and there are not easy ways to hook into it without rewriting many things. See e.g. things like the bypass clock and all the _half clocks which

Re: [PATCH 2/2] net: fec: Only unregister MII bus if we registered it

2021-04-11 Thread Ramon Fried
On Fri, Apr 9, 2021 at 12:10 AM Sean Anderson wrote: > > If we fail to probe for whatever reason, we cannot unregister/free the > MII bus unless we registered it with fec_get_miibus. This fixes FECs > sharing an MDIO bus from destroying it, preventing the other FEC from > using it. > > Fixes: 6a89

Re: [PATCH 1/2] net: fec: Don't use disabled phys

2021-04-11 Thread Ramon Fried
On Fri, Apr 9, 2021 at 12:10 AM Sean Anderson wrote: > > If a phy is disabled, don't use it. This matches Linux's behavior. > > Signed-off-by: Sean Anderson > --- > > drivers/net/fec_mxc.c | 13 - > 1 file changed, 8 insertions(+), 5 deletions(-) > > diff --git a/drivers/net/fec_mxc.

Re: [RFC PATCH v4 1/2] arch: riscv: cpu: Add callback to init each core

2021-04-11 Thread Green Wan
Hi Bin and Sean, While we keep the consistency of cache control discussion going, later today I'd like to send the v5 patch which is not directly relevant to cache control. Regards, Green On Sun, Apr 11, 2021 at 11:43 PM Sean Anderson wrote: > > On 4/9/21 12:05 PM, Green Wan wrote: > > Hi folks

Re: [PATCH V2 09/24] imx: power-domain: Add fsl, imx8mn-gpc compatible string

2021-04-11 Thread Jaehoon Chung
On 4/12/21 1:28 AM, Marek Vasut wrote: > The driver is compatible with iMX8MN, add missing compatible string. > > Signed-off-by: Marek Vasut > Cc: Fabio Estevam > Cc: Peng Fan > Cc: Stefano Babic > Cc: Ye Li > Cc: uboot-imx Reviewed-by: Jaehoon Chung Best Regards, Jaehoon chung > --- > V

Re: [PATCH V2 08/24] imx: power-domain: Add fsl, imx8mm-gpc compatible string

2021-04-11 Thread Jaehoon Chung
On 4/12/21 1:28 AM, Marek Vasut wrote: > The driver is compatible with iMX8MM, add missing compatible string. > > Signed-off-by: Marek Vasut > Cc: Fabio Estevam > Cc: Peng Fan > Cc: Stefano Babic > Cc: Ye Li > Cc: uboot-imx Reviewed-by: Jaehoon Chung Best Regards, Jaehoon chung > --- > V

Re: [PATCH 0/2] net: jr2: Fix for jr2 switch

2021-04-11 Thread Horatiu Vultur
Hi, A gentle ping. Thanks. The 03/10/2021 09:31, Horatiu Vultur wrote: > This patch series contains two patches. The first patch resets the > switch at probe time while the second one fixes an issue with the > serdes6g configuration which is used on jr2_pcb111 board > > Horatiu Vultur (2): > n

Re: [PATCH 1/6] arm: highbank: Limit FDT and initrd load addresses

2021-04-11 Thread Tom Rini
On Mon, Apr 12, 2021 at 01:04:50AM +0100, Andre Przywara wrote: > So far on Highbank/Midway machines U-Boot only ever uses 512MB of DRAM, > even though the machines have typically 4GB and 8GB, respectively. > That means that so far we didn't need an extra limit for placing the DTB > and initrd, as

Re: [PATCH 54/57] ppc: Remove MPC837XEMDS board

2021-04-11 Thread Tom Rini
On Sat, Feb 20, 2021 at 08:06:31PM -0500, Tom Rini wrote: > This board has not been converted to CONFIG_DM_MMC by the deadline. > Remove it. > > Cc: Priyanka Jain > Signed-off-by: Tom Rini [note: Reworked to leave the rest of the ARCH support as we have another one in family that was updated]

Re: [PATCH 53/57] ppc: Remove Cyrus_P5020 and P5040 boards

2021-04-11 Thread Tom Rini
On Sat, Feb 20, 2021 at 08:06:30PM -0500, Tom Rini wrote: > These boards have not been converted to CONFIG_DM_MMC by the deadline. > Remove them. As the P5020 is the last ARCH_P5020 platform, remove that > support as well. > > Cc: Andy Fleming > Cc: Priyanka Jain > Signed-off-by: Tom Rini > R

Re: [PATCH 48/57] ppc: Remove controlcenterd boards

2021-04-11 Thread Tom Rini
On Sat, Feb 20, 2021 at 08:06:25PM -0500, Tom Rini wrote: > These boards have not been converted to CONFIG_DM_MMC by the deadline. > Remove them. > > Cc: Mario Six > Cc: Dirk Eibach > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 49/57] ppc: Remove ARCH_P1022 support

2021-04-11 Thread Tom Rini
On Sat, Feb 20, 2021 at 08:06:26PM -0500, Tom Rini wrote: > With the last of the ARCH_P1022 platforms removed, finish removing the > rest of the platform support. > > Cc: Priyanka Jain > Signed-off-by: Tom Rini > Reviewed-by: Priyanka Jain Applied to u-boot/master, thanks! -- Tom signatur

Re: [PATCH 47/57] ppc: Remove gdsys hrcon boards

2021-04-11 Thread Tom Rini
On Sat, Feb 20, 2021 at 08:06:24PM -0500, Tom Rini wrote: > These boards have not been converted to CONFIG_DM_MMC, along with other > DM conversions, by the deadline. Remove them. > > Cc: Dirk Eibach > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Descript

Re: [PATCH 46/57] ppc: Remove gdsys strider boards

2021-04-11 Thread Tom Rini
On Sat, Feb 20, 2021 at 08:06:23PM -0500, Tom Rini wrote: > These boards have not been converted to CONFIG_DM_MMC, along with other > DM conversions, by the deadline. Remove them. > > Cc: Dirk Eibach > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Descript

Re: [PATCH 45/57] ppc: Remove MPC8308RDB board

2021-04-11 Thread Tom Rini
On Sat, Feb 20, 2021 at 08:06:22PM -0500, Tom Rini wrote: > This board has not been converted to CONFIG_DM_MMC by the deadline. > Remove it. > > Cc: Ilya Yanok > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 44/57] ppc: Remove T2081QDS board and ARCH_T2081 support

2021-04-11 Thread Tom Rini
On Sat, Feb 20, 2021 at 08:06:21PM -0500, Tom Rini wrote: > This board has not been converted to CONFIG_DM_MMC by the deadline. > Remove it. It is also the only ARCH_T2081 board so remove that support > as well. > > Cc: Shengzhou Liu > Cc: Ruchika Gupta > Signed-off-by: Tom Rini Applied to u

Re: [PATCH 43/57] ppc: Remove TARGET_T1040QDS references

2021-04-11 Thread Tom Rini
On Sat, Feb 20, 2021 at 08:06:20PM -0500, Tom Rini wrote: > The TARGET_T1040QDS platforms have been removed already, drop some > remaining references in the code. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 41/57] arm: Remove tqma6s_wru4_mmc config

2021-04-11 Thread Tom Rini
On Sat, Feb 20, 2021 at 08:06:18PM -0500, Tom Rini wrote: > This board has not been converted to CONFIG_DM_MMC by the deadline. > Remove it. > > Cc: Markus Niebel > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 39/57] arm: Remove mx6dlarm2 board

2021-04-11 Thread Tom Rini
On Sat, Feb 20, 2021 at 08:06:16PM -0500, Tom Rini wrote: > This board has not been converted to CONFIG_DM_MMC by the deadline. > Remove it. > > Cc: Jason Liu > Cc: Ye Li > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 38/57] arm: Remove cgtqmx6eval board

2021-04-11 Thread Tom Rini
On Sat, Feb 20, 2021 at 08:06:15PM -0500, Tom Rini wrote: > This board has not been converted to CONFIG_DM_MMC by the deadline. > Remove it. > > Cc: Otavio Salvador > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 37/57] arm: Remove titanium board

2021-04-11 Thread Tom Rini
On Sat, Feb 20, 2021 at 08:06:14PM -0500, Tom Rini wrote: > This board has not been converted to CONFIG_DM_MMC by the deadline. > Remove it. > > Cc: Stefan Roese > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 36/57] arm: Remove ts4800 board

2021-04-11 Thread Tom Rini
On Sat, Feb 20, 2021 at 08:06:13PM -0500, Tom Rini wrote: > This board has not been converted to CONFIG_DM_MMC by the deadline. > Remove it. > > Cc: Lucile Quirion > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 34/57] arm: Remove mx53evk board

2021-04-11 Thread Tom Rini
On Sat, Feb 20, 2021 at 08:06:11PM -0500, Tom Rini wrote: > This board has not been converted to CONFIG_DM_MMC by the deadline. > Remove it. > > Cc: Jason Liu > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 32/57] arm: Remove pfla02 board

2021-04-11 Thread Tom Rini
On Sat, Feb 20, 2021 at 08:06:09PM -0500, Tom Rini wrote: > This board has not been converted to CONFIG_DM_MMC by the deadline. > Remove it. > > Cc: Stefano Babic > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 31/57] arm: Remove zc5202 and zc5601 boards

2021-04-11 Thread Tom Rini
On Sat, Feb 20, 2021 at 08:06:08PM -0500, Tom Rini wrote: > These boards have not been converted to CONFIG_DM_MMC by the deadline. > Remove them. > > Cc: Stefano Babic > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 29/57] arm: Remove xpress board

2021-04-11 Thread Tom Rini
On Sat, Feb 20, 2021 at 08:06:06PM -0500, Tom Rini wrote: > This board has not been converted to CONFIG_DM_MMC by the deadline. > Remove it. > > Cc: Stefan Roese > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 27/57] arm: Remove kc1 board

2021-04-11 Thread Tom Rini
On Sat, Feb 20, 2021 at 08:06:04PM -0500, Tom Rini wrote: > This board has not been converted to CONFIG_DM_MMC by the deadline. > Remove it. > > Cc: Paul Kocialkowski > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 26/57] arm: Remove am3517_crane board

2021-04-11 Thread Tom Rini
On Sat, Feb 20, 2021 at 08:06:03PM -0500, Tom Rini wrote: > This board has not been converted to CONFIG_DM_MMC by the deadline. > Remove it. > > Cc: Nagendra T S > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 21/57] arm: Remove platinum_picon board

2021-04-11 Thread Tom Rini
On Sat, Feb 20, 2021 at 08:05:58PM -0500, Tom Rini wrote: > This board has not been converted to CONFIG_DM_MMC by the deadline. > Remove it. > > Cc: Stefan Roese > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 25/57] arm: Remove omap3_ha board

2021-04-11 Thread Tom Rini
On Sat, Feb 20, 2021 at 08:06:02PM -0500, Tom Rini wrote: > This board has not been converted to CONFIG_DM_MMC by the deadline. > Remove it. > > Cc: Stefan Roese > Cc: Tapani Utriainen > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signat

Re: [PATCH 24/57] arm: Remove tricorder board

2021-04-11 Thread Tom Rini
On Sat, Feb 20, 2021 at 08:06:01PM -0500, Tom Rini wrote: > This board has not been converted to CONFIG_DM_MMC by the deadline. > Remove it. > > Cc: Thomas Weber > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 18/57] arm: Remove bcm23550_w1d board

2021-04-11 Thread Tom Rini
On Sat, Feb 20, 2021 at 08:05:55PM -0500, Tom Rini wrote: > This board has not been converted to CONFIG_DM_MMC by the deadline. > Remove it. > > Cc: Steve Rae > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 20/57] arm: Remove Broadcom Cygnus boards

2021-04-11 Thread Tom Rini
On Sat, Feb 20, 2021 at 08:05:57PM -0500, Tom Rini wrote: > These boards have not been converted to CONFIG_DM by the deadline. > Remove them. > > Cc: Steve Rae > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 17/57] arm: Remove bcm28155_ap board

2021-04-11 Thread Tom Rini
On Sat, Feb 20, 2021 at 08:05:54PM -0500, Tom Rini wrote: > This board has not been converted to CONFIG_DM_MMC by the deadline. > Remove it. > > Cc: Steve Rae > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 16/57] arm: Remove picosam9g45 board

2021-04-11 Thread Tom Rini
On Sat, Feb 20, 2021 at 08:05:53PM -0500, Tom Rini wrote: > This board has not been converted to CONFIG_DM_MMC by the deadline. > Remove it. > > Cc: Erik van Luijk > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 15/57] arm: Remove wb50n board

2021-04-11 Thread Tom Rini
On Sat, Feb 20, 2021 at 08:05:52PM -0500, Tom Rini wrote: > This board has not been converted to CONFIG_DM_MMC by the deadline. > Remove it. > > Cc: Ben Whitten > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 14/57] arm: Remove wb45n board

2021-04-11 Thread Tom Rini
On Sat, Feb 20, 2021 at 08:05:51PM -0500, Tom Rini wrote: > This board has not been converted to CONFIG_DM_MMC by the deadline. > Remove it. > > Cc: Ben Whitten > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 13/57] arm: Remove bcm958712k board

2021-04-11 Thread Tom Rini
On Sat, Feb 20, 2021 at 08:05:50PM -0500, Tom Rini wrote: > This board has not been converted to CONFIG_DM_MMC by the deadline. > Remove it. > > Cc: Jon Mason > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 12/57] arm: Remove s32v234evb board

2021-04-11 Thread Tom Rini
On Sat, Feb 20, 2021 at 08:05:49PM -0500, Tom Rini wrote: > This board has not been converted to CONFIG_DM_MMC by the deadline. > Remove it. > > Cc: Eddy Petrișor > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 11/57] arm: Remove secomx6quq7 board

2021-04-11 Thread Tom Rini
On Sat, Feb 20, 2021 at 08:05:48PM -0500, Tom Rini wrote: > This board has not been converted to CONFIG_DM_MMC by the deadline. > Remove it. > > Cc: Boris Brezillon > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 10/57] arm: Remove vexpress_ca15_tc2 board

2021-04-11 Thread Tom Rini
On Sat, Feb 20, 2021 at 08:05:47PM -0500, Tom Rini wrote: > This board has not been converted to CONFIG_DM_MMC by the deadline. > Remove it. > > Cc: Linus Walleij > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 05/57] arm: Remove ts4600 board

2021-04-11 Thread Tom Rini
On Sat, Feb 20, 2021 at 08:05:42PM -0500, Tom Rini wrote: > This board has not been converted to CONFIG_DM_MMC by the deadline. > Remove it. > > Cc: Sebastien Bourdelin > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 04/57] arm: Remove sc_sps_1 board

2021-04-11 Thread Tom Rini
On Sat, Feb 20, 2021 at 08:05:41PM -0500, Tom Rini wrote: > This board has not been converted to CONFIG_DM_MMC by the deadline. > Remove it. > > Cc: Marek Vasut > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 06/57] arm: Remove apf27 board

2021-04-11 Thread Tom Rini
On Sat, Feb 20, 2021 at 08:05:43PM -0500, Tom Rini wrote: > This board has not been converted to CONFIG_DM_MMC by the deadline. > Remove it. > > Cc: Philippe Reynes > Cc: Eric Jarrige > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signatu

Re: [PATCH 01/57] arm: Remove xfi3 board

2021-04-11 Thread Tom Rini
On Sat, Feb 20, 2021 at 08:05:38PM -0500, Tom Rini wrote: > This board has not been converted to CONFIG_DM_MMC by the deadline. > Remove it. > > Cc: Marek Vasut > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 03/57] arm: Remove SANSA_FUZE_PLUS board

2021-04-11 Thread Tom Rini
On Sat, Feb 20, 2021 at 08:05:40PM -0500, Tom Rini wrote: > This board has not been converted to CONFIG_DM_MMC by the deadline. > Remove it. > > Cc: Marek Vasut > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 15/16] drivers: ata: Remove mvsata_ide driver

2021-04-11 Thread Tom Rini
On Tue, Feb 09, 2021 at 09:42:56PM -0500, Tom Rini wrote: > The mvsata_ide driver was due for DM conversion by v2019.07. As that > has long passed, remove the driver and disable it in the boards which > had enabled it. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom si

Re: [PATCH 09/16] ppc: Remove MPC8349ITX board

2021-04-11 Thread Tom Rini
On Tue, Feb 09, 2021 at 09:42:50PM -0500, Tom Rini wrote: > This board relies on using CONFIG_LIBATA but does not enable CONFIG_AHCI. The > deadline for this conversion was the v2019.07 release. The use of CONFIG_AHCI > requires CONFIG_DM. The deadline for this conversion was v2020.01. Remove

Re: [PATCH 06/16] arm: Remove dms-ba16 board

2021-04-11 Thread Tom Rini
On Tue, Feb 09, 2021 at 09:42:47PM -0500, Tom Rini wrote: > This board relies on using CONFIG_LIBATA but does not enable CONFIG_AHCI. The > deadline for this conversion was the v2019.07 release. The use of CONFIG_AHCI > requires CONFIG_DM. The deadline for this conversion was v2020.01. Remove

Re: [PATCH 07/16] arm: Remove ot1200 board

2021-04-11 Thread Tom Rini
On Tue, Feb 09, 2021 at 09:42:48PM -0500, Tom Rini wrote: > This board relies on using CONFIG_LIBATA but does not enable CONFIG_AHCI. The > deadline for this conversion was the v2019.07 release. In order to > convert to using the DWC SATA driver under DM further migrations are > required. > > C

Re: [PATCH 03/16] ata: DWC_AHSATA depends on BLK

2021-04-11 Thread Tom Rini
On Tue, Feb 09, 2021 at 09:42:44PM -0500, Tom Rini wrote: > The dwc ahsata driver is written such that CONFIG_BLK must be enabled, > add this as a dependency in Kconfig. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 02/16] am57xx_hs_evm_usb: Enable AHCI and BLK

2021-04-11 Thread Tom Rini
On Tue, Feb 09, 2021 at 09:42:43PM -0500, Tom Rini wrote: > Enable the AHCI and BLK features to complete migration of various > drivers. > > Cc: Andrew F. Davis > Cc: Lokesh Vutla > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 01/16] ls1012aqds_tfa_SECURE_BOOT: Remove unused CONFIG_SCSI_AHCI

2021-04-11 Thread Tom Rini
On Tue, Feb 09, 2021 at 09:42:42PM -0500, Tom Rini wrote: > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

[PATCH 3/6] net: calxedagmac: Convert to DM_ETH

2021-04-11 Thread Andre Przywara
To squash that nasty warning message and make better use of the newly gained OF_CONTROL feature, let's convert the calxedagmac driver to the "new" driver model. The conversion is pretty straight forward, mostly just adjusting the use of the involved data structures. The only actual change is the re

[PATCH 5/6] arm: highbank: Do DRAM init from DT

2021-04-11 Thread Andre Przywara
So far U-Boot was hard coding a (surely sufficient) memory size of 512 MB, even though all machines out there have at least 4GB of DRAM. Since U-Boot uses its memory knowledge to populate the EFI memory map, we are missing out here, at best losing everything beyond 4GB on Midway boxes (which typica

[PATCH 6/6] arm: highbank: Update maintainership

2021-04-11 Thread Andre Przywara
Rob does not have access to any Calxeda systems anymore, also has expressed a lack of interest in those systems in the past. I have multiple working Midway nodes under my desk in the office, so am happy to take over maintainership. Signed-off-by: Andre Przywara --- board/highbank/MAINTA

[PATCH 4/6] arm: highbank: Remove artificial SDRAM size

2021-04-11 Thread Andre Przywara
So far we were defining a somewhat confusing PHYS_SDRAM_1_SIZE variable, which originally was only used for setting the memtest boundaries. This definition in highbank.h has been removed about a year ago (moved to Kconfig), so we also don't need the hard-coded size definition any longer. Get rid o

[PATCH 2/6] arm: highbank: Enable OF_CONTROL

2021-04-11 Thread Andre Przywara
All Calxeda machines are actually a poster book example of device tree usage: the DT is loaded from flash by the management processor into DRAM, the memory node is populated with the detected DRAM size and this DT is then handed over to the kernel. So it's a shame that U-Boot didn't participate in

[PATCH 1/6] arm: highbank: Limit FDT and initrd load addresses

2021-04-11 Thread Andre Przywara
So far on Highbank/Midway machines U-Boot only ever uses 512MB of DRAM, even though the machines have typically 4GB and 8GB, respectively. That means that so far we didn't need an extra limit for placing the DTB and initrd, as the 512MB are lower than the kernel's limit ("lowmem", typically 768MB).

[PATCH 0/6] highbank: Update to driver model

2021-04-11 Thread Andre Przywara
The Calxeda Highbank and Midway systems have not been updated in a while, so were gathering more and more warning messages about not being DM compliant over time. To avoid the support being removed, update the board to comply with modern U-Boot standards: - Enable OF_CONTROL, and use the DTB provi

Re: [BUG][Cyrus BOARD] out of bound access in board/varisys/common/sys_eeprom.c

2021-04-11 Thread Tom Rini
On Mon, Apr 12, 2021 at 12:25:32AM +0200, Heinrich Schuchardt wrote: > Hello Andy, > > in the code of your patch "mpc85xx: Add support for the Varisys Cyrus > board" merged in 2015 as 87e29878cab an out of bound access occurs. See > below. > > On 11/4/15 10:48 PM, Andy Fleming wrote: > > This bo

[BUG][Cyrus BOARD] out of bound access in board/varisys/common/sys_eeprom.c

2021-04-11 Thread Heinrich Schuchardt
Hello Andy, in the code of your patch "mpc85xx: Add support for the Varisys Cyrus board" merged in 2015 as 87e29878cab an out of bound access occurs. See below. On 11/4/15 10:48 PM, Andy Fleming wrote: This board runs a P5020 or P5040 chip, and utilizes an EEPROM with similar formatting to the

Re: [PATCH v2] power: regulator: Add support for regulator-force-boot-off

2021-04-11 Thread Jaehoon Chung
On 4/10/21 3:42 PM, Stefan Roese wrote: > From: Konstantin Porotchkin > > Add support for regulator-force-boot-off DT property. > This property can be used by the board/device drivers for > turning off regulators on early init stages as pre-requisite > for the other components initialization. >

Re: [patch v4 0/9] rk3399 (Pinebook pro) EDP support

2021-04-11 Thread Anatolij Gustschin
On Fri, 05 Mar 2021 11:27:45 +0100 Arnaud Patard (Rtp) arnaud.pat...@rtp-net.org wrote: > This patchset add support for the rk3399 eDP. It has been tested on the > pinebook > pro and Google Kevin chromeos devices. > > The changes have been written by studying the linux code, since I didn't find

Re: [PATCH v3 2/2] pwm: Add a driver for Chrome OS EC PWM

2021-04-11 Thread Anatolij Gustschin
On Thu, 22 Oct 2020 23:49:27 +0300 Alper Nebi Yasak alpernebiya...@gmail.com wrote: ... > doc/device-tree-bindings/pwm/cros-ec-pwm.txt | 23 ++ > drivers/misc/cros_ec.c | 17 > drivers/pwm/Kconfig | 9 +++ > drivers/pwm/Makefile

Re: [PATCH v3 1/2] video: backlight: Support PWMs without a known period_ns

2021-04-11 Thread Anatolij Gustschin
On Thu, 22 Oct 2020 23:49:26 +0300 Alper Nebi Yasak alpernebiya...@gmail.com wrote: ... > drivers/pwm/sandbox_pwm.c | 11 +-- > drivers/video/pwm_backlight.c | 20 ++-- > include/pwm.h | 8 > test/dm/pwm.c | 11 +++ > 4

Re: [PATCH] video: SIMPLE_PANEL depends on DM_GPIO

2021-04-11 Thread Anatolij Gustschin
On Wed, 3 Mar 2021 14:46:47 +1100 Asherah Connor a...@kivikakk.ee wrote: ... > drivers/video/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) applied to u-boot-video/master, thanks! -- Anatolij

Re: [PATCH] finish removing mb862xx video driver

2021-04-11 Thread Anatolij Gustschin
On Mon, 15 Mar 2021 18:52:45 -0400 Trevor Woerner twoer...@gmail.com wrote: ... > drivers/video/cfb_console.c | 14 -- > scripts/config_whitelist.txt | 1 - > 2 files changed, 15 deletions(-) applied to u-boot-video/master, thanks! -- Anatolij

Re: [PATCH] board_f: cosmetic: change the debug trace to KB in reserve_video

2021-04-11 Thread Anatolij Gustschin
On Fri, 9 Apr 2021 18:02:06 +0200 Patrick Delaunay patrick.delau...@foss.st.com wrote: ... > Fixes: 5630d2fbc50f3035 ("board: Show memory for frame buffers") > Signed-off-by: Patrick Delaunay > --- > > common/board_f.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) applied to u-boot-vi

Re: [RFC 1/1] tegra: video: fix tegra_dc_sor_config_panel()

2021-04-11 Thread Anatolij Gustschin
On Mon, 5 Apr 2021 01:48:51 +0200 Heinrich Schuchardt xypron.g...@gmx.de wrote: ... > --- > drivers/video/tegra124/sor.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) applied to u-boot-video/master, thanks! -- Anatolij

Re: [PATCH] video: Fix line padding calculation for 16 and 24 BPP bitmaps

2021-04-11 Thread Anatolij Gustschin
On Tue, 1 Dec 2020 12:30:50 +0100 Sylwester Nawrocki s.nawro...@samsung.com wrote: > Each row in the pixel array in the bitmap file is padded > if necessary so the row size is always a multiple of 4 bytes. > In current code the complement of row size to a multiple of > 4 bytes is further unnecess

[PATCH 2/2] clk: renesas: Synchronize Gen2 MSTP teardown tables

2021-04-11 Thread Marek Vasut
Synchronize Gen2 MSTP teardown tables with datasheet Rev.2.00 Feb 01, 2016. This corrects the following bits: - added H2 MSTP3[10] SCIF2 - added H2/M2/E2 MSTP7[29] TCON - removed E2 MSTP5[22] Thermal Sensor - removed E2 MSTP10[31,24:22] SRC0, SRC7:9 Signed-off-by: Marek Vasut Cc: Nobuhiro

[PATCH 1/2] clk: renesas: Only ever access documented bits in clock driver teardown

2021-04-11 Thread Marek Vasut
The clock driver used a heavy-handed approach where it turned off all available clocks, while also possibly setting bits which are not documented in the R-Car datasheet. Update the tables so that only the bits which are documented are set or cleared when tearing down the clock driver. Note that th

[PATCH] ARM: renesas: Scrub duplicate memory nodes from DT on Gen3

2021-04-11 Thread Marek Vasut
Scrub duplicate /memory@* node entries here. Some R-Car DTs might contain multiple /memory@* nodes, however fdt_fixup_memory_banks() either generates single /memory node or updates the first /memory node. Any remaining memory nodes are thus potential duplicates. However, it is not possible to dele

[PATCH] ARM: rmobile: Enable NVMe support on RCar3

2021-04-11 Thread Marek Vasut
Enable support for PCIe NVMe devices. Signed-off-by: Marek Vasut --- configs/rcar3_salvator-x_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/rcar3_salvator-x_defconfig b/configs/rcar3_salvator-x_defconfig index cd250e93d3..c5215d6a5d 100644 --- a/configs/rcar3_salvator-x_

Re: [PATCH v2 1/2] dm: core: Add size operations on device tree references

2021-04-11 Thread Simon Glass
On Fri, 2 Apr 2021 at 19:30, chenguanqiao wrote: > > Add functions to add size of addresses in the device tree using ofnode > references. > > Signed-off-by: Chen Guanqiao > --- > drivers/core/ofnode.c | 9 + > include/dm/ofnode.h | 10 ++ > 2 files changed, 19 insertions(+) >

Re: [PATCH v2 2/2] test: dm: add test item for ofnode_get_addr() and ofnode_get_size()

2021-04-11 Thread Simon Glass
On Fri, 2 Apr 2021 at 19:28, chenguanqiao wrote: > > Add test item for getting address and size functions > > Test the following function: > - ofnode_get_addr() > - ofnode_get_size() > > Signed-off-by: Chen Guanqiao > --- > test/dm/ofnode.c | 24 > 1 file changed, 24 ins

Re: [PATCH v3 1/4] psci: add features/reset2 support

2021-04-11 Thread Simon Glass
Hi Igor, On Thu, 1 Apr 2021 at 09:16, Igor Opaniuk wrote: > > From: Igor Opaniuk > > Adds support for: > * PSCI_FEATURES, which was introduced in PSCI 1.0. This provides API > that allows discovering whether a specific PSCI function is implemented > and its features. > * SYSTEM_RESET2, which was

Re: [PATCH 1/1] doc: duplicate target 'youtube'

2021-04-11 Thread Simon Glass
On Sun, 11 Apr 2021 at 06:36, Heinrich Schuchardt wrote: > > Two external references cannot have the same name: > > doc/chromium/overview.rst:5: > WARNING: Duplicate explicit target name: "youtube" > > Signed-off-by: Heinrich Schuchardt > --- > doc/chromium/overview.rst | 6 +++--- > 1 file chan

[PATCH] ARM: rmobile: Enable CONFIG_SYS_FLASH_PROTECTION

2021-04-11 Thread Marek Vasut
Enable CONFIG_SYS_FLASH_PROTECTION on Salvator-X(S), ULCB, Ebisu, which means the Spansion HF PPB protection bits can be operated using the 'protect' U-Boot command. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- configs/r8a77990_ebisu_defconfig | 3 +++ configs/rcar3_salvator-x_defconf

[PATCH] mtd: cfi: Fix PPB lock status readout

2021-04-11 Thread Marek Vasut
According to S26KL512S datasheet [1] and S29GL01GS datasheet [2], the procedure to read out PPB lock bits is to send the PPB Entry, PPB Read, Reset/ASO Exit. Currently, the code does send incorrect PPB Entry, PPB Read and Reset/ASO Exit is completely missing. The PPB Entry sent is implemented by s

Re: Please pull u-boot-video

2021-04-11 Thread Tom Rini
On Sat, Apr 10, 2021 at 11:21:03PM +0200, Anatolij Gustschin wrote: > Hi Tom, > > please pull video patches for v2021.07-rc1. > > gitlab CI: > https://source.denx.de/u-boot/custodians/u-boot-video/-/pipelines/7124 > > Thanks, > Anatolij > > The following changes since commit a1e95e3805eacca11

[PATCH] doc: imx: psb: Fix missing setexpr arguments

2021-04-11 Thread Marek Vasut
Due to copy-paste error, two of the setexpr arguments were missing. Add the missing arguments. Signed-off-by: Marek Vasut Cc: Peng Fan Cc: Stefano Babic Cc: Ye Li Cc: uboot-imx --- doc/imx/misc/psb.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/imx/misc/psb.rst b

Re: [PATCH 1/1] doc: imx: psb: fix footnotes

2021-04-11 Thread Marek Vasut
On 4/11/21 5:06 PM, Heinrich Schuchardt wrote: In reStructured text footnotes are referenced like [1]_. Add missing underscores. Signed-off-by: Heinrich Schuchardt Acked-by: Marek Vasut Thanks

[PATCH V2 24/24] ARM: imx8m: verdin-imx8mm: Enable USB Host support

2021-04-11 Thread Marek Vasut
Enable USB host support on MX8MM Verdin. Signed-off-by: Marek Vasut Cc: Marcel Ziswiler Cc: Max Krummenacher Cc: Oleksandr Suvorov --- V2: No change --- configs/verdin-imx8mm_defconfig | 8 +++- include/configs/verdin-imx8mm.h | 5 + 2 files changed, 12 insertions(+), 1 deletion(-) d

[PATCH V2 23/24] usb: ehci-mx6: Add iMX8M support

2021-04-11 Thread Marek Vasut
The iMX8M uses nop PHY, select PHY and NOP_PHY automatically. Otherwise, the DM capable driver is now perfectly compatible. Signed-off-by: Marek Vasut Cc: Fabio Estevam Cc: Peng Fan Cc: Stefano Babic Cc: Ye Li Cc: uboot-imx --- V2: Permit the driver on all iMX8M SoCs, not just iMX8MM --- dr

  1   2   >