Re: [PATCH v3 2/2] arm64: dts: qcom: qcs9075-evk: Add sound card

From: Konrad Dybcio
Date: Fri Jul 25 2025 - 05:17:52 EST


On 7/24/25 5:56 PM, Mohammad Rafi Shaik wrote:
> Add the sound card node with tested playback over max98357a
> I2S speakers amplifier and I2S mic.
>
> Introduce HS (High-Speed) MI2S pin control support.
> The I2S max98357a speaker amplifier is connected via HS0 and I2S
> microphones utilize the HS2 interface.
>
> Signed-off-by: Mohammad Rafi Shaik <mohammad.rafi.shaik@xxxxxxxxxxxxxxxx>
> ---
> .../boot/dts/qcom/qcs9075-iq-9075-evk.dts | 52 +++++++++++++++++++
> arch/arm64/boot/dts/qcom/sa8775p.dtsi | 14 +++++
> 2 files changed, 66 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/qcs9075-iq-9075-evk.dts b/arch/arm64/boot/dts/qcom/qcs9075-iq-9075-evk.dts
> index ba8a359d8fee..a2d9aaa641a1 100644
> --- a/arch/arm64/boot/dts/qcom/qcs9075-iq-9075-evk.dts
> +++ b/arch/arm64/boot/dts/qcom/qcs9075-iq-9075-evk.dts
> @@ -5,6 +5,7 @@
> /dts-v1/;
>
> #include <dt-bindings/gpio/gpio.h>
> +#include <dt-bindings/sound/qcom,q6afe.h>
> #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
>
> #include "qcs9075-som.dtsi"
> @@ -20,6 +21,57 @@ aliases {
> chosen {
> stdout-path = "serial0:115200n8";
> };
> +
> + dmic: audio-codec-1 {
> + compatible = "dmic-codec";
> + #sound-dai-cells = <0>;
> + num-channels = <1>;
> + };
> +
> + max98357a: audio-codec-0 {

It would make more sense if audio-codec-0 came before audio-codec-1

Konrad