[PATCH v2 1/2] dt-bindings: i2c: i2c-cdns.txt: Add description for an optional parameter, fifo-depth

2023-02-13 Thread Pei Yue Ho
Add description for fifo-depth parameter that can be used in the device tree. Signed-off-by: Pei Yue Ho Reviewed-by: Wei Liang Lim Reviewed-by: Eng Lee Teh --- doc/device-tree-bindings/i2c/i2c-cdns.txt | 4 1 file changed, 4 insertions(+) diff --git

[PATCH v2 0/2] i2c: i2c-cdns.c: Update driver to read fifo-depth from device tree

2023-02-13 Thread Pei Yue Ho
V2: Added 'i2c_bus' parameter to function 'cdns_is_hold_quirk' to fix compilation issue Enable driver to fetch the optional parameter (fifo-depth) from device tree. If the parameter is not found in the device tree, it will use the default value declared in the driver. Pei Yue Ho (2):

[PATCH v2 2/2] i2c: i2c-cdns.c: Update driver to read fifo-depth from device tree

2023-02-13 Thread Pei Yue Ho
Enable driver to fetch the optional parameter (fifo-depth) from device tree. If the parameter is not found in the device tree, it will use the default value declared in the driver. Signed-off-by: Pei Yue Ho Reviewed-by: Wei Liang Lim Reviewed-by: Eng Lee Teh --- drivers/i2c/i2c-cdns.c | 30

[PATCH v2 0/2] odroid: fix boot issues on u2, xu4 and siblings

2023-02-13 Thread Henrik Grimler
Hi, Patch 1 fixes issue reported in [1], which happens on odroid-u2 and probably other devices in that family. Re-adding this quirk was discussed already by Jaehoon and Andy in the patch that (re-)introduced this issue [2], but I do not think a patch was sent for it. Patch 2 fixes issue

[PATCH v2 2/2] samsung: common: do not reset if cros-ec uclass is missing

2023-02-13 Thread Henrik Grimler
Otherwise non-ChromeOS samsung devices, like the odroid boards, are stuck in a bootloop if CONFIG_CROS_EC is not enabled: <...> MMC: SAMSUNG SDHCI: 2, EXYNOS DWMMC: 0 Loading Environment from MMC... *** Warning - bad CRC, using default environment cros-ec communications failure

[PATCH v2 1/2] Revert "mmc: s5p_sdhci: unset the SDHCI_QUIRK_BROKEN_R1B"

2023-02-13 Thread Henrik Grimler
This reverts commit a034ec06ff1d558bbe11d5ee05edbb4de3ee2215. Commit 4a3ea75de4c5 ("Revert "mmc: sdhci: set to INT_DATA_END when there are data"") reverted the alternative fix that was added for Exynos 4 devices, causing an error when trying to boot from an sdcard: <...> Loading

Re: [PATCH 1/2] riscv: Rename Andes cpu and board names

2023-02-13 Thread Rick Chen
> From: Leo Yu-Chi Liang(梁育齊) > Sent: Thursday, February 09, 2023 4:34 PM > To: u-boot@lists.denx.de > Cc: Rick Jian-Zhi Chen(陳建志) ; Peter Yu-Chien Lin(林宇謙) > ; Leo Yu-Chi Liang(梁育齊) > Subject: [PATCH 1/2] riscv: Rename Andes cpu and board names > > The current ae350-related defconfigs could

Re: [PATCH 2/2] riscv: ae350: Adjust the memory layout of ae350

2023-02-13 Thread Rick Chen
> From: Leo Yu-Chi Liang(梁育齊) > Sent: Thursday, February 09, 2023 4:34 PM > To: u-boot@lists.denx.de > Cc: Rick Jian-Zhi Chen(陳建志) ; Peter Yu-Chien Lin(林宇謙) > ; Leo Yu-Chi Liang(梁育齊) > Subject: [PATCH 2/2] riscv: ae350: Adjust the memory layout of ae350 > > Signed-off-by: Leo Yu-Chi Liang >

Re: [PATCH] arm: kirkwood: Enable uart0 dm-pre-reloc for Pogoplug V4 board

2023-02-13 Thread Stefan Roese
On 2/10/23 22:08, Tony Dinh wrote: When DM_SERIAL is enabled, the device-tree tag u-boot,dm-pre-reloc is required for this board to boot over UART with kwboot. Enable this in kirkwood-pogoplug-series-4-u-boot.dtsi. Signed-off-by: Tony Dinh Reviewed-by: Stefan Roese Thanks, Stefan ---

[V3,1/1] riscv: Increase the upper bound of NR_CPUS to 4095

2023-02-13 Thread Leo Yu-Chi Liang
From: Xiang W The maximum hart number is 32 and is determined by the type of gd->arch.available_harts. However, various RISC-V specifications allow the hart number to be greater than 32. We can eliminate this limitation through bitmaps. The patch modifies the upper bound of the hart number to

Re: [PATCH v2] riscv: cancel the limitation that NR_CPUS is less than or equal to 32

2023-02-13 Thread Leo Liang
Hi Xiang, On Sat, Feb 11, 2023 at 10:11:31PM +0800, Xiang W wrote: > 在 2023-02-10星期五的 07:25 +,Leo Liang写道: > > Hi Xiang, > > > > On Fri, Feb 03, 2023 at 03:24:37PM +0100, David Abdurachmanov wrote: > > > On Mon, Jan 3, 2022 at 1:13 PM Leo Liang wrote: > > > > > > > > On Thu, Dec 30, 2021

Re: [PATCH] arm: kirkwood: Enable uart0 dm-pre-reloc for Pogoplug V4 board

