From 4beca13485d8f584703bb41f65b18a60c19273db Mon Sep 17 00:00:00 2001 From: Anatolij Gustschin Date: Sat, 20 Jul 2024 01:24:22 +0200 Subject: board: keymile: convert to CONFIG_DM_I2C The conversion to DM_I2C is mandatory, rework to remove use of legacy I2C API. Signed-off-by: Anatolij Gustschin Cc: Aleksandar Gerasimovski Cc: Holger Brunck Cc: Tomas Alvarez Vanoli Reviewed-by: Simon Glass Reviewed-by: Heiko Schocher --- include/configs/km/pg-wcom-ls102xa.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'include') diff --git a/include/configs/km/pg-wcom-ls102xa.h b/include/configs/km/pg-wcom-ls102xa.h index 15ef68a0507..3a243d789c0 100644 --- a/include/configs/km/pg-wcom-ls102xa.h +++ b/include/configs/km/pg-wcom-ls102xa.h @@ -145,19 +145,6 @@ */ #define CFG_SYS_NS16550_CLK get_serial_clock() -/* - * I2C - */ - -#define CFG_SYS_I2C_MAX_HOPS 1 -#define CFG_SYS_NUM_I2C_BUSES 3 -#define I2C_MUX_PCA_ADDR 0x70 -#define I2C_MUX_CH_DEFAULT 0x0 -#define CFG_SYS_I2C_BUSES { {0, {I2C_NULL_HOP} }, \ - {0, {{I2C_MUX_PCA9547, 0x70, 1 } } }, \ - {1, {I2C_NULL_HOP} }, \ - } - #define CFG_SMP_PEN_ADDR 0x01ee0200 #define HWCONFIG_BUFFER_SIZE 256 -- cgit v1.2.3