Re: [PATCH] ARM: dts: stm32: Add USB OTG pinctrl and regulator nodes into SPL DT on DHCOR

2022-03-11 Thread Marek Vasut
On 1/31/22 09:22, Patrice CHOTARD wrote: Hi Marek Hi, On 1/28/22 19:35, Marek Vasut wrote: Fix the following warning in SPL and make sure that even DTs which enforce Vbus detection using u-boot,force-vbus-detection;, the DFU in SPL will work. dwc2-udc-otg usb-otg@4900: prop pinctrl-0 in

Re: [PATCH] ARM: dts: stm32: Move vdd_io extras into Avenger96 extras

2022-03-11 Thread Marek Vasut
On 2/10/22 17:32, Patrick DELAUNAY wrote: Hi, Hi, On 2/3/22 02:49, Marek Vasut wrote: The vdd_io regulator is present only on DHCOR SoM configured for 1V8 IO, as populated on Avenger96, but not present on 3V3 DHCOR SoM. Move these extras to Avenger96 u-boot DT extras. Fixes: 3919aa1722a ("A

[PATCH v7 0/4] add TCB driver for sama5d2

2022-03-11 Thread Clément Léger
When booting under OP-TEE, the SYSC is secured which means the PIT is also not accessible by non-secure world. The TCB 0 however is always available for non-secure world and thus can be used. This series add a TCB driver and enables it in sama5d2 configs. --- Changes in v7: - Keep the exact same L

[PATCH v7 2/4] ARM: dts: at91: sama5d2: add AIC node

2022-03-11 Thread Clément Léger
When using interrupts property, a global interrupt controller needs to be added to avoid warnings when compiling device-tree: arch/arm/dts/at91-sama5d2_xplained.dtb: Warning (interrupts_property): /ahb/apb/timer@f800c000: Missing interrupt-parent Add AIC node as the sama5d2 global interrupt

[PATCH v7 1/4] timer: atmel_tcb_timer: add atmel_tcb driver

2022-03-11 Thread Clément Léger
Add a driver for the timer counter block that can be found on sama5d2. This driver will be used when booting under OP-TEE since the pit timer which is part of the SYSC is secured. Channel 1 & 2 are configured to be chained together which allows to have a 64bits counter. Reviewed-by: Claudiu Beznea

[PATCH v7 4/4] configs: sama5d2: enable option CONFIG_ATMEL_TCB_TIMER

2022-03-11 Thread Clément Léger
Enable CONFIG_ATMEL_TCB_TIMER and disable CONFIG_ATMEL_PIT_TIMER. This will allow using the TCB timer instead of the PIT one when running under OP-TEE. Reviewed-by: Claudiu Beznea Signed-off-by: Clément Léger --- configs/sama5d2_icp_mmc_defconfig| 2 +- configs/sama5d2_ptc_ek_mmc_de

[PATCH v7 3/4] ARM: dts: at91: sama5d2: add TCB node

2022-03-11 Thread Clément Léger
Add the device-tree node to describe the TCB timer. Signed-off-by: Clément Léger --- arch/arm/dts/sama5d2.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/dts/sama5d2.dtsi b/arch/arm/dts/sama5d2.dtsi index 7de58e4a1f..058009adca 100644 --- a/arch/arm/dts/sama5d

Re: [PATCH] ARM: dts: stm32: Move vdd_io extras into Avenger96 extras

2022-03-11 Thread Patrice CHOTARD
Hi Marek On 3/11/22 10:19, Marek Vasut wrote: > On 2/10/22 17:32, Patrick DELAUNAY wrote: >> Hi, > > Hi, > >> On 2/3/22 02:49, Marek Vasut wrote: >>> The vdd_io regulator is present only on DHCOR SoM configured for 1V8 IO, >>> as populated on Avenger96, but not present on 3V3 DHCOR SoM. Move the

Re: [PATCH] clk: imx8mq: Add a clock driver for the imx8mq

2022-03-11 Thread Marek Vasut
On 3/11/22 01:53, Angus Ainslie wrote: Based off the imx8mm u-boot driver and the linux kernel driver What does this patch do again ? (it is impossible to tell from the one-line commit message above unless you have it back-to-back with Subject). Also, if these tables come from Linux, please

Re: [PATCH] ARM: dts: stm32: Move vdd_io extras into Avenger96 extras

2022-03-11 Thread Marek Vasut
On 3/11/22 11:14, Patrice CHOTARD wrote: Hi Marek Hi, On 3/11/22 10:19, Marek Vasut wrote: On 2/10/22 17:32, Patrick DELAUNAY wrote: Hi, Hi, On 2/3/22 02:49, Marek Vasut wrote: The vdd_io regulator is present only on DHCOR SoM configured for 1V8 IO, as populated on Avenger96, but not p

Re: [PATCH 1/3] power: Rename CONFIG_POWER_TPS65217 with CONFIG_PMIC_TPS65217

2022-03-11 Thread Lukasz Majewski
Hi Tom, > On Tue, Feb 22, 2022 at 09:03:58AM +0100, Lukasz Majewski wrote: > > Up till now the CONFIG_POWER_TPS65217 has been defined in several > > header files for am335x SoC. > > > > This patch renames it to CONFIG_PMIC_TPS65217, which better > > reflects the role of this IC circuit. > > > >

[PATCH 3/4] Revert "efi: Allow easy selection of serial-only operation"

2022-03-11 Thread Tom Rini
This commit re-introduced a migrated CONFIG symbol to the board header file. These changes should likely be handled via documentation instead, as well. Cc: Simon Glass Signed-off-by: Tom Rini --- include/configs/efi-x86_app.h | 25 - 1 file changed, 25 deletions(-) dif

[PATCH 1/4] CI: Fix unmigrated symbol test

2022-03-11 Thread Tom Rini
When calling comm to compare the CONFIG symbols a defconfig uses with the symbols that have been migrated, we need to suppress all output as the summary line will have everything we need. Failure to do this leads to the test blowing up, but in non-fatal ways. Signed-off-by: Tom Rini --- .azure-

[PATCH 2/4] sunxi: Do not define CONFIG_SPL_STACK_ADDR_R

2022-03-11 Thread Tom Rini
We cannot define a CONFIG value here to ensure that the Kconfig value isn't set wrong. Fixes: 2c699fe0d34d ("configs: sunxi: Add common SUNIV header") Cc: Icenowy Zheng Cc: Andre Przywara Signed-off-by: Tom Rini --- include/configs/sunxi-common.h | 11 --- 1 file changed, 11 deletions(

[PATCH 4/4] configs: Re-run migrations

2022-03-11 Thread Tom Rini
As the CI test for stopping platforms from being merged that were defining symbols that had Kconfig entries, a small number of symbols needed to be migrated again. Do so, and catch two cases the README should also have been updated but was not. Signed-off-by: Tom Rini --- README

Re: [PATCH 1/3] power: Rename CONFIG_POWER_TPS65217 with CONFIG_PMIC_TPS65217

2022-03-11 Thread Tom Rini
On Fri, Mar 11, 2022 at 01:09:08PM +0100, Lukasz Majewski wrote: > Hi Tom, > > > On Tue, Feb 22, 2022 at 09:03:58AM +0100, Lukasz Majewski wrote: > > > Up till now the CONFIG_POWER_TPS65217 has been defined in several > > > header files for am335x SoC. > > > > > > This patch renames it to CONFIG_

Re: [EXT] Re: [PATCH] imx: Revert "imx: mx6ull: fix REFTOP_VBGADJ setting" and fix comments

2022-03-11 Thread Ye Li
Hi Michael, On Fri, 2022-03-11 at 08:57 +0100, Michael Nazzareno Trimarchi wrote: > Caution: EXT Email > > Hi > > On Tue, Mar 8, 2022 at 7:42 AM Ye Li wrote: > > > > > > The change in commit c1af358 (imx: mx6ull: fix REFTOP_VBGADJ > > setting) > > is not correct. According to latest i.MX6ULL

Re: [PATCH 00/17] arm: semihosting: Cleanups and new features

2022-03-11 Thread Andre Przywara
On Thu, 10 Mar 2022 12:16:16 -0500 Tom Rini wrote: > On Thu, Mar 10, 2022 at 12:06:48PM -0500, Sean Anderson wrote: > > > > > > On 3/10/22 12:01 PM, Andre Przywara wrote: > > > On Thu, 10 Mar 2022 11:48:50 -0500 > > > Sean Anderson wrote: > > > > > > Hi, > > > > > >> On 3/4/22 1:46 PM, T

Re: [PATCH 1/3] power: Rename CONFIG_POWER_TPS65217 with CONFIG_PMIC_TPS65217

2022-03-11 Thread Lukasz Majewski
Hi Tom, > On Fri, Mar 11, 2022 at 01:09:08PM +0100, Lukasz Majewski wrote: > > Hi Tom, > > > > > On Tue, Feb 22, 2022 at 09:03:58AM +0100, Lukasz Majewski wrote: > > > > Up till now the CONFIG_POWER_TPS65217 has been defined in > > > > several header files for am335x SoC. > > > > > > > > Thi

Re: [PATCH] clk: imx8mq: Add a clock driver for the imx8mq

2022-03-11 Thread Angus Ainslie
On 2022-03-11 02:18, Marek Vasut wrote: On 3/11/22 01:53, Angus Ainslie wrote: Based off the imx8mm u-boot driver and the linux kernel driver What does this patch do again ? (it is impossible to tell from the one-line commit message above unless you have it back-to-back with Subject). Also, i

Re: [PATCH 1/3] power: Rename CONFIG_POWER_TPS65217 with CONFIG_PMIC_TPS65217

2022-03-11 Thread Tom Rini
On Fri, Mar 11, 2022 at 02:35:45PM +0100, Lukasz Majewski wrote: > Hi Tom, > > > On Fri, Mar 11, 2022 at 01:09:08PM +0100, Lukasz Majewski wrote: > > > Hi Tom, > > > > > > > On Tue, Feb 22, 2022 at 09:03:58AM +0100, Lukasz Majewski wrote: > > > > > Up till now the CONFIG_POWER_TPS65217 has be

Re: [EXT] Re: [PATCH] imx: Revert "imx: mx6ull: fix REFTOP_VBGADJ setting" and fix comments

2022-03-11 Thread Dario Binacchi
Hi, On Fri, Mar 11, 2022 at 1:26 PM Ye Li wrote: > > Hi Michael, > > On Fri, 2022-03-11 at 08:57 +0100, Michael Nazzareno Trimarchi wrote: > > Caution: EXT Email > > > > Hi > > > > On Tue, Mar 8, 2022 at 7:42 AM Ye Li wrote: > > > > > > > > > The change in commit c1af358 (imx: mx6ull: fix REFTOP

[v2 01/15] Convert CONFIG_ARMV7_SECURE_BASE et al to Kconfig

2022-03-11 Thread Tom Rini
This converts the following to Kconfig: CONFIG_ARMV7_SECURE_BASE CONFIG_ARMV7_SECURE_MAX_SIZE CONFIG_ARMV7_SECURE_RESERVE_SIZE Signed-off-by: Tom Rini --- arch/arm/cpu/armv7/Kconfig | 31 ++ configs/Bananapi_M2_Ultra_defconfig| 1 + configs/Liche

[v2 02/15] arm: sunxi: Remove SoC-specific config header files

2022-03-11 Thread Tom Rini
At this point, sunxi-common.h is used for all systems as-is, so remove the other headers and rename sunxi-common.h to sunxi.h. Cc: Jagan Teki Cc: Andre Przywara Signed-off-by: Tom Rini --- Changes in v2: - Drop sun50i.h, rename to "sunxi" per Andre --- arch/arm/mach-sunxi/Kconfig

[v2 03/15] Convert CONFIG_ARMV8_SWITCH_TO_EL1 to Kconfig

2022-03-11 Thread Tom Rini
This converts the following to Kconfig: CONFIG_ARMV8_SWITCH_TO_EL1 Cc: Alex Nemirovsky Cc: Marek Vasut Cc: Michal Simek Cc: Nobuhiro Iwamatsu Cc: Simon Goldschmidt Cc: Tien Fong Chee Signed-off-by: Tom Rini --- Changes in v2: - Don't hide the option, per Michal's request. --- arch/arm/c

[v2 04/15] Convert CONFIG_A003399_NOR_WORKAROUND to Kconfig

2022-03-11 Thread Tom Rini
This converts the following to Kconfig: CONFIG_A003399_NOR_WORKAROUND Signed-off-by: Tom Rini --- README | 4 arch/powerpc/cpu/mpc85xx/Kconfig | 7 +++ include/configs/P1010RDB.h | 6 -- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git

[v2 05/15] Convert CONFIG_A008044_WORKAROUND to Kconfig

2022-03-11 Thread Tom Rini
This converts the following to Kconfig: CONFIG_A008044_WORKAROUND Signed-off-by: Tom Rini --- README | 4 arch/powerpc/cpu/mpc85xx/Kconfig | 7 +++ include/configs/T104xRDB.h | 6 -- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/R

[v2 08/15] powerpc: Move CONFIG_BPTR_VIRT_ADDR out of CONFIG namespace

2022-03-11 Thread Tom Rini
This is only used in one file, and is never overridden. Move this out of CONFIG namespace. Signed-off-by: Tom Rini --- arch/powerpc/cpu/mpc85xx/mp.c | 6 +++--- arch/powerpc/include/asm/config.h | 4 +--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/arch/powerpc/cpu/mpc85x

[v2 06/15] Convert CONFIG_ARP_TIMEOUT to Kconfig

2022-03-11 Thread Tom Rini
This converts the following to Kconfig: CONFIG_ARP_TIMEOUT Cc: Ramon Fried Signed-off-by: Tom Rini --- README | 4 arch/arm/mach-mvebu/include/mach/config.h | 1 - configs/aristainetos2c_defconfig| 1 + configs/aristainetos2ccslb_def

[v2 09/15] Convert CONFIG_BOOT_RETRY_TIME et al to Kconfig

2022-03-11 Thread Tom Rini
This converts the following to Kconfig: CONFIG_BOOT_RETRY_TIME CONFIG_BOOT_RETRY_MIN CONFIG_RESET_TO_RETRY We also introduce CONFIG_BOOT_RETRY to gate these options, and clean up the associated Makefile entry and C code for picking default values of CONFIG_BOOT_RETRY_MIN. Signed-off-by:

[v2 11/15] Remove CONFIG_HAS_ETH0 et al symbols

2022-03-11 Thread Tom Rini
This converts removes the following symbols: CONFIG_HAS_ETH0 CONFIG_HAS_ETH1 CONFIG_HAS_ETH2 CONFIG_HAS_ETH3 This is because at this point, only the ids8313 platform was using the code which was controlled by these symbols. In turn, this code already performs error checking on being a

[v2 10/15] Convert CONFIG_NFS_TIMEOUT to Kconfig

2022-03-11 Thread Tom Rini
This converts the following to Kconfig: CONFIG_NFS_TIMEOUT Cc: Ramon Fried Signed-off-by: Tom Rini --- README | 7 --- cmd/Kconfig | 9 + configs/kzm9g_defconfig | 1 + include/configs/kzm9g.h | 2 -- net/nfs.c | 9 ++--- 5 files cha

[v2 07/15] Convert CONFIG_NET_RETRY_COUNT to Kconfig

2022-03-11 Thread Tom Rini
This converts the following to Kconfig: CONFIG_NET_RETRY_COUNT Cc: Ramon Fried Signed-off-by: Tom Rini --- README| 7 --- arch/arm/mach-mvebu/include/mach/config.h | 7 --- configs/am335x_baltos_defconfig | 1 + configs/am3

[v2 13/15] imx: Convert some boards to DM_ETH

2022-03-11 Thread Tom Rini
A small number of i.MX6/7 and vf610 boards have not enabled DM_ETH yet. Given the state of the rest of the platform, enable DM_ETH. Cc: Alison Wang Cc: Fabio Estevam Cc: Richard Hu Cc: Troy Kisky Cc: Uri Mashiach Signed-off-by: Tom Rini --- I would very much welcome tested and perhaps slight

[v2 14/15] net: fec_mxc: Remove non-DM_ETH code

2022-03-11 Thread Tom Rini
Now that all boards have been converted, remove the non-DM_ETH code. Cc: Fabio Estevam Cc: Ramon Fried Cc: Stefano Babic Signed-off-by: Tom Rini --- drivers/net/fec_mxc.c | 245 -- 1 file changed, 245 deletions(-) diff --git a/drivers/net/fec_mxc.c b/d

[v2 15/15] net: fec_mxc: Drop CONFIG_FEC_XCV_TYPE

2022-03-11 Thread Tom Rini
With all boards now using DM_ETH we determine the value for CONFIG_FEC_XCV_TYPE at run time, except in the case of the default fall-back. Set the fallback directly now. Cc: Fabio Estevam Cc: Ramon Fried Cc: Stefano Babic Signed-off-by: Tom Rini --- doc/README.fec_mxc |

ubifs: fix journal replay wrt. xattr nodes

2022-03-11 Thread Ville Baillie
Hi all Has there been any thought about bringing this fix into the u-boot ubifs layer? https://github.com/torvalds/linux/commit/1cb51a15b576ee325d527726afff40947218fd5e This fixes something that can break boot if you rely on UBIFS to load your kernel images. Thanks Ville

Re: [PATCH] clk: imx8mq: Add a clock driver for the imx8mq

2022-03-11 Thread Marek Vasut
On 3/11/22 14:50, Angus Ainslie wrote: On 2022-03-11 02:18, Marek Vasut wrote: On 3/11/22 01:53, Angus Ainslie wrote: Based off the imx8mm u-boot driver and the linux kernel driver What does this patch do again ? (it is impossible to tell from the one-line commit message above unless you have

Re: [v2 03/15] Convert CONFIG_ARMV8_SWITCH_TO_EL1 to Kconfig

2022-03-11 Thread Michal Simek
On 3/11/22 15:11, Tom Rini wrote: This converts the following to Kconfig: CONFIG_ARMV8_SWITCH_TO_EL1 Cc: Alex Nemirovsky Cc: Marek Vasut Cc: Michal Simek Cc: Nobuhiro Iwamatsu Cc: Simon Goldschmidt Cc: Tien Fong Chee Signed-off-by: Tom Rini --- Changes in v2: - Don't hide the optio

Re: [PATCH v2 26/28] serial: dm: Add support for puts

2022-03-11 Thread Sean Anderson
On 3/10/22 3:50 PM, Sean Anderson wrote: > Some serial drivers can be vastly more efficient when printing multiple > characters at once. Non-DM serial has had a puts option for these sorts > of drivers; implement it for DM serial as well. > > Because we have to add carriage returns, we can't ju

Re: No u-boot-rockchip pull request sent or merged for v2022.04

2022-03-11 Thread Tom Rini
On Fri, Mar 11, 2022 at 12:05:42AM +0300, Alper Nebi Yasak wrote: > Hi Tom, > > I have a few Rockchip-related series [1] that I was expecting to land > for v2022.04 (including improvements for chromebook_bob, support for the > chromebook_kevin board, rk3399 eMMC fixes) but there hasn't been a > u

[PATCH v2 0/2] AM64: Tick timer fixes

2022-03-11 Thread Vignesh Raghavendra
Patch 1 switches AM64 to use armv8 per-cpu timer at A53 SPL/U-Boot stage as done in other TI K3 platforms Patch 2 corrects DM timer freq to be 200MHz (used at R5 SPL stage) v2: Update commit message 1/2 as per Nishanth's suggestion Reword commit msg in 2/2 to be more readable. v1: lore.kernel.or

[PATCH v2 1/2] configs: am64x_evm_a53_defconfig: Switch to per-cpu timer as tick provider

2022-03-11 Thread Vignesh Raghavendra
On arm64 systems, recommendation is to use per-cpu timer for time keeping. Currently AM64 ends up using DM timer as tick timer as driver is enabled in the config. Drop OMAP DM Timer related configs, this will switch to using armv8 per-cpu timer as tick timer for A53 SPL/U-Boot. Signed-off-by: Vign

[PATCH v2 2/2] ARM: dts: k3-am642: Correct timer frequency

2022-03-11 Thread Vignesh Raghavendra
Timer0 runs at 200MHz,and the clock-frequency defined in DT is incorrect. Fix it. Signed-off-by: Vignesh Raghavendra --- arch/arm/dts/k3-am642-evm-u-boot.dtsi | 2 +- arch/arm/dts/k3-am642-sk-u-boot.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/k3-am64

Re: [PATCH 2/2] lib: time.c: Try also DM timer, when CONFIG_TIMER_EARLY is selected

2022-03-11 Thread Johannes (krjdev) Krottmayer
Hi, Ignore these patches. Have send them to the wrong maintainers... There are also somm issues. Thanks! On 10.03.22 19:45, Johannes Krottmayer wrote: > Description: > > When CONFIG_TIMER_EARLY is selected only the timer_early_* functions > will be called. With this patch first gd->timer will b

Re: [PATCH 1/2] common: board_f.c: Fix EAGAIN issue when CONFIG_TIMER_EARLY is selected

2022-03-11 Thread Johannes (krjdev) Krottmayer
Hi, Ignore these patches. Have send them to the wrong maintainers... There are also somm issues. Thanks! On 10.03.22 19:45, Johannes Krottmayer wrote: > Description: > > When CONFIG_TIMER_EARLY is selected and the timer driver implements > timer_early_get_count() and timer_early_get_rate() this

Re: [PATCH 0/2] CONFIG_EARLY_TIMER: Fix EAGAIN issue and use DM too

2022-03-11 Thread Johannes (krjdev) Krottmayer
Hi, Ignore these patches. Have send them to the wrong maintainers... There are also somm issues. Thanks! On 10.03.22 19:45, Johannes Krottmayer wrote: > Hi, > > I'm currently working on support for a STMicroelectronics board. I have > written a DM driver which implements the timer_early_* funct

[PATCH v2 1/2] dt-bindings: imx8mq-clock: add mainline definitions

2022-03-11 Thread Angus Ainslie
Sync the clock ids with the mainline kernel Signed-off-by: Angus Ainslie --- include/dt-bindings/clock/imx8mq-clock.h | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/include/dt-bindings/clock/imx8mq-clock.h b/include/dt-bindings/clock/imx8mq-clock.h index 9b

[PATCH v2 0/2] Add a clock driver for the imx8mq

2022-03-11 Thread Angus Ainslie
This is a DM clock driver for the imx8mq based on the linux kernel driver and the u-boot imx8mm clock driver. Changes since v1: More verbose clock driver description Added forgotten dt-bindings Synced PLL frequencies with mainline kernel Angus Ainslie (2): dt-bindings: imx8mq-clock: add mainl

[PATCH v2 2/2] clk: imx8mq: Add a clock driver for the imx8mq

2022-03-11 Thread Angus Ainslie
This is a DM clock drvier based off the imx8mm u-boot driver and the linux kernel driver. All of the PLLs and clocks are initialized so the subsystems below are functional and tested. 1) USB host and peripheral 2) ECSPI 3) UART 4) I2C all busses 5) USDHC for eMMC support 6) USB storage 7) GPIO 8)

Re: dsa driver for mv88e61xx

2022-03-11 Thread Tim Harvey
On Thu, Mar 10, 2022 at 3:18 PM Vladimir Oltean wrote: > > On Thu, Mar 10, 2022 at 02:35:21PM -0800, Tim Harvey wrote: > > On Thu, Mar 10, 2022 at 8:50 AM Vladimir Oltean wrote: > > > > > > Hello Tim, > > > > > > On Thu, Mar 10, 2022 at 08:16:13AM -0800, Tim Harvey wrote: > > > > Greetings, > > >

Re: [PATCH v2 1/2] dt-bindings: imx8mq-clock: add mainline definitions

2022-03-11 Thread Marek Vasut
On 3/11/22 17:35, Angus Ainslie wrote: Sync the clock ids with the mainline kernel Commit ID from mainline Linux kernel from which this was copied is missing.

Re: [PATCH v2 2/2] clk: imx8mq: Add a clock driver for the imx8mq

2022-03-11 Thread Marek Vasut
On 3/11/22 17:35, Angus Ainslie wrote: This is a DM clock drvier based off the imx8mm u-boot driver and the linux kernel driver. s@drvier@driver@ All of the PLLs and clocks are initialized so the subsystems below are functional and tested. 1) USB host and peripheral 2) ECSPI 3) UART 4) I2C a