2023-02-13 Thread Michael Walle
Am 2023-02-13 09:43, schrieb Stefan Roese: On 2/10/23 22:08, Tony Dinh wrote: When DM_SERIAL is enabled, the device-tree tag u-boot,dm-pre-reloc is required for this board to boot over UART with kwboot. Enable this in kirkwood-pogoplug-series-4-u-boot.dtsi. Signed-off-by: Tony Dinh

Re: [PATCH v2 1/2] dt-bindings: i2c: i2c-cdns.txt: Add description for an optional parameter, fifo-depth

2023-02-13 Thread Heiko Schocher
Hello Pei, On 13.02.23 09:02, Pei Yue Ho wrote: > Add description for fifo-depth parameter that can be used > in the device tree. > > Signed-off-by: Pei Yue Ho > Reviewed-by: Wei Liang Lim > Reviewed-by: Eng Lee Teh > --- > doc/device-tree-bindings/i2c/i2c-cdns.txt | 4 > 1 file

Re: [PATCH v2 2/2] i2c: i2c-cdns.c: Update driver to read fifo-depth from device tree

2023-02-13 Thread Heiko Schocher
Hello Pei, On 13.02.23 09:02, Pei Yue Ho wrote: > Enable driver to fetch the optional parameter (fifo-depth) from device > tree. If the parameter is not found in the device tree, it will use > the default value declared in the driver. > > Signed-off-by: Pei Yue Ho > Reviewed-by: Wei Liang Lim

Re: [PATCH] arm: kirkwood: Enable uart0 dm-pre-reloc for Pogoplug V4 board

2023-02-13 Thread Stefan Roese
Hi Michael, On 2/13/23 09:48, Michael Walle wrote: Am 2023-02-13 09:43, schrieb Stefan Roese: On 2/10/23 22:08, Tony Dinh wrote: When DM_SERIAL is enabled, the device-tree tag u-boot,dm-pre-reloc is required for this board to boot over UART with kwboot. Enable this in

Re: [PATCH 3/4] mtd/fpga: add fpga directory to mtd (with Cyclone 10)

2023-02-13 Thread Ulf Samuelsson
Den 2023-02-12 kl. 23:40, skrev Marek Vasut: On 2/12/23 23:07, Ulf Samuelsson wrote: Den 2023-02-12 kl. 21:01, skrev Marek Vasut:  > On 2/12/23 20:52, Ulf Samuelsson wrote:  >>  >>  >> Den 2023-02-12 kl. 20:31, skrev Marek Vasut:  >>  > On 2/11/23 11:07, u-b...@emagii.com wrote:  >>  >  >> 

Re: [PATCH 4/5] eficonfig: include EFI_STATUS string in error message

2023-02-13 Thread Masahisa Kojima
Hi Heinrich, On Mon, 13 Feb 2023 at 16:44, Heinrich Schuchardt wrote: > > On 2/13/23 06:50, Masahisa Kojima wrote: > > On Fri, 10 Feb 2023 at 20:57, Heinrich Schuchardt > > wrote: > >> > >> On 2/2/23 10:24, Masahisa Kojima wrote: > >>> Current eficonfig_print_msg() does not show the return >

Re: [PATCH 4/5] eficonfig: include EFI_STATUS string in error message

2023-02-13 Thread Heinrich Schuchardt
On 2/13/23 10:42, Masahisa Kojima wrote: Hi Heinrich, On Mon, 13 Feb 2023 at 16:44, Heinrich Schuchardt wrote: On 2/13/23 06:50, Masahisa Kojima wrote: On Fri, 10 Feb 2023 at 20:57, Heinrich Schuchardt wrote: On 2/2/23 10:24, Masahisa Kojima wrote: Current eficonfig_print_msg() does not

[PATCH 1/2] MAINTAINERS: Add entry for SPI NAND framework and drivers

2023-02-13 Thread Frieder Schrempf
From: Frieder Schrempf In [1] Michael agreed on taking patches for SPI NAND through the RAW NAND tree. Add a dedicated entry to the MAINTAINERS file which adds Michael and Dario as maintainers and myself as reviewer. [1] https://lists.denx.de/pipermail/u-boot/2023-February/508571.html

[PATCH 2/2] MAINTAINERS: Rename NAND FLASH to RAW NAND

2023-02-13 Thread Frieder Schrempf
From: Frieder Schrempf As there are other types of NAND flashes like SPI NAND, let's be more specific. Signed-off-by: Frieder Schrempf --- MAINTAINERS | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index e40c401337..00ad83a8c7

Re: [PATCH 1/5] mtd/spinand: rework detect procedure for different READ_ID operation

2023-02-13 Thread Frieder Schrempf
On 10.02.23 12:57, Michael Nazzareno Trimarchi wrote: > Hi > > I will review > > On Thu, Feb 9, 2023 at 5:52 PM Tom Rini wrote: >> >> On Thu, Feb 09, 2023 at 10:24:47AM +0100, Frieder Schrempf wrote: >>> Hi, >>> >>> On 10.01.23 12:58, Frieder Schrempf wrote: From: Mikhail Kshevetskiy

Re: [PATCH 4/5] eficonfig: include EFI_STATUS string in error message

2023-02-13 Thread Masahisa Kojima
On Mon, 13 Feb 2023 at 18:46, Heinrich Schuchardt wrote: > > On 2/13/23 10:42, Masahisa Kojima wrote: > > Hi Heinrich, > > > > On Mon, 13 Feb 2023 at 16:44, Heinrich Schuchardt > > wrote: > >> > >> On 2/13/23 06:50, Masahisa Kojima wrote: > >>> On Fri, 10 Feb 2023 at 20:57, Heinrich Schuchardt

Re: [PATCH] arm64: a37xx: pinctrl: probe after binding

