Skip to content

overlays: Give a deprecation warning for dwc-otg#6890

Merged
pelwell merged 1 commit intoraspberrypi:rpi-6.12.yfrom
pelwell:dwc-otg-depr
Jun 10, 2025
Merged

overlays: Give a deprecation warning for dwc-otg#6890
pelwell merged 1 commit intoraspberrypi:rpi-6.12.yfrom
pelwell:dwc-otg-depr

Conversation

@pelwell
Copy link
Copy Markdown
Contributor

@pelwell pelwell commented Jun 10, 2025

The overlay deprecation feature does not give any advance warnings, just a more user-friendly error message; it's more termination than deprecation.

Abuse the overlay rename feature to cause a warning message to be displayed when dwc-otg is loaded:

dtwarn: overlay 'dwc-otg' has been renamed 'dwc-otg-deprecated'

The overlay deprecation feature does not give any advance warnings,
just a more user-friendly error message; it's more termination than
deprecation.

Abuse the overlay rename feature to cause a warning message to be
displayed when dwc-otg is loaded:

  dtwarn: overlay 'dwc-otg' has been renamed 'dwc-otg-deprecated'

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
@pelwell pelwell merged commit 67e3c55 into raspberrypi:rpi-6.12.y Jun 10, 2025
12 checks passed
popcornmix added a commit to raspberrypi/firmware that referenced this pull request Jun 10, 2025
See: raspberrypi/linux#6888

kernel: overlays: Give a deprecation warning for dwc-otg
See: raspberrypi/linux#6890
popcornmix added a commit to raspberrypi/rpi-firmware that referenced this pull request Jun 10, 2025
See: raspberrypi/linux#6888

kernel: overlays: Give a deprecation warning for dwc-otg
See: raspberrypi/linux#6890
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