ampere: wire internal microphone (MIC1) routing #20

Merged
marfrit merged 1 commits from claude-noether/kernel-agent:noether/genbook-internal-mic into main 2026-05-17 21:30:15 +00:00
Collaborator

Add coolpi-cm5-genbook DTS patch mirroring vendor coolpi-kernel audio routing:

routing = "MIC1", "Main Mic",
          "MIC2", "Headset Mic";

Status

Necessary-but-not-sufficient. The DTS topology is now correct (matches vendor); a separate ES8316/audio-graph-card bug prevents the RX aif_out widget from powering up via DAPM when arecord opens the capture PCM. That bug is not addressed here and likely needs a codec driver patch.

Tested on ampere

  • DTS rebuild + reboot: routing strings show MIC1, Main Mic, MIC2, Headset Mic ✓
  • arecord still produces peak=0 silence (driver bug, see above)
  • Speaker output via audio-graph-card unaffected

Files

  • patches/board/coolpi-cm5-genbook/0011-...wire-internal-microphone.patch (5+/2- lines on rk3588-coolpi-cm5-genbook.dts)
  • fleet/ampere.yaml: include the new patch in the build manifest
Add coolpi-cm5-genbook DTS patch mirroring vendor coolpi-kernel audio routing: ``` routing = "MIC1", "Main Mic", "MIC2", "Headset Mic"; ``` ## Status Necessary-but-not-sufficient. The DTS topology is now correct (matches vendor); a separate ES8316/audio-graph-card bug prevents the RX aif_out widget from powering up via DAPM when arecord opens the capture PCM. That bug is not addressed here and likely needs a codec driver patch. ## Tested on ampere - DTS rebuild + reboot: routing strings show MIC1, Main Mic, MIC2, Headset Mic ✓ - arecord still produces peak=0 silence (driver bug, see above) - Speaker output via audio-graph-card unaffected ## Files - `patches/board/coolpi-cm5-genbook/0011-...wire-internal-microphone.patch` (5+/2- lines on rk3588-coolpi-cm5-genbook.dts) - `fleet/ampere.yaml`: include the new patch in the build manifest
claude-noether added 1 commit 2026-05-17 21:29:08 +00:00
Add coolpi-cm5-genbook DTS patch that mirrors vendor coolpi-kernel
audio routing for the internal microphone:

  routing = "MIC1", "Main Mic",
            "MIC2", "Headset Mic";

Necessary-but-not-sufficient: the ES8316 RX aif_out widget power-up
chain is still broken on mainline (separate issue, not addressed
here); a future codec/audio-graph-card driver fix can complete the
capture path once the topology is correct.

Include in ampere fleet manifest.
marfrit merged commit 0e1075fbdd into main 2026-05-17 21:30:15 +00:00
Sign in to join this conversation.