[PATCH 10/15] ARM: remove non PBL Atmel boards

2024-04-25 Thread Sascha Hauer
Some Atmel AT91 boards still do not have PBL support which becomes mandatory soon. Remove these boards. Signed-off-by: Sascha Hauer --- arch/arm/boards/Makefile | 3 - arch/arm/boards/sama5d3xek/Makefile | 6 - .../defaultenv-sama5d3xek/bin/init_board

[PATCH 15/15] ARM: drop TEXT_BASE

2024-04-25 Thread Sascha Hauer
With all ARM boards being relocatable TEXT_BASE is always defined to 0x0 and can be dropped. The ARCH_TEXT_BASE Kconfig symbol is also no longer used and can be removed. Signed-off-by: Sascha Hauer --- arch/arm/Kconfig | 4 arch/arm/Makefile | 4 arch

[PATCH 14/15] ARM: make relocatable mandatory

2024-04-25 Thread Sascha Hauer
Most ARM boards use relocatable binaries already. Make it mandatory for the remaining boards to better unify the ARM support. Signed-off-by: Sascha Hauer --- arch/arm/Kconfig | 10 ++ arch/arm/Makefile | 16 ++-- arch/arm/cpu/exceptions_32

[PATCH 13/15] ARM: drop barebox_arm_head()

2024-04-25 Thread Sascha Hauer
barebox_arm_head() is unused now. Remove it. Signed-off-by: Sascha Hauer --- arch/arm/include/asm/barebox-arm-head.h | 8 include/mach/socfpga/barebox-arm-head.h | 7 --- 2 files changed, 15 deletions(-) diff --git a/arch/arm/include/asm/barebox-arm-head.h b/arch/arm/include/asm

[PATCH 11/15] ARM: move HAVE_PBL_MULTI_IMAGES to toplevel

2024-04-25 Thread Sascha Hauer
All ARM architectures now have PBL multi image support, so move HAVE_PBL_MULTI_IMAGES and HAVE_PBL_IMAGE to the toplevel ARM config. Signed-off-by: Sascha Hauer --- arch/arm/Kconfig | 9 ++--- arch/arm/cpu/Kconfig | 3 --- arch/arm/cpu/uncompress.c | 13

[PATCH 12/15] ARM: drop non PBL support

2024-04-25 Thread Sascha Hauer
All ARM boards now use PBL, so remove unused code inside #ifdef CONFIG_PBL_IMAGE. Signed-off-by: Sascha Hauer --- arch/arm/Kconfig | 1 - arch/arm/cpu/entry_ll_32.S | 4 arch/arm/cpu/entry_ll_64.S | 4 arch/arm/cpu/start.c | 17 - arch/arm

[PATCH 04/15] ARM: remove ep93xx

2024-04-25 Thread Sascha Hauer
None of the ep93xx boards supports PBL. PBL becomes mandatory, so remove the boards and with it the now unused architecture. Signed-off-by: Sascha Hauer --- arch/arm/Kconfig | 7 - arch/arm/Makefile | 1 - arch/arm/boards/Makefile

[PATCH 08/15] ARM: remove nomadik

2024-04-25 Thread Sascha Hauer
Nomadik was mainlined once and has never got any attention. It still doesn't have PBL support or device tree support. Remove the ancient and likely unused architecture. Signed-off-by: Sascha Hauer --- arch/arm/Kconfig | 10 -- arch/arm/Makefile

[PATCH 01/15] ARM: move HAVE_PBL_MULTI_IMAGES up to ARCH_MULTIARCH

2024-04-25 Thread Sascha Hauer
All ARCH_MULTIARCH machines need HAVE_PBL_MULTI_IMAGES enabled, so move selection of the symbol up to ARCH_MULTIARCH. Signed-off-by: Sascha Hauer --- arch/arm/Kconfig | 11 +-- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index

[PATCH 06/15] ARM: remove davinci

2024-04-25 Thread Sascha Hauer
barebox davinci support is very minimal, the only supported board is the virt2real board. This still has no PBL support which becomes mandatory soon, so remove the architecture. Signed-off-by: Sascha Hauer --- arch/arm/Kconfig | 8 - arch/arm/Makefile

[PATCH 07/15] ARM: remove PXA boards

2024-04-25 Thread Sascha Hauer
None of the PXA boards has PBL support. This becomes mandatory soon, so remove the boards. Signed-off-by: Sascha Hauer --- arch/arm/boards/Makefile | 5 - arch/arm/boards/lubbock/Makefile | 4 - arch/arm/boards/lubbock/board.c | 118

