[PATCH v6 5/7] siemens: board: clean up products folders vs common

2024-01-24 Thread Enrico Leto
anup. - rename 'common/board.c' to 'common/board_am335x.c' - add 'common/board_am335x.h' for export to the product lines Reviewed-by: Alexander Sverdlin Signed-off-by: Enrico Leto --- .../common/{board.c => board_am335x.c}| 7 ++-- board/siemens/common/b

[PATCH v6 4/7] siemens: board: etamin: remove deprecated nand config

2024-01-24 Thread Enrico Leto
ned-off-by: Enrico Leto --- board/siemens/common/board.c | 4 board/siemens/draco/Kconfig | 2 -- board/siemens/draco/board.c | 26 -- 3 files changed, 32 deletions(-) diff --git a/board/siemens/common/board.c b/board/siemens/common/board.c index e412858c

[PATCH v6 7/7] siemens: factoryset: use correct config for soc specific implementation

2024-01-24 Thread Enrico Leto
Adding the capricorn board family some parts diverge from draco family. The switches used were not pertinent and need to be enhanced for each new board of the capricorn family. Replace them through the SOC name 'AM33XX' and 'IMX8'. Signed-off-by: Enrico Leto ---

[PATCH v6 2/7] siemens: eeprom: simplify setup & read

2024-01-24 Thread Enrico Leto
Since we have boards using the driver model or not for i2c, use abstraction function to probe the i2c, check the EEPROM and read from EEPROM. Signed-off-by: Enrico Leto --- board/siemens/capricorn/Makefile | 1 + board/siemens/common/board.c | 8 ++-- board/siemens/common/eeprom.c

[PATCH v6 6/7] siemens: board: clean up includes

2024-01-24 Thread Enrico Leto
Many includes were not removed when code parts were moved or removed. Signed-off-by: Enrico Leto --- board/siemens/capricorn/board.c | 1 - board/siemens/common/board_am335x.c | 19 +-- board/siemens/common/factoryset.c | 12 ++-- board/siemens/draco/board.c

[PATCH v6 3/7] siemens draco: i2c: use driver model for u-boot

2024-01-24 Thread Enrico Leto
Add support for driver model where EEPROM data are read in draco board. Reviewed-by: Alexander Sverdlin Signed-off-by: Enrico Leto --- configs/draco-etamin_defconfig | 4 +++- configs/draco-rastaban_defconfig | 4 +++- configs/draco-thuban_defconfig | 4 +++- 3 files changed, 9 insertions

[PATCH v6 1/7] siemens: eeprom: clean up definitions

2024-01-24 Thread Enrico Leto
Move the I2C and EEPROM address definitions in common board header. Reviewed-by: Alexander Sverdlin Signed-off-by: Enrico Leto --- board/siemens/capricorn/board.c | 5 ++--- board/siemens/common/board.c | 6 +++--- board/siemens/common/eeprom.h | 21 + board

[PATCH v6 0/7] board: siemens: clean up subfolders

2024-01-24 Thread Enrico Leto
iles were enhanced without cleanup. Simplify first EEPROM probe and access that implements both i2c with & without driver model. Use abstraction functions for this. Move all am355x specifics to a new file 'board_am335x'. Clean-up includes, config che

[PATCH v5 7/7] siemens: factoryset: use correct config for soc specific implementation

2024-01-22 Thread Enrico Leto
Adding the capricorn board family some parts diverge from draco family. The switches used were not pertinent and need to be enhanced for each new board of the capricorn family. Replace them through the SOC name 'AM33XX' and 'IMX8'. Signed-off-by: Enrico Leto ---

[PATCH v5 5/7] siemens: board: clean up draco products vs common

2024-01-22 Thread Enrico Leto
hout cleanup. Move all am355x specifics to a new file 'board_am335x'. Reviewed-by: Alexander Sverdlin Signed-off-by: Enrico Leto --- board/siemens/common/board.c| 52 +++--- board/siemens/common/board_am335x.c | 58 +

[PATCH v5 6/7] siemens: board: clean up includes

2024-01-22 Thread Enrico Leto
Many includes were not removed when code parts were moved or removed. Signed-off-by: Enrico Leto --- board/siemens/common/board.c | 24 +++- board/siemens/common/factoryset.c | 12 ++-- board/siemens/draco/board.c | 25 ++--- board

