[PATCH 3/3] ARM: dts: at91: sama7g5/sama7g5ek: align DT with kernel 6.1

2022-11-24 Thread Eugen Hristev
Align the DT with current Linux 6.1 tree, wherever possible. Signed-off-by: Eugen Hristev --- arch/arm/dts/at91-sama7g5ek.dts | 23 +++ arch/arm/dts/sama7g5.dtsi | 27 --- 2 files changed, 27 insertions(+), 23 deletions(-) diff --git a/arch/arm/

[PATCH 2/3] sysreset: at91: add compatible with microchip, sama7g5-rstc

2022-11-24 Thread Eugen Hristev
As documented in bindings doc in kernel 6.0: https://elixir.bootlin.com/linux/v6.0/source/Documentation/devicetree/bindings/reset/atmel,at91sam9260-reset.yaml Signed-off-by: Eugen Hristev --- drivers/sysreset/sysreset_at91.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/sysreset/sy

[PATCH 1/3] dt-bindings: mfd: add at91-usart.h from Linux

2022-11-24 Thread Eugen Hristev
Copy include file dt-bindings/mfd/at91-usart.h from Linux Signed-off-by: Eugen Hristev --- include/dt-bindings/mfd/at91-usart.h | 17 + 1 file changed, 17 insertions(+) create mode 100644 include/dt-bindings/mfd/at91-usart.h diff --git a/include/dt-bindings/mfd/at91-usart.h b/

Re: [PATCH 19/38] arm: samsung: Move CONFIG_MISC_COMMON to Kconfig

2022-11-24 Thread Minkyu Kang
Hi, On Tue, 22 Nov 2022 at 07:51, Simon Glass wrote: > On Sat, 19 Nov 2022 at 16:49, Tom Rini wrote: > > > > This option controls using board/samsung/common/misc.c, so add a Kconfig > > file there as well and select it from the boards which use this > > functionality. > > > > Signed-off-by: Tom

Re: [PATCH v2 2/2] spi: cadence_qspi: use STIG mode for small reads

2022-11-24 Thread Dhruva Gole
Hi, On 15/11/22 17:19, Dhruva Gole wrote: Fix the issue where some flash chips like cypress S25HS256T for example return the value of the same register once a SPI transaction starts. So for example if read reg of 0x2 is requested and we start reading registers in DAC mode we start reading 4 byte

Re: [PATCH 4/5] x86: dfi-bt700: Adjust CONFIG_TEXT_BASE