[PATCH 05/15] ARM: remove canon-a1100 support

2024-04-25 Thread Sascha Hauer
canon-a1100 still doesn't have PBL support which will become mandatory soon. Remove the architecture. Signed-off-by: Sascha Hauer --- arch/arm/Kconfig | 11 -- arch/arm/Makefile | 11 -- arch/arm/boards/Makefile | 1 - arch/arm

[PATCH 02/15] ARM: move OFTREE and OFDEVICE up one level

2024-04-25 Thread Sascha Hauer
All ARCH_MULTIARCH machines are probing from device tree, so select the necessary symbols from ARCH_MULTIARCH rather than individually from the machines. Signed-off-by: Sascha Hauer --- arch/arm/Kconfig | 13 ++--- arch/arm/mach-imx/Kconfig | 7 --- arch/arm/mach-omap

[PATCH 03/15] ARM: remove uemd architecure

2024-04-25 Thread Sascha Hauer
mach-uemd is one of the architectures that still doesn't support PBL. As PBL support becomes mandatory remove the architecture. Signed-off-by: Sascha Hauer --- arch/arm/Kconfig | 12 --- arch/arm/Makefile| 1 - arch/arm/boards/Makefile

[PATCH 00/15] ARM: remove non PBL ARM boards and sub architectures

2024-04-25 Thread Sascha Hauer
cases the conversion to PBL support is quite straight forward and I could guide you through the process or create patches for them. Anyway, I assume most of the sub architectures are unused so I would do the work only if somebody actively shows interest. Sascha Hauer (15): ARM: move

Re: [PATCH] fixup! mtd: nand: move to drivers/mtd/nand/raw/

2024-04-25 Thread Sascha Hauer
On Wed, Apr 24, 2024 at 08:41:56AM +0200, Ahmad Fatoum wrote: > mtd: nand: align IS_ENABLED(symbol) for header stub with Makefile > > drivers/mtd/nand/Makefile builds nand-bb.o when CONFIG_MTD_NAND_CORE > is defined. We need to use the same symbol in the header to avoid > breakage when

Re: [PATCH master 00/23] treewide: fix bugs using DMA API

2024-04-25 Thread Sascha Hauer
/cgit/barebox/commit/?id=699194dd2a4f (link may not be stable) Best regards, -- Sascha Hauer

v2024.04.0

2024-04-25 Thread Sascha Hauer
xload support Sascha Hauer (37): gpio: add slice support gpio: pca953x: depend on i2c slice input: gpio_keys: limit poll rate input: gpio_keys: only use gpios in poller when not in use dts: update to v6.8-rc6 dts: update to v6.8 board: tq: add missing

Re: [PATCH 0/3] raspi: cleanup of vc fixups

2024-04-23 Thread Sascha Hauer
for the `dma-ranges` property of the `/emmc2bus` dt node https://git.pengutronix.de/cgit/barebox/commit/?id=3f9788433919 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH master 1/3] mci: core: fix fallback when eMMC DDR52 is not possible

2024-04-23 Thread Sascha Hauer
On Tue, Apr 23, 2024 at 08:22:04AM +0200, Ahmad Fatoum wrote: > mci_mmc_select_hs_ddr() will try DDR52 and if that fails, revert to > SDR operation. In that case, it returns the bus width, which would > be forwarded as if it were an error code: > > WARNING: mmc2: Card's startup fails with 3 >

Re: [PATCH master] mci: core: allocate memory used for DMA with dma_alloc

2024-04-23 Thread Sascha Hauer
[1/1] mci: core: allocate memory used for DMA with dma_alloc https://git.pengutronix.de/cgit/barebox/commit/?id=b986aad24ab8 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH] ddr: imx: hide config prompt unless COMPILE_TEST

2024-04-23 Thread Sascha Hauer
ay not be stable) Best regards, -- Sascha Hauer

Re: [PATCH v2] scripts: imx: IMX8MQ: fix header entry offset

2024-04-22 Thread Sascha Hauer
x/commit/?id=9a39a534b771 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH 1/2] include: kconfig.h: move __is_defined definition into new header

2024-04-22 Thread Sascha Hauer
95ce (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH 2/2] net: designware-imx: i.MX93: set TX_CLK in RMII mode

2024-04-22 Thread Sascha Hauer
On Wed, Apr 17, 2024 at 11:11:26AM +0200, Steffen Trumtrar wrote: > According to NXP AT14149 the TX_CLK direction must be set to output > when the ENET is used in RMII mode. > > Signed-off-by: Steffen Trumtrar > --- > drivers/net/designware_imx.c | 12 > 1 file changed, 12

