[PATCH] USB: gadget: atmel: fix transfer of queued requests

2023-09-13 Thread Artur Rojek
storage mode operation on Microchip ATSAMA5D27 SoC. Signed-off-by: Artur Rojek --- drivers/usb/gadget/atmel_usba_udc.c | 11 ++- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/drivers/usb/gadget/atmel_usba_udc.c b/drivers/usb/gadget/atmel_usba_udc.c index 7d51821497b4

[PATCH 2/2] board: Add support for Conclusive KSTR-SAMA5D27

2023-09-21 Thread Artur Rojek
Introduce support for Conclusive KSTR-SAMA5D27 Single Board Computer. Co-developed-by: Jakub Klama Signed-off-by: Jakub Klama Co-developed-by: Marcin Jabrzyk Signed-off-by: Marcin Jabrzyk Signed-off-by: Artur Rojek --- arch/arm/dts/Makefile | 3 + arch/arm/dts/at91

[PATCH 0/2] Conclusive KSTR-SAMA5D27 support

2023-09-21 Thread Artur Rojek
ONFIG...))" checkpatch warnings for this patch are considered by me as false positives. Artur Rojek (2): common: add prototype for populate_serial_number() board: Add support for Conclusive KSTR-SAMA5D27 arch/arm/dts/Makefile | 3 + arch/arm/dts/at91-kstr-sa

[PATCH 1/2] common: add prototype for populate_serial_number()

2023-09-21 Thread Artur Rojek
Provide function prototype for populate_serial_number(). This is useful for boards that wish to read their serial number from EEPROM at init. Signed-off-by: Artur Rojek --- include/init.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/init.h b/include/init.h index 3bf30476a2e0

[PATCH v3 4/4] board: Add support for Conclusive KSTR-SAMA5D27

2023-10-02 Thread Artur Rojek
Introduce support for Conclusive KSTR-SAMA5D27 Single Board Computer. Co-developed-by: Jakub Klama Signed-off-by: Jakub Klama Co-developed-by: Marcin Jabrzyk Signed-off-by: Marcin Jabrzyk Signed-off-by: Artur Rojek --- v3: - use CONFIG_ID_EEPROM to read serial number - as side-effect

[PATCH v3 0/4] Conclusive KSTR-SAMA5D27 support

2023-10-02 Thread Artur Rojek
been moved to CONFIG_ID_EEPROM (see patch [1/4]) and BOARD_LATE_INIT mechanism dropped as unnecessary. The kstr_sama5d27_defconfig has also been re-generated with savedefconfig, which got rid of some redundant flags. Artur Rojek (4): common: Add generic function for reading serial number cmd: tlv_e

[PATCH v3 1/4] common: Add generic function for reading serial number

2023-10-02 Thread Artur Rojek
use of the existing, yet never utilized, populate_serial_number(). Boards which use custom logic for interaction with their EEPROMs need to supply their own implementation. Signed-off-by: Artur Rojek --- v3: - restore original function name and make it static - provide a generic function

[PATCH v3 2/4] cmd: tlv_eeprom: Add support for do_mac() command

2023-10-02 Thread Artur Rojek
ot; option is supported. Signed-off-by: Artur Rojek --- v3: new patch cmd/tlv_eeprom.c | 51 1 file changed, 51 insertions(+) diff --git a/cmd/tlv_eeprom.c b/cmd/tlv_eeprom.c index 9aa9b070473e..3e9972e506b6 100644 --- a/cmd/tlv_eeprom.c

[PATCH v3 3/4] arm: dts: at91: sama5: Add flexcom4 node

2023-10-02 Thread Artur Rojek
Set up flexcom4 for Microchip SAMA5D27 SoC and prepare it for usage in I2C mode. Signed-off-by: Artur Rojek --- v3: no change v2: new patch arch/arm/dts/sama5d2.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/dts/sama5d2.dtsi b/arch/arm/dts/sama5d2

Re: [PATCH 2/2] board: Add support for Conclusive KSTR-SAMA5D27

