Re: [PATCH v2 2/3] ARM: dts: ti/omap: describe omap3 i2c via ti-sysc

From: Kevin Hilman

Date: Wed Dec 02 2026 - 18:28:32 EST


Andreas Kemnade <andreas@xxxxxxxxxxxx> writes:

> ti,hwmods is deprecated, and the power management there is working a bit
> different than the one in the ti-sysc way. So if something is changed
> with pm incfluence, it has to be tested on both. To reduce that maintenance
> work, convert to ti-sysc. Also fixes an actual crash with OMAP3 and
> suspend. That was caused by a commit enabling i2c access in later phases
> of suspend until the noirq phase. But that causes some state expectation
> mismatch between omap_device.c code and the i2c code leading to the
> following:
>
> Unhandled fault: external abort on non-linefetch (0x1028) at 0xfa060004
> [...]
> PC is at omap_i2c_runtime_suspend+0x1c/0xd8
> [...]
> Call trace:
> omap_i2c_runtime_suspend from _od_suspend_noirq+0x44/0xe0
> _od_suspend_noirq from dpm_run_callback+0x4c/0x1f0
> dpm_run_callback from device_suspend_noirq+0x208/0x594
> device_suspend_noirq from dpm_suspend_noirq+0x1c8/0x3a4
> dpm_suspend_noirq from suspend_devices_and_enter+0x10c/0x840
> suspend_devices_and_enter from pm_suspend+0x25c/0x3fc
> pm_suspend from state_store+0x114/0x130
>
> Fixes: 7da7fd7e66ac9 ("i2c: omap: wakeup the controller during suspend() callback")
> Signed-off-by: Andreas Kemnade <andreas@xxxxxxxxxxxx>

I've queued this for v7.6 (after the driver change is merged), but I've
dropped the Fixes: tag locally. If I keep fixes, it might get
auto-backported to stable, but the driver is not tagged so would not get
backported.

Kevin