Skip to content

phy: apple: atc: name the condition that stops the host for a sleep (#1682) - #1701

Merged
DjDeveloperr merged 1 commit into
integration/aurorafrom
fix/atc-sleep-in-place-why
Nov 12, 2026
Merged

DjDeveloperr merged 1 commit into
integration/aurorafrom
fix/atc-sleep-in-place-why

Conversation

@DjDeveloperr

Copy link
Copy Markdown
Contributor

For #1682: when the USB host can't sleep in place, the PHY's debug line now names which condition of atcphy_can_sleep_in_place() failed.

In #1682's case, mode 2, PIPE 1, host 1 all pass, and the line said nothing more. Debug output only: no behaviour changes.

  • 898aac04 phy: apple: atc: say which condition stops the host for a sleep
    • The line names each failing condition: no_sleep_power, dart_unlisted, pd_usb/pd_common, sleep_no_keep, host_inactive, mode, mode_dirty, pipe_pending, pipe_state, usb_off_pending, dp_owned_pmas, aux_power_requested, tunnel_users.
    • Example: USB controller stops for the sleep: mode 2, PIPE 1, host 1, because: pipe_pending.

Built and booted on the Neo (J700) on 2026-11-12, as part of a kit on cae47c00, with file atc.c +p.

🤖 Generated with Claude Code

When the USB host can't sleep in place, the debug line gave only the
mode, the PIPE state and whether the host was active, which pass in
the case of linux#1682 (mode 2, PIPE 1, host 1). Name every condition
of atcphy_can_sleep_in_place() that fails as well.

Signed-off-by: Diljit Singh <hey@djdev.me>
@DjDeveloperr
DjDeveloperr merged commit 3766943 into integration/aurora Nov 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant