On Fri, Feb 28, 2025 at 10:52:52AM +0100, Ernest Van Hoecke wrote:
> 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 either the
> STMPE811 or TLA2024 during boot and set a new environment variable named
> "variant". This will allow us to select the correct DT easily.
> 
> "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)
> 
> This behaviour is then used by the PREBOOT logic:
> preboot=test -n ${fdtfile} || setenv fdtfile 
> imx6q-apalis${variant}-${fdt_board}.dtb
> 

For the series,
Reviewed-by: Francesco Dolcini <francesco.dolc...@toradex.com>

Reply via email to