[PATCH v5 1/7] siemens: eeprom: clean up definitions

2024-01-22 Thread Enrico Leto
Move the I2C and EEPROM address definitions in common board header. Reviewed-by: Alexander Sverdlin Signed-off-by: Enrico Leto --- board/siemens/capricorn/board.c | 5 ++--- board/siemens/common/board.c | 6 +++--- board/siemens/common/board.h | 21 + board

[PATCH v5 4/7] siemens: board: etamin: remove deprecated nand config

2024-01-22 Thread Enrico Leto
ned-off-by: Enrico Leto --- board/siemens/common/board.c | 4 board/siemens/draco/Kconfig | 2 -- board/siemens/draco/board.c | 26 -- 3 files changed, 32 deletions(-) diff --git a/board/siemens/common/board.c b/board/siemens/common/board.c index 80737838

[PATCH v5 3/7] siemens draco: i2c: use driver model for u-boot

2024-01-22 Thread Enrico Leto
Add support for driver model where EEPROM data are read in draco board. Reviewed-by: Alexander Sverdlin Signed-off-by: Enrico Leto --- configs/draco-etamin_defconfig | 4 +++- configs/draco-rastaban_defconfig | 4 +++- configs/draco-thuban_defconfig | 4 +++- 3 files changed, 9 insertions

[PATCH v5 2/7] siemens: eeprom: simplify setup & read

2024-01-22 Thread Enrico Leto
Since we have boards using the driver model or not for i2c, use abstraction function to probe the i2c, check the EEPROM and read from EEPROM. Signed-off-by: Enrico Leto --- board/siemens/common/board.c | 48 +-- board/siemens/common/board.h | 3 ++ board/siemens

[PATCH v5 0/7] board: siemens: clean up subfolders

2024-01-22 Thread Enrico Leto
iles were enhanced without cleanup. Simplify first EEPROM probe and access that implements both i2c with & without driver model. Use abstraction functions for this. Move all am355x specifics to a new file 'board_am335x'. Clean-up includes, config che

[PATCH v4 1/6] siemens: eeprom: clean up definitions

2024-01-22 Thread Enrico Leto
Move the I2C and EEPROM address definitions in common board header. Reviewed-by: Alexander Sverdlin Signed-off-by: Enrico Leto --- board/siemens/capricorn/board.c | 5 ++--- board/siemens/common/board.c | 6 +++--- board/siemens/common/board.h | 21 + board

[PATCH v4 0/6] board: siemens: clean up subfolders

2024-01-22 Thread Enrico Leto
all am355x specifics to a new file 'board_am335x'. Clean-up includes, config checks, maintainer. Signed-off-by: Enrico Leto --- Changes for v2: - fix wrong value in CONFIG_IS_ENABLED Changes for v3: - rebased to the top of next branch Changes for v4: - remove compiler err

[PATCH v4 6/6] siemens: factoryset: use correct config for soc specific implementation

2024-01-03 Thread Enrico Leto
Adding the capricorn board family some parts diverge from draco family. The switches used were not pertinent and need to be enhanced for each new board of the capricorn family. Replace them through the SOC name 'AM33XX' and 'IMX8'. Signed-off-by: Enrico Leto ---

[PATCH v4 4/6] siemens: board: clean up draco products vs common

2024-01-03 Thread Enrico Leto
hout cleanup. Move all am355x specifics to a new file 'board_am335x'. Reviewed-by: Alexander Sverdlin Signed-off-by: Enrico Leto --- board/siemens/common/board.c| 52 +++--- board/siemens/common/board_am335x.c | 58 +

[PATCH v4 5/6] siemens: board: clean up includes

2024-01-03 Thread Enrico Leto
Many includes were not removed when code parts were moved or removed. Signed-off-by: Enrico Leto --- board/siemens/common/board.c | 24 +++- board/siemens/common/factoryset.c | 12 ++-- board/siemens/draco/board.c | 24 ++-- board

[PATCH v4 2/6] siemens: eeprom: simplify setup & read

2024-01-03 Thread Enrico Leto
Since we have boards using the driver model or not for i2c, use abstraction function to probe the i2c, check the EEPROM and read from EEPROM. Signed-off-by: Enrico Leto --- board/siemens/common/board.c | 48 +-- board/siemens/common/board.h | 3 ++ board/siemens