Re: [PATCH master 0/3] clk: imx: composite-8m: fix muxing of core and bus

2024-04-22 Thread Sascha Hauer
Linux v6.9-rc3 https://git.pengutronix.de/cgit/barebox/commit/?id=ed8dad10eac8 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH 1/2] clk: add flags parameter to clk_dump(_one)

2024-04-22 Thread Sascha Hauer
[1/2] clk: add flags parameter to clk_dump(_one) https://git.pengutronix.de/cgit/barebox/commit/?id=ab544df4e368 (link may not be stable) [2/2] commands: clk_dump: add json output option https://git.pengutronix.de/cgit/barebox/commit/?id=83b091903d70 (link may not be stable) Best rega

Re: [PATCH] ARM: i.MX: remove platform device registration helpers

2024-04-19 Thread Sascha Hauer
On Thu, 11 Apr 2024 09:11:22 +0200, Sascha Hauer wrote: > With two exceptions the imx_add_* platform device registration helpers > are no longer used, so remove them. > In two cases a framebuffer is still registered with a helper function. > Replace them with add_generic_device(). &g

Re: [PATCH] file-list: remove unused variable

2024-04-19 Thread Sascha Hauer
On Wed, 17 Apr 2024 08:19:36 +0200, Sascha Hauer wrote: > struct file_list::num_entries is only ever used to check if a file list > is empty. Do this check with list_empty() instead and remove the unused > member. > > Applied, thanks! [1/1] file-list: remove unused varia

[PATCH] mtd: nand: mxc_nand: disable subpage reads

2024-04-17 Thread Sascha Hauer
The NAND core enabled subpage reads when a largepage NAND is used with SOFT_ECC. The i.MX NAND controller doesn't support subpage reads, so clear the flag again. Signed-off-by: Sascha Hauer --- drivers/mtd/nand/raw/mxc_nand.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd

Re: [PATCH] mtd: nand: stm32: fix wrong regmap_bulk_read() usage

2024-04-17 Thread Sascha Hauer
On Tue, 16 Apr 2024 08:08:06 +0200, Sascha Hauer wrote: > Compilation of the STM32 NAND driver fails with: > > error: call to '__regmap_bulk_api_changed' declared with attribute error: > Last argument is now number of registers, not bytes. Fix it and include > > Do ex

Re: [PATCH 1/2] fs: jffs2: remove NAND write support entirely

2024-04-17 Thread Sascha Hauer
On Tue, 16 Apr 2024 08:17:29 +0200, Sascha Hauer wrote: > Our JFFS2 implementation refuses to work on NAND flashes because we lack > support for CONFIG_JFFS2_FS_WRITEBUFFER currently. JFFS2 is barely used > anymore and it seems unlikely that write support for it will ever be > adde

[PATCH] file-list: remove unused variable

2024-04-17 Thread Sascha Hauer
struct file_list::num_entries is only ever used to check if a file list is empty. Do this check with list_empty() instead and remove the unused member. Signed-off-by: Sascha Hauer --- common/file-list.c | 6 +- include/file-list.h | 3 +-- 2 files changed, 2 insertions(+), 7 deletions

Re: [PATCH 1/2] clk: imx27: add nand clock

2024-04-16 Thread Sascha Hauer
On Tue, 16 Apr 2024 08:31:25 +0200, Sascha Hauer wrote: > The NAND clock is currently missing. The NAND driver doesn't use it > currently, but will be using it later once we update the driver. Add > this missing clock. > > Applied, thanks! [1/2] clk: imx27: add nand cl

Re: [PATCH 1/4] DNM: dts: arm64: rockchip: copy pf5 device tree from mainline Linux

2024-04-16 Thread Sascha Hauer
On Fri, Apr 12, 2024 at 03:33:00PM +0200, Ahmad Fatoum wrote: > Hi, > > On 12.04.24 15:02, Michael Riesch wrote: > > Hi Marco, > > > > Thanks for your response! > > > > On 4/5/24 19:02, Marco Felsch wrote: > >> Hi Michael, > >> > >> thanks for your patches. > >> > >>> DNM: dts: arm64: rockchip:

Re: [PATCH v2] of: do not copy properties if they already exist in the destination

