u-boot/board/toradex/colibri_imx6
Ernest Van Hoecke 47d5982c60 board: toradex: apalis/colibri imx6: Detect new v1.2 SoM variant
Apalis/Colibri iMX6 V1.2 will replace the STMPE811 ADC/Touch controller
which is EOL by the TLA2024 ADC and AD7879 touch controller.

To support this new version, we detect the presence of the TLA2024
during boot and set a new environment variable named "variant". This
will allow us and users to select the correct DT easily.

By probing via I2C we have a robust detection method instead of relying
on the existing "board_rev" environment variable which is set by the
config block. Users can use "variant" in their DT selection and do not
have to map the board revision to a device tree.

"variant" environment variable behaviour:
* Empty or absent for all versions below v1.2 (STMPE811)
* "-v1.2" for all versions starting from v1.2 (TLA2024 + AD7879)

Usage example:
setenv fdtfile imx6q-apalis${variant}-${fdt_board}.dtb

Signed-off-by: Ernest Van Hoecke <ernest.vanhoecke@toradex.com>
Reviewed-by: Francesco Dolcini <francesco.dolcini@toradex.com>
2025-03-13 15:15:50 -03:00
..
colibri_imx6.c board: toradex: apalis/colibri imx6: Detect new v1.2 SoM variant 2025-03-13 15:15:50 -03:00
do_fuse.c board: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:48 -06:00
Kconfig arm: imx: initial support for colibri imx6 2016-12-16 10:03:43 +01:00
MAINTAINERS board: toradex: change maintainer to Francesco 2024-05-29 11:21:14 -06:00
Makefile arm: imx: initial support for colibri imx6 2016-12-16 10:03:43 +01:00
pf0100.c board: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:48 -06:00
pf0100.h board: colibri_imx6: check for and report ecc errors in fuses 2019-04-13 20:30:09 +02:00
pf0100_otp.inc colibri_imx6: change pmic fusing according to hw 1.1 requirements 2019-04-13 20:30:09 +02:00