2023-02-13 Thread Robert Marko
On Mon, Feb 13, 2023 at 12:36 AM Simon Glass wrote: > > Hi, > > On Thu, 19 Jan 2023 at 00:00, Stefan Roese wrote: > > > > On 1/17/23 15:08, Robert Marko wrote: > > > Currently, pinctrl drivers are getting probed during post-bind, however > > > that is being reverted, and on A37XX pinctrl driver

Re: [PATCH v3 00/16] General Tegra improvements

2023-02-13 Thread Svyatoslav Ryhel
Hello! Thierry, may you check if these patches do not break anything on your boards. I have tested them on my devices (T20 and T30) without any issues. I am especially interested in T124 pre-dm i2c changes, iirc you have a board I have changed. Best Regards. Svyatoslav R. пт, 10 лют. 2023 р. о

Re: [RESEND PATCH v2] configs: imx8mn_bsh_smm_s2: remove console from bootargs

2023-02-13 Thread Michael Nazzareno Trimarchi
Hi Stefano On Wed, Feb 8, 2023 at 9:15 AM Dario Binacchi wrote: > > The Linux kernel device tree already specifies the device to be used for > boot console output with a stdout-path property under /chosen. > > Commit 36b661dc919da ("Merge branch 'next'") re-added the console > setting that

Re: [RESEND PATCH v2] configs: imx8mn_bsh_smm_s2: remove console from bootargs

2023-02-13 Thread Stefano Babic
On 13.02.23 14:28, Michael Nazzareno Trimarchi wrote: Hi Stefano On Wed, Feb 8, 2023 at 9:15 AM Dario Binacchi wrote: The Linux kernel device tree already specifies the device to be used for boot console output with a stdout-path property under /chosen. Commit 36b661dc919da ("Merge branch

[PATCH] watchdog: ftwdt010: return a previously deleted driver now ported to DM

2023-02-13 Thread Sergei Antonov
The ftwdt010 watchdog driver was deleted by commit 11232139e399 ("nds32: Remove the architecture") Return it to the codebase in a DM compatible form. Enable it in sandbox_defconfig to test compilability. Another platform using ftwdt010 will be submitted later. Signed-off-by: Sergei Antonov ---

[PATCH 2/2] drivers: thermal: Introduce sun8i_thermal

2023-02-13 Thread qianfanguijin
From: qianfan Zhao Portting sun8i_thermal.c from linux-5.15 drivers and drop interrupt features. Next is an example from allwinner T3: => temperature get thermal-sensor@1c24c00 thermal-sensor@1c24c00: 39437 C => thermal-sensor@1c24c00: 39776 C => thermal-sensor@1c24c00: 39437 C Signed-off-by:

[PATCH 1/2] clk: sunxi: add THS clk/reset

2023-02-13 Thread qianfanguijin
From: qianfan Zhao Add clock/reset definitions for THS peripherals. Signed-off-by: qianfan Zhao --- drivers/clk/sunxi/clk_h3.c | 5 + drivers/clk/sunxi/clk_h6.c | 4 drivers/clk/sunxi/clk_r40.c | 5 + 3 files changed, 14 insertions(+) diff --git a/drivers/clk/sunxi/clk_h3.c

[PATCH] misc: imx: remove DM dependency for ocotp driver in SPL

2023-02-13 Thread Jean-Marie Lemetayer
The ocotp driver is available for regular and SPL builds using the (SPL_)MXC_OCOTP configuration. Also, the ocotp driver does not support the driver model (DM) configuration. But, for SPL builds, the SPL_MXC_OCOTP configuration depends on SPL_MISC which implies on SPL_DM. This commit replaces

Re: [PATCH] cmd: return code when tlv_eeprom incorrectly called

2023-02-13 Thread Stefan Roese
On 1/27/23 22:49, Heinrich Schuchardt wrote: A command called with incorrect parameters should set $? to 1 (false). Instead of calling cmd_usage(cmdtp) and then returning 0 just return CMD_RET_FAILURE. Signed-off-by: Heinrich Schuchardt Applied to u-boot-marvell/master Thanks, Stefan ---

Re: [PATCH] arm: kirkwood: Use CONFIG_SYS_NS16550 with DM_SERIAL for Kirkwood boards

2023-02-13 Thread Stefan Roese
On 1/31/23 23:06, Tony Dinh wrote: CONFIG_SYS_NS16550 is required when DM_SERIAL is enabled for Kirkwood boards. Signed-off-by: Tony Dinh Applied to u-boot-marvell/master Thanks, Stefan --- arch/arm/mach-kirkwood/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH v3] arm: mvebu: Add support for Thecus N2350 (Armada 385) board