2023-09-26 Thread Artur Rojek
Hey Eugen, thanks for the review. >Hello, > >Thank you for your patch, > >On 9/21/23 18:37, Artur Rojek wrote: >> Introduce support for Conclusive KSTR-SAMA5D27 Single Board Computer. >> >> Co-developed-by: Jakub Klama >> Signed-off-by: Jakub Klama >&g

Re: [PATCH 1/2] common: add prototype for populate_serial_number()

2023-09-26 Thread Artur Rojek
Hi Simon, thanks for the review. >Hi Artur, > >On Thu, 21 Sept 2023 at 09:44, Artur Rojek wrote: >> >> Provide function prototype for populate_serial_number(). >> This is useful for boards that wish to read their serial number from >> EEPROM at init.

Re: [PATCH v3 1/4] common: Add generic function for reading serial number

2023-10-04 Thread Artur Rojek
>Hi Artur, > >On Mon, 2 Oct 2023 at 06:42, Artur Rojek wrote: >> >> Provide a generic way for boards to read their serial number from EEPROM >> at init. >> >> If CONFIG_ID_EEPROM is set, the new serial_read_from_eeprom() function >> will now be called

[PATCH v2 0/3] Conclusive KSTR-SAMA5D27 support

2023-09-26 Thread Artur Rojek
now goes explicitly through flexcom. Artur Rojek (3): common: add prototype & rename populate_serial_number() arm: dts: at91: sama5: Add flexcom4 node board: Add support for Conclusive KSTR-SAMA5D27 arch/arm/dts/Makefile | 3 + arch/arm/dts/at91-kstr-sama5d27

[PATCH v2 2/3] arm: dts: at91: sama5: Add flexcom4 node

2023-09-26 Thread Artur Rojek
Set up flexcom4 for Microchip SAMA5D27 SoC and prepare it for usage in I2C mode. Signed-off-by: Artur Rojek --- v2: new patch arch/arm/dts/sama5d2.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/dts/sama5d2.dtsi b/arch/arm/dts/sama5d2.dtsi index

[PATCH v2 3/3] board: Add support for Conclusive KSTR-SAMA5D27

2023-09-26 Thread Artur Rojek
Introduce support for Conclusive KSTR-SAMA5D27 Single Board Computer. Co-developed-by: Jakub Klama Signed-off-by: Jakub Klama Co-developed-by: Marcin Jabrzyk Signed-off-by: Marcin Jabrzyk Signed-off-by: Artur Rojek --- v2: - remove redundant license text from at91-kstr-sama5d27.dts

[PATCH v2 1/3] common: add prototype & rename populate_serial_number()

2023-09-26 Thread Artur Rojek
Rename populate_serial_number() to a more descriptive eeprom_read_serial() and provide the missing function prototype. This is useful for boards that wish to read their serial number from EEPROM at init. Signed-off-by: Artur Rojek --- v2: - rename the function - move function documentation

[PATCH v5 0/4] Conclusive KSTR-SAMA5D27 support

2023-10-18 Thread Artur Rojek
file. An alias to the i2c node holding the EEPROM has also been explicitly added, so that it always enumerates at bus 2. Artur Rojek (4): common: add prototype & rename populate_serial_number() event: add new EVT_SETTINGS_R event arm: dts: at91: sama5: Add flexcom4 node board: Add sup

[PATCH v5 1/4] common: add prototype & rename populate_serial_number()

2023-10-18 Thread Artur Rojek
Rename populate_serial_number() to a more descriptive serial_read_from_eeprom() and provide the missing function prototype. This is useful for boards that wish to read their serial number from EEPROM at init. Signed-off-by: Artur Rojek Reviewed-by: Simon Glass --- v5: no change v4: - revert

[PATCH v5 2/4] event: add new EVT_SETTINGS_R event

2023-10-18 Thread Artur Rojek
Introduce EVT_SETTINGS_R, triggered post-relocation and before console init. This event gives an option to perform any platform-dependent setup, which needs to take place before show_board_info(). Usage examples include readout of EEPROM stored settings. Signed-off-by: Artur Rojek Reviewed