2024-04-16 Thread Sascha Hauer
f the function is obviously unintended. > > [...] Applied, thanks! [1/1] of: do not copy properties if they already exist in the destination https://git.pengutronix.de/cgit/barebox/commit/?id=364a1831678d (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH v2] gpio: Add Intel gpio controller support

2024-04-16 Thread Sascha Hauer
On Wed, 10 Apr 2024 18:34:46 +0200, Tomas Marek wrote: > Applied, thanks! [1/1] gpio: Add Intel gpio controller support https://git.pengutronix.de/cgit/barebox/commit/?id=e476edd5322f (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH] scripts: config: add script to manipulate .config files on the command line

2024-04-16 Thread Sascha Hauer
box/commit/?id=e77ccb480a8c (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH v2 0/4] arm: boards: add wolfvision pf5 mainboard

2024-04-16 Thread Sascha Hauer
/?id=5f20e518aad1 (link may not be stable) [4/4] arm: boards: add wolfvision pf5 mainboard https://git.pengutronix.de/cgit/barebox/commit/?id=69bfc54d6eb0 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH] ARM64: let 'end' point after the range in cache functions

2024-04-16 Thread Sascha Hauer
Hi Enrico, On Fri, Apr 12, 2024 at 06:28:35PM +0200, Enrico Scholz wrote: > From: Enrico Scholz > > v8_flush_dcache_range() and v8_inv_dcache_range() are implemented > under the assumption that their 'end' parameter points *after* the > range. > > Fix callers to use it in this way. > > This

Re: [PATCH] ARM64: let 'end' point after the range in cache functions

2024-04-16 Thread Sascha Hauer
rruptions in the last octet when sending > 129 bytes over ethernet. > > [...] Applied, thanks! [1/1] ARM64: let 'end' point after the range in cache functions https://git.pengutronix.de/cgit/barebox/commit/?id=65ef5d885263 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH] of: do not acccess 'prop->value' directly

2024-04-16 Thread Sascha Hauer
ebox/commit/?id=7b7ab4a37d25 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH master] mci: core: don't fail MMC probe if HS200 isn't supported in HW

2024-04-16 Thread Sascha Hauer
probe if HS200 isn't supported in HW https://git.pengutronix.de/cgit/barebox/commit/?id=75d6a1ce692d (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH 1/3] ARM: Rockchip: bbu: rename rk3568_bbu_mmc_register to rockchip_*

2024-04-16 Thread Sascha Hauer
(link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH] gpiolib: implement gpiod_slice_acquired

2024-04-16 Thread Sascha Hauer
red https://git.pengutronix.de/cgit/barebox/commit/?id=fcc51585350b (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH master] partitions: efi: fix NULL dereference on corrupted GPT

2024-04-16 Thread Sascha Hauer
ay not be stable) Best regards, -- Sascha Hauer

Re: [PATCH master] soc: rockchip: io-domain: handle missing supply correctly

2024-04-16 Thread Sascha Hauer
andle missing supply correctly https://git.pengutronix.de/cgit/barebox/commit/?id=284a876cee1f (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH master] gpio: rockchip: fix support for RK3588/RK3566

2024-04-16 Thread Sascha Hauer
1] gpio: rockchip: fix support for RK3588/RK3566 https://git.pengutronix.de/cgit/barebox/commit/?id=ff8547d924aa (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH] clk: rk3568: sync PLL rates with Linux

2024-04-16 Thread Sascha Hauer
cgit/barebox/commit/?id=f382eedfb4f4 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH] ARM: dts: rockchip: drop unreferenced rockchip-pinconf.dtsi

2024-04-16 Thread Sascha Hauer
renced rockchip-pinconf.dtsi https://git.pengutronix.de/cgit/barebox/commit/?id=3d633c0f7c52 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH] ARM: dts: rk356x: describe serial reboot mode

2024-04-16 Thread Sascha Hauer
ot be stable) Best regards, -- Sascha Hauer

Re: [PATCH 0/7] PWM: rockchip: add driver support

2024-04-16 Thread Sascha Hauer
able) [6/7] PWM: rockchip: add driver support https://git.pengutronix.de/cgit/barebox/commit/?id=b96d3bccc710 (link may not be stable) [7/7] ARM: dts: rk356x: add aliases for PWM controllers https://git.pengutronix.de/cgit/barebox/commit/?id=a77bd919a9e0 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH] common: factor out debugging options into separate files

2024-04-16 Thread Sascha Hauer
Applied, thanks! [1/1] common: factor out debugging options into separate files https://git.pengutronix.de/cgit/barebox/commit/?id=b3d50a2b40de (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH] pinctrl: rockchip: check for invalid pull settings