2022-11-24 Thread Stefan Roese
On 2022-11-24 12:33, Bin Meng wrote: At present U-Boot no longer builds as a complete rom for all the configs of dfi-bt700. BINMAN .binman_stamp Wrote map file './rom.map' to show errors binman: Section '/binman/rom': contents size 0x80e836 (8448054) exceeds section size 0x80 (8

[PATCH V3 2/2] spi: cadence_qspi: use STIG mode for small reads

2022-11-24 Thread Dhruva Gole
Fix the issue where some flash chips like cypress S25HS256T return the value of the same register over and over in DAC mode. For example in the TI K3-AM62x Processors refer [0] Technical Reference Manual there is a layer of digital logic in front of the QSPI/OSPI Drive when used in DAC mode. This

[PATCH V3 1/2] spi: cadence_qspi: setup ADDR Bits in cmd reads

2022-11-24 Thread Dhruva Gole
Setup the Addr bit field while issuing register reads in STIG mode. This is needed for example flashes like cypress define in their transaction table that to read any register there is 1 cmd byte and a few more address bytes trailing the cmd byte. Absence of addr bytes will obviously fail to read c

[PATCH V3 0/2] spi: cqspi: Fix register reads in STIG Mode

2022-11-24 Thread Dhruva Gole
Intent of these patches is to fix register reads in STIG mode and also use STIG mode while reading flash registers. Currently if you try to read a register while in STIG mode there is no support for ADDR and thus naturally a register never gets read from the flash. This series supercedes the previ

Re: [PATCH] tools: fdtgrep: Fix handle leak

2022-11-24 Thread Simon Glass
On Wed, 23 Nov 2022 at 04:31, Mikhail Ilin wrote: > > The handle "fd" was created in fdtgrep.c:708 by calling the > "open" function and is lost in fdtgrep.c:716 and fdtgrep.c:723. > Close file descriptor 'fd' before exiting with an error from function > utilfdt_read_err_len(const char *filenam

Re: [PATCH] tools: imx8image: Fix handle leak

2022-11-24 Thread Simon Glass
On Wed, 23 Nov 2022 at 04:00, Mikhail Ilin wrote: > > The handle "fd" was created in imx8image.c:249 by calling the "fopen" > function and is lost in imx8image.c:282. > Should close the 'fd' file descriptor before exiting the > parse_cfg_file(image_t *param_stack, char *name) function. > > Fix

Re: [PATCH] cmd: fix dependency for CMD_CLS

2022-11-24 Thread Simon Glass
Hi, On Wed, 23 Nov 2022 at 13:18, Heinrich Schuchardt wrote: > > On 11/23/22 18:16, John Keeping wrote: > > It seems this symbol was missed when renaming DM_VIDEO -> VIDEO. Update > > it. > > > > Fixes: b86986c7b3 ("video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO") > > Signed-off-by: John Keeping

Re: [PATCH] cmd: fix dependency for CMD_CLS

2022-11-24 Thread Tom Rini
On Wed, Nov 23, 2022 at 05:16:14PM +, John Keeping wrote: > It seems this symbol was missed when renaming DM_VIDEO -> VIDEO. Update > it. > > Fixes: b86986c7b3 ("video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO") > Signed-off-by: John Keeping Applied to u-boot/master, thanks! -- Tom signa

Re: [PATCH] arm: mach-k3: fix spelling mistake "entended" -> "extended"

2022-11-24 Thread Tom Rini
On Tue, Nov 22, 2022 at 01:28:11PM -0600, Bryan Brattlof wrote: > the macro for the boot data location from rom is misspelled. fix it > > Signed-off-by: Bryan Brattlof Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] CI: Make more use of git safe.directory

2022-11-24 Thread Tom Rini
On Mon, Nov 21, 2022 at 12:52:40PM -0500, Tom Rini wrote: > We have a number of jobs that will have git complain about needing to > set safe.directory and this being untrue as a fatal error, but then > complete. Set this flag correctly now as it should be used, and may > prevent a future failure.

Re: [PATCH 3/3] ram: ast2600: Align the RL and WL setting

2022-11-24 Thread Tom Rini
On Fri, Nov 11, 2022 at 03:30:08PM +0800, Dylan Hung wrote: > Use macro to represent the RL and WL setting to ensure the PHY and > controller setting are aligned. > > Signed-off-by: Dylan Hung Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 2/3] ram: ast2600: Improve ddr4 timing and signal quality