Re: [PATCH v2 2/2] clk: imx8mq: Add a clock driver for the imx8mq

2022-03-11 Thread Angus Ainslie
On 2022-03-11 08:57, Marek Vasut wrote: On 3/11/22 17:35, Angus Ainslie wrote: This is a DM clock drvier based off the imx8mm u-boot driver and the linux kernel driver. s@drvier@driver@ Thanks All of the PLLs and clocks are initialized so the subsystems below are functional and tested. 1)

[PATCH 0/2] Change behaviour of CONFIG_TIMER_EARLY

2022-03-11 Thread Johannes Krottmayer
When CONFIG_TIMER_EARLY is selected and the timer driver implements timer_early_get_count() and timer_early_get_rate() this leads to an EAGAIN error one some configurations in... common/board_f.c:initf_dm() initf_dm() invokes dm_timer_init(), but this function returns with an EAGAIN error in, bec

[PATCH 1/2] lib: time: Change behaviour of CONFIG_TIMER_EARLY

2022-03-11 Thread Johannes Krottmayer
If CONFIG_TIMER_EARLY is selected and the timer driver implements timer_early_get_count() and timer_early_get_rate(), check first if the virtual root driver is running, when it is initialized yet use the virtual timer driver instead. When the virtual root driver doesn't exists fallback to the timer