2024-04-16 Thread Sascha Hauer
/cgit/barebox/commit/?id=32e9e020ae44 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH master] Documentation: aarch64-qemu-virt: add name of defconfig

2024-04-16 Thread Sascha Hauer
n: aarch64-qemu-virt: add name of defconfig https://git.pengutronix.de/cgit/barebox/commit/?id=26b637912f30 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH master] Documentation: devel: project-ideas: remove outdated info on MMC speed

2024-04-16 Thread Sascha Hauer
devel: project-ideas: remove outdated info on MMC speed https://git.pengutronix.de/cgit/barebox/commit/?id=615b803a07c8 (link may not be stable) Best regards, -- Sascha Hauer

[PATCH 1/8] bch: update from Kernel

2024-04-16 Thread Sascha Hauer
This updates BCH support from Linux as of Linux-6.9-rc2. Among other things in Linux the bch function names changed from a _bch suffix to a bch_ prefix. Link: https://lore.barebox.org/20240416062147.1337233-1-s.ha...@pengutronix.de Signed-off-by: Sascha Hauer --- common/imx-bbu-nand-fcb.c

[PATCH 5/8] mtd: nand: replace nand_imx driver with kernel driver

2024-04-16 Thread Sascha Hauer
the flash BBT if none exists, like our old driver did. Signed-off-by: Sascha Hauer --- drivers/mtd/nand/raw/Makefile |2 +- drivers/mtd/nand/raw/mxc_nand.c | 1880 +++ drivers/mtd/nand/raw/nand_imx.c | 1483 3 files changed, 1881

[PATCH 7/8] mtd: nand: mxc_nand: implement exec_op

2024-04-16 Thread Sascha Hauer
This converts the driver to the more modern exec_op which gets us rid of a bunch of legacy code. Tested on i.MX27 and i.MX25. Signed-off-by: Sascha Hauer --- drivers/mtd/nand/raw/mxc_nand.c | 426 ++-- 1 file changed, 132 insertions(+), 294 deletions(-) diff --git

[PATCH 8/8] mtd: nand: mxc_nand: support software ECC

2024-04-16 Thread Sascha Hauer
NAND_ECC_ENGINE_TYPE_ON_HOST is in use. With these changes the driver can be used with software BCH ECC which is useful for NAND chips that require a stronger ECC than the i.MX hardware supports. Signed-off-by: Sascha Hauer --- drivers/mtd/nand/raw/mxc_nand.c | 9 + 1 file changed, 5 insertions(+), 4 deletions

[PATCH 0/8] Update NAND layer

2024-04-16 Thread Sascha Hauer
update on i.MX6, i.MX27, i.MX25, SoCFPGA (denali) and one Atmel sama5d4 device. The patch is huge and I am sure there will be regressions somewhere in it, so I welcome all testing reports and will happily fix fallout. Sascha Sascha Hauer (8): bch: update from Kernel mtd: nand: move to drivers

[PATCH 2/8] mtd: nand: move to drivers/mtd/nand/raw/

2024-04-16 Thread Sascha Hauer
Linux moved the raw NAND drivers from drivers/mtd/nand/ to drivers/mtd/nand/raw/ years ago. Follow suit and do the same for barebox to be more consistent with Linux. Signed-off-by: Sascha Hauer --- commands/Kconfig | 6 +- drivers/mtd/Makefile

[PATCH 3/8] mtd: update _lock/_unlock prototype

2024-04-16 Thread Sascha Hauer
In Linux the _lock/_unlock hooks now take a uint64_t as length argument. Follow suit to be more consistent with Linux. Signed-off-by: Sascha Hauer --- drivers/mtd/mtdconcat.c | 4 ++-- drivers/mtd/nand/raw/nand_base.c | 4 ++-- drivers/mtd/nor/cfi_flash.c | 4 ++-- drivers/mtd

[PATCH 6/8] mtd: nand: mxc_nand: separate page read from ecc calc

2024-04-16 Thread Sascha Hauer
in the private data. Signed-off-by: Sascha Hauer --- drivers/mtd/nand/raw/mxc_nand.c | 140 1 file changed, 86 insertions(+), 54 deletions(-) diff --git a/drivers/mtd/nand/raw/mxc_nand.c b/drivers/mtd/nand/raw/mxc_nand.c index 9b5b5c744a..d9e06a0014 100644 --- a/drivers

[PATCH 1/2] clk: imx27: add nand clock

