Skip to content

overlays: wm8960-soundcard: Add media parameter - #7577

Merged
pelwell merged 1 commit into
raspberrypi:rpi-6.18.yfrom
edatec:wm8960-media
Aug 28, 2026
Merged

overlays: wm8960-soundcard: Add media parameter#7577
pelwell merged 1 commit into
raspberrypi:rpi-6.18.yfrom
edatec:wm8960-media

Conversation

@zjzhao-eda

Copy link
Copy Markdown
Contributor

Add optional media board support to the wm8960-soundcard overlay:

  • mclk: Overrides the MCLK clock frequency (default 12.288 MHz)
  • media: Switches to the media board configuration: 24 MHz MCLK, enables headphone jack detection (wlf,hp-cfg) and an on-board microphone / dual speaker sound card.

The parameters are implemented as dormant fragments and have no effect unless explicitly activated, preserving full backward compatibility with existing configurations.

Tested on Raspberry Pi 5 (EDATEC media board) with:
dtoverlay=wm8960-soundcard,media=on

Comment thread arch/arm/boot/dts/overlays/README Outdated
@@ -1,4 +1,5 @@
// Definitions for Waveshare WM8960 https://github.com/waveshare/WM8960-Audio-HAT
// Extended with EDATEC media board support via the "media" parameter.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This addition is a bit unnecessary

Add optional media board support to the wm8960-soundcard overlay:
- mclk: Overrides the MCLK clock frequency (default 12.288 MHz)
- media: Switches to the media board configuration: 24 MHz MCLK,
  enables headphone jack detection (wlf,hp-cfg) and an on-board
  microphone / dual speaker sound card.

The parameters are implemented as dormant fragments and have no
effect unless explicitly activated, preserving full backward
compatibility with existing configurations.

Tested on Raspberry Pi 5 (EDATEC media board) with:
  dtoverlay=wm8960-soundcard,media=on

Signed-off-by: zjzhao <zjzhao@edatec.cn>
@zjzhao-eda

Copy link
Copy Markdown
Contributor Author

Thank you for the review; all revisions have been made. Please let me know if there are any further issues.

@pelwell
pelwell merged commit 95d9c0c into raspberrypi:rpi-6.18.y Aug 28, 2026
12 checks 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.

2 participants