[PATCH v4 3/6] siemens draco: i2c: use driver model for u-boot

2024-01-03 Thread Enrico Leto
Add support for driver model where EEPROM data are read in draco board. Reviewed-by: Alexander Sverdlin Signed-off-by: Enrico Leto --- configs/draco-etamin_defconfig | 4 +++- configs/draco-rastaban_defconfig | 4 +++- configs/draco-thuban_defconfig | 4 +++- 3 files changed, 9 insertions

[PATCH v4 0/6] board: siemens: clean up subfolders

2024-01-03 Thread Enrico Leto
all am355x specifics to a new file 'board_am335x'. Clean-up includes, config checks, maintainer. Signed-off-by: Enrico Leto --- Changes for v2: - fix wrong value in CONFIG_IS_ENABLED Changes for v3: - rebased to the top of next branch Changes for v4: - remove compiler err

[PATCH v4 1/6] siemens: eeprom: clean up definitions

2024-01-03 Thread Enrico Leto
Move the I2C and EEPROM address definitions in common board header. Reviewed-by: Alexander Sverdlin Signed-off-by: Enrico Leto --- board/siemens/capricorn/board.c | 5 ++--- board/siemens/common/board.c | 6 +++--- board/siemens/common/board.h | 21 + board

[PATCH v3 0/6] board: siemens: clean up subfolders

2023-12-18 Thread Enrico Leto
all am355x specifics to a new file 'board_am335x'. Clean-up includes, config checks, maintainer. Signed-off-by: Enrico Leto --- Changes for v2: - fix wrong value in CONFIG_IS_ENABLED Changes for v3: - rebased to the top of next branch Enrico Leto (6): siemens: eeprom: clea

[PATCH v3 4/6] siemens: board: clean up draco products vs common

2023-12-18 Thread Enrico Leto
hout cleanup. Move all am355x specifics to a new file 'board_am335x'. Reviewed-by: Alexander Sverdlin Signed-off-by: Enrico Leto --- board/siemens/common/board.c| 54 +++ board/siemens/common/board_am335x.c | 58 +

[PATCH v3 3/6] siemens draco: i2c: use driver model for u-boot

2023-12-18 Thread Enrico Leto
Add support for driver model where EEPROM data are read in draco board. Reviewed-by: Alexander Sverdlin Signed-off-by: Enrico Leto --- configs/draco-etamin_defconfig | 4 +++- configs/draco-rastaban_defconfig | 4 +++- configs/draco-thuban_defconfig | 4 +++- 3 files changed, 9 insertions

[PATCH v3 2/6] siemens: eeprom: simplify setup & read

2023-12-18 Thread Enrico Leto
Since we have boards using the driver model or not for i2c, use abstraction function to probe the i2c, check the EEPROM and read from EEPROM. Signed-off-by: Enrico Leto --- board/siemens/common/board.c | 50 -- board/siemens/common/board.h | 3 ++ board

[PATCH v3 5/6] siemens: board: clean up includes

2023-12-18 Thread Enrico Leto
Many includes were not removed when code parts were moved or removed. Signed-off-by: Enrico Leto --- board/siemens/common/board.c | 24 +++- board/siemens/common/factoryset.c | 12 ++-- board/siemens/draco/board.c | 23 +-- board

[PATCH v3 6/6] siemens: factoryset: use correct config for soc specific implementation

2023-12-18 Thread Enrico Leto
Adding the capricorn board family some parts diverge from draco family. The switches used were not pertinent and need to be enhanced for each new board of the capricorn family. Replace them through the SOC name 'AM33XX' and 'IMX8'. Signed-off-by: Enrico Leto ---

[PATCH v3 1/6] siemens: eeprom: clean up definitions

2023-12-18 Thread Enrico Leto
Move the I2C and EEPROM address definitions in common board header. Reviewed-by: Alexander Sverdlin Signed-off-by: Enrico Leto --- board/siemens/capricorn/board.c | 5 ++--- board/siemens/common/board.c | 6 +++--- board/siemens/common/board.h | 21 + board

[PATCH v2 0/6] board: siemens: clean up subfolders