[PATCH v5 4/4] board: Add support for Conclusive KSTR-SAMA5D27

2023-10-18 Thread Artur Rojek
Introduce support for Conclusive KSTR-SAMA5D27 Single Board Computer. Co-developed-by: Jakub Klama Signed-off-by: Jakub Klama Co-developed-by: Marcin Jabrzyk Signed-off-by: Marcin Jabrzyk Signed-off-by: Artur Rojek --- v5: - move U-Boot specific props to at91-kstr-sama5d27-u-boot.dtsi file

[PATCH v5 3/4] arm: dts: at91: sama5: Add flexcom4 node

2023-10-18 Thread Artur Rojek
Set up flexcom4 for Microchip SAMA5D27 SoC and prepare it for usage in I2C mode. Signed-off-by: Artur Rojek --- v3-v5: no change v2: new patch arch/arm/dts/sama5d2.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/dts/sama5d2.dtsi b/arch/arm/dts/sama5d2

[PATCH v4 4/4] board: Add support for Conclusive KSTR-SAMA5D27

2023-10-09 Thread Artur Rojek
Introduce support for Conclusive KSTR-SAMA5D27 Single Board Computer. Co-developed-by: Jakub Klama Signed-off-by: Jakub Klama Co-developed-by: Marcin Jabrzyk Signed-off-by: Marcin Jabrzyk Signed-off-by: Artur Rojek --- v4: - utilize EVT_SETTINGS_R in order to read MAC and serial number from

[PATCH v4 0/4] Conclusive KSTR-SAMA5D27 support

2023-10-09 Thread Artur Rojek
for use case). Patch [3/4] remains unchanged. Patch [4/4] makes use of the newly introduced EVT_SETTINGS_R, utilizing it for EEPROM readout of MAC and board serial number settings. Artur Rojek (4): common: add prototype & rename populate_serial_number() event: add new EVT_SETTINGS_R e

[PATCH v4 1/4] common: add prototype & rename populate_serial_number()

2023-10-09 Thread Artur Rojek
Rename populate_serial_number() to a more descriptive serial_read_from_eeprom() and provide the missing function prototype. This is useful for boards that wish to read their serial number from EEPROM at init. Signed-off-by: Artur Rojek --- v4: - revert to the approach found in v2 - keep

[PATCH v4 2/4] event: add new EVT_SETTINGS_R event

2023-10-09 Thread Artur Rojek
Introduce EVT_SETTINGS_R, triggered post-relocation and before console init. This event gives an option to perform any platform-dependent setup, which needs to take place before show_board_info(). Usage examples include readout of EEPROM stored settings. Signed-off-by: Artur Rojek --- v4: new

[PATCH v4 3/4] arm: dts: at91: sama5: Add flexcom4 node

2023-10-09 Thread Artur Rojek
Set up flexcom4 for Microchip SAMA5D27 SoC and prepare it for usage in I2C mode. Signed-off-by: Artur Rojek --- v3-v4: no change v2: new patch arch/arm/dts/sama5d2.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/dts/sama5d2.dtsi b/arch/arm/dts/sama5d2

[PATCH v3 0/3] Conclusive WHLE-LS1 support (was: Conclusive WHLE-LS1046A support)

