Skip to content

[RG34XXSP] Permanently unbind unused USB1-3 host controllers at boot - #101

Open
agluszyk wants to merge 1 commit into
knulli-cfw:knulli-mainfrom
agluszyk:disable-unused-usb1-3
Open

[RG34XXSP] Permanently unbind unused USB1-3 host controllers at boot#101
agluszyk wants to merge 1 commit into
knulli-cfw:knulli-mainfrom
agluszyk:disable-unused-usb1-3

Conversation

@agluszyk

@agluszyk agluszyk commented Aug 6, 2026

Copy link
Copy Markdown

Why

USB host controllers 1/2/3 (ehci1-3/ohci1-3) are not physically wired on the
rg34xx-sp board — usbc1/usbc2/usbc3 in the devicetree carry
usb_host_init_state=1 and no drvvbus-supply regulator (only usbc0, the
real OTG/charging port, has one — see rg34xx-sp.dts), so nothing can ever
be attached to them.

What

Permanently unbind these three unused host controllers from their drivers at
boot (rg34xx-sp only), via a board-scoped init.d script.

Impact

Reduces running and suspend (to memory) power draw by gating clocks/PHYs for
controllers that can never have anything attached. No functional downside, the ports are unusable regardless of driver binding.

Testing

  • Booted on rg34xx-sp, confirmed all three controllers unbind cleanly at
    boot with no dmesg errors.
  • Confirmed reduced power draw.

USB host controllers 1/2/3 (ehci1-3/ohci1-3) are not physically wired
on the rg34xx-sp board - usbc1/2/3 in the devicetree carry
usb_host_init_state=1 and no drvvbus-supply regulator (only usbc0, the
real OTG/charging port, has one - see rg34xx-sp.dts), so nothing can
ever be attached to them.
@agluszyk agluszyk changed the title Permanently unbind unused USB1-3 host controllers at boot [RG34XXSP] Permanently unbind unused USB1-3 host controllers at boot Aug 6, 2026
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