2022-11-24 Thread Tom Rini
On Fri, Nov 11, 2022 at 03:30:07PM +0800, Dylan Hung wrote: > Adjust the following settings to get better timing and signal quality. > > 1. write DQS/DQ delay > - 1e6e2304[0] > - 1e6e2304[15:8] > > 2. read DQS/DQ delay > - 0x1e6e0298[0] > - 0x1e6e0298[15:8] > > 3. CLK/CA timing > - 0x1e6e01a8[3

Re: [PATCH 1/3] ram: ast2600: Fix incorrect statement of the register polling

2022-11-24 Thread Tom Rini
On Fri, Nov 11, 2022 at 03:30:06PM +0800, Dylan Hung wrote: > The condition "~data" in the if-statement is a typo. The original > intention is to poll if SDRAM_PHYCTRL0_INIT bit equals to 0. So use > "data == 0" for instead. > > Besides, the bit[1] of "phy_status" register is hardwired to > SDRA

Re: [PATCH] tools: mkenvimage: Drop duplicate crc header include

2022-11-24 Thread Tom Rini
On Mon, Nov 07, 2022 at 01:56:04AM +0100, Marek Vasut wrote: > This header was already included just above version.h, > do not include it twice. > > Fixes: 3db71108575 ("crc32: Use the crc.h header for crc functions") > Signed-off-by: Marek Vasut > Reviewed-by: Simon Glass Applied to u-boot/ma

Re: [PATCH] cmd: ubifs: Do not show usage when command fails

2022-11-24 Thread Tom Rini
On Sun, Aug 07, 2022 at 09:58:56PM +0200, Pali Rohár wrote: > Return value -1 cause U-Boot to print usage message. Return value > 1 (CMD_RET_FAILURE) indicates failure. So fix return value when ubifs > command starts it execution and fails. > > Signed-off-by: Pali Rohár > Reviewed-by: Simon Glas

Re: [PATCH] ubifs: Allow to silence debug dumps

2022-11-24 Thread Tom Rini
On Sun, Aug 07, 2022 at 09:27:09PM +0200, Pali Rohár wrote: > Debug dump logs are not always required. Add a new config option > UBIFS_SILENCE_DEBUG_DUMP to silence all debug dumps. On powerpc/mpc85xx > when enabled this will decrease size of U-Boot binary by 11 kB. > > Signed-off-by: Pali Rohár

Re: [PATCH 1/7] mtd: replace name of 'rfree' field with 'free' in struct mtd_ooblayout_ops to better match it's description

2022-11-24 Thread Frieder Schrempf
On 07.10.22 13:58, Fabio Estevam wrote: > On Fri, Oct 7, 2022 at 8:34 AM Michael Nazzareno Trimarchi > wrote: > >> About this change, there was a commit from Simon 8d38a8459b0 >> that was renamed. You ask basically to revert it > > Correct, what about fixing it like this? > > diff --git a/inclu

[PATCH] config: tools only: add VIDEO to build bmp_logo

2022-11-24 Thread Peter Robinson
Pre 2023.01 the bmp_logo was built as part of the tools-only_defconfig build, something changed and the VIDEO dep needed to build it is no longer pulled in so fix that by explicitly defining it. Signed-off-by: Peter Robinson --- configs/tools-only_defconfig | 1 + 1 file changed, 1 insertion(+)

Re: [PATCH v8 03/10] arm_ffa: introduce Arm FF-A low-level driver

2022-11-24 Thread Abdellatif El Khlifi
On Tue, Nov 22, 2022 at 07:09:16PM -0700, Simon Glass wrote: > should be called 'priov' and should beHi Abdellatif, > > On Tue, 22 Nov 2022 at 06:18, Abdellatif El Khlifi > wrote: > > > > Add the core driver implementing Arm Firmware Framework for Armv8-A v1.0 > > > > The Firmware Framework for

[PATCH] x86: cosmetic: Fix a typo in the reserve_arch() comments

2022-11-24 Thread Bin Meng
It should be fsp_continue(). Signed-off-by: Bin Meng --- arch/x86/cpu/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/cpu/cpu.c b/arch/x86/cpu/cpu.c index 86f53e78d2..6fe6eaf6c8 100644 --- a/arch/x86/cpu/cpu.c +++ b/arch/x86/cpu/cpu.c @@ -315,7 +315,7 @@ int

[PATCH 5/5] x86: som-db5800-som-6867: Adjust CONFIG_TEXT_BASE

2022-11-24 Thread Bin Meng
At present U-Boot no longer builds as a complete rom for som-db5800-som-6867. BINMAN .binman_stamp Wrote map file './rom.map' to show errors binman: Section '/binman/rom': contents size 0x80302c (8400940) exceeds section size 0x80 (8388608) Checking rom.map we see 'intel-vga' sectio

[PATCH 4/5] x86: dfi-bt700: Adjust CONFIG_TEXT_BASE

2022-11-24 Thread Bin Meng
At present U-Boot no longer builds as a complete rom for all the configs of dfi-bt700. BINMAN .binman_stamp Wrote map file './rom.map' to show errors binman: Section '/binman/rom': contents size 0x80e836 (8448054) exceeds section size 0x80 (8388608) Checking rom.map we see 'intel-vg

[PATCH 3/5] x86: conga-qeval20-qa3-e3845: Adjust CONFIG_TEXT_BASE

2022-11-24 Thread Bin Meng
At present U-Boot no longer builds as a complete rom for all the configs of conga-qeval20-qa3-e3845. BINMAN .binman_stamp Wrote map file './rom.map' to show errors binman: Section '/binman/rom': contents size 0x80b680 (8435328) exceeds section size 0x80 (8388608) Checking rom.map we

[PATCH 2/5] x86: minnowmax: Adjust CONFIG_TEXT_BASE

2022-11-24 Thread Bin Meng
At present U-Boot no longer builds as a complete rom for minnowmax. BINMAN .binman_stamp Wrote map file './rom.map' to show errors binman: Section '/binman/rom': contents size 0x803146 (8401222) exceeds section size 0x80 (8388608) Checking rom.map we see 'fdtmap' section is overlapp

[PATCH 1/5] x86: bayleybay: Adjust CONFIG_TEXT_BASE

2022-11-24 Thread Bin Meng
At present U-Boot no longer builds as a complete rom for bayleybay. BINMAN .binman_stamp Wrote map file './rom.map' to show errors binman: Section '/binman/rom': contents size 0x814706 (8472326) exceeds section size 0x80 (8388608) Checking rom.map we see 'fdtmap' section is overlapp

[PATCH v4 2/3] clk: stm32mp13: introduce STM32MP13 RCC driver

2022-11-24 Thread Gabriel Fernandez
STM32MP13 RCC driver uses Common Clock Framework and also a 'clk-stm32-core' API. Then STM32MPx RCC driver will contain only data configuration (gates, mux, dividers and the way to check security) or some specific clocks. This API will be used by all new other generations of ST Socs. Signed-off-by

[PATCH v4 3/3] arm: dts: stm32mp13: add support of RCC driver

2022-11-24 Thread Gabriel Fernandez
Adds support of Clock and Reset drivers for STM32MP13 platform. Signed-off-by: Gabriel Fernandez Reviewed-by: Patrick Delaunay --- (no changes since v2) Changes in v2: - missing support of CRYP1 clock arch/arm/dts/stm32mp13-u-boot.dtsi | 4 + arch/arm/dts/stm32mp131.dtsi | 119 +

[PATCH v4 0/3] Introduce STM32MP13 RCC driver

2022-11-24 Thread Gabriel Fernandez
This serie adds support of clock and reset for STM32MP13. Changes in v4: - update MAINTAINERS files Changes in v3: - fix cosmetic - add comments in commit message - explanation of stm32 clock gating Changes in v2: - deference check_security() call back - use of ccf_clk_(enable/disable/get_rate/s

[PATCH v4 1/3] dt-bindings: stm32mp13: add clock & reset support for STM32MP13

2022-11-24 Thread Gabriel Fernandez
Add support of stm32mp13 DT bindings of clock and reset. Signed-off-by: Gabriel Fernandez Reviewed-by: Patrick Delaunay --- Changes in v4: - update MAINTAINERS files MAINTAINERS | 5 +- include/dt-bindings/clock/stm32mp13-clks.h | 229 +++

Re: [PATCH v3 2/3] clk: stm32mp13: introduce STM32MP13 RCC driver

2022-11-24 Thread Gabriel FERNANDEZ
On 11/24/22 05:28, Sean Anderson wrote: On 11/22/22 03:05, Gabriel Fernandez wrote: STM32MP13 RCC driver uses Common Clock Framework and also a 'clk-stm32-core' API. Then STM32MPx RCC driver will contain only data configuration (gates, mux, dividers and the way to check security) or some speci

Re: [PATCH v3 1/3] dt-bindings: stm32mp13: add clock & reset support for STM32MP13

2022-11-24 Thread Gabriel FERNANDEZ
On 11/24/22 05:39, Sean Anderson wrote: Subject: Re: [PATCH v3 1/3] dt-bindings: stm32mp13: add clock & reset support for STM32MP13 From: Sean Anderson Date: 11/24/22, 05:39 To: Gabriel Fernandez , u-boot@lists.denx.de CC: Patrick DELAUNAY , U-Boot STM32 , Patrice Chotard On 11/22/22

Re: [PATCH 0/2] mach-meson: port dwc2_otg usage to CONFIG_DM_USB_GADGET=y

2022-11-24 Thread Neil Armstrong
Hi Mattijs, On 23/11/2022 16:42, Mattijs Korpershoek wrote: While working on some USB bugs on the VIM3L board, we stumbled upon the fact that mach-meson still uses legacy board_usb_*() functions instead of using DM [1] This series aim to switch the g12a based boards to use CONFIG_DM_USB_GADGET