[PATCH 2/2] common: board_f: Fix CONFIG_TIMER_EARLY issue (EAGAIN)

2022-03-11 Thread Johannes Krottmayer
When CONFIG_TIMER_EARLY is selected and the timer driver implements timer_early_get_count() and timer_early_get_rate() this leads to an EAGAIN error one some configurations in... common/board_f.c:initf_dm() initf_dm() invokes dm_timer_init(), but this function returns with an EAGAIN error in, bec

[PATCH v2] board: purism: add the Purism Librem5 phone

2022-03-11 Thread Angus Ainslie
Initial commit of Librem5 phone u-boot and SPL Using this u-boot the phone can boot from eMMC or USB via SDP. USB host is also active so the kernel can be loaded from USB storage or one of the boot methods above. Signed-off-by: Angus Ainslie Co-developed-by: Sebastian Krzyszkowiak Signed-off-b

Re: [PATCH v2 2/2] clk: imx8mq: Add a clock driver for the imx8mq

2022-03-11 Thread Marek Vasut
On 3/11/22 18:02, Angus Ainslie wrote: On 2022-03-11 08:57, Marek Vasut wrote: On 3/11/22 17:35, Angus Ainslie wrote: This is a DM clock drvier based off the imx8mm u-boot driver and the linux kernel driver. s@drvier@driver@ Thanks Sure All of the PLLs and clocks are initialized so the

