Commit 84be886
committed
overlays: wm8960-soundcard: Add media parameter
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>1 parent 6549564 commit 84be886
2 files changed
Lines changed: 47 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6379 | 6379 | | |
6380 | 6380 | | |
6381 | 6381 | | |
| 6382 | + | |
| 6383 | + | |
| 6384 | + | |
| 6385 | + | |
| 6386 | + | |
| 6387 | + | |
6382 | 6388 | | |
6383 | 6389 | | |
6384 | 6390 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
78 | 117 | | |
79 | 118 | | |
80 | 119 | | |
| 120 | + | |
| 121 | + | |
81 | 122 | | |
82 | 123 | | |
0 commit comments