2023-02-13 Thread Stefan Roese
On 2/2/23 00:13, Tony Dinh wrote: Thecus N2350 is a NAS based on Marvell Armada 385 SoC. Specification: - Processor: Marvel MV88F6820 Dual Core at 1GHz - 1 GiB DDR4 RAM - 4MB Macronix mx25l3205d SPI flash - 512MB Hynix H27U4G8F2DTR-BC NAND flash - I2C - 2x USB 3.0 - 1x GBE LAN port (PHY:

Re: [PATCH] arm: kirkwood: sheevaplug: reduce u-boot image size

2023-02-13 Thread Stefan Roese
On 2/2/23 23:16, Tony Dinh wrote: Sheevaplug board has 512K CONFIG_BOARD_SIZE_LIMIT. Recently, DM_SERIAL has pushed the image size a few hundred bytes over that limit. So explicitly deselect some configs that are unrelated to this board (and gain back a bit over 2K). Signed-off-by: Tony Dinh

Re: [RESEND PATCH v2] arm: mvebu: Power up 2nd SATA port for Thecus N2350

2023-02-13 Thread Stefan Roese
On 2/7/23 02:00, Tony Dinh wrote: Currently, only the 1st SATA port is powered up (by GPIO1 12). Add GPIO1 13 in board initialization to power up the 2nd SATA port. Note that this patch depends on the initial add-support patch:

Re: [PATCH] arm: kirkwood: Enable uart0 dm-pre-reloc for Pogoplug V4 board

2023-02-13 Thread Stefan Roese
On 2/10/23 22:08, Tony Dinh wrote: When DM_SERIAL is enabled, the device-tree tag u-boot,dm-pre-reloc is required for this board to boot over UART with kwboot. Enable this in kirkwood-pogoplug-series-4-u-boot.dtsi. Signed-off-by: Tony Dinh Applied to u-boot-marvell/master Thanks, Stefan

Re: [PATCH] arm: mvebu: Add support for Synology DS116 (Armada 385)

2023-02-13 Thread Stefan Roese
On 2/9/23 23:00, Tony Dinh wrote: Synology DS116 is a NAS based on Marvell Armada 385 SoC. Board Specification: - Marvel MV88F6820 Dual Core at 1.8GHz - 1 GiB DDR3 RAM - 8MB Macronix mx25l6405d SPI flash - I2C - 2x USB 3.0 - 1x GBE LAN port (PHY: Marvell 88E1510) - 1x SATA (6 Gbps) - 3x LED -

Please pull u-boot-marvell/master

2023-02-13 Thread Stefan Roese
Hi Tom, please pull this next batch of Marvell related patches. - mvebu: Support for 2 new Armada 385 boards (Tony) - mvebu: Minor misc board enhancements (Tony) - kirkwood: Serial driver fixes (Kconfig & dtsi) (Tony) - cmd:

[PATCH v1] mtd: nand: raw: rockchip_nfc: fix oobfree offset and description

2023-02-13 Thread Johan Jonker
The MTD framework reserves 1 or 2 bytes for the bad block marker depending on the bus size. The rockchip_nfc driver currently only supports a 8 bit bus, but reserves standard 2 bytes for the BBM. The first free OOB byte is therefore OOB2 at offset 2. Page address(PA) bytes are moved to the last 4

Re: [PATCH v4 10/11] dm: Add support for handling old u-boot, dm- tags

2023-02-13 Thread Simon Glass
Hi Michal, On Mon, 13 Feb 2023 at 00:53, Michal Simek wrote: > > > > On 2/12/23 18:44, Tom Rini wrote: > > On Fri, Feb 10, 2023 at 08:28:56AM -0700, Simon Glass wrote: > > > >> Add a CONFIG option to deal with this automatically, printing a warning > >> when U-Boot starts up. This can be useful

Re: [PATCH v2 2/2] samsung: common: do not reset if cros-ec uclass is missing

2023-02-13 Thread Simon Glass
On Mon, 13 Feb 2023 at 01:08, Henrik Grimler wrote: > > Otherwise non-ChromeOS samsung devices, like the odroid boards, are > stuck in a bootloop if CONFIG_CROS_EC is not enabled: > > <...> > MMC: SAMSUNG SDHCI: 2, EXYNOS DWMMC: 0 > Loading Environment from MMC... *** Warning - bad

Re: [PATCH] i2c: mxc_i2c: Use hex notation for the base address

2023-02-13 Thread Heiko Schocher
Hello Fabio, On 03.01.23 20:03, Fabio Estevam wrote: > Printing the I2C controller base address in decimal notation > is not helpful. > > Change it to hex notation, which is the standard format found > in the Reference Manual and devicetree. > > Signed-off-by: Fabio Estevam > Acked-by: Dhruva

Re: [PATCH v3 1/2] i2c:aspeed:support ast2600 i2c new register mode driver

2023-02-13 Thread Heiko Schocher
Hello Ryan, On 30.01.23 07:19, Ryan Chen wrote: > Add i2c new register mode driver to support AST2600 i2c > new register mode. AST2600 i2c controller have legacy and > new register mode. The new register mode have global register > support 4 base clock for scl clock selection, and new clock >

Re: [PATCH v3 2/2] arm: aspeed: dtsi: add reg for i2c

2023-02-13 Thread Heiko Schocher
Hello Ryan, On 30.01.23 07:19, Ryan Chen wrote: > The i2c driver have global register that i2c bus use > ofnode_get_parent to get parent register address. > > Signed-off-by: Ryan Chen > Reviewed-by: Heiko Schocher > --- > arch/arm/dts/ast2600.dtsi | 1 + > 1 file changed, 1 insertion(+)

Re: [PATCH 1/2] dt-bindings: i2c: i2c-cdns.txt: Add description for an optional parameter, fifo-depth

2023-02-13 Thread Heiko Schocher
Hello Pei Yue Ho, On 04.01.23 08:20, Pei Yue Ho wrote: > Add description for fifo-depth parameter that can be used > in the device tree. > > Signed-off-by: Pei Yue Ho > Reviewed-by: Wei Liang Lim > Reviewed-by: Eng Lee Teh > Reviewed-by: Heiko Schocher > --- >

Re: [PATCH 2/2] i2c: i2c-cdns.c: Update driver to read fifo-depth from device tree

2023-02-13 Thread Heiko Schocher
Hello Pei Yue Ho, On 04.01.23 08:20, Pei Yue Ho wrote: > Enable driver to fetch the optional parameter (fifo-depth) > from device tree. If the parameter is not found in the device > tree, it will use the default value declared in the driver. > > Signed-off-by: Pei Yue Ho > Reviewed-by: Wei

Please pull u-boot-i2c

2023-02-13 Thread Heiko Schocher
Hello Tom, please pull from u-boot-i2c: The following changes since commit a5e490f14e904fd240ccec5d364509b36a3150f9: socfpga: fix the serial console on DE1-SoC (2023-02-12 15:47:19 -0500) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-i2c.git

Re: U-boot not loading NVMe driver on Pi CM4

2023-02-13 Thread Stefan Roese
Hi Ignatius, On 2/10/23 17:05, Simon Glass wrote: Hi Ignatius, On Thu, 9 Feb 2023 at 17:29, Ignatius Rivaldi wrote: Added more debug logging and for some reason the nvme driver tries to bind to pcie root bridge instead of the SSD

Re: [PATCH] arm64: imx: Add support for imx8mp-beacon-kit

2023-02-13 Thread Adam Ford
On Sun, Feb 12, 2023 at 12:08 PM Tom Rini wrote: > > On Sun, Feb 12, 2023 at 12:02:26PM -0600, Adam Ford wrote: > > On Sun, Feb 12, 2023 at 11:47 AM Tom Rini wrote: > > > > > > On Sun, Feb 12, 2023 at 11:36:38AM -0600, Adam Ford wrote: > > > > > > > Beacon Embedded has an i.MX8M Plus development

Re: [PATCH V2] arm64: imx: Add support for imx8mp-beacon-kit

2023-02-13 Thread Tom Rini
On Sun, Feb 12, 2023 at 05:57:35PM -0600, Adam Ford wrote: > Beacon Embedded has an i.MX8M Plus development kit which consists > of a SOM + baseboard. The SOM includes Bluetooth, WiFi, QSPI, eMMC, > and one Ethernet PHY. The baseboard includes audio, HDMI, USB-C Dual > Role port, USB Hub with

[PATCH v3 0/1] Add Radxa ROCK 3 Model A support in U-boot.

2023-02-13 Thread Akash Gajjar
ROCK 3 Model A is rk3568 based soc board from Radxa, Add board support in u-boot. Booting logs is accessible at https://paste.ubuntu.com/p/v9BNrB7MdM/ Akash Gajjar (1): arm64: dts: rockchip: rk3568: Add Radxa ROCK 3 Model A board support arch/arm/dts/Makefile | 3 +-

[PATCH v3 1/1] arm64: dts: rockchip: rk3568: Add Radxa ROCK 3 Model A board support

2023-02-13 Thread Akash Gajjar
Add Radxa ROCK 3 Model A support. sync rk3568-rock-3a.dts from Linux 6.2.0-rc7 Board Specifications - Rockchip RK3568 - 2/4/8GB LPDDR4 3200MT/s - eMMC socket, SD card slot - GbE LAN - PCIe 3.0/2.0 - M.2 Connector - 3.5mm Audio jack with mic - HDMI 2.0, MIPI DSI/CSI - USB 3.0 Host/OTG, USB 2.0

[PATCH v5 01/11] schemas: Add schema for U-Boot driver model 'phase tags'

2023-02-13 Thread Simon Glass
U-Boot has some particular challenges with device tree and devices: - U-Boot has multiple build phases, such as a Secondary Program Loader (SPL) phase which typically runs in a pre-SDRAM environment where code and data space are limited. In particular, there may not be enough space for the

[PATCH v5 02/11] dm: Add support for handling old u-boot,dm- tags

2023-02-13 Thread Simon Glass
Add a CONFIG option to deal with this automatically, printing a warning when U-Boot starts up. This can be useful if the device tree comes from another project. We will maintain this through the 2023.07 release, providing 6 months for people to notice. Signed-off-by: Simon Glass Version 4:

[PATCH v5 10/11] test: Add a way to set the environment for a pytest

2023-02-13 Thread Simon Glass
This is useful when we need to control a particular environment variable. Add a way to handle this. Signed-off-by: Simon Glass --- (no changes since v4) Changes in v4: - Add new patch with a way to set the environment for a pytest test/py/multiplexed_log.py | 5 +++-- test/py/u_boot_utils.py

[PATCH v5 08/11] checkpatch: Add a warning for pre-schema driver model tags

2023-02-13 Thread Simon Glass
Help ensure that these don't creep into development by adding a check in checkpatch for them. Signed-off-by: Simon Glass --- (no changes since v3) Changes in v3: - Add a new patch to warn about pre-schema driver model tags scripts/checkpatch.pl | 6 ++

[PATCH v5 05/11] dm: doc: Update device tree binding docs for new schema

2023-02-13 Thread Simon Glass
Now that Linux has accepted these tags, move U-Boot over to use them. Signed-off-by: Simon Glass --- (no changes since v1) doc/device-tree-bindings/chosen.txt | 2 +- .../clock/rockchip,rk3368-dmc.txt | 2 +- .../clock/rockchip,rk3399-dmc.txt | 2 +-

[PATCH v5 06/11] dm: doc: Update documentation for new driver model schema

2023-02-13 Thread Simon Glass
Now that Linux has accepted these tags, move U-Boot over to use them. Tidy up the comments and formatting, making sure that VPL is mentioned too. Signed-off-by: Simon Glass --- Changes in v5: - Add a note to the SPL file about the migration doc/README.TPL| 4

[PATCH v5 04/11] dm: treewide: Complete migration to new driver model schema

2023-02-13 Thread Simon Glass
Update various build and test components to use the new schema. Signed-off-by: Simon Glass --- (no changes since v1) drivers/core/ofnode.c| 10 +- drivers/video/video-uclass.c | 4 ++-- dts/Kconfig | 2 +- include/dm/device.h | 2 +-

[PATCH v5 09/11] CI: Add a check for pre-schema driver model tags

2023-02-13 Thread Simon Glass
These should not be used anymore. Add a check to ensure they don't creek back into U-Boot. Use bootph-... instead. Signed-off-by: Simon Glass --- (no changes since v3) Changes in v3: - Add a new patch to check for pre-schema driver model tags in CI .azure-pipelines.yml | 12

[PATCH v5 11/11] dm: test: Add a test for the various migration combinations

2023-02-13 Thread Simon Glass
Test that: - sandbox shows a warning when an unmigrated DT is used - sandbox fails to run when migration is turned off - sandbox_spl fails to build when migration is turned off Signed-off-by: Simon Glass --- Changes in v5: - Ensure that the old tags are supported in each commit of this series

[PATCH v5 00/11] dm: Move to new driver model schema for device tree tags

2023-02-13 Thread Simon Glass
Now that a new schema has been accepted upstream, press it into service in U-Boot. Changes in v5: - Move this patch earlier in the series and make it additive - Add a note to the SPL file about the migration - Ensure that the old tags are supported in each commit of this series Changes in v4: -

[PATCH 0/1] Add Radxa ROCK Pi S support in U-boot

2023-02-13 Thread Akash Gajjar
ROCK Pi S is rk3308 soc based board from Radxa. Add board support in u-boot. Booting logs is accessible at https://paste.ubuntu.com/p/cJDRzBRdXq/ Akash Gajjar (1): arm64: dts: rockchip: rk3308: Add Radxa ROCK Pi S support arch/arm/dts/rk3308-rock-pi-s-u-boot.dtsi | 17 ++

[PATCH 1/1] arm64: dts: rockchip: rk3308: Add Radxa ROCK Pi S support

2023-02-13 Thread Akash Gajjar
Add Radxa ROCK 3 Model A support. sync rk3308-rock-pi-s.dts from Linux 6.2.0-rc7. ROCK Pi S is RK3308 based SBC from radxa.com. ROCK Pi S has a, - 256MB/512MB DDR3 RAM - SD, NAND flash (optional on board 1/2/4/8Gb) - 100MB ethernet, PoE (optional) - Onboard 802.11 b/g/n wifi + Bluetooth 4.0

[PATCH v2] doc: board: bcm7xxx: Convert to reStructuredText format

2023-02-13 Thread Thomas Fitzsimmons
Convert the documentation for the Broadcom BCM7445 and BCM7260 boards to reStructuredText format and add the new filename to doc/board/broadcom/index.rst. --- Changes in v2: - Remove "About this" heading doc/README.bcm7xxx | 156

Re: Please pull u-boot-marvell/master

2023-02-13 Thread Tom Rini
On Mon, Feb 13, 2023 at 03:01:25PM +0100, Stefan Roese wrote: > Hi Tom, > > please pull this next batch of Marvell related patches. > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: Please pull u-boot-i2c

2023-02-13 Thread Tom Rini
On Mon, Feb 13, 2023 at 03:52:55PM +0100, Heiko Schocher wrote: > Hello Tom, > > please pull from u-boot-i2c: > > The following changes since commit a5e490f14e904fd240ccec5d364509b36a3150f9: > > socfpga: fix the serial console on DE1-SoC (2023-02-12 15:47:19 -0500) > > are available in the

Re: [PATCH v2 RESEND 11/14] clocks: qcs404: Add support for I2C clocks

2023-02-13 Thread Tom Rini
On Mon, Feb 13, 2023 at 10:19:09AM +0530, Sumit Garg wrote: > Co-developed-by: Mike Worsfold > Signed-off-by: Mike Worsfold > Signed-off-by: Sumit Garg I don't see this originally in patchwork, and I didn't check lore.kernel.org, I'm not sure what happened. With that, applied to

Re: Please pull u-boot-dm

2023-02-13 Thread Tom Rini
On Sun, Feb 12, 2023 at 05:37:09PM -0700, Simon Glass wrote: > Hi Tom, > > https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/15164 > > > The following changes since commit a5e490f14e904fd240ccec5d364509b36a3150f9: > > socfpga: fix the serial console on DE1-SoC (2023-02-12

[PATCH v2 0/8] vidconsole: refactoring and support for wider fonts

2023-02-13 Thread Dzmitry Sankouski
Modern mobile phones typically have high pixel density. Bootmenu is hardly readable on those with 8x16 font. This patch series aims to add wider fonts for devices with high ppi. Add 16x32, 12x22 fonts from linux, and allow font size configuration. There was significant changes in version 3: -

[PATCH v2 1/8] video console: unite normal and rotated files

2023-02-13 Thread Dzmitry Sankouski
Unite console_normal.c and console_rotate.c files. Those files have similar logic, and common logic may be extracted after putting code in single file. Signed-off-by: Dzmitry Sankouski --- Changes for v2: - none drivers/video/Kconfig | 8 +- drivers/video/Makefile

[PATCH v2 3/8] video console: add support for fonts wider than 1 byte

2023-02-13 Thread Dzmitry Sankouski
Devices with high ppi may benefit from wider fonts. Current width implementation is limited by 1 byte, i.e. 8 bits. New version iterates VIDEO_FONT_BYTE_WIDTH times, to process all width bytes, thus allowing fonts wider than 1 byte. Signed-off-by: Dzmitry Sankouski --- Charges for v2: - replace

[PATCH v2 4/8] video console: add select font logic to vidconsole uclass driver

2023-02-13 Thread Dzmitry Sankouski
Select font logic at runtime needed to unit test different fonts. This commit is a preparation to enable runtime font selection in console_simple driver. - move console true type select font logic to driver ops - add select font logic to vidconsole-uclass.c Signed-off-by: Dzmitry Sankouski ---

[PATCH v2 2/8] video console: refactoring and optimization

2023-02-13 Thread Dzmitry Sankouski
- get rid of code duplications in switch across bpp values - extract common pixel fill logic in two functions one per horizontal and vertical filling - rearrange statements in put_xy* methods in unified way - replace types - uint*_t to u* Signed-off-by: Dzmitry Sankouski --- Changes for v2: -

[PATCH v2 8/8] video console: add 12x22 console simple font test

2023-02-13 Thread Dzmitry Sankouski
Tests fonts wider than a byte. Signed-off-by: Dzmitry Sankouski --- Changes for v2: N/A configs/sandbox_defconfig | 3 +++ test/dm/video.c | 41 +++ 2 files changed, 44 insertions(+) diff --git a/configs/sandbox_defconfig

Re: [PATCH v5 02/11] dm: Add support for handling old u-boot, dm- tags

2023-02-13 Thread Michal Simek
On 2/13/23 16:56, Simon Glass wrote: Add a CONFIG option to deal with this automatically, printing a warning when U-Boot starts up. This can be useful if the device tree comes from another project. We will maintain this through the 2023.07 release, providing 6 months for people to notice.

Re: [PATCH 2/5] video console: refactoring and optimization

2023-02-13 Thread Dzmitry Sankouski
For version 3 patches: Summary of 8 commits for 1232 boards (4 threads, 1 job per thread) 01: video console: unite normal and rotated files 02: video console: refactoring and optimization sandbox: (for 1/7 boards) all -64.0 text -64.0 03: video console: add support for fonts wider than 1 byte

[PATCH v5 07/11] dm: doc: Move to new driver model schema

2023-02-13 Thread Simon Glass
Now that Linux has accepted these tags, update the dtoc tool to use them. Signed-off-by: Simon Glass --- (no changes since v1) tools/dtoc/dtb_platdata.py | 10 +- tools/dtoc/test/dtoc_test_add_prop.dts | 4 ++-- tools/dtoc/test/dtoc_test_addr32.dts

Re: [PATCH v2 3/3] fdt: introduce fsapply command

2023-02-13 Thread Andre Przywara
On Fri, 10 Feb 2023 09:05:34 -0700 Simon Glass wrote: Hi Simon, > On Fri, 10 Feb 2023 at 04:32, Lothar Waßmann wrote: > > > > Hi, > > > > On Fri, 10 Feb 2023 11:02:13 + Andre Przywara wrote: > > > Explicitly specifying the exact filenames of devicetree overlays files > > > on a U-Boot

[PATCH] mtd: spinand: Fix display of unknown raw ID

2023-02-13 Thread Patrice Chotard
In case ID is not found in manufacturer table, the raw ID is printed using %*phN format which is not supported by lib/vsprintf.c. The information displayed doesn't reflect the raw ID return by the unknown spi-nand. Use %02x format instead, as done in spi-nor-core.c. For example, before this

[PATCH] timer: fttmr010: return a previously deleted driver now ported to DM

2023-02-13 Thread Sergei Antonov
The fttmr010 timer driver was deleted by commit 29fc6f24926e ("ARM: remove a320evb board support") The original source file was: arch/arm/cpu/arm920t/a320/timer.c Return the driver to the codebase in a DM compatible form. A platform using fttmr010 will be submitted later. This hardware is

[PATCH] board: gateworks: venice: move README to RST

2023-02-13 Thread Tim Harvey
Move board/gateworks/venice/README to RST documentation. Signed-off-by: Tim Harvey --- board/gateworks/venice/MAINTAINERS| 1 + board/gateworks/venice/README | 35 --- doc/board/gateworks/imx8mm_venice.rst | 50 +++

Re: [PATCH] arm: kirkwood: Enable uart0 dm-pre-reloc for Pogoplug V4 board

2023-02-13 Thread Tony Dinh
On Mon, Feb 13, 2023 at 1:12 AM Stefan Roese wrote: > > Hi Michael, > > On 2/13/23 09:48, Michael Walle wrote: > > Am 2023-02-13 09:43, schrieb Stefan Roese: > >> On 2/10/23 22:08, Tony Dinh wrote: > >>> When DM_SERIAL is enabled, the device-tree tag u-boot,dm-pre-reloc is > >>> required for this

Re: [PATCH v2 3/3] fdt: introduce fsapply command

2023-02-13 Thread Simon Glass
Hi Andre, On Mon, 13 Feb 2023 at 10:26, Andre Przywara wrote: > > On Fri, 10 Feb 2023 09:05:34 -0700 > Simon Glass wrote: > > Hi Simon, > > > On Fri, 10 Feb 2023 at 04:32, Lothar Waßmann > > wrote: > > > > > > Hi, > > > > > > On Fri, 10 Feb 2023 11:02:13 + Andre Przywara wrote: > > > >

Re: [PATCH] fs/btrfs: handle data extents, which crosss stripe boundaries, correctly

2023-02-13 Thread Andreas Schwab
On Feb 13 2023, Qu Wenruo wrote: > On 2023/2/13 00:20, Andreas Schwab wrote: >> When I print ce->size in __btrfs_map_block, it is almost always >> 1073741824, which looks bogus. >> > Can you provide the image of that filesystem? How do I do that? -- Andreas Schwab, sch...@linux-m68k.org GPG

[PATCH 1/1] efi_loader: avoid buffer overrun in efi_var_mem_compare

2023-02-13 Thread Heinrich Schuchardt
We should not scan beyond the end of string name. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_var_mem.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/efi_loader/efi_var_mem.c b/lib/efi_loader/efi_var_mem.c index e1058e3c6a..d6b65aed12 100644 ---

Re: imx8mp spi fail

2023-02-13 Thread Elmar Psilog
Thank you so much, you made my day! Sorry, I didn't see the alias was used different. Although my credibility gambled away I think I found a real bug in EQOS driver with fixed-phy: In file fixed.c in in function fixedphy_config() the call     val = ofnode_read_u32_default(node, "speed",

Re: imx8mp spi fail

2023-02-13 Thread Fabio Estevam
Hi Elmar, On Mon, Feb 13, 2023 at 4:46 PM Elmar Psilog wrote: > > Thank you so much, you made my day! Sorry, I didn't see the alias was > used different. Glad to know it is working. > Although my credibility gambled away I think I found a real bug in EQOS > driver with fixed-phy: > > In file

Re: [PATCH 2/4] usb: xhci-mtk: modify the SOF/ITP interval for mt8195

2023-02-13 Thread Marek Vasut
On 2/13/23 02:46, Chunfeng Yun (云春峰) wrote: On Fri, 2023-02-10 at 11:32 +0100, Marek Vasut wrote: On 2/10/23 09:33, Chunfeng Yun wrote: [...] @@ -50,6 +50,27 @@ #define IPPC_U3_CTRL(p) (IPPC_U3_CTRL_0P + ((p) * 0x08)) #define IPPC_U2_CTRL(p) (IPPC_U2_CTRL_0P + ((p) * 0x08))

Re: [PATCH] fs: btrfs: limit the mapped length to the original length

2023-02-13 Thread Andreas Schwab
On Feb 13 2023, Qu Wenruo wrote: > diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c > index 4aaaeab663f5..7d4095d9ca88 100644 > --- a/fs/btrfs/volumes.c > +++ b/fs/btrfs/volumes.c > @@ -956,6 +956,7 @@ int __btrfs_map_block(struct btrfs_fs_info *fs_info, int > rw, > struct

imx8mp EQOS regression in dwc_eth_qos,c

2023-02-13 Thread Elmar Psilog
Hello, Think I found a regression in EQOS driver with fixed-phy. Maybe someone with a imx8mp board might check that use case to confirm? That would be great. While ethernet was working in v2022.04 a "ping" in v2023.01 returns ERROR: no/invalid property! invalid speed 0 eqos_adjust_link()

Re: imx8mp EQOS regression in dwc_eth_qos,c

2023-02-13 Thread Fabio Estevam
Adding Marek, who has sent some EQOS patches recently. On Mon, Feb 13, 2023 at 6:02 PM Elmar Psilog wrote: > > Hello, > Think I found a regression in EQOS driver with fixed-phy. Maybe someone > with a imx8mp board might check that use case to confirm? That would be > great. > While ethernet was

Re: [PATCH v3 08/10] phy: socionext: Add UniPhier USB3 PHY driver

2023-02-13 Thread Marek Vasut
On 2/13/23 04:08, Kunihiko Hayashi wrote: Hi Marek, Hello Hayashi-san, On 2023/02/10 23:09, Marek Vasut wrote: On 2/8/23 10:15, Kunihiko Hayashi wrote: [...] +static int uniphier_usb3phy_init(struct phy *phy) +{ +    struct uniphier_usb3phy_priv *priv = dev_get_priv(phy->dev); +    int

Re: imx8mp EQOS regression in dwc_eth_qos,c

2023-02-13 Thread Marek Vasut
On 2/13/23 22:04, Fabio Estevam wrote: Adding Marek, who has sent some EQOS patches recently. On Mon, Feb 13, 2023 at 6:02 PM Elmar Psilog wrote: Hello, Think I found a regression in EQOS driver with fixed-phy. Maybe someone with a imx8mp board might check that use case to confirm? That

[PATCH V2 0/9] Rockchip: Improve Support for RK3566 Devices

2023-02-13 Thread Chris Morgan
From: Chris Morgan This series is to lay the groundwork to improve support for the RK3566 based devices. This syncs the devicetrees with upstream Linux and adds support for the pin controller of the rk356x series. Future patches will be submitted that builds on top of this to support devices

[PATCH V2 1/9] gpio: gpio-rockchip: parse gpio-ranges for bank id

2023-02-13 Thread Chris Morgan
From: Chris Morgan Use the new devicetree property of gpio-ranges to determine the GPIO bank ID. Preserve the "old" way of doing things too, so that boards can be migrated and tested gradually (I only have a 3566 and 3326 to test). Signed-off-by: Chris Morgan --- drivers/gpio/rk_gpio.c | 20

[PATCH V2 2/9] dts: rockchip: px30: add gpio-ranges property to gpio nodes

2023-02-13 Thread Chris Morgan
From: Chris Morgan Add the gpio-ranges property to each GPIO node for use in deriving the correct bank ID. Note that invoking "gpio status -a" no longer causes the board to hit a "Synchronous Abort". Fixes: 537b1a277479 ("rockchip: add px30 devicetrees") Signed-off-by: Chris Morgan ---

[PATCH V2 3/9] rockchip: vop2: Add vop2 dt-binding from Linux

2023-02-13 Thread Chris Morgan
From: Chris Morgan In order to support Rockchip devices with the VOP2, import the VOP2 dt-bindings from Linux. Signed-off-by: Chris Morgan Reviewed-by: Kever Yang --- include/dt-bindings/soc/rockchip,vop2.h | 14 ++ 1 file changed, 14 insertions(+) create mode 100644

[PATCH V2 5/9] rockchip: rk3568: add boot device detection

2023-02-13 Thread Chris Morgan
From: Chris Morgan Enable spl to detect which device it was booted from. Signed-off-by: Peter Geis Signed-off-by: Chris Morgan --- arch/arm/mach-rockchip/rk3568/rk3568.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/mach-rockchip/rk3568/rk3568.c

[PATCH V2 6/9] rockchip: rk3568: enable automatic power savings

2023-02-13 Thread Chris Morgan
From: Chris Morgan It enables automatic clock gating on idle, disables the eDP phy by default, and sets the core pvtpll ring length. It is reported this lowers the temperature on at least one SoC by 7C. Signed-off-by: Peter Geis Signed-off-by: Chris Morgan ---

  1   2   >