Add I2C driver launcher

This is just a first draft of the launcher part.

Signed-off-by: Julian Oes <julian@oes.ch>
This commit is contained in:
Julian Oes
2023-11-22 22:19:52 -05:00
committed by Daniel Agar
parent 895ddee16a
commit fbc95ff4bd
6 changed files with 418 additions and 0 deletions
+1
View File
@@ -84,6 +84,7 @@ CONFIG_SYSTEMCMDS_DMESG=y
CONFIG_SYSTEMCMDS_GPIO=y
CONFIG_SYSTEMCMDS_HARDFAULT_LOG=y
CONFIG_SYSTEMCMDS_I2CDETECT=y
CONFIG_SYSTEMCMDS_I2C_LAUNCHER=y
CONFIG_SYSTEMCMDS_LED_CONTROL=y
CONFIG_SYSTEMCMDS_MFT=y
CONFIG_SYSTEMCMDS_MTD=y
+7
View File
@@ -51,6 +51,13 @@ fi
if ver hwtypecmp V6X009010 V6X010010
then
pm_selector_auterion start
else
# INA226, INA228, INA238 auto-start
i2c_launcher start -b 1
if [ $HAVE_PM2 = yes ]
then
i2c_launcher start -b 2
fi
fi
if ver hwtypecmp V6X000006 V6X004006 V6X005006