Re: [PATCH 0/4] mailbox: zynqmp: support multiple child nodes

2023-12-12 Thread Michal Simek
On 12/4/23 22:56, Tanmay Shah wrote: Current zynqmp_ipi driver is hardcoded to work with only PMU mailbox node. This patch series adds new driver "zynqmp_ipi_dest" to support multiple child node of current "zynqmp-ipi-mailbox" node. It also adds support of SMC calls to TF-A to configure IPI

Re: [PATCH v2] timer: starfive: Add Starfive timer support

2023-12-12 Thread Leo Liang
On Mon, Dec 11, 2023 at 10:22:10AM +0800, Jun Liang Tan wrote: > From: Kuan Lim Lee > > Add timer driver in Starfive SoC. It is an timer that outside > of CPU core and inside Starfive SoC. > > Signed-off-by: Kuan Lim Lee > Signed-off-by: Wei Liang Lim > > Changes for v2: > - correct driver

[PATCH RESEND 2/2] phy: phy-mtk-tphy: add properties for phy tuning

2023-12-12 Thread Chunfeng Yun
Add properties to improve eye diagram which sometimes need adjust some parameters of u2phy; Add a property to tune disconnect threshold; Signed-off-by: Chunfeng Yun --- drivers/phy/phy-mtk-tphy.c | 58 +- 1 file changed, 57 insertions(+), 1 deletion(-) diff

[PATCH RESEND 1/2] dt-bindings: phy-mtk-tphy: add properties for phy tuning

2023-12-12 Thread Chunfeng Yun
Add properties to improve eye diagram which sometimes need adjust some parameters of u2phy; Add a property to tune disconnect threshold; Signed-off-by: Chunfeng Yun --- doc/device-tree-bindings/phy/phy-mtk-tphy.txt | 9 + 1 file changed, 9 insertions(+) diff --git

Re: [PATCH 2/2] configs: starfive2: Enable CONFIG_SYSRET config

2023-12-12 Thread Leo Liang
On Tue, Oct 31, 2023 at 05:24:39PM +0900, Jaehoon Chung wrote: > Enable CONFIG_SYSREST config to do reset. > > Signed-off-by: Jaehoon Chung > --- > configs/starfive_visionfive2_defconfig | 1 + > 1 file changed, 1 insertion(+) Reviewed-by: Leo Yu-Chi Liang

Re: [PATCH 1/2] riscv: dts: jh7110: Add a gpio-restart node

2023-12-12 Thread Leo Liang
On Tue, Oct 31, 2023 at 05:24:38PM +0900, Jaehoon Chung wrote: > Add gpio-restart node to do reset. > > Before applied this patch, System Reset Extension doesn't appear with > sbi command. > > OpenSBI 1.3 > Machine: > Vendor ID 489 > Architecture ID 8007 > Implementation ID

Re: [PATCH V2 2/2] configs: andes: add watchdog support fot andes ae350

2023-12-12 Thread Leo Liang
On Thu, Nov 30, 2023 at 08:07:29PM +0800, Randolph wrote: > It adds the ATCWDT200 support for Andes AE350 platform. > It also enables wdt command support. > > Signed-off-by: CL Wang > Signed-off-by: Randolph > --- > configs/ae350_rv32_defconfig | 4 >

Re: [PATCH V2 1/2] drivers: watchdog: add andes atcwdt200 support

2023-12-12 Thread Leo Liang
On Thu, Nov 30, 2023 at 08:07:28PM +0800, Randolph wrote: > This patch adds an implementation of the Andes watchdog ATCWDT200 driver. > > Signed-off-by: CL Wang > Signed-off-by: Randolph > --- > drivers/watchdog/Kconfig | 6 + > drivers/watchdog/Makefile| 1 + >

Re: [PATCH v3 4/4] configs: am62x_evm_*: Enable USB and DFU support

2023-12-12 Thread Bryan Brattlof
Hi Sjoerd! On December 12, 2023 thus sayeth Sjoerd Simons: > Enable USB host as well as USB gadget and DFU support for a53; For the > r5 due to the smaller available size create a new config just for > DFU support > > Signed-off-by: Sjoerd Simons > > --- > > Changes in v3: > - Run

[PATCH 12/13] board: samsung: Add support for E850-96 board

