All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hongyang Zhao <hongyang.zhao@thundersoft.com>
To: dmitry.baryshkov@oss.qualcomm.com
Cc: andersson@kernel.org, broonie@kernel.org, conor+dt@kernel.org,
	devicetree@vger.kernel.org, drake@endlessm.com,
	hongyang.zhao@thundersoft.com, katsuhiro@katsuster.net,
	konradybcio@kernel.org, krzk+dt@kernel.org, lgirdwood@gmail.com,
	linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-sound@vger.kernel.org, matteomartelli3@gmail.com,
	mohammad.rafi.shaik@oss.qualcomm.com, perex@perex.cz,
	robh@kernel.org, srini@kernel.org, tiwai@suse.com,
	zhoubinbin@loongson.cn
Subject: Re: [PATCH 4/5] ASoC: qcom: sc8280xp: Add per-card data
Date: Mon,  8 Jun 2026 10:42:03 +0800	[thread overview]
Message-ID: <20260608024203.3381312-1-hongyang.zhao@thundersoft.com> (raw)
In-Reply-To: <t2vwes2xzruqygdjasgi6akwuvephitqbyz3dntiqidbm23bki@uj22cgv72ht5>

> On Sun, Jun 07, 2026 at 02:58:20AM +0800, Hongyang Zhao wrote:
> > The sc8280xp machine driver currently uses the OF match data only as a
> > driver name, which makes it difficult to describe board-specific MI2S
> > codec requirements.
> > 
> > Convert the match data to a per-card data structure and add data for
> > the QCS6490 RubikPi3. The RubikPi3 data configures the ES8316 MI2S DAI
> > format, MCLK rate, BE hardware parameters and headset jack pins.
> 
> Please don't mix refactoring and actual changes in a single patch. Split
> this commit, performing one logical change per commit.
> 

Thanks for your review.

I will split it in v2. The intended split is:
- convert the sc8280xp OF match data to a per-card data structure;
- add the generic/common helper changes needed for headset jack setup;
- add the RubikPi3-specific machine data, including MI2S codec clocking
  and headset jack configuration.

> > 
> > Add a common headset jack helper which accepts board-specific DAPM pins
> > for codecs that are not connected through the WCD TX codec DMA path.
> > 
> > Signed-off-by: Hongyang Zhao <hongyang.zhao@thundersoft.com>
> > ---
> >  sound/soc/qcom/common.c   |  75 ++++++++---
> >  sound/soc/qcom/common.h   |   6 +-
> >  sound/soc/qcom/sc8280xp.c | 319 ++++++++++++++++++++++++++++++++++++++++++----
> >  3 files changed, 357 insertions(+), 43 deletions(-)
> >

--
Thanks,
Hongyang

  reply	other threads:[~2026-06-08  2:42 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-06 18:58 [PATCH 0/5] Add audio support for QCS6490 RubikPi3 Hongyang Zhao
2026-06-06 18:58 ` [PATCH 1/5] ASoC: dt-bindings: es8316: Document jack detect inversion Hongyang Zhao
2026-06-06 18:58 ` [PATCH 2/5] ASoC: dt-bindings: qcom,sm8250: Add QCS6490 RubikPi3 sound card Hongyang Zhao
2026-06-06 23:40   ` Dmitry Baryshkov
2026-06-08  2:35     ` Hongyang Zhao
2026-06-08  3:24       ` Dmitry Baryshkov
2026-06-06 18:58 ` [PATCH 3/5] ASoC: qcom: qdsp6: q6prm: add the missing MCLK clock IDs Hongyang Zhao
2026-06-06 18:58 ` [PATCH 4/5] ASoC: qcom: sc8280xp: Add per-card data Hongyang Zhao
2026-06-06 21:28   ` sashiko-bot
2026-06-07  7:49   ` Dmitry Baryshkov
2026-06-08  2:42     ` Hongyang Zhao [this message]
2026-06-06 18:58 ` [PATCH 5/5] arm64: dts: qcom: qcs6490-rubikpi3: Add audio support Hongyang Zhao
2026-06-06 21:33   ` sashiko-bot

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=20260608024203.3381312-1-hongyang.zhao@thundersoft.com \
    --to=hongyang.zhao@thundersoft.com \
    --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=drake@endlessm.com \
    --cc=katsuhiro@katsuster.net \
    --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=matteomartelli3@gmail.com \
    --cc=mohammad.rafi.shaik@oss.qualcomm.com \
    --cc=perex@perex.cz \
    --cc=robh@kernel.org \
    --cc=srini@kernel.org \
    --cc=tiwai@suse.com \
    --cc=zhoubinbin@loongson.cn \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.