mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Gianfranco Mariotti <gianfranco.mariotti94@gmail.com>
To: Srinivas Kandagatla <srini@kernel.org>,
	Mark Brown <broonie@kernel.org>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>
Cc: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>,
	Abel Vesa <abelvesa@kernel.org>, Jaroslav Kysela <perex@perex.cz>,
	Takashi Iwai <tiwai@suse.com>,
	Loic Poulain <loic.poulain@oss.qualcomm.com>,
	Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>,
	linux-sound@vger.kernel.org, linux-arm-msm@vger.kernel.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	Gianfranco Mariotti <gianfranco.mariotti94@gmail.com>
Subject: [PATCH 0/3] ASoC: qcom: sc8280xp: decouple Arduino Monza config from qcom,qcs8275-sndcard
Date: Mon, 30 Nov 2026 02:20:11 +0100	[thread overview]
Message-ID: <20261130012014.181326-1-gianfranco.mariotti94@gmail.com> (raw)

Commit 4ba2678ad03e ("ASoC: qcom: sc8280xp: add monaco/monza controls for
qcs8275") attached Arduino VENTUNO Q (Monza) MAX98090 widgets, pin
switches, DAI format, and 256*fs codec sysclk setup directly to
qcs8275_priv_data, which backs the generic "qcom,qcs8275-sndcard"
compatible already shared by Monaco EVK, Monaco AC EVK, and other QCS8275
carrier boards.

On non-Monza QCS8275 boards this causes multiple regressions:
- Replaces sc8280xp_dapm_widgets with max98090_dapm_widgets and adds
  max98090_controls, exposing six nonexistent MAX98090 pin switches on
  Monaco EVK / Monaco AC EVK, colliding with max98357a's "Speaker" DAPM
  widget, and dropping the "DP0 Jack".."DP7 Jack" widgets.
- Forces codec_sysclk_set (256 * rate on MI2S, bitclock rate on TDM) and
  codec_dai_fmt (I2S | NB_NF | BC_FC) onto every QCS8275 board's codecs,
  breaking codecs clocked from a different MCLK rate or DAI format.

Fix this by introducing a dedicated "arduino,monza-sndcard" compatible:
- Patch 1 documents "arduino,monza-sndcard" with "qcom,qcs8275-sndcard" as
  fallback in qcom,sm8250.yaml.
- Patch 2 moves the MAX98090 configuration to monza_priv_data, restores
  qcs8275_priv_data to clean generic QCS8275 defaults, and falls back to
  monza_priv_data when matching "qcom,qcs8275-sndcard" on an
  "arduino,monza" machine so existing DTBs continue working.
- Patch 3 updates monaco-arduino-monza.dts to use "arduino,monza-sndcard"
  with "qcom,qcs8275-sndcard" as fallback (merge-order-independent across
  the ASoC and Qualcomm DT trees).

Signed-off-by: Gianfranco Mariotti <gianfranco.mariotti94@gmail.com>

Gianfranco Mariotti (3):
  ASoC: dt-bindings: qcom,sm8250: add arduino,monza-sndcard compatible
  ASoC: qcom: sc8280xp: move Arduino Monza config out of
    qcs8275_priv_data
  arm64: dts: qcom: monaco-arduino-monza: use arduino,monza-sndcard
    compatible

 .../bindings/sound/qcom,sm8250.yaml           |  3 ++
 .../boot/dts/qcom/monaco-arduino-monza.dts    |  2 +-
 sound/soc/qcom/sc8280xp.c                     | 34 +++++++++++++++----
 3 files changed, 32 insertions(+), 7 deletions(-)

-- 
2.34.1


             reply	other threads:[~2026-11-30  1:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30  1:20 Gianfranco Mariotti [this message]
2026-11-30  1:20 ` [PATCH 1/3] ASoC: dt-bindings: qcom,sm8250: add arduino,monza-sndcard compatible Gianfranco Mariotti
2026-11-30  1:20 ` [PATCH 2/3] ASoC: qcom: sc8280xp: move Arduino Monza config out of qcs8275_priv_data Gianfranco Mariotti
2026-11-30  1:20 ` [PATCH 3/3] arm64: dts: qcom: monaco-arduino-monza: use arduino,monza-sndcard compatible Gianfranco Mariotti

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=20261130012014.181326-1-gianfranco.mariotti94@gmail.com \
    --to=gianfranco.mariotti94@gmail.com \
    --cc=abelvesa@kernel.org \
    --cc=andersson@kernel.org \
    --cc=broonie@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.baryshkov@oss.qualcomm.com \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=loic.poulain@oss.qualcomm.com \
    --cc=perex@perex.cz \
    --cc=robh@kernel.org \
    --cc=srini@kernel.org \
    --cc=srinivas.kandagatla@oss.qualcomm.com \
    --cc=tiwai@suse.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®