Re: [PATCH 3/3] arm64: dts: qcom: monaco-arduino-monza: Add overlay for Waveshare WM8960 Audio HAT

From: Srinivas Kandagatla

Date: Tue Jul 07 2026 - 16:43:55 EST


On 7/7/26 7:15 PM, Dmitry Baryshkov wrote:
> On Tue, Jul 07, 2026 at 05:37:03PM +0100, Srinivas Kandagatla wrote:
>> Add a DT overlay for the Waveshare WM8960 Audio HAT connected to the
>> 40-pin JHAT connector. The overlay adds the WM8960 fixed MCLK clock,
>> the WM8960 codec on I2C0, and the corresponding I2S1 playback and
>> capture DAI links to the sound card.
>
> The contents of the overlay is more or less visible from the patch.
> Please provide some useful documentation, e.g. how to test the codec.
> Does one need extra UCM file for it?

Yes, currently this has been tested manually with mixer commands from
console, the plan make this work with ucm dynamically based on the
existence of the dai-link that comes as part of overlay.

Here is wip ucm changes required for this,

https://github.com/Srinivas-Kandagatla/alsa-ucm-conf/tree/ventuno-q-jhat

--srini
>
>>
>> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxxxxxxxx>
>> ---
>> arch/arm64/boot/dts/qcom/Makefile | 4 +
>> ...uino-monza-waveshare-wm8960-audio-hat.dtso | 100 ++++++++++++++++++
>> 2 files changed, 104 insertions(+)
>> create mode 100644 arch/arm64/boot/dts/qcom/monaco-arduino-monza-waveshare-wm8960-audio-hat.dtso
>
>