[PATCH] mmc: xenon_sdhci: remove wait_dat0 SDHCI OP

2022-03-11 Thread Robert Marko
Generic SDHCI driver received support for checking the busy status by polling the DAT[0] level instead of waiting for the worst MMC switch time. Unfortunately, it appears that this does not work for Xenon controllers despite being a part of the standard SDHCI registers and the Armada 3720 datashee

Re: No u-boot-rockchip pull request sent or merged for v2022.04

2022-03-11 Thread Alper Nebi Yasak
On 11/03/2022 18:43, Tom Rini wrote: > On Fri, Mar 11, 2022 at 12:05:42AM +0300, Alper Nebi Yasak wrote: >> I have a few Rockchip-related series [1] that I was expecting to land >> for v2022.04 (including improvements for chromebook_bob, support for the >> chromebook_kevin board, rk3399 eMMC fixes)

Re: No u-boot-rockchip pull request sent or merged for v2022.04

2022-03-11 Thread Simon Glass
Hi. On Fri, 11 Mar 2022 at 11:16, Alper Nebi Yasak wrote: > > On 11/03/2022 18:43, Tom Rini wrote: > > On Fri, Mar 11, 2022 at 12:05:42AM +0300, Alper Nebi Yasak wrote: > >> I have a few Rockchip-related series [1] that I was expecting to land > >> for v2022.04 (including improvements for chromeb

Re: [PATCH v2 00/28] arm: semihosting: Cleanups and new features

2022-03-11 Thread Andre Przywara
On Thu, 10 Mar 2022 15:50:30 -0500 Sean Anderson wrote: Hi Sean, many thanks for doing this, I like that clean up. > This cleans up the semihosting code and adds the following new features: > > - hostfs support (like sandbox) > - support for being used as a SPL boot device > - serial device su

Re: No u-boot-rockchip pull request sent or merged for v2022.04

2022-03-11 Thread Philipp Tomsich
On Fri, 11 Mar 2022 at 19:15, Alper Nebi Yasak wrote: > > On 11/03/2022 18:43, Tom Rini wrote: > > On Fri, Mar 11, 2022 at 12:05:42AM +0300, Alper Nebi Yasak wrote: > >> I have a few Rockchip-related series [1] that I was expecting to land > >> for v2022.04 (including improvements for chromebook_b

Re: [PATCH v3 00/19] efi_loader: more tightly integrate UEFI disks to driver model

2022-03-11 Thread Simon Glass
Hi Tom, Takahiro, On Wed, 9 Mar 2022 at 08:33, Simon Glass wrote: > > Hi Tom, > > On Wed, 9 Mar 2022 at 07:25, Tom Rini wrote: > > > > On Tue, Mar 08, 2022 at 08:10:38PM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Tue, 8 Mar 2022 at 20:00, Tom Rini wrote: > > > > > > > > On Tue, Mar

Re: [PATCH 11/11] vexpress64: Add ARMv8R-64 board variant

2022-03-11 Thread Liviu Dudau
On Fri, Mar 04, 2022 at 04:30:18PM +, Andre Przywara wrote: > From: Peter Hoyes > > The ARMv8-R64 architecture introduces optional VMSA (paging based MMU) > support in the EL1/0 translation regime, which makes that part mostly > compatible to ARMv8-A. > > Add a new board variant to describe

Re: [PATCH v2 2/2] clk: imx8mq: Add a clock driver for the imx8mq

2022-03-11 Thread Angus Ainslie
On 2022-03-11 10:05, Marek Vasut wrote: On 3/11/22 18:02, Angus Ainslie wrote: On 2022-03-11 08:57, Marek Vasut wrote: On 3/11/22 17:35, Angus Ainslie wrote: All of the PLLs and clocks are initialized so the subsystems below are functional and tested. 1) USB host and peripheral 2) ECSPI 3) U

