rockchip64-7.0: mekotronics-r58x-pro: analog sound: use SuperKali's new clock#9554
Conversation
…audio-card - `audio-graph-card` actually never worked, I messed up - Daniele has the real fix up in https://lore.kernel.org/linux-rockchip/20260316-rk3588-mclk-gate-grf-v1-0-66fb9a246718@superkali.me/ - convert to `simple-audio-card` before actually adding it, so playing field is even
…ew clock
> This series fixes ES8388 audio on the Mekotronics R58X-Pro (RK3588).
>
> Without these patches, the i2s0_8ch_mclkout_to_io gate remains closed
> (enable_count=0 in the clk_summary), and the codec receives no master
> clock. DAPM reports all widgets as powered on and playback streams run
> without errors, but the hardware produces no sound — a rather
> frustrating failure mode to debug.
>
> With the series applied and the board DTS updated to reference
> I2S0_8CH_MCLKOUT_TO_IO from the codec node:
>
> es8388: audio-codec@10 {
> compatible = "everest,es8388", "everest,es8328";
> reg = <0x10>;
> clocks = <&cru I2S0_8CH_MCLKOUT_TO_IO>;
> assigned-clocks = <&cru I2S0_8CH_MCLKOUT>;
> assigned-clock-rates = <12288000>;
> ...
> };
>
> audio playback works correctly, tested via headphones output.
>
> Tested-by: Ricardo Pardini <ricardo@pardini.net>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe audio configuration in a Rockchip device tree file is updated from a legacy audio-graph-card setup to a modern simple-audio-card configuration. Clock references, supply rails, and structural organization are adjusted to align with the new audio card model. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
✅ This PR has been reviewed and approved — all set for merge! |
|
rockchip64-7.0: mekotronics-r58x-pro: analog sound: use SuperKali's new clock
audio-graph-cardactually never worked, I messed upsimple-audio-cardbefore actually adding it, so playing field is evenSummary by CodeRabbit