From: Conor Dooley <conor.dooley@microchip.com>
To: Yingkun Meng <mengyingkun@loongson.cn>
Cc: Conor Dooley <conor@kernel.org>,
<krzysztof.kozlowski+dt@linaro.org>, <robh+dt@kernel.org>,
<conor+dt@kernel.org>, <broonie@kernel.org>,
<lgirdwood@gmail.com>, <devicetree@vger.kernel.org>,
<linux-kernel@vger.kernel.org>, <alsa-devel@alsa-project.org>,
<loongarch@lists.linux.dev>, <loongson-kernel@lists.loongnix.cn>
Subject: Re: [ PATCH v2 3/3] ASoC: dt-bindings: Add support for Loongson audio card
Date: Tue, 13 Jun 2023 13:46:41 +0100 [thread overview]
Message-ID: <20230613-depletion-garnet-ccc2009111c3@wendy> (raw)
In-Reply-To: <887f9cc4-6457-9d14-8aef-011ff4c9aeda@loongson.cn>
[-- Attachment #1: Type: text/plain, Size: 2084 bytes --]
On Tue, Jun 13, 2023 at 08:38:59PM +0800, Yingkun Meng wrote:
> On 2023/6/13 20:28, Conor Dooley wrote:
> > On Tue, Jun 13, 2023 at 08:23:58PM +0800, Yingkun Meng wrote:
> > > On 2023/6/13 01:24, Conor Dooley wrote:
> > > > On Mon, Jun 12, 2023 at 04:56:14PM +0800, YingKun Meng wrote:
> > > > > From: Yingkun Meng <mengyingkun@loongson.cn>
> > > > >
> > > > > The audio card uses loongson I2S controller present in
> > > > > 7axxx/2kxxx chips to transfer audio data.
> > > > >
> > > > > On loongson platform, the chip has only one I2S controller.
> > > > > +description:
> > > > > + The binding describes the sound card present in loongson
> > > > > + 7axxx/2kxxx platform. The sound card is an ASoC component
> > > > > + which uses Loongson I2S controller to transfer the audio data.
> > > > > +
> > > > > +properties:
> > > > > + compatible:
> > > > > + const: loongson,ls-audio-card
> > > > Reviewing sound stuff is beyond my pay grade, so forgive me if I am off
> > > > the rails here, but this (and the "x"s in the description) look a bit
> > > > odd. Recently, we've noticed quite a few loongson dt-bindings attempting
> > > > to use a single compatible for many different chips.
> > > > Usually you have individual compatibles for the various SoCs with this
> > > > core, which can fall back to a generic one, rather than just adding a
> > > > generic compatible for all devices.
> > > > As far as I know, there's several SoCs fitting 2kxxx, and the format
> > > > being used elsewhere is "loongson,ls2k1000" etc.
> > >
> > > Currently, Loongson has 2K0500/2K1000LA/2K1500/2K2000 chips.
> > >
> > > Here, its' possible to use a single compatible for different chips,
> > >
> > > as the audio device is a logical device, not dependent on chip model.
> > What, may I ask, is a "logical device"?
>
>
> I means it's not a physical one, like "platform bus".
So it is entirely a software construct? Why does it need a dt-binding
then? Your commit message says the controller is present on the device!
Confused,
Conor.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2023-06-13 12:47 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-12 8:56 [ PATCH v2 3/3] ASoC: dt-bindings: Add support for Loongson audio card YingKun Meng
2023-06-12 17:24 ` Conor Dooley
2023-06-13 12:23 ` Yingkun Meng
2023-06-13 12:28 ` Conor Dooley
2023-06-13 12:38 ` Yingkun Meng
2023-06-13 12:46 ` Conor Dooley [this message]
2023-06-13 13:03 ` Yingkun Meng
2023-06-13 13:54 ` Mark Brown
2023-06-13 14:29 ` Conor Dooley
2023-06-13 15:23 ` Mark Brown
-- strict thread matches above, loose matches on Subject: below --
2023-06-12 9:00 YingKun Meng
2023-06-13 8:36 ` Krzysztof Kozlowski
2023-06-14 9:25 ` Yingkun Meng
2023-06-13 8:43 ` Krzysztof Kozlowski
2023-06-14 9:27 ` Yingkun Meng
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=20230613-depletion-garnet-ccc2009111c3@wendy \
--to=conor.dooley@microchip.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=conor@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=loongarch@lists.linux.dev \
--cc=loongson-kernel@lists.loongnix.cn \
--cc=mengyingkun@loongson.cn \
--cc=robh+dt@kernel.org \
/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