Re: dsa driver for mv88e61xx

2022-03-11 Thread Vladimir Oltean
Hello Tim, On Fri, Mar 11, 2022 at 08:41:48AM -0800, Tim Harvey wrote: > On Thu, Mar 10, 2022 at 3:18 PM Vladimir Oltean wrote: > > > > On Thu, Mar 10, 2022 at 02:35:21PM -0800, Tim Harvey wrote: > > > On Thu, Mar 10, 2022 at 8:50 AM Vladimir Oltean wrote: > > > > > > > > Hello Tim, > > > > > >

[PATCH] video: sandbox: fix missing shim definition of sandbox_sdl_remove_display()

2022-03-11 Thread Vladimir Oltean
When CONFIG_SANDBOX_SDL=n, sandbox_sdl_set_bpp() from drivers/video/sandbox_sdl.c calls sandbox_sdl_remove_display() in arch/sandbox/cpu/sdl.c, but this isn't compiled in. A shim definition is missing, leading to a compilation warning (missing function prototype) and a linkage bug. Fixes: 8657ad4

Re: [PATCH] mmc: xenon_sdhci: remove wait_dat0 SDHCI OP

2022-03-11 Thread Pali Rohár
+ Marek Xenon eMMC is broken in U-Boot, could you check / verify it on A3720 eMMC based board? On Friday 11 March 2022 19:14:07 Robert Marko wrote: > Generic SDHCI driver received support for checking the busy status by > polling the DAT[0] level instead of waiting for the worst MMC switch time.

Re: No u-boot-rockchip pull request sent or merged for v2022.04

2022-03-11 Thread Alper Nebi Yasak
On 11/03/2022 21:18, Simon Glass wrote: > On Fri, 11 Mar 2022 at 11:16, Alper Nebi Yasak > wrote: >> I haven't been paying enough attention to others' patches. For those of >> mine, I think I can only call my RK3399 eMMC fix [1] a regression fix. >> IIRC it has been broken since v2021.10 on some

Re: [PATCH] WIP: Nokia RX-51: Convert to CONFIG_DM_VIDEO

2022-03-11 Thread Pali Rohár
On Wednesday 09 March 2022 23:20:11 Anatolij Gustschin wrote: > Hi Pali, > > On Wed, 9 Mar 2022 20:44:50 +0100 > Pali Rohár p...@kernel.org wrote: > > > On Sunday 06 March 2022 11:44:22 Simon Glass wrote: > > > Hi Pali, > > > > > > On Sun, 6 Mar 2022 at 08:25, Pali Rohár wrote: > > > > > > >

Re: No u-boot-rockchip pull request sent or merged for v2022.04

2022-03-11 Thread Tom Rini
On Fri, Mar 11, 2022 at 07:25:38PM +0100, Philipp Tomsich wrote: > On Fri, 11 Mar 2022 at 19:15, Alper Nebi Yasak > wrote: > > > > On 11/03/2022 18:43, Tom Rini wrote: > > > On Fri, Mar 11, 2022 at 12:05:42AM +0300, Alper Nebi Yasak wrote: > > >> I have a few Rockchip-related series [1] that I wa

Re: No u-boot-rockchip pull request sent or merged for v2022.04

2022-03-11 Thread Tom Rini
On Fri, Mar 11, 2022 at 09:56:59PM +0300, Alper Nebi Yasak wrote: > On 11/03/2022 21:18, Simon Glass wrote: > > On Fri, 11 Mar 2022 at 11:16, Alper Nebi Yasak > > wrote: > >> I haven't been paying enough attention to others' patches. For those of > >> mine, I think I can only call my RK3399 eMMC

