[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <230d5d49-b86e-4696-937a-a6faaa9e45e0@oss.qualcomm.com>
Date: Tue, 10 Feb 2026 11:07:21 +0100
From: Konrad Dybcio <konrad.dybcio@....qualcomm.com>
To: Srinivas Kandagatla <srinivas.kandagatla@....qualcomm.com>, lee@...nel.org,
robh@...nel.org, krzk+dt@...nel.org, conor+dt@...nel.org,
andersson@...nel.org, konradybcio@...nel.org, sboyd@...nel.org
Cc: linux-arm-msm@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, alexey.klimov@...aro.org,
r.mereu@...uino.cc
Subject: Re: [PATCH 3/4] arm64: dts: arduino-imola: add support for sound
On 2/9/26 3:24 PM, Srinivas Kandagatla wrote:
> Add support for sound on Arduino UNO Q board, which includes
> - Headset playback and record.
> - Lineout
Looking at the images, I can't see a speaker there..
And looking at https://docs.arduino.cc/resources/pinouts/ABX00162-full-pinout.pdf
I *thiiink* there's no I2S out (which is a little surprising)
[...]
> + hph-playback-dai-link {
> + link-name = "HPH Playback";
> + cpu {
> + sound-dai = <&q6afedai RX_CODEC_DMA_RX_0>;
> + };
> +
> + platform {
> + sound-dai = <&q6routing>;
> + };
> +
> + codec {
> + sound-dai = <&pmic4125_codec 0>, <&swr1 0>, <&rxmacro 0>;
> + };
> + };
> +
> + lo-playback-dai-link {
> + link-name = "LO Playback";
"Line Out", "Headphones", etc.? I know if it's user-visible..
> + cpu {
> + sound-dai = <&q6afedai RX_CODEC_DMA_RX_0>;
> + };
> +
> + platform {
> + sound-dai = <&q6routing>;
> + };
> +
> + codec {
> + sound-dai = <&pmic4125_codec 0>, <&swr1 0>, <&rxmacro 0>;
> + };
> + };
> +
> + ear-playback-dai-link {
> + link-name = "Ear Playback";
> + cpu {
Let's uniformly keep a newline between the last property and the following
subnodes, and let's sort all these nodes alphabetically (i.e. both under
/sound and codec/cpu/platform within them)
[...]
> +&spmi_bus {
> + pmic@0 {
> + pmic4125_codec: audio-codec@...0{
This definition should definitely live in pm4125.dtsi!
missing space before '{'
> + compatible = "qcom,pm4125-codec";
> + reg =<0xf000>;
missing space after '='
> + vdd-io-supply = <&pm4125_l15>;
> + vdd-cp-supply = <&pm4125_s4>;
> + vdd-pa-vpos-supply = <&pm4125_s4>;
> +
> + vdd-mic-bias-supply = <&pm4125_l22>;
> + qcom,micbias1-microvolt = <1800000>;
> + qcom,micbias2-microvolt = <1800000>;
> + qcom,micbias3-microvolt = <1800000>;
> +
> + qcom,rx-device = <&pm4125_rx>;
> + qcom,tx-device = <&pm4125_tx>;
> + #sound-dai-cells = <1>;
> + };
> + };
> +};
> +
> +&swr0 {
> + pinctrl-0 = <&lpass_tx_swr_active>;
> + pinctrl-names = "default";
> + status = "okay";
Please add a \n before status
otherwise this looks ok
Konrad
Powered by blists - more mailing lists