From: Mohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>
To: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>,
Bjorn Andersson <andersson@kernel.org>,
Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Cc: Umang Chheda <umang.chheda@oss.qualcomm.com>,
Konrad Dybcio <konradybcio@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Richard Cochran <richardcochran@gmail.com>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v4 4/4] arm64: dts: qcom: monaco-evk: Add sound card
Date: Mon, 8 Sep 2025 22:50:59 +0530 [thread overview]
Message-ID: <2f29addf-881a-4aae-9f3c-d8f20f8fbad4@oss.qualcomm.com> (raw)
In-Reply-To: <5bbe50f6-5fa3-4685-8f2c-67986c5171ab@oss.qualcomm.com>
On 9/8/2025 9:25 PM, Konrad Dybcio wrote:
> On 9/8/25 4:55 PM, Bjorn Andersson wrote:
>> On Sat, Sep 06, 2025 at 10:26:23PM +0300, Dmitry Baryshkov wrote:
>>> On Sat, Sep 06, 2025 at 12:53:50AM +0530, Umang Chheda wrote:
>>>> From: Mohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>
>>>>
>>>> Add the sound card for monaco-evk board and verified playback
>>>> functionality using the max98357a I2S speaker amplifier and I2S
>>>> microphones. The max98357a speaker amplifier is connected via
>>>> High-Speed MI2S HS0 interface, while the microphones utilize the
>>>> Secondary MI2S interface and also enable required pin controller
>>>> gpios for audio.
>>>>
>>>> Signed-off-by: Mohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>
>>>> Signed-off-by: Umang Chheda <umang.chheda@oss.qualcomm.com>
>>>> ---
>>>> arch/arm64/boot/dts/qcom/monaco-evk.dts | 52 +++++++++++++++++++++++++
>>>> arch/arm64/boot/dts/qcom/qcs8300.dtsi | 37 ++++++++++++++++++
>>>> 2 files changed, 89 insertions(+)
>>>>
>>>> diff --git a/arch/arm64/boot/dts/qcom/monaco-evk.dts b/arch/arm64/boot/dts/qcom/monaco-evk.dts
>>>> index 93e9e5322a39..f3c5d363921e 100644
>>>> --- a/arch/arm64/boot/dts/qcom/monaco-evk.dts
>>>> +++ b/arch/arm64/boot/dts/qcom/monaco-evk.dts
>>>> @@ -6,6 +6,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 "qcs8300.dtsi"
>>>> @@ -24,6 +25,57 @@ aliases {
>>>> chosen {
>>>> stdout-path = "serial0:115200n8";
>>>> };
>>>> +
>>>> + dmic: audio-codec-0 {
>>>> + compatible = "dmic-codec";
>>>> + #sound-dai-cells = <0>;
>>>> + num-channels = <1>;
>>>> + };
>>>> +
>>>> + max98357a: audio-codec-1 {
>>>> + compatible = "maxim,max98357a";
>>>> + #sound-dai-cells = <0>;
>>>> + };
>>>> +
>>>> + sound {
>>>> + compatible = "qcom,qcs8275-sndcard";
>>>
>>> qcs8300
>>>
ACK,
>>
>> If the Monaco EVK actually is QCS8300... But, I presume qcs8275 and
>> qcs8300 are identical when it comes to sound?
>>
>> @Mohammad, if this is the case can't we just support the
>> qcom,monaco-sndcard instead to avoid this confusion?
>
The Monaco-EVK board is based on Qualcomm's QCS8300 SoC.
Although the Monaco-EVK platform was previously associated with the
QCS8275 sound card, the QCS8275 re-use was based on existing coverage.
However, according to the naming guidelines, sound card compatibility
should be based on the SoC rather than the board.
Therefore, it's necessary to use the SoC name in the sound card
compatible string. I will update the DTS to use qcom,qcs8300-sndcard to
align with the convention and avoid confusion.
> Commit 34d340d48e59 ("ASoC: qcom: sc8280xp: Add support for QCS8275")
>
> Unless we choose to ignore that compatible and add "monaco", but I don't
> think dt maintainers will love that
>
Agree. We used the existing qcom,qcs8275-sndcard compatible string
instead of adding a new one, but this needs to be changed.
The sound card compatible should be SoC specific in this case, qcs8300.
I will update the patch with qcom,qcs8300-sndcard.
Thanks & Regards,
Rafi.
> Konrad
next prev parent reply other threads:[~2025-09-08 17:21 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-05 19:23 [PATCH v4 0/4] Introduce support for Monaco Evaluation Kit Umang Chheda
2025-09-05 19:23 ` [PATCH v4 1/4] dt-bindings: arm: qcom: Add Monaco EVK support Umang Chheda
2025-09-05 19:23 ` [PATCH v4 2/4] arm64: dts: qcom: qcs8300: Add Monaco EVK board Umang Chheda
2025-09-08 15:52 ` Konrad Dybcio
2025-09-05 19:23 ` [PATCH v4 3/4] arm64: dts: qcom: qcs8300: Add gpr node Umang Chheda
2025-09-08 15:54 ` Konrad Dybcio
2025-09-05 19:23 ` [PATCH v4 4/4] arm64: dts: qcom: monaco-evk: Add sound card Umang Chheda
2025-09-06 19:26 ` Dmitry Baryshkov
2025-09-08 14:55 ` Bjorn Andersson
2025-09-08 15:55 ` Konrad Dybcio
2025-09-08 17:20 ` Mohammad Rafi Shaik [this message]
2025-09-08 18:48 ` [PATCH v4 0/4] Introduce support for Monaco Evaluation Kit Bjorn Andersson
2025-09-08 20:52 ` Dmitry Baryshkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2f29addf-881a-4aae-9f3c-d8f20f8fbad4@oss.qualcomm.com \
--to=mohammad.rafi.shaik@oss.qualcomm.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@oss.qualcomm.com \
--cc=konrad.dybcio@oss.qualcomm.com \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=richardcochran@gmail.com \
--cc=robh@kernel.org \
--cc=umang.chheda@oss.qualcomm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®