[PATCH 0/5] Reduce size of a few boards

2022-03-11 Thread Simon Glass
This series is intended to be applied before with EFI clean-up series from Takahiro-san. It reduces the size of a few boards by removing features. It also allows the partition driver to be dropped in SPL, thus eliminating the SPL size gains. The helper-function patch must be applied after the EFI

[PATCH 1/5] disk: Add an option for partitions in SPL

2022-03-11 Thread Simon Glass
In some cases we do not want to enable partition support in SPL. Add an option to allow this. Signed-off-by: Simon Glass --- disk/Kconfig | 24 disk/Makefile | 6 +++--- drivers/block/blk-uclass.c | 2 +- 3 files changed, 24 insertions(+), 8

[PATCH 2/5] tbs2910: Disable ext4 write

2022-03-11 Thread Simon Glass
This board is right up against the size limit. Drop ext4 writing to give it some more space. Signed-off-by: Simon Glass --- configs/tbs2910_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/configs/tbs2910_defconfig b/configs/tbs2910_defconfig index e1278f2e70a..9819df55f05 100644 --

[PATCH 3/5] rcar3_salvator-x: Drop EFI_LOADER

2022-03-11 Thread Simon Glass
This board is too close to the limit to enable this feature. Drop it. Signed-off-by: Simon Glass --- configs/rcar3_salvator-x_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/rcar3_salvator-x_defconfig b/configs/rcar3_salvator-x_defconfig index 5fb27d257af.

[PATCH 4/5] phycore-rk3288: Avoid enabling partition support in SPL

2022-03-11 Thread Simon Glass
This is not needed or used, and adds code size. Drop it. Signed-off-by: Simon Glass --- configs/phycore-rk3288_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/phycore-rk3288_defconfig b/configs/phycore-rk3288_defconfig index 63aabfbe81b..a67be72f366 100644

[PATCH 5/5] disk: Use a helper function to reduce duplication

2022-03-11 Thread Simon Glass
Reduce the duplicated code slightly by using a helper function to handle the common code. This reduces the code size very slightly. Signed-off-by: Simon Glass --- disk/disk-uclass.c | 46 +- 1 file changed, 25 insertions(+), 21 deletions(-) diff --g

Re: [PATCH v2 2/2] clk: imx8mq: Add a clock driver for the imx8mq

2022-03-11 Thread Marek Vasut
On 3/11/22 19:41, Angus Ainslie wrote: On 2022-03-11 10:05, Marek Vasut wrote: On 3/11/22 18:02, Angus Ainslie wrote: On 2022-03-11 08:57, Marek Vasut wrote: On 3/11/22 17:35, Angus Ainslie wrote: All of the PLLs and clocks are initialized so the subsystems below are functional and tested. 1

Re: [PATCH v2 00/28] arm: semihosting: Cleanups and new features