2023-12-18 Thread Enrico Leto
all am355x specifics to a new file 'board_am335x'. Clean-up includes, config checks, maintainer. Signed-off-by: Enrico Leto --- Changes for v2: - fix wrong value in CONFIG_IS_ENABLED Changes for v3: - rebased to the top of next branch Enrico Leto (6): siemens: eeprom: clea

[PATCH v2 2/6] siemens: eeprom: simplify setup & read

2023-11-30 Thread Enrico Leto
Since we have boards using the driver model or not for i2c, use abstraction function to probe the i2c, check the EEPROM and read from EEPROM. Signed-off-by: Enrico Leto --- board/siemens/common/board.c | 50 -- board/siemens/common/board.h | 3 ++ board

[PATCH v2 1/6] siemens: eeprom: clean up definitions

2023-11-30 Thread Enrico Leto
Move the I2C and EEPROM address definitions in common board header. Reviewed-by: Alexander Sverdlin Signed-off-by: Enrico Leto --- board/siemens/capricorn/board.c | 5 ++--- board/siemens/common/board.c | 6 +++--- board/siemens/common/board.h | 21 + board

[PATCH v2 6/6] siemens: factoryset: use correct config for soc specific implementation

2023-11-30 Thread Enrico Leto
Adding the capricorn board family some parts diverge from draco family. The switches used were not pertinent and need to be enhanced for each new board of the capricorn family. Replace them through the SOC name 'AM33XX' and 'IMX8'. Signed-off-by: Enrico Leto ---

[PATCH v2 5/6] siemens: board: clean up includes

2023-11-30 Thread Enrico Leto
Many includes were not removed when code parts were moved or removed. Signed-off-by: Enrico Leto --- board/siemens/common/board.c | 24 +++- board/siemens/common/factoryset.c | 12 ++-- board/siemens/draco/board.c | 23 +-- board

[PATCH v2 4/6] siemens: board: clean up draco products vs common

2023-11-30 Thread Enrico Leto
hout cleanup. Move all am355x specifics to a new file 'board_am335x'. Reviewed-by: Alexander Sverdlin Signed-off-by: Enrico Leto --- board/siemens/common/board.c| 54 +++ board/siemens/common/board_am335x.c | 58 +

[PATCH v2 3/6] siemens draco: i2c: use driver model for u-boot

2023-11-30 Thread Enrico Leto
Add support for driver model where EEPROM data are read in draco board. Reviewed-by: Alexander Sverdlin Signed-off-by: Enrico Leto --- configs/draco-etamin_defconfig | 4 +++- configs/draco-rastaban_defconfig | 4 +++- configs/draco-thuban_defconfig | 4 +++- 3 files changed, 9 insertions

[PATCH v2 0/6] board: siemens: clean up subfolders

2023-11-30 Thread Enrico Leto
all am355x specifics to a new file 'board_am335x'. Clean-up includes, config checks, maintainer. Signed-off-by: Enrico Leto --- Changes for v2: - fix wrong value in CONFIG_IS_ENABLED Enrico Leto (6): siemens: eeprom: clean up definitions siemens: eeprom: simplify setup &

[PATCH 5/6] siemens: board: clean up includes

2023-11-21 Thread Enrico Leto
Many includes were not removed when code parts were moved or removed. Signed-off-by: Enrico Leto --- board/siemens/common/board.c | 24 +++- board/siemens/common/factoryset.c | 12 ++-- board/siemens/draco/board.c | 23 +-- board

[PATCH 6/6] siemens: factoryset: use correct config for soc specific implementation

2023-11-21 Thread Enrico Leto
Adding the capricorn board family some parts diverge from draco family. The switches used were not pertinent and need to be enhanced for each new board of the capricorn family. Replace them through the SOC name 'AM33XX' and 'IMX8'. Signed-off-by: Enrico Leto ---

[PATCH 4/6] siemens: board: clean up draco products vs common

2023-11-21 Thread Enrico Leto
hout cleanup. Move all am355x specifics to a new file 'board_am335x'. Signed-off-by: Enrico Leto --- board/siemens/common/board.c| 54 +++ board/siemens/common/board_am335x.c | 58 + board/siemens/common/board_am335x.h | 38 +

[PATCH 2/6] siemens: eeprom: simplify setup & read

