Skip to content

Update am437x and am335x dts to probe with ti-sysc

Tony Lindgren linux-arm-kernel linux-devicetree linux-omap 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 4 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Update am437x and am335x dts to probe with ti-sysc
Quoted 9 lines · Grygorii Strashko
Quoted 6 lines · Tony Lindgren

OK. So looks like the other i2c bus drivers have already solved it with simply SET_NOIRQ_SYSTEM_SLEEP_PM_OPS which is along the lines you're suggesting.

The following works for me, does it look OK to you?

it looks good, just curious if it will work both ti-sysc legacy/nonlegacy modes.

OK, yes it seems to pass my artificial test case without ti-sysc dts changes, see below. So I just sent the i2c-omap patch as:

"[PATCH] i2c: omap: Use noirq system sleep pm ops to idle device for suspend"

Regards,

Tony

8< -----------

[   70.509713] PM: suspend entry (deep)
[   70.509739] PM: Syncing filesystems ... done.
[   70.516785] Freezing user space processes ... (elapsed 0.001 seconds) done.
[   70.518746] OOM killer disabled.
[   70.518756] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[   70.520393] Suspending console(s) (use no_console_suspend to debug)
[   70.532983] wlan0: deauthenticating from 42:04:7a:03:0b:78 by local choice (Reason: 3=DEAUTH_LEAVING)
[   70.589742] wlcore: down
[   70.590435] wlcore: down
[   70.672208] Disabling non-boot CPUs ...
[   70.672237] pm33xx pm33xx: PM: Successfully put all powerdomains to target state
[   70.694047] net eth0: initializing cpsw version 1.15 (0)
[   70.792216] Micrel KSZ9031 Gigabit PHY 4a101000.mdio:04: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:p)
[   70.795548] net eth1: initializing cpsw version 1.15 (0)
[   70.902204] Micrel KSZ9031 Gigabit PHY 4a101000.mdio:05: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:p)
[   71.007103] usb usb1: root hub lost power or was reset
[   71.007121] usb usb2: root hub lost power or was reset
[   71.322414] wlcore: PHY firmware version: Rev 8.2.0.0.236
[   71.417839] wlcore: firmware booted (Rev 8.9.0.0.69)
[   71.444787] OOM killer enabled.
[   71.444799] Restarting tasks ... done.
[   71.461113] PM: suspend exit