2024-04-16 Thread Sascha Hauer
The NAND clock is currently missing. The NAND driver doesn't use it currently, but will be using it later once we update the driver. Add this missing clock. Signed-off-by: Sascha Hauer --- drivers/clk/imx/clk-imx27.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/imx/clk-imx27

[PATCH 2/2] clk: imx27: add watchdog clock

2024-04-16 Thread Sascha Hauer
Since 87cad17964 the imxwd watchdog driver needs a clock to probe. Add this clock for i.MX27 to make the watchdog driver work again. Fixes: 87cad17964 ("watchdog: imxwd: get and enable clock") Signed-off-by: Sascha Hauer --- drivers/clk/imx/clk-imx27.c | 2 ++ 1 file changed, 2

[PATCH] bch: update from Kernel

2024-04-16 Thread Sascha Hauer
This updates BCH support from Linux as of Linux-6.9-rc2. Among other things in Linux the bch function names changed from a _bch suffix to a bch_ prefix. Signed-off-by: Sascha Hauer --- common/imx-bbu-nand-fcb.c | 12 +-- drivers/mtd/devices/docg3.c | 8 +- drivers/mtd/nand/nand_bch.c | 10

[PATCH 1/2] fs: jffs2: remove NAND write support entirely

2024-04-16 Thread Sascha Hauer
now safely operate on NAND flashes. Signed-off-by: Juergen Borleis Signed-off-by: Sascha Hauer --- fs/jffs2/Kconfig | 4 ++- fs/jffs2/fs.c | 11 -- fs/jffs2/jffs2_fs_sb.h | 16 - fs/jffs2/nodelist.h| 8 - fs/jffs2/os-linux.h| 79

[PATCH 2/2] fs: jffs2: ignore cleanup hints

2024-04-16 Thread Sascha Hauer
From: Juergen Borleis Without any kind of write support cleanup hints make no sense and cannot fixed inside the bootloader. Thus, ignore them entirely. Signed-off-by: Juergen Borleis Signed-off-by: Sascha Hauer --- fs/jffs2/os-linux.h | 10 +- 1 file changed, 9 insertions(+), 1

[PATCH] mtd: nand: stm32: fix wrong regmap_bulk_read() usage

2024-04-16 Thread Sascha Hauer
Compilation of the STM32 NAND driver fails with: error: call to '__regmap_bulk_api_changed' declared with attribute error: Last argument is now number of registers, not bytes. Fix it and include --- drivers/mtd/nand/stm32_fmc2_nand.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[PATCH] ARM: i.MX: remove platform device registration helpers

2024-04-11 Thread Sascha Hauer
With two exceptions the imx_add_* platform device registration helpers are no longer used, so remove them. In two cases a framebuffer is still registered with a helper function. Replace them with add_generic_device(). Signed-off-by: Sascha Hauer --- arch/arm/boards/datamodul-edm-qmx6/board.c

[PATCH] jffs2: change pr_fmt prefix to jffs2

2024-04-10 Thread Sascha Hauer
KBUILD_MODNAME expands to the filename which is not a good prefix for messages. Change it to jffs2 to give the messages a more meaningful prefix. Signed-off-by: Sascha Hauer --- fs/jffs2/build.c | 2 +- fs/jffs2/compr.c | 2 +- fs/jffs2/compr_rubin.c | 2 +- fs/jffs2/compr_zlib.c

Re: [PATCH v2 1/2] bootm: replace CONFIG_BOOTM_FORCE_SIGNED_IMAGES with helper

2024-04-10 Thread Sascha Hauer
e) [2/2] bootm: add support for dynamically forcing signature verification https://git.pengutronix.de/cgit/barebox/commit/?id=933db056bbdf (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH] mci: sdhci: fix dma mapping

2024-04-10 Thread Sascha Hauer
Applied, thanks! [1/1] mci: sdhci: fix dma mapping https://git.pengutronix.de/cgit/barebox/commit/?id=743130a7c75f (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH] mci: arasan: rework register_sdclk

2024-04-09 Thread Sascha Hauer
On Tue, Apr 09, 2024 at 07:57:20AM +0200, Steffen Trumtrar wrote: > Instead of guarding this at compile time, always call register_sdclk > with the correct clk_ops, like in linux. > > Currently only ZynqMP and default arasan ops are supported. > > Signed-off-by: Steffen Trumtrar > --- > Instead

Re: [PATCH] mci: arasan: rework register_sdclk