2023-11-28 Thread Artur Rojek
Hi all, this is v3 of the WHLE-LS1 support. The major change in this version is addition of WHLE-LS1088A board support, next to the WHLE-LS1046A found in previous iterations of this series. Patch [1/3] and [2/3] remain unchanged. Patch [3/3] introduces WHLE-LS1088A board support. Artur Rojek (2

[PATCH v3 3/3] board: Add support for Conclusive WHLE-LS1088A

2023-11-28 Thread Artur Rojek
Introduce support for Conclusive WHLE-LS1088A Single Board Computer. Co-developed-by: Jakub Klama Signed-off-by: Jakub Klama Signed-off-by: Artur Rojek --- v3: new patch arch/arm/Kconfig | 19 ++ arch/arm/dts/Makefile | 1 + arch/arm

[PATCH v3 2/3] board: Add support for Conclusive WHLE-LS1046A

2023-11-28 Thread Artur Rojek
Introduce support for Conclusive WHLE-LS1046A Single Board Computer. Co-developed-by: Jakub Klama Signed-off-by: Jakub Klama Signed-off-by: Artur Rojek --- v3: no change v2: - drop non-DM_ETH case - clean-up defines in configs/whle_ls1046a.h: remove unneeded ones, move others

[PATCH v3 1/3] armv8: layerscape: Enable ext4 environment storage

2023-11-28 Thread Artur Rojek
From: Jakub Klama Some boards keep their environment on MMC storage within an ext4 partition. Signed-off-by: Jakub Klama Signed-off-by: Artur Rojek Reviewed-by: Tom Rini --- v2-v3: no change arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 5 + 1 file changed, 5 insertions(+) diff --git

[PATCH v2 2/2] board: Add support for Conclusive WHLE-LS1046A

2023-11-22 Thread Artur Rojek
Introduce support for Conclusive WHLE-LS1046A Single Board Computer. Co-developed-by: Jakub Klama Signed-off-by: Jakub Klama Signed-off-by: Artur Rojek --- v2: - drop non-DM_ETH case - clean-up defines in configs/whle_ls1046a.h: remove unneeded ones, move others to appropriate files

[PATCH v2 1/2] armv8: layerscape: Enable ext4 environment storage

2023-11-22 Thread Artur Rojek
From: Jakub Klama Some boards keep their environment on MMC storage within an ext4 partition. Signed-off-by: Jakub Klama Signed-off-by: Artur Rojek Reviewed-by: Tom Rini --- v2: no change arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 5 + 1 file changed, 5 insertions(+) diff --git a/arch

[PATCH v2 0/2] Conclusive WHLE-LS1046A support

2023-11-22 Thread Artur Rojek
been performed to eth.c and an incorrect value of CONFIG_MTDPARTS_DEFAULT removed from defconfigs. Artur Rojek (1): board: Add support for Conclusive WHLE-LS1046A Jakub Klama (1): armv8: layerscape: Enable ext4 environment storage arch/arm/Kconfig | 19 ++ arch

[PATCH] net: phy: realtek: Add support for LED configuration

2023-11-30 Thread Artur Rojek
From: Jakub Klama Introduce an ability to configure LED and Fiber LEDs found in RTL8211F PHYs. This is achieved through two optional Device Tree properties: * rtl,lcr for LED control * rtl,flcr for Fiber LED control Signed-off-by: Jakub Klama Signed-off-by: Artur Rojek --- drivers/net/phy

Re: [PATCH v3 0/3] Conclusive WHLE-LS1 support (was: Conclusive WHLE-LS1046A support)

2024-01-25 Thread Artur Rojek
Pinging to have this series reviewed. Regards, Artur

[PATCH 0/2] Conclusive WHLE-LS1046A support

2023-11-16 Thread Artur Rojek
support for Conclusive WHLE-LS1046A, including board init and Device Tree files. This board offers two boot methods, over QSPI and eMMC, with their respective defconfigs being provided. Artur Rojek (1): board: Add support for Conclusive WHLE-LS1046A Jakub Klama (1): armv8: layerscape: Enable

[PATCH 1/2] armv8: layerscape: Enable ext4 environment storage

2023-11-16 Thread Artur Rojek
From: Jakub Klama Some boards keep their environment on MMC storage within an ext4 partition. Signed-off-by: Jakub Klama Signed-off-by: Artur Rojek --- arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/cpu/armv8/fsl-layerscape/cpu.c b

[PATCH 2/2] board: Add support for Conclusive WHLE-LS1046A

2023-11-16 Thread Artur Rojek
Introduce support for Conclusive WHLE-LS1046A Single Board Computer. Co-developed-by: Jakub Klama Signed-off-by: Jakub Klama Signed-off-by: Artur Rojek --- arch/arm/Kconfig | 19 ++ arch/arm/dts/Makefile| 1 + arch/arm/dts/fsl-ls1046a