Commit Graph
3 Commits
Author SHA1 Message Date
Luxferre 9619cc9541 Fix MBHC wired headphone autodetection across all targets for a1125 (ampere)
Retain PM8909 MBHC digital debounce clock (DIG_CLK_CTL_D_MBHC_CLK_EN) and master bias (CDC_A_MASTER_BIAS_CTL = 0x30) across s2 standby gating while keeping the 100 uA button ISRC and button IRQs disabled when unplugged, check CDC_A_MBHC_RESULT_2 on boot/set_jack/switch IRQs with 3/4-pole FSM classification, fix iface=CARD jack queries, event coalescing, and stale unplugged Headphones boot fallback in bananarchy-soundmonitor and sxmo audio scripts, harden host tests against CPU contention, and rebuild all a1125 (ampere) target images.
2026-11-24 11:00:06 +02:00
Luxferre aba38a58f2 Fix MSM8905 WCD 48 kHz interpolators, ADSP clock retention, and boot audio sync
Ensure LPASS_CDC_RX1/2/3_B5_CTL and TX1/2_CLK_FS_CTL are always reprogrammed for 48 kHz on MSM8905 (Q6_ADSP_VERSION_2_6) targets (nokia-beatles, nokia-argon, nokia-coconut), preserve INT_DIGITAL_CDC_CLK on ADSP < 2.7, eliminate unclocked debugfs AHB reads, harden PipeWire boot sink/unity sync, and update rebuilt a1125 (ampere) image checksums.
2026-11-24 09:21:01 +02:00
Luxferre 4f73c28e5e Fix WCD 48 kHz interpolators, CAJON analog codec, PipeWire mono downmix, and gain staging for a1125 (ampere)
- Add patches/kernel/0015-msm8909-wcd-digital-interpolator-cajon-analog.patch
  and rebuild kernel + audio codec modules (prebuilt/ + overlay/rootfs/)
  so REGCACHE_FLAT keeps 48 kHz POR interpolator/decimator defaults
  (RX1/2/3_B5_CTL=0x68, TX1/2_CLK_FS_CTL=0x03) and PM8909 CAJON_2_0
  analog defaults, non-boost Class-D SPK PA, HPH DAC/PA sequencing,
  EAR +6 dB headroom, and pm8909_s2 wakeup restore apply cleanly.
- Add WirePlumber create-item.lua item.features.mono = true support and
  PipeWire client drop-ins so Speaker and Earpiece present a positioned
  [ MONO ] PortConfig (0.5 * FL + 0.5 * FR with channelmix.normalize = true
  and triangular TPDF dithering) over 2 ch 48 kHz S16LE hardware while
  keeping Headphones and Bluetooth A2DP sinks stereo.
- Sync unity 100% PipeWire software sink volume when card0 is present
  and cap UCM2/plugin digital ALSA playback ceiling at <= 84 (0 dB).
- Add scripts/test-audio-quality.py wired into scripts/check-rebuild.sh,
  pin all 7 rebuilt a1125 (ampere) image SHA-256 hashes, and update
  CHANGELOG.md, MANUAL.md, and AGENTS.md.
2026-11-23 19:53:06 +02:00