2024-04-09 Thread Sascha Hauer
ci: arasan: rework register_sdclk https://git.pengutronix.de/cgit/barebox/commit/?id=70791fb7f1aa (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH] arm: mecsbc: fixup /regulator-sd device tree node

2024-04-08 Thread Sascha Hauer
On Fri, 05 Apr 2024 12:12:50 +0200, Sascha Hauer wrote: > The MECSBC prototype board has a bug which makes the 1.8V SD mode > unusable. Add a fixup which sets the regulator-min-microvolt property of > the SD regulator to 3.3V to prevent the Kernel from going into 1.8V. > >

Re: [PATCH 2/4] common: add wolfvision board code library

2024-04-08 Thread Sascha Hauer
On Fri, Apr 05, 2024 at 04:04:43PM +0200, Michael Riesch wrote: > Add board code library for all WolfVision boards. > > Signed-off-by: Michael Riesch > --- > common/boards/Kconfig | 3 + > common/boards/Makefile | 1 + > common/boards/wolfvision/Makefile | 2 + >

Re: [PATCH] arm: mecsbc: fixup /regulator-sd device tree node

2024-04-05 Thread Sascha Hauer
On Fri, Apr 05, 2024 at 01:46:26PM +0200, Ahmad Fatoum wrote: > Hello Sascha, > > On 05.04.24 12:12, Sascha Hauer wrote: > > The MECSBC prototype board has a bug which makes the 1.8V SD mode > > unusable. Add a fixup which sets the regulator-min-microvolt property of > &g

Re: [PATCH v2 1/2] aiodev: add helper for getting a value by its channel name

2024-04-05 Thread Sascha Hauer
On Thu, 04 Apr 2024 13:15:26 +0200, Sascha Hauer wrote: > It's a common pattern to get an aiochannel by name and the value > afterwards. Add a helper for this pattern. > > Applied, thanks! [1/2] aiodev: add helper for getting a value by its channel name https://git.pengutr

Re: [PATCH 1/2] ARM: dts: add common bootstate.dtsi

2024-04-05 Thread Sascha Hauer
be stable) Best regards, -- Sascha Hauer

[PATCH] arm: mecsbc: fixup /regulator-sd device tree node

2024-04-05 Thread Sascha Hauer
The MECSBC prototype board has a bug which makes the 1.8V SD mode unusable. Add a fixup which sets the regulator-min-microvolt property of the SD regulator to 3.3V to prevent the Kernel from going into 1.8V. Signed-off-by: Sascha Hauer --- arch/arm/boards/protonic-mecsbc/board.c | 21

Re: [PATCH 00/10] net: fix problems handling trailing bytes

2024-04-05 Thread Sascha Hauer
of multiple packets per urb https://git.pengutronix.de/cgit/barebox/commit/?id=1ef8e95ec855 (link may not be stable) [10/10] net: usb: smsc95xx: disable HW checksumming in driver https://git.pengutronix.de/cgit/barebox/commit/?id=b83c88237593 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH] pmdomain: imx8mp-blk-ctrl: fix adb handshake handling

2024-04-04 Thread Sascha Hauer
ed > after the parent GPCv2 power domain is powered so we can access the HSIO > BLKCTRL registers. > > [...] Applied, thanks! [1/1] pmdomain: imx8mp-blk-ctrl: fix adb handshake handling https://git.pengutronix.de/cgit/barebox/commit/?id=aa03dc194997 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH 1/4] string: add isempty helper

2024-04-04 Thread Sascha Hauer
ootm: add global.bootm.provide_hostname option https://git.pengutronix.de/cgit/barebox/commit/?id=c1bb8f33009e (link may not be stable) Best regards, -- Sascha Hauer

[PATCH v2 2/2] arm: boards: Add support for protonic-mecsbc board

2024-04-04 Thread Sascha Hauer
From: David Jander MECSBC is a single-board-computer manufactured by Protonic Holland used in blood analysis machines manufactured by RR-Mechatronics. Signed-off-by: David Jander Signed-off-by: Sascha Hauer --- Notes: Changes since v1: - Use aiochannel_name_get_value() helper

[PATCH v2 1/2] aiodev: add helper for getting a value by its channel name

2024-04-04 Thread Sascha Hauer
It's a common pattern to get an aiochannel by name and the value afterwards. Add a helper for this pattern. Signed-off-by: Sascha Hauer --- drivers/aiodev/core.c | 12 include/aiodev.h | 9 + 2 files changed, 21 insertions(+) diff --git a/drivers/aiodev/core.c b

[PATCH] scripts: rk-usb-loader.c: Read input file after connecting USB device

