[PATCH 0/3] ARM: OMAP2+: Convert OMAP3 I2C to ti-sysc

From: Andreas Kemnade

Date: Tue Nov 10 2026 - 05:56:48 EST


During suspend on OMAP3, I2C suspend oopses. This is a longer standing issue,
in the past I mostly tested runtime suspendidle behaviour on that platform
(including uart autosuspend). A change in the I2C driver fixes some corner
cases in pm for ti-sysc based systems, but breaks systems using the deprecated
ti,hwmods property.
To avoid that maintainance overhead, convert the i2c definition
First fix the I2C quirk needed for these older chips. OMAP2 stuff
is not touched due to its planned removal.
After OMAP2 is removed, arch/arm/mach-omap2/i2c.c can be removed, too.
I may try to check again if there is some safe fix in omap_device.c
but changing things there has a very high chance of unexpected side
effects.

Handling the commits:
In the past (e.g. around commit
42a79edd4a3dc1bb8e89fd2849f9e8e1e1c13977 for converting musb to ti-sys)
these changes were handled through a separate branch to keep them in
order.
Here is a hard requirement of the order. Patch 3 can most easily wait
but having patch 2 after patch 1 is a hard requirement. As the
affected devices get their devicetree updated with the kernel,
that should not hurt too much.

Signed-off-by: Andreas Kemnade <andreas@xxxxxxxxxxxx>
---
Andreas Kemnade (3):
bus: ti-sysc: fix I2C quirk for OMAP3 variants
ARM: dts: ti/omap: describe omap3 i2c via ti-sysc
ARM: OMAP2+: remove i2c from OMAP3 hwmods list

arch/arm/boot/dts/ti/omap/omap3.dtsi | 96 ++++++++++++++++++++-----
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 112 -----------------------------
drivers/bus/ti-sysc.c | 19 +++--
3 files changed, 91 insertions(+), 136 deletions(-)
---
base-commit: 7475ea8b58616b33c04afb976cf0fbaad9dd63fb
change-id: 20261109-i2c-sysc-a048409add7c

Best regards,
--
Andreas Kemnade <andreas@xxxxxxxxxxxx>