2023-12-12 Thread Sam Protsenko
Add support for WinLink E850-96 board [1]. It's based on Exynos850 SoC and follows 96boards specification, so it's compatible with 96boards mezzanine boards [2]. This patch enables next features: * Serial console * USI * PMU (muxing AP UART path) * Pinctrl * Clocks * Timer (ARMv8

[PATCH 11/13] arm: exynos: Add Exynos850 SoC support

2023-12-12 Thread Sam Protsenko
Samsung Exynos850 is ARMv8-based mobile-oriented SoC. It features Cortex-A55 CPU (8 cores) and it's built using 8nm process. Add Exynos850 support by enabling next features: * Import Exynos850 SoC dtsi files from Linux kernel * Add Exynos850 MMU memory map * Introduce ARCH_EXYNOS9 platform

[PATCH 13/13] MAINTAINERS: Add new Samsung subsystems

2023-12-12 Thread Sam Protsenko
Add next Samsung subsystems with Sam Protsenko as a maintainer: - Samsung CCF Clock Framework - Exynos850 SoC Support - Samsung SoC Drivers Signed-off-by: Sam Protsenko --- MAINTAINERS | 25 + 1 file changed, 25 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS

[PATCH 10/13] serial: s5p: Add Exynos850 compatible

2023-12-12 Thread Sam Protsenko
Enable serial support for Exynos850 SoC by adding the corresponding compatible string. No additional changes needed, the driver works as is on Exynos850. Related USI and PMU configuration is enabled in separate drivers. The only other dependencies are clock and pinctrl drivers, which are already

[PATCH 09/13] pinctrl: exynos: Add pinctrl support for Exynos850

2023-12-12 Thread Sam Protsenko
Add pinctrl support for Exynos850 SoC. It was mostly extracted from corresponding Linux kernel code [1]. Power down modes and external interrupt data were removed while converting the code for U-Boot, but everything else was kept almost unchanged. [1]

[PATCH 08/13] clk: exynos: Add Exynos850 clock driver

2023-12-12 Thread Sam Protsenko
Heavily influenced by its Linux kernel counterpart. It's implemented on top of recently added Samsung CCF clock framework API. For now only UART leaf clocks are implemented, along with all preceding clocks in CMU_TOP and CMU_PERI. The UART baud clock is required in the serial driver, to get its

[PATCH 07/13] clk: exynos: Add Samsung clock framework

2023-12-12 Thread Sam Protsenko
Heavily based on Linux kernel Samsung clock framework, with some changes to accommodate the differences in U-Boot CCF implementation. It's also quite minimal as compared to the Linux version. Signed-off-by: Sam Protsenko --- drivers/clk/exynos/Makefile | 9 +- drivers/clk/exynos/clk-pll.c |

[PATCH 06/13] clk: exynos: Move pll code into clk-exynos7420

2023-12-12 Thread Sam Protsenko
PLL utilities code is only used by clk-exynos7420 driver at the moment. Move it into clk-exynos7420 to make clk-pll.c file available for CCF PLL clocks implementation, which is coming in the next patches. Signed-off-by: Sam Protsenko --- drivers/clk/exynos/Makefile | 1 -

[PATCH 03/13] dt-bindings: clock: Add Exynos850 clock controller

2023-12-12 Thread Sam Protsenko
Add bindings documentation and the header file for Exynos850 clock controller. It was taken from Linux kernel [1,2]. [1] Documentation/devicetree/bindings/clock/samsung,exynos850-clock.yaml [2] include/dt-bindings/clock/exynos850.h Signed-off-by: Sam Protsenko ---

[PATCH 04/13] soc: samsung: Add Exynos USI driver

2023-12-12 Thread Sam Protsenko
USIv2 IP-core is found on modern ARM64 Exynos SoCs (like Exynos850) and provides selectable serial protocol (one of: UART, SPI, I2C). USIv2 registers usually reside in the same register map as a particular underlying protocol it implements, but have some particular offset. E.g. on Exynos850 the

[PATCH 05/13] soc: samsung: Add Exynos PMU driver

2023-12-12 Thread Sam Protsenko
Add basic Power Management Unit (PMU) driver for Exynos SoCs. For now it's only capable of changing UART path in PMU, which is needed for E850-96 board. The driver's structure resembles the exynos-pmu driver from Linux kernel, and although it's very basic and slim at the moment, it can be easily

[PATCH 02/13] dt-bindings: soc: samsung: Add Exynos PMU

2023-12-12 Thread Sam Protsenko
Add bindings documentation for Exynos PMU hardware block. It was taken from Linux kernel [1], but minimized and modified to reflect features that will be actually supported in U-Boot soon. For example, the "samsung,uart-debug-1" property is not available in Linux kernel bindings and only present

[PATCH 01/13] dt-bindings: soc: samsung: Add Exynos USI

2023-12-12 Thread Sam Protsenko
Add USI bindings documentation and header file. Those are taken from Linux kernel [1,2], but the documentation was reworked a bit to only describe the compatibles that will be supported in U-Boot soon. [1] Documentation/devicetree/bindings/soc/samsung/exynos-usi.yaml [2]

[PATCH 00/13] arm: exynos: Add E850-96 board

2023-12-12 Thread Sam Protsenko
NOTE: This patch series depends on "pinctrl: exynos: Prepare for other SoCs support" series [1]. It should be applied first. Add Exynos850 SoC and WinLink's E850-96 board support. A short overview of series additions and modifications: * USI driver: configures UART block * PMU driver:

Re: Pull request: please pull u-boot-imx-20231212

2023-12-12 Thread Tom Rini
On Tue, Dec 12, 2023 at 01:44:14PM -0300, Fabio Estevam wrote: > Hi Tom, > > On Tue, Dec 12, 2023 at 1:20 PM Fabio Estevam wrote: > > > From: Andrejs Cainikovs (1): > > apalis-imx8: add USBH_EN gpio hog > > This one did not apply cleanly, and I messed up the From: line (it > contains a

Re: Pull request: please pull u-boot-imx-20231212

2023-12-12 Thread Tom Rini
(2023-12-09 14:58:21 > -0500) > > are available in the Git repository at: > > https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git > tags/u-boot-imx-20231212 > > for you to fetch changes up to d3977b130a91459592c040c0321479bd206326f9: > > board: colibri_imx7: fi

[PATCH v3 2/4] board: ti: am62x: am62x: include env for DFU

2023-12-12 Thread Sjoerd Simons
Include standard TI K3 dfu environment Signed-off-by: Sjoerd Simons --- Changes in v3: - Add dfu via environment rather then config headers Changes in v2: - Minimize config changes to just DFU configuration board/ti/am62x/am62x.env | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v3 4/4] configs: am62x_evm_*: Enable USB and DFU support

2023-12-12 Thread Sjoerd Simons
Enable USB host as well as USB gadget and DFU support for a53; For the r5 due to the smaller available size create a new config just for DFU support Signed-off-by: Sjoerd Simons --- Changes in v3: - Run savedefconfig to adjust to more recent u-boot Changes in v2: - Create a seperate defconfig

[PATCH v3 3/4] arm: dts: k3-am625-sk: Enable usb ports in u-boot

2023-12-12 Thread Sjoerd Simons
Enable both usb0 as a peripheral for use with DFU and Signed-off-by: Sjoerd Simons --- Changes in v3: - Enable usb nodes in all boot phases Changes in v2: - Only enable usb port 0 DFU in SPL arch/arm/dts/k3-am625-sk-u-boot.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git

[PATCH v3 0/4] Add DFU and usb boot for TI am62x

2023-12-12 Thread Sjoerd Simons
Previous version of this patchset went out back in April and got delayed for various reasons. As some parts were merge this is a somewhat smaller set then before. Patches against u-boot/next to take advantage of the latest dts sync from linux v6.7-rc1 0:

[PATCH v3 1/4] usb: dwc3: Add dwc3 glue driver for am62

2023-12-12 Thread Sjoerd Simons
Add glue code for TI AM62 to the dwc3 driver; Most code adopted from TI vendor u-boot code. Signed-off-by: Sjoerd Simons Reviewed-by: Mattijs Korpershoek --- (no changes since v2) Changes in v2: - Switch dwc3 glue to a seperate driver rather then in dwc-generic drivers/usb/dwc3/Kconfig

Re: [PATCH v12 00/24] Modernize U-Boot shell

2023-12-12 Thread Francis Laniel
Hi! Le dimanche 10 décembre 2023, 00:16:31 CET Tom Rini a écrit : > On Fri, Dec 08, 2023 at 11:30:01PM +0100, Francis Laniel wrote: > > Hi. > > > > > > During 2021 summer, Sean Anderson wrote a contribution to add a new shell, > > based on LIL, to U-Boot [1, 2]. > > While one of the goals of

Re: [PATCH 00/21] Qualcomm generic board support

2023-12-12 Thread Rob Herring
On Mon, Dec 11, 2023 at 11:47 PM Sumit Garg wrote: > > Hi Tom, > > On Sun, 10 Dec 2023 at 03:33, Tom Rini wrote: > > > > On Mon, Dec 04, 2023 at 11:02:57AM +0530, Sumit Garg wrote: > > > > [snip] > > > But currently u-boot doesn't have a proper way to validate those DTS > > > against DT bindings

Re: [PATCH 1/8] sunxi: SPL SPI: extract code for doing SPI transfer

2023-12-12 Thread Andre Przywara
On Fri, 14 Oct 2022 11:05:13 +0800 Icenowy Zheng wrote: Hi, > To support SPI NAND flashes, more commands than Read (03h) are needed. > > Extract the code for doing SPI transfer from the reading code for code > reuse. I was looking for a better solution than this inflated function parameter

Re: [PATCH v1 2/2] spi: sunxi: Add support for R329/D1/R528/T113 SPI controller

2023-12-12 Thread Andre Przywara
On Sat, 11 Nov 2023 16:33:08 +0300 Maksim Kiselev wrote: Hi Maksim, thanks for sending this! > These SoCs have two SPI controllers that are quite similar to the SPI > on previous Allwinner SoCs. The main difference is that new SoCs > don't have a clock divider (SPI_CCR register) inside SPI IP.

[PATCH] fw_env: fix reading NVMEM device's "compatible" value

2023-12-12 Thread Rafał Miłecki
From: Rafał Miłecki Call to fread() was changed to check for return value. The problem is it can't be checked for returning 1 (as it is) to determine success. We call fread() with buffer size as "size" argument. Reading any "compatible" value shorter than buffer size will result in returning 0

Re: [PATCH] mtd: spi-nor-core: Implement spi_nor_read_sfdp_dma_unsafe() for sfdp parse

2023-12-12 Thread Jagan Teki
On Tue, Dec 12, 2023 at 7:34 PM Tom Rini wrote: > > On Sun, Jul 10, 2022 at 11:07:41AM +0530, Jagan Teki wrote: > > On Fri, Jun 3, 2022 at 12:31 PM Vaishnav Achath wrote: > > > > > > During SFDP header parse and BFPT parse, structures in stack are used > > > to perform spi_nor_read_sfdp() which

Re: [PATCH 1/5] configs: imx8mp_beacon: Do not set SYS_CONSOLE_IS_IN_ENV

2023-12-12 Thread Fabio Estevam
Hi Adam, On Tue, Dec 12, 2023 at 2:05 PM Adam Ford wrote: > Fabio / Stefan, > > Is there any chance this series can be applied to imx-next? Yes, I will start collecting patches for u-boot-imx next soon.

Re: [PATCH 1/5] configs: imx8mp_beacon: Do not set SYS_CONSOLE_IS_IN_ENV

2023-12-12 Thread Adam Ford
On Thu, Oct 26, 2023 at 9:20 AM Fabio Estevam wrote: > > On Wed, Oct 25, 2023 at 8:05 PM Adam Ford wrote: > > > > The hardware only supports a specific console port, so remove the > > option to change the console location in the environment. > > > > Signed-off-by: Adam Ford > > For the series:

Re: Pull request: please pull u-boot-imx-20231212

2023-12-12 Thread Fabio Estevam
Hi Tom, On Tue, Dec 12, 2023 at 1:20 PM Fabio Estevam wrote: > From: Andrejs Cainikovs (1): > apalis-imx8: add USBH_EN gpio hog This one did not apply cleanly, and I messed up the From: line (it contains a double From:) Could you please fix it while applying? Thanks

Re: [PATCH] tqma6: Fix DDR configuration

2023-12-12 Thread Fabio Estevam
Hi Miquel, On Tue, Dec 12, 2023 at 1:21 PM Miquel Raynal wrote: > Thanks a lot. Any chances you would have access to additional > information to explain how the network vs video pipeline > interact without this patch? I am eager to understand. Unfortunately, I don't have additional information

Re: [PATCH] tqma6: Fix DDR configuration

2023-12-12 Thread Miquel Raynal
Hi Fabio, feste...@gmail.com wrote on Tue, 12 Dec 2023 13:11:53 -0300: > On Fri, Nov 17, 2023 at 1:50 PM Miquel Raynal > wrote: > > > > Initially investigating a Linux network issue causing a lot of drop and > > poor network performances on a custom system based on a TQMA6A module > > (based

Pull request: please pull u-boot-imx-20231212

2023-12-12 Thread Fabio Estevam
/custodians/u-boot-imx.git tags/u-boot-imx-20231212 for you to fetch changes up to d3977b130a91459592c040c0321479bd206326f9: board: colibri_imx7: fix emmc detection (2023-12-12 09:33:08 -0300) u-boot-imx-20231212 --- CI: https://source.denx.de/u-boot/custodians/u-boot-imx

Re: [PATCH] imx8mp_evk: Select CONFIG_NET_RANDOM_ETHADDR

2023-12-12 Thread Fabio Estevam
On Thu, Oct 26, 2023 at 9:16 AM Fabio Estevam wrote: > > From: Fabio Estevam > > On an early revision of the imx8mp-evk that I have access to, > the MAC addresses fuses are not programmed, causing failure to bring > the Ethernet interfaces. > > Fix this problema by selecting

Re: [PATCH] pico-pi-imx7d: Convert to watchdog driver model

2023-12-12 Thread Fabio Estevam
On Thu, Oct 26, 2023 at 6:02 PM Fabio Estevam wrote: > > From: Fabio Estevam > > Commit 68dcbdd594d4 ("ARM: imx: Add weak default reset_cpu()") caused > the 'reset' command in U-Boot to not cause a board reset. > > Fix it by switching to the watchdog driver model via sysreset, which > is the

Re: [PATCH 1/2] pico-pi-imx6ul: Connvert to DM_SERIAL

2023-12-12 Thread Fabio Estevam
On Sat, Nov 4, 2023 at 6:47 PM Fabio Estevam wrote: > > From: Fabio Estevam > > The conversion to DM_SERIAL is mandatory, so select this option. > > Signed-off-by: Fabio Estevam Applied, thanks.

Re: [PATCH 1/2] imx7s-warp-u-boot: Fix aliases and chosen nodes indentation

2023-12-12 Thread Fabio Estevam
On Mon, Nov 6, 2023 at 1:33 PM Fabio Estevam wrote: > > From: Fabio Estevam > > The aliases and chosen nodes are currently indented using spaces. > > Fix them to use the standard tab indentation. > > Signed-off-by: Fabio Estevam Applied, thanks.

Re: [PATCH v1] apalis-imx8: add USBH_EN gpio hog

2023-12-12 Thread Fabio Estevam
On Fri, Oct 20, 2023 at 12:25 PM Andrejs Cainikovs wrote: > > From: Andrejs Cainikovs > > USB host interface is not working on some Apalis Toradex carrier > boards with Apalis iMX8 SoM. This is due to USBH_EN pin, which > powers USB peripherals, having a strong pull-down on some boards, > and a

Re: [PATCH] arm: dts: imx8mn-var-som: Fix broken EEPROM read

2023-12-12 Thread Fabio Estevam
On Tue, Oct 17, 2023 at 5:58 PM Hugo Villeneuve wrote: > > From: Hugo Villeneuve > > On branch WIP/17Oct2023, the EEPROM can no longer be read: > > U-Boot 2023.10-latest (Oct 17 2023 - 15:53:43 -0400) > CPU: Freescale i.MX8MNano Quad rev1.0 at 1200 MHz > Reset cause: POR >

Re: [PATCH v1] board: colibri_imx7: fix emmc detection

2023-12-12 Thread Fabio Estevam
On Tue, Dec 12, 2023 at 8:48 AM Francesco Dolcini wrote: > > Hello Fabio, > > On Tue, Dec 12, 2023 at 08:28:15AM -0300, Hiago De Franco wrote: > > From: Marcel Ziswiler > > > > Later versions of Colibri iMX7D V1.1B modules use a "new" SoC fusing. The > > difference lies in whether we enable the

Re: [PATCH] tqma6: Fix DDR configuration

2023-12-12 Thread Fabio Estevam
On Fri, Nov 17, 2023 at 1:50 PM Miquel Raynal wrote: > > Initially investigating a Linux network issue causing a lot of drop and > poor network performances on a custom system based on a TQMA6A module > (based on an iMX6Q), [1st link below]. > > I eventually correlated my observations with a

Re: [PATCH] board: gateworks: venice: add fixup for GW73xx-F+

2023-12-12 Thread Fabio Estevam
On Wed, Oct 18, 2023 at 3:33 PM Tim Harvey wrote: > > GW73xx-F board revision switched back to the original PCIe switch due to > part availability. > > Signed-off-by: Tim Harvey Applied, thanks.

[PATCH 2/4] ARM: dts: at91: sama5d2: Port ebi/nand nodes from linux

2023-12-12 Thread Alexander Dahl
Required for using the new DM based atmel nand driver. Ported from Linux v6.7-rc4. Signed-off-by: Alexander Dahl --- arch/arm/dts/sama5d2.dtsi | 56 +++ 1 file changed, 56 insertions(+) diff --git a/arch/arm/dts/sama5d2.dtsi b/arch/arm/dts/sama5d2.dtsi index

[PATCH 1/4] ARM: dts: at91: sama5d2: Move sfr node

2023-12-12 Thread Alexander Dahl
Nodes are ordered by register offset. Fixes: 56246d1e8705 ("ARM: dts: at91: sama5: Add the sfr node") Signed-off-by: Alexander Dahl --- arch/arm/dts/sama5d2.dtsi | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm/dts/sama5d2.dtsi b/arch/arm/dts/sama5d2.dtsi

[PATCH 3/4] ARM: dts: at91: sama5d2: Align more node names with Linux

2023-12-12 Thread Alexander Dahl
Port from Linux v6.7-rc4. Should not hurt U-Boot but makes diffing easier and allows referencing node names in board dts. Signed-off-by: Alexander Dahl --- arch/arm/dts/sama5d2.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/dts/sama5d2.dtsi

[PATCH 4/4] mtd: nand: raw: atmel: Remove duplicate definitions

2023-12-12 Thread Alexander Dahl
These removed definitions were specific to some sam9 SoCs, but not generic over all at91 SoCs. The correct SoC specific definitions for ATMEL_BASE_PMECC are spread over different header files in arch/arm/mach-at91/include/mach directory. Fixes a build error on a custon board based on SAMA5D2:

[PATCH 0/4] Facilitate new atmel raw nand driver for SAMA5D2

2023-12-12 Thread Alexander Dahl
Hei hei, for some downstream boards with SAMA5D27 SiP SoCs with raw NAND flash I added the necessary nodes to sama5d2.dtsi with just one little guesswork: the clocks. Motivation was to fix reading from raw nand flash which failed on some of those boards, while others worked fine. So I suppose

Re: Proposal: FIT support for extension boards / overlays

2023-12-12 Thread Andrew Davis
On 12/12/23 8:05 AM, Simon Glass wrote: Hi, The devicetree files for a board can be quite large, perhaps around 60KB. To boot on any supported board, many of them need to be provided, typically hundreds. All boards for a particular SoC share common parts. It would be helpful to use overlays

Re: Proposal: FIT support for extension boards / overlays

2023-12-12 Thread Heinrich Schuchardt
On 12.12.23 15:05, Simon Glass wrote: Hi, The devicetree files for a board can be quite large, perhaps around 60KB. To boot on any supported board, many of them need to be provided, typically hundreds. All boards for a particular SoC share common parts. It would be helpful to use overlays for

Re: [PATCH v2 6/6] cmd: printf: forward '%p' format string specifier

2023-12-12 Thread Heinrich Schuchardt
On 12.12.23 09:52, lukas.funke-...@weidmueller.com wrote: From: Lukas Funke Forward '%p' format specifier to the underlying format logic in order to print pointers, especially bitmaps. Signed-off-by: Lukas Funke --- (no changes since v1) cmd/printf.c | 29 +

[PATCH] board/keymile/kmcent2: fix update-nor indentation

2023-12-12 Thread Tomas Alvarez Vanoli
variable was indented as part of the value of the previous variable. Signed-off-by: Tomas Alvarez Vanoli Signed-off-by: Holger Brunck --- board/keymile/kmcent2/kmcent2.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/keymile/kmcent2/kmcent2.env

Re: [PATCH v1] arm: dts: meson: add NAND controller node for AXG

2023-12-12 Thread Arseniy Krasnov
Hi, On 12.12.2023 17:03, Neil Armstrong wrote: > Hi, > > On 30/11/2023 13:27, Arseniy Krasnov wrote: > > Can you add a reference to the Linux patches that you submitted so > we know it will be safe to sync the DT from Linux when they are merged ? Sure:

[PATCH v2] clk: meson: add Hardware Clock measure driver

2023-12-12 Thread Neil Armstrong
Amlogic SoCs embeds an hardware clock measure block, port it from Linux and implement it as a UCLK_CLK with only the dump op and fail-only xlate. Signed-off-by: Neil Armstrong --- Changes in v2: - remove common.h and include time.h instead - Link to v1:

Re: [PATCH v7 0/8] clk: Switch from soc_clk_dump to clk_ops function

2023-12-12 Thread Sean Anderson
On 12/12/23 09:03, Neil Armstrong wrote: Hi Igor, Sean, On 09/11/2023 11:55, Igor Prusov wrote: Currently clock providers may override default implementation of soc_clk_dump function to replace clk dump command output. This causes confusing behaviour when u-boot is built with one of such

Proposal: FIT support for extension boards / overlays

2023-12-12 Thread Simon Glass
Hi, The devicetree files for a board can be quite large, perhaps around 60KB. To boot on any supported board, many of them need to be provided, typically hundreds. All boards for a particular SoC share common parts. It would be helpful to use overlays for common pieces, to reduce the overall

Re: [PATCH v3] mmc: Poll CD in case cyclic framework is enabled

2023-12-12 Thread Simon Glass
Hi Marek, On Mon, 11 Dec 2023 at 12:24, Marek Vasut wrote: > > On 12/11/23 18:52, Simon Glass wrote: > > Hi Marek, > > > > On Sun, 10 Dec 2023 at 08:03, Marek Vasut > > wrote: > >> > >> In case the cyclic framework is enabled, poll the card detect of already > >> initialized cards and

Re: [PATCH] mtd: spi-nor-core: Implement spi_nor_read_sfdp_dma_unsafe() for sfdp parse

2023-12-12 Thread Tom Rini
On Sun, Jul 10, 2022 at 11:07:41AM +0530, Jagan Teki wrote: > On Fri, Jun 3, 2022 at 12:31 PM Vaishnav Achath wrote: > > > > During SFDP header parse and BFPT parse, structures in stack are used > > to perform spi_nor_read_sfdp() which expects a dma-safe buffer. > > > > This commit introduces

Re: [PATCH v1] arm: dts: meson: add NAND controller node for AXG

2023-12-12 Thread Neil Armstrong
Hi, On 30/11/2023 13:27, Arseniy Krasnov wrote: Can you add a reference to the Linux patches that you submitted so we know it will be safe to sync the DT from Linux when they are merged ? Thanks, Neil Signed-off-by: Arseniy Krasnov --- arch/arm/dts/meson-axg.dtsi | 35

Re: [PATCH v7 0/8] clk: Switch from soc_clk_dump to clk_ops function

2023-12-12 Thread Neil Armstrong
Hi Igor, Sean, On 09/11/2023 11:55, Igor Prusov wrote: Currently clock providers may override default implementation of soc_clk_dump function to replace clk dump command output. This causes confusing behaviour when u-boot is built with one of such drivers enabled but still has clocks defined

[PATCH 2/2] ARM: dts: sync Amlogic GX DT to Linux v6.4

2023-12-12 Thread Neil Armstrong
Sync Amlogic GXBB, GXL & GXM DTs from Linux v6.4, and also switch to GXL MDIO MUX driver to adapt to DT change, Most of the changes are only cosmetic or doesn't concern U-Boot, the most important change for U-Boot is the GXL mdio mux compatible switch to amlogic,gxl-mdio-mux. Signed-off-by: Neil

[PATCH 1/2] net: Add Amlogic GXL MDIO Mux driver

2023-12-12 Thread Neil Armstrong
Port the mdio-mux-meson-gxl.c Linux driver introduced in [1], and adapt it to U-Boot. This driver is needed to boot U-Boot with Linux DT since v6.4, since it switched the MDIO mux from the mmio to a proper GXL driver. [1] 9a24e1ff4326 ("net: mdio: add amlogic gxl mdio mux support")

[PATCH 0/2] ARM: meson: introduce GXL MDIO mux driver and switch to Linux v6.4 DT

2023-12-12 Thread Neil Armstrong
(-) --- base-commit: 65eed687729c28431d38c6c9174da4d878fb107f change-id: 20231212-u-boot-gxl-mdio-mux-bc027eab0273 Best regards, -- Neil Armstrong

Re: [PATCH v2 1/2] sunxi: restore modified memory

2023-12-12 Thread Andre Przywara
On Wed, 6 Dec 2023 22:06:32 +0300 Andrey Skvortsov wrote: Hi Andrey, thanks for respinning! > On A64 with 2G of RAM words at following addresses were modified with > 'aa55aa55' value: > - 5000 > - 6000 > - 8400 > - 8800 > - 9000 > - A000 > - A200 > > That

Re: [PATCH 0/7] pinctrl: exynos: Prepare for other SoCs support

2023-12-12 Thread Sam Protsenko
On Thu, Nov 30, 2023 at 2:13 PM Sam Protsenko wrote: > > Some Exynos SoCs (not supported by pinctrl-exynos driver yet) have > different offsets and widths of pin bank registers (i.e. PIN_CON, > PIN_PUD and PIN_DRV registers). Rework pinctrl-exynos driver so it > allows for different offsets and

Re: [PATCH 0/7] spi-nor: Add parallel and stacked memories support

2023-12-12 Thread Michal Simek
On 12/12/23 13:34, Tom Rini wrote: On Wed, Dec 06, 2023 at 06:58:14PM +0530, Jagan Teki wrote: On Wed, Dec 6, 2023 at 6:11 PM Michal Simek wrote: On 12/6/23 13:24, Jagan Teki wrote: On Fri, Aug 18, 2023 at 9:51 AM Ashok Reddy Soma wrote: This series adds support for Xilinx qspi

Re: [PATCH v2 0/6] Enable setexpr command to print cpu-list like bitmaps

2023-12-12 Thread Heinrich Schuchardt
On 12.12.23 12:56, Lukas Funke wrote: On 12.12.2023 12:40, Heinrich Schuchardt wrote: On 12.12.23 11:13, Heinrich Schuchardt wrote: On 12.12.23 09:52, lukas.funke-...@weidmueller.com wrote: From: Lukas Funke This series enables the 'setexpr' command to print "cpu list"-like bitmaps based

Re: [PATCH v1 0/5] Convert recently merged T30 boards to use DM PMIC

2023-12-12 Thread Tom Rini
On Mon, Dec 11, 2023 at 12:55:32PM +0100, Thierry Reding wrote: > On Wed, Nov 15, 2023 at 02:11:49PM -0500, Tom Rini wrote: > > On Wed, Nov 15, 2023 at 04:51:08PM +0100, Thierry Reding wrote: > > > On Mon, Nov 06, 2023 at 04:04:07PM -0500, Tom Rini wrote: > > > > On Mon, Nov 06, 2023 at 02:11:16PM

Re: [PATCH 0/7] spi-nor: Add parallel and stacked memories support

2023-12-12 Thread Tom Rini
On Wed, Dec 06, 2023 at 06:58:14PM +0530, Jagan Teki wrote: > On Wed, Dec 6, 2023 at 6:11 PM Michal Simek wrote: > > > > > > > > On 12/6/23 13:24, Jagan Teki wrote: > > > On Fri, Aug 18, 2023 at 9:51 AM Ashok Reddy Soma > > > wrote: > > >> > > >> This series adds support for Xilinx qspi parallel

Re: [PATCH v2] imx: imx8mp: Add support for Polyhex Debix Model A SBC

2023-12-12 Thread Milan Zamazal
Gilles Talis writes: > Hi Milan, > > Le jeu. 7 déc. 2023 à 11:09, Milan Zamazal a écrit : > >> Peng Fan writes: >> >> > On 5/24/2023 3:21 AM, Gilles Talis wrote: >> >> Add support for the Polyhex Debix Model A SBC board. >> >> It is an industrial grade single board computer based on >> >>

Re: [PATCH v2 0/6] Enable setexpr command to print cpu-list like bitmaps

2023-12-12 Thread Lukas Funke
On 12.12.2023 12:40, Heinrich Schuchardt wrote: On 12.12.23 11:13, Heinrich Schuchardt wrote: On 12.12.23 09:52, lukas.funke-...@weidmueller.com wrote: From: Lukas Funke This series enables the 'setexpr' command to print "cpu list"-like bitmaps based on the printk format specifier [1]. One

Re: [PATCH v2 0/6] Enable setexpr command to print cpu-list like bitmaps

2023-12-12 Thread Lukas Funke
Hi Heinrich, On 12.12.2023 11:13, Heinrich Schuchardt wrote: On 12.12.23 09:52, lukas.funke-...@weidmueller.com wrote: From: Lukas Funke This series enables the 'setexpr' command to print "cpu list"-like bitmaps based on the printk format specifier [1]. One use-case is to pass cpu list [2]

Re: [PATCH v1] board: colibri_imx7: fix emmc detection

2023-12-12 Thread Francesco Dolcini
Hello Fabio, On Tue, Dec 12, 2023 at 08:28:15AM -0300, Hiago De Franco wrote: > From: Marcel Ziswiler > > Later versions of Colibri iMX7D V1.1B modules use a "new" SoC fusing. The > difference lies in whether we enable the boot ROM to use the eMMC reset > signal. Depending on the SoC fuse, the

Re: [PATCH v2 0/6] Enable setexpr command to print cpu-list like bitmaps

2023-12-12 Thread Heinrich Schuchardt
On 12.12.23 11:13, Heinrich Schuchardt wrote: On 12.12.23 09:52, lukas.funke-...@weidmueller.com wrote: From: Lukas Funke This series enables the 'setexpr' command to print "cpu list"-like bitmaps based on the printk format specifier [1]. One use-case is to pass cpu list [2] based kernel

[PATCH v1] board: colibri_imx7: fix emmc detection

2023-12-12 Thread Hiago De Franco
From: Marcel Ziswiler Later versions of Colibri iMX7D V1.1B modules use a "new" SoC fusing. The difference lies in whether we enable the boot ROM to use the eMMC reset signal. Depending on the SoC fuse, the boot ROM configures this pin as a GPIO output to drive the reset signal. Our eMMC vs NAND

Re: [PATCH v2 4/6] doc: printf() codes: Add bitmap format specifier

2023-12-12 Thread Heinrich Schuchardt
On 12.12.23 09:52, lukas.funke-...@weidmueller.com wrote: From: Lukas Funke Add '%*pb[l]' printf format specifier as descriped in [1]. [1] https://www.kernel.org/doc/Documentation/printk-formats.txt Signed-off-by: Lukas Funke --- (no changes since v1) doc/develop/printf.rst | 6 ++

Re: [PATCH v2 0/6] Enable setexpr command to print cpu-list like bitmaps

2023-12-12 Thread Heinrich Schuchardt
On 12.12.23 09:52, lukas.funke-...@weidmueller.com wrote: From: Lukas Funke This series enables the 'setexpr' command to print "cpu list"-like bitmaps based on the printk format specifier [1]. One use-case is to pass cpu list [2] based kernel parameter like 'isolcpu', 'nohz_full', irq

Re: [PATCH 02/17] video: dw_hdmi: Add Vendor PHY handling

2023-12-12 Thread Jagan Teki
On Mon, Dec 11, 2023 at 2:38 PM Neil Armstrong wrote: > > On 11/12/2023 09:59, Jagan Teki wrote: > > From: Jagan Teki > > > > DW HDMI support Vendor PHY like Rockchip RK3328 Inno HDMI PHY. > > > > Extend the vendor phy handling by adding platform phy hooks. > > > > Signed-off-by: Jagan Teki > >

[PATCH v2 6/6] cmd: printf: forward '%p' format string specifier

2023-12-12 Thread lukas . funke-oss
From: Lukas Funke Forward '%p' format specifier to the underlying format logic in order to print pointers, especially bitmaps. Signed-off-by: Lukas Funke --- (no changes since v1) cmd/printf.c | 29 + 1 file changed, 29 insertions(+) diff --git a/cmd/printf.c

[PATCH v2 5/6] lib: vsprintf: enable '%*pb[l]' format specifier

2023-12-12 Thread lukas . funke-oss
From: Lukas Funke The commit enables vsprintf() to handle the '%*pb[l]' format specifier in order to print bitmaps and its derivatives such as cpumask and nodemask [1]. This can be used to derive kernel boot parameters from bitmaks such as 'isolcpu' or 'nohz_full' [2]. [1]

[PATCH v2 4/6] doc: printf() codes: Add bitmap format specifier

2023-12-12 Thread lukas . funke-oss
From: Lukas Funke Add '%*pb[l]' printf format specifier as descriped in [1]. [1] https://www.kernel.org/doc/Documentation/printk-formats.txt Signed-off-by: Lukas Funke --- (no changes since v1) doc/develop/printf.rst | 6 ++ 1 file changed, 6 insertions(+) diff --git

[PATCH v2 3/6] test: cmd: setexptr: Add tests for bitmap string format

2023-12-12 Thread lukas . funke-oss
From: Lukas Funke Add test to test the bitmap format specifier Signed-off-by: Lukas Funke --- (no changes since v1) test/cmd/setexpr.c | 9 + 1 file changed, 9 insertions(+) diff --git a/test/cmd/setexpr.c b/test/cmd/setexpr.c index 312593e1e3..4e1c9e983b 100644 ---

[PATCH v2 2/6] linux: bitmap.h: add 'for_each_set_bitrange' iteration macro

2023-12-12 Thread lukas . funke-oss
From: Lukas Funke Add 'for_each_set_bitrange' (from Linux kernel) in order to iterate over each set bitrange of a bitmap. This becomes handy if one wants to generate a cpu list i.e. for isolcpu or nohz_full. Signed-off-by: Lukas Funke --- (no changes since v1) include/linux/bitmap.h | 7

[PATCH v2 0/6] Enable setexpr command to print cpu-list like bitmaps

2023-12-12 Thread lukas . funke-oss
From: Lukas Funke This series enables the 'setexpr' command to print "cpu list"-like bitmaps based on the printk format specifier [1]. One use-case is to pass cpu list [2] based kernel parameter like 'isolcpu', 'nohz_full', irq affinity or RCU related CPU parameter to the kernel via a separate

[PATCH v2 1/6] sandbox: add generic find_next_zero_bit implementation

2023-12-12 Thread lukas . funke-oss
From: Lukas Funke Add generic 'find_next_zero_bit' implementation in order to enable the use of the 'for_each_set_bitrange' macro. The implementation is currently missing for the sandbox-arch and using the function results in a linker error. There are more efficient implementations in the