2024-04-04 Thread Sascha Hauer
of USB connection. Signed-off-by: David Jander Signed-off-by: Sascha Hauer --- scripts/rk-usb-loader.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/scripts/rk-usb-loader.c b/scripts/rk-usb-loader.c index 9c2367ed28..62df7331fb 100644 --- a/scripts

Re: [PATCH 1/3] of: add of_property_read_variable_uxx_array()

2024-04-04 Thread Sascha Hauer
On Wed, 03 Apr 2024 10:07:01 +0200, Sascha Hauer wrote: > This adds of_property_read_variable_uxx_array() which allow to read > arrays from properties with min/max size boundaries. Code is directly > taken from Linux. > We already had of_property_read_variable_u64_array(), but witho

Re: [PATCH v2] i2c: add EFI i2c master driver

2024-04-04 Thread Sascha Hauer
On Thu, Apr 04, 2024 at 07:28:46AM +0200, Tomas Marek wrote: > Hi Sascha, > > Thank you. > > On Wed, Apr 03, 2024 at 02:13:59PM +0200, Sascha Hauer wrote: > > Hi Tomas, > > > > Thanks for the patch. I applied it with some minor adjustments. > > >

[PATCH v2] pci: add of_pci_bridge_init()

2024-04-04 Thread Sascha Hauer
: https://lore.barebox.org/20240326100746.471532-13-s.ha...@pengutronix.de Signed-off-by: Sascha Hauer --- Changes since v1: - add a commit message - mips registers PCI controllers without a parent device. Do not crash in this case drivers/pci/Makefile | 1 + drivers/pci/of.c | 102

Re: [PATCH] ARM: rpi: detect mci1 as well when searching for environment

2024-04-03 Thread Sascha Hauer
s is safe to do as barebox will now gracefully > skip SDIO cards during probe. > > [...] Applied, thanks! [1/1] ARM: rpi: detect mci1 as well when searching for environment https://git.pengutronix.de/cgit/barebox/commit/?id=8f1923ac8ff6 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH 1/2] mci: improve packing of struct mci

2024-04-03 Thread Sascha Hauer
mci: remove FIXME in rca description https://git.pengutronix.de/cgit/barebox/commit/?id=fa6c38a55d8d (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH] console: make console_set_stdoutpath public

2024-04-03 Thread Sascha Hauer
429b6a (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH 2/3] phy: rockchip: add pcie3 phy driver

2024-04-03 Thread Sascha Hauer
On Wed, Apr 03, 2024 at 10:26:48AM +0200, Ahmad Fatoum wrote: > Hello Sascha, > > On 03.04.24 10:07, Sascha Hauer wrote: > > This adds support for the Rockchip PCIe3 phy found on RK35x8 SoCs. The > > code is taken from Linux as of Linux-6.9-rc2. > > > > Signed-

Re: [PATCH v2] i2c: add EFI i2c master driver

2024-04-03 Thread Sascha Hauer
Hi Tomas, Thanks for the patch. I applied it with some minor adjustments. On Wed, Apr 03, 2024 at 09:49:09AM +0200, Tomas Marek wrote: > +static void i2c_msg_to_efi_op( > + const struct efi_i2c_priv *i2c_priv, > + const struct i2c_msg *msg, > + struct efi_i2c_operation **op) No need

Re: [PATCH v2] i2c: add EFI i2c master driver

2024-04-03 Thread Sascha Hauer
eb (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH 3/4] input: imx-keypad: remove now-duplicate debug messages

2024-04-03 Thread Sascha Hauer
On Tue, Apr 02, 2024 at 04:06:49PM +0200, Ahmad Fatoum wrote: > On 02.04.24 15:50, Ahmad Fatoum wrote: > > With the recent addition of CONFIG_EVENT_EVBUG, the debug messages in > > s/CONFIG_INPUT_EVBUG/CONFIG_EVENT_EVBUG/ > > Please let me know if I should resend. Fixed while applying. > > >

Re: [PATCH 0/4] input: add CONFIG_INPUT_EVBUG debug option

2024-04-03 Thread Sascha Hauer
89ed (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH master 1/3] soc: sifive: l2_cache: fix 32-bit compilation

2024-04-03 Thread Sascha Hauer
[3/3] treewide: replace references to barebox.org/jsbarebox with demo https://git.pengutronix.de/cgit/barebox/commit/?id=c0dde74b1c9a (link may not be stable) Best regards, -- Sascha Hauer

  1   2   3   4   5   6   7   8   9   10   >