2022-03-11 Thread Sean Anderson
Hi Andre, On 3/11/22 1:22 PM, Andre Przywara wrote: > On Thu, 10 Mar 2022 15:50:30 -0500 > Sean Anderson wrote: > > Hi Sean, > > many thanks for doing this, I like that clean up. > >> This cleans up the semihosting code and adds the following new features: >> >> - hostfs support (like sandbox

Re: [PATCH v3 01/12] rockchip: rk3228-power: sync power domain dt-binding header from Linux

2022-03-11 Thread Jagan Teki
On Fri, Mar 4, 2022 at 5:22 AM Johan Jonker wrote: > > In order to update the DT for rk3228 > sync the power domain dt-binding header. > This is the state as of v5.17 in Linux. > > Signed-off-by: Johan Jonker > Reviewed-by: Simon Glass > --- Look like this entire series syncing for rk3288 dts c

Re: No u-boot-rockchip pull request sent or merged for v2022.04

2022-03-11 Thread Alper Nebi Yasak
On 11/03/2022 22:01, Tom Rini wrote: > On Fri, Mar 11, 2022 at 09:56:59PM +0300, Alper Nebi Yasak wrote: >> On 11/03/2022 21:18, Simon Glass wrote: >>> Apler, would you be interested in being a co-maintainer for Rockchip? >> >> I can try. Not sure how much I'll be able to help (both time and >> kno

Re: [RFC PATCH v1 1/6] arm: dts: rockchip: update rk3328.dtsi

2022-03-11 Thread Jagan Teki
On Thu, Jul 1, 2021 at 12:19 AM Johan Jonker wrote: > > In the Linux DT the file rk3328.dtsi has recently had > some updates. Update this for U-boot as well. > The rk3328 usb3 port has now support in the Linux DT. > Rename node names ending on 'gpio' to 'pin' or 'pins'. > > Signed-off-by: Johan Jo

Re: [RFC PATCH v1 5/6] rockchip: rk3318: add a95x-z2-rk3318_defconfig file

2022-03-11 Thread Jagan Teki
On Thu, Jul 1, 2021 at 12:20 AM Johan Jonker wrote: > > This commit adds the default configuration file and relevant description > for A95X Z2 board > > Signed-off-by: Johan Jonker > --- > board/rockchip/evb_rk3328/MAINTAINERS | 6 ++ > configs/a95x-z2-rk3318_defconfig | 102 > ++

Re: [PATCH v4 0/3] mtd: Support slc-mode for NTC CHIP

2022-03-11 Thread Jagan Teki
On Thu, Mar 10, 2022 at 8:57 PM Chris Morgan wrote: > > On Thu, Mar 10, 2022 at 05:30:17PM +0530, Jagan Teki wrote: > > Hi Chris, > > > > On Thu, Jan 20, 2022 at 6:44 PM Jagan Teki > > wrote: > > > > > > On Fri, Dec 17, 2021 at 12:14 AM Chris Morgan > > > wrote: > > > > > > > > From: Chris Mor

Re: [PATCH v2 2/2] clk: imx8mq: Add a clock driver for the imx8mq

2022-03-11 Thread Angus Ainslie
On 2022-03-11 11:19, Marek Vasut wrote: On 3/11/22 19:41, Angus Ainslie wrote: On 2022-03-11 10:05, Marek Vasut wrote: On 3/11/22 18:02, Angus Ainslie wrote: On 2022-03-11 08:57, Marek Vasut wrote: On 3/11/22 17:35, Angus Ainslie wrote: All of the PLLs and clocks are initialized so the subsys

Re: [PATCH v3 1/3] rockchip: Kconfig: Enable SPL support for rk3568

2022-03-11 Thread Jagan Teki
On Tue, Oct 26, 2021 at 8:13 AM Nico Cheng wrote: > > Enable SPL support in Kconfig and add some related option in > rk3568_common.h > > Signed-off-by: Nico Cheng > Signed-off-by: Jason Zhu > --- Reviewed-by: Jagan Teki

Re: [PATCH v3] spi: spi_flash_probe_bus_cs() rely on DT for spi speed and mode

2022-03-11 Thread Jagan Teki
Hi Patrice, On Mon, Mar 7, 2022 at 11:20 PM Patrice Chotard wrote: > > Since commit e2e95e5e2542 ("spi: Update speed/mode on change") > when calling "sf probe" or "env save" on SPI flash, > spi_set_speed_mode() is called twice. > > spi_get_bus_and_cs() > |--> spi_claim_bus() > |

Re: No u-boot-rockchip pull request sent or merged for v2022.04

2022-03-11 Thread Alper Nebi Yasak
On 11/03/2022 22:25, Alper Nebi Yasak wrote: > On 11/03/2022 22:01, Tom Rini wrote: >> On Fri, Mar 11, 2022 at 09:56:59PM +0300, Alper Nebi Yasak wrote: >>> On 11/03/2022 21:18, Simon Glass wrote: Apler, would you be interested in being a co-maintainer for Rockchip? >>> >>> I can try. Not sure

Re: [PATCH v3 1/4] rockchip: gru: Set up SoC IO domain registers

2022-03-11 Thread Jagan Teki
On Fri, Dec 24, 2021 at 7:14 PM Alper Nebi Yasak wrote: > > The RK3399 SoC needs to know the voltage value provided by some > regulators, which is done by setting relevant register bits. Configure > these the way other RK3399 boards do, but with the same values as are > set in the equivalent code

Re: [PATCH 2/5] tbs2910: Disable ext4 write

2022-03-11 Thread Tom Rini
On Fri, Mar 11, 2022 at 12:10:02PM -0700, Simon Glass wrote: > This board is right up against the size limit. Drop ext4 writing to give > it some more space. > > Signed-off-by: Simon Glass I would really like to see what LTO does here instead of removing functionality. I'm sure it shrinks thin

Re: [PATCH v3 3/4] rockchip: bob: Enable more configs

2022-03-11 Thread Jagan Teki
On Fri, Dec 24, 2021 at 7:14 PM Alper Nebi Yasak wrote: > > This patch enables some configs that should be working on the Bob board, > based on what is observed to work on the Kevin board. > > The Bob board uses an Embedded DisplayPort panel compatible with the > simple panel and Rockchip eDP driv

Re: [PATCH v3 4/4] rockchip: rk3399: Add support for chromebook_kevin

2022-03-11 Thread Jagan Teki
On Fri, Dec 24, 2021 at 7:14 PM Alper Nebi Yasak wrote: > > From: "Marty E. Plummer" > > Add support for Kevin, an RK3399-based convertible chromebook that is > very similar to Bob. This patch is mostly based on existing support for > Bob, with only minor changes for Kevin-specific things. > > Un

Re: [PATCH v1] MAINTAINERS: add rockchip regex for more files and directories

2022-03-11 Thread Jagan Teki
On Fri, Dec 24, 2021 at 10:41 PM Johan Jonker wrote: > > The current files and directories with wildcard patterns for > Rockchip patches in MAINTAINERS is not always complete. > Add the regex for DT related files and a generic regex for > catching some other forgotten cases, so that the maintainer

Re: [PATCH 3/5] rcar3_salvator-x: Drop EFI_LOADER

2022-03-11 Thread Tom Rini
On Fri, Mar 11, 2022 at 12:10:03PM -0700, Simon Glass wrote: > This board is too close to the limit to enable this feature. Drop it. > > Signed-off-by: Simon Glass > --- > > configs/rcar3_salvator-x_defconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/configs/rca

Re: [PATCH v3 00/19] efi_loader: more tightly integrate UEFI disks to driver model

2022-03-11 Thread Soeren Moch
On 09.03.22 16:33, Simon Glass wrote: Hi Tom, On Wed, 9 Mar 2022 at 07:25, Tom Rini wrote: On Tue, Mar 08, 2022 at 08:10:38PM -0700, Simon Glass wrote: Hi Tom, On Tue, 8 Mar 2022 at 20:00, Tom Rini wrote: On Tue, Mar 08, 2022 at 07:32:59PM -0700, Simon Glass wrote: Hi Tom, On Tue, 8

Re: [PATCH 2/5] tbs2910: Disable ext4 write

2022-03-11 Thread Soeren Moch
On 11.03.22 20:10, Simon Glass wrote: This board is right up against the size limit. Drop ext4 writing to give it some more space. Signed-off-by: Simon Glass NAK. At least for now. We should not randomly disable user visible functionality and not without investigating other possible option

[PATCH 1/2] env: Move the doc comment to the code

2022-03-11 Thread Simon Glass
This doesn't really make much sense in the documentation. Add a code comment instead. Suggested-by: Heinrich Schuchardt Signed-off-by: Simon Glass --- common/autoboot.c | 5 + doc/usage/environment.rst | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/common/aut

  1   2   >