[PATCH v4 1/5] common: add $global.serial_number with device tree fixup

2022-04-29 Thread Oleksij Rempel
From: Ahmad Fatoum This new variable can be set by boards from C code or from the environment to change the serial number fixed up into the kernel device tree. Signed-off-by: Ahmad Fatoum Signed-off-by: Oleksij Rempel --- common/Kconfig | 5 + common/misc.c| 16

[PATCH v4 4/5] ARM: boards: skov-imx6: make use of of_fixup_machine_compatible()

2022-04-29 Thread Oleksij Rempel
Replace board specific fixup_machine_compatible() with generic of_fixup_machine_compatible() Signed-off-by: Oleksij Rempel --- arch/arm/boards/skov-imx6/board.c | 40 +++ 1 file changed, 3 insertions(+), 37 deletions(-) diff --git a/arch/arm/boards/skov-imx6/board.c

[PATCH v4 0/5] add different OF board fixups

2022-04-29 Thread Oleksij Rempel
changes v4: - s/code info device/code into device/ changes v3: - rename global.of_machine_compatible to global.of.kernel.add_machine_compatible changes v2: - protonic: use only allowed chars for generated compatible - protonic: make use of of_get_machine_compatible() to get board name -

[PATCH v4 2/5] ARM: boards: protonic-imx6: make use of barebox_set_serial_number()

2022-04-29 Thread Oleksij Rempel
Replace board specific serial-number fixup with common barebox_set_serial_number(). Signed-off-by: Oleksij Rempel --- arch/arm/boards/protonic-imx6/board.c | 20 +--- arch/arm/mach-imx/Kconfig | 1 + 2 files changed, 2 insertions(+), 19 deletions(-) diff --git

[PATCH v4 5/5] ARM: boards: protonic-imx6: add HW revision specific machine compatible

2022-04-29 Thread Oleksij Rempel
Currently we use generic/pinned machine compatible for different HW revisions. With this patch we extend this compatible string with HW revision specific. Signed-off-by: Oleksij Rempel --- arch/arm/boards/protonic-imx6/board.c | 22 ++ arch/arm/mach-imx/Kconfig |

[PATCH v4 3/5] of: add generic of_fixup_machine_compatible()

2022-04-29 Thread Oleksij Rempel
Add generic function to extend/fixup machine compatible. Signed-off-by: Oleksij Rempel --- common/Kconfig | 5 + common/misc.c| 23 +++ common/oftree.c | 41 + include/common.h | 3 +++ include/of.h | 6 ++ 5

Re: [PATCH v3 1/5] common: add $global.serial_number with device tree fixup

2022-04-29 Thread Sascha Hauer
On Wed, Apr 27, 2022 at 02:14:09PM +0200, Oleksij Rempel wrote: > From: Ahmad Fatoum > > This new variable can be set by boards from C code or from the > environment to change the serial number fixed up into the kernel device > tree. > > Signed-off-by: Ahmad Fatoum > Signed-off-by: Oleksij

Re: [PATCH v3 3/5] of: add generic of_fixup_machine_compatible()

2022-04-29 Thread Sascha Hauer
On Wed, Apr 27, 2022 at 02:14:11PM +0200, Oleksij Rempel wrote: > Add generic function to extend/fixup machine compatible. > > Signed-off-by: Oleksij Rempel > --- > common/Kconfig | 5 + > common/misc.c| 23 +++ > common/oftree.c | 41

Re: [PATCH] gpiolib: remove declaration of now unused variable

2022-04-29 Thread Sascha Hauer
On Tue, Apr 26, 2022 at 08:46:19AM +0200, Ahmad Fatoum wrote: > Since commit f349b662674e ("gpio: allocate dynamic gpio numbers > top down"), the variable is now unused and warned about, so remove it. > > Signed-off-by: Ahmad Fatoum > --- > drivers/gpio/gpiolib.c | 2 +- > 1 file changed, 1

Re: [PATCH v3] arm: boards: Add support for MYIR MYD-AM335X Development Board

2022-04-29 Thread Sascha Hauer
On Tue, Apr 26, 2022 at 10:04:40AM +0300, Alexander Shiyan wrote: > The MYD-AM335X Development Board designed by MYIR is a high-performance > ARM Evaluation Module (EVM) using the MYC-AM335X CPU module as the core > controller board. It is based on up to 1GHz Texas Instruments (TI) > Sitara AM335x

Re: [PATCH v2 1/2] spi: Port SiFive SPI controller driver

2022-04-29 Thread Sascha Hauer
On Tue, Apr 26, 2022 at 08:46:03AM +0200, Ahmad Fatoum wrote: > Import the U-Boot v2022.04-rc2 driver to enable access to SPI flash and > SD over SPI on the HiFive Unleashed. Tested with QEMU. > > Signed-off-by: Ahmad Fatoum > --- > v1 -> v2: > - remove unused wait_for_bit (Sascha) > - move

Re: [PATCH] Documentation: remote-control: be explicit about python2 requirement

2022-04-29 Thread Sascha Hauer
On Tue, Apr 26, 2022 at 08:46:58AM +0200, Ahmad Fatoum wrote: > This should help users a bit when using the tool. > > Signed-off-by: Ahmad Fatoum > --- > Documentation/user/remote-control.rst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied to master, thanks Sascha > > diff

Re: [PATCH master] mci: stm32_sdmmc2: add STM32MP131 AMBA primecell peripheral ID

2022-04-29 Thread Sascha Hauer
On Tue, Apr 26, 2022 at 04:15:04PM +0200, Ahmad Fatoum wrote: > v5.18-rc1 device tree now features different peripheral ID. As > peripheral IDs have no fallbacks, this meant broken SD on STM32MP131. > > Add new peripheral ID without special handling as IP is > backwards-compatible. DT also

Re: [PATCH] ata: disk_ata_drive: clean up code in ata_dump_id()

2022-04-29 Thread Sascha Hauer
On Tue, Apr 26, 2022 at 03:34:34PM +0300, Denis Orlov wrote: > Add missing macros and fix misspellings. > > Signed-off-by: Denis Orlov > --- > drivers/ata/disk_ata_drive.c | 23 +-- > include/ata_drive.h | 5 + > 2 files changed, 18 insertions(+), 10

Re: [PATCH v1] net: dsa: wait until PHY aneg is done

2022-04-29 Thread Sascha Hauer
On Wed, Apr 27, 2022 at 09:33:40AM +0200, Oleksij Rempel wrote: > Some PHYs need a bit longer to complete auto negotiation. So, wait long > enough until this process is done. > > Signed-off-by: Oleksij Rempel > --- > drivers/net/dsa.c | 4 > 1 file changed, 4 insertions(+) Applied, thanks