[PATCH v1 0/2] i2c: designware: Clean up MODEL_* definitions

From: Andy Shevchenko

Date: Wed Jan 14 2026 - 03:20:08 EST


The current way of recognizing models is not scalable and in most of the cases
just a replacement of well established device_is_compatible() approach.

For now take the low-hanging fruits and partially clean up those MODEL_*
definitions.

Andy Shevchenko (2):
i2c: designware: Remove not-going-to-be-supported code for Baikal SoC
i2c: designware: Use device_is_compatible() instead of custom approach

drivers/i2c/busses/Kconfig | 1 -
drivers/i2c/busses/i2c-designware-common.c | 6 +-
drivers/i2c/busses/i2c-designware-core.h | 2 -
drivers/i2c/busses/i2c-designware-platdrv.c | 70 +--------------------
4 files changed, 2 insertions(+), 77 deletions(-)

--
2.50.1