mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Mohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>
Cc: Shenghao Ding <shenghao-ding@ti.com>, Kevin Lu <kevin-lu@ti.com>,
	 Baojun Xu <baojun.xu@ti.com>, Sen Wang <sen@ti.com>,
	Liam Girdwood <lgirdwood@gmail.com>,
	 Mark Brown <broonie@kernel.org>, Rob Herring <robh@kernel.org>,
	 Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	 Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
	 Srinivas Kandagatla <srini@kernel.org>,
	Shawn Guo <shengchao.guo@oss.qualcomm.com>,
	 linux-sound@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,  linux-arm-msm@vger.kernel.org
Subject: Re: [PATCH v3 1/7] ASoC: dt-bindings: ti,pcm1681: Document the optional SCK clock
Date: Thu, 15 Oct 2026 10:24:56 +0200	[thread overview]
Message-ID: <20261015-prehistoric-dynamic-moth-3b8483@quoll> (raw)
In-Reply-To: <c8c453a5-3c4e-484c-9567-4a8d51fcff38@oss.qualcomm.com>

On Wed, Oct 14, 2026 at 10:46:21PM +0530, Mohammad Rafi Shaik wrote:
> 
> 
> On 10/13/2026 12:31 PM, Krzysztof Kozlowski wrote:
> > On Fri, Oct 09, 2026 at 06:42:47PM +0530, Mohammad Rafi Shaik wrote:
> > > The PCM1681 can use an external system clock supplied on the SCK input
> > > pin. Platforms that provide this clock need a way to describe the clock
> > > connection in Device Tree.
> > > 
> > > Document the optional 'clocks' and 'clock-names' properties and define
> > > the clock name as "sck" to represent the external system clock source.
> > > 
> > > This allows boards using an externally supplied SCK clock to accurately
> > > describe the hardware configuration.
> > > 
> > > Reviewed-by: Shawn Guo <shengchao.guo@oss.qualcomm.com>
> > > Signed-off-by: Mohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>
> > > ---
> > >   Documentation/devicetree/bindings/sound/ti,pcm1681.yaml | 7 +++++++
> > >   1 file changed, 7 insertions(+)
> > > 
> > > diff --git a/Documentation/devicetree/bindings/sound/ti,pcm1681.yaml b/Documentation/devicetree/bindings/sound/ti,pcm1681.yaml
> > > index 1f0e6787a..1b3803518 100644
> > > --- a/Documentation/devicetree/bindings/sound/ti,pcm1681.yaml
> > > +++ b/Documentation/devicetree/bindings/sound/ti,pcm1681.yaml
> > > @@ -21,6 +21,13 @@ properties:
> > >     reg:
> > >       maxItems: 1
> > > +  clocks:
> > > +    maxItems: 1
> > > +    description: System clock (SCK)
> > > +
> > > +  clock-names:
> > > +    const: sck
> > 
> > Drop the names. If they are needed for any reason, then use the same
> > name other device uses already, so scki.
> 
> Ack,
> 
> Yes, the clock name is required as it represents the system clock.

I do not understand that reasoning. It can represent anything,  but that
does not mean it is required. Why non-system clock does not need names
and only system clock needs?

> 
> I’ll use scki, consistent with the other implementations.

No, explain why do you need it.

Best regards,
Krzysztof


  reply	other threads:[~2026-10-15  8:25 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-09 13:12 [PATCH v3 0/7] ASoC: qcom: Add Nord audio support Mohammad Rafi Shaik
2026-10-09 13:12 ` [PATCH v3 1/7] ASoC: dt-bindings: ti,pcm1681: Document the optional SCK clock Mohammad Rafi Shaik
2026-10-13  7:01   ` Krzysztof Kozlowski
2026-10-14 17:16     ` Mohammad Rafi Shaik
2026-10-15  8:24       ` Krzysztof Kozlowski [this message]
2026-10-09 13:12 ` [PATCH v3 2/7] ASoC: codec: pcm1681: Add optional SCK clock and runtime PM support Mohammad Rafi Shaik
2026-10-10  3:07   ` Wang, Sen
2026-10-09 13:12 ` [PATCH v3 3/7] ASoC: codec: pcm1681: Add TDM support Mohammad Rafi Shaik
2026-10-10  3:12   ` Wang, Sen
2026-10-09 13:12 ` [PATCH v3 4/7] ASoC: dt-bindings: ti,pcm1681: Document the PCM1681 supplies Mohammad Rafi Shaik
2026-10-12  6:25   ` Krzysztof Kozlowski
2026-10-14 17:18     ` Mohammad Rafi Shaik
2026-10-09 13:12 ` [PATCH v3 5/7] ASoC: codec: pcm1681: Enable " Mohammad Rafi Shaik
2026-10-10  3:13   ` Wang, Sen
2026-10-09 13:12 ` [PATCH v3 6/7] ASoC: dt-bindings: qcom,sm8250: Add Nord sound card Mohammad Rafi Shaik
2026-10-09 13:12 ` [PATCH v3 7/7] ASoC: qcom: sc8280xp: Add Nord sound card support Mohammad Rafi Shaik
2026-10-13  9:09   ` Ajay Kumar Nandam
2026-10-14 17:19     ` Mohammad Rafi Shaik

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=20261015-prehistoric-dynamic-moth-3b8483@quoll \
    --to=krzk@kernel.org \
    --cc=baojun.xu@ti.com \
    --cc=broonie@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=kevin-lu@ti.com \
    --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=mohammad.rafi.shaik@oss.qualcomm.com \
    --cc=perex@perex.cz \
    --cc=robh@kernel.org \
    --cc=sen@ti.com \
    --cc=shengchao.guo@oss.qualcomm.com \
    --cc=shenghao-ding@ti.com \
    --cc=srini@kernel.org \
    --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®