2023-11-21 Thread Enrico Leto
Since we have boards using the driver model or not for i2c, use abstraction function to probe the i2c, check the EEPROM and read from EEPROM. Signed-off-by: Enrico Leto --- board/siemens/common/board.c | 50 -- board/siemens/common/board.h | 3 ++ board

[PATCH 3/6] siemens draco: i2c: use driver model for u-boot

2023-11-21 Thread Enrico Leto
Add support for driver model where EEPROM data are read in draco board. Signed-off-by: Enrico Leto --- configs/draco-etamin_defconfig | 4 +++- configs/draco-rastaban_defconfig | 4 +++- configs/draco-thuban_defconfig | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a

[PATCH 1/6] siemens: eeprom: clean up definitions

2023-11-21 Thread Enrico Leto
Move the I2C and EEPROM address definitions in common board header. Signed-off-by: Enrico Leto --- board/siemens/capricorn/board.c | 5 ++--- board/siemens/common/board.c | 6 +++--- board/siemens/common/board.h | 21 + board/siemens/common/factoryset.c | 12

[PATCH 0/6] board: siemens: clean up subfolders

2023-11-21 Thread Enrico Leto
all am355x specifics to a new file 'board_am335x'. Clean-up includes, config checks, maintainer. Signed-off-by: Enrico Leto --- Enrico Leto (6): siemens: eeprom: clean up definitions siemens: eeprom: simplify setup & read siemens draco: i2c: use driver model for u-b

[PATCH 6/6] configs: draco: restore clock driver

2023-11-08 Thread Enrico Leto
Fix 'failed to get fck clock' error on boot. Add missing configs. Signed-off-by: Enrico Leto --- configs/draco-etamin_defconfig | 2 ++ configs/draco-rastaban_defconfig | 2 ++ configs/draco-thuban_defconfig | 2 ++ 3 files changed, 6 insertions(+) diff --git a/con

[PATCH 5/6] configs: draco: disable misc init

2023-11-08 Thread Enrico Leto
The initcall sequence fails at arch_misc_init. Disable misc init until driver model and DT are clean. Signed-off-by: Enrico Leto --- configs/draco-etamin_defconfig | 1 - configs/draco-rastaban_defconfig | 1 - configs/draco-thuban_defconfig | 1 - 3 files changed, 3 deletions(-) diff

[PATCH 2/6] configs: draco: remove spi flash support

2023-11-08 Thread Enrico Leto
The SPI FLASH was set in the early development phase for evaluations. Any target use it anymore. Signed-off-by: Enrico Leto --- configs/draco-etamin_defconfig | 6 -- configs/draco-rastaban_defconfig | 6 -- configs/draco-thuban_defconfig | 6 -- 3 files changed, 18 deletions

[PATCH 4/6] configs: draco: remove unused resources from spl

2023-11-08 Thread Enrico Leto
We don't need device tree, GPIO & SPI in SPL. Signed-off-by: Enrico Leto --- configs/draco-etamin_defconfig | 4 configs/draco-rastaban_defconfig | 4 configs/draco-thuban_defconfig | 4 3 files changed, 12 deletions(-) diff --git a/configs/draco-etamin_defconfig

[PATCH 3/6] configs: thuban, rastaban: remove emmc

2023-11-08 Thread Enrico Leto
These targets use NAND FLASH only. Maybe some MMC definitions were added by trying MMC for the etamin target evaluation and were not removed. Signed-off-by: Enrico Leto --- configs/draco-rastaban_defconfig | 6 ++ configs/draco-thuban_defconfig | 6 ++ 2 files changed, 4 insertions

[PATCH 1/6] siemens,am335x: clean-up draco targets

2023-11-08 Thread Enrico Leto
nce a 2nd target was introduced. Unfortunately the draco target was copied to the thuban target instead to be renamed. Remove it to save unnecessary maintenance effort. Signed-off-by: Enrico Leto --- arch/arm/mach-omap2/am33xx/Kconfig| 9 -- board/siemens/draco/Kconfig

[PATCH 0/6] siemens,am335x: clean up the draco board family

2023-11-08 Thread Enrico Leto
restored in future patches. Signed-off-by: Enrico Leto --- Enrico Leto (6): siemens,am335x: clean-up draco targets configs: draco: remove spi flash support configs: thuban, rastaban: remove emmc configs: draco: remove unused resources from spl configs: draco: disable misc init configs