From: Stephan Gerhold <stephan@gerhold.net>
To: Mark Brown <broonie@kernel.org>
Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org,
Liam Girdwood <lgirdwood@gmail.com>,
Rob Herring <robh+dt@kernel.org>,
~postmarketos/upstreaming@lists.sr.ht,
Jonathan Albrieux <jonathan.albrieux@gmail.com>
Subject: Re: [PATCH 1/2] ASoC: dt-bindings: Add schema for "awinic,aw8738"
Date: Tue, 1 Mar 2022 14:54:06 +0100 [thread overview]
Message-ID: <Yh4lfjsDR4qqnc8Y@gerhold.net> (raw)
In-Reply-To: <Yh4hYVJFZJBYp3d9@sirena.org.uk>
On Tue, Mar 01, 2022 at 01:36:33PM +0000, Mark Brown wrote:
> On Tue, Mar 01, 2022 at 01:37:41PM +0100, Stephan Gerhold wrote:
>
> > + awinic,mode:
> > + description: Amplifier mode (number of pulses for one-wire pulse control)
> > + $ref: /schemas/types.yaml#/definitions/uint32
> > + minimum: 1
>
> No maximum?
>
I wasn't sure if we really want to maintain maxima for several different
Awinic part numbers here. For the AW8738 the maximum is 7, for the
AW87318 (note the additional 1 in the name) it would be 10. The driver
part would be identical for both.
... But it's probably cleaner to have the schema check for the real
maximum of the selected compatible. I will add a "maximum" in v2.
> > + sound-name-prefix: true
>
> While it's very likely that someone will want to use this it shouldn't
> be *mandatory* that they do so, there may be no other controls for it to
> collide with (eg, if none of the other components in the audio path have
> controls).
This line just enables the "sound-name-prefix" from the included
name-prefix.yaml. It's not listed in "required" so it's actually
already optional.
Thanks!
Stephan
next prev parent reply other threads:[~2022-03-01 13:55 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-01 12:37 [PATCH 0/2] ASoC: codecs: Add Awinic AW8738 audio amplifier driver Stephan Gerhold
2022-03-01 12:37 ` [PATCH 1/2] ASoC: dt-bindings: Add schema for "awinic,aw8738" Stephan Gerhold
2022-03-01 13:36 ` Mark Brown
2022-03-01 13:54 ` Stephan Gerhold [this message]
2022-03-01 14:05 ` Mark Brown
2022-03-02 18:26 ` Rob Herring
2022-03-01 12:37 ` [PATCH 2/2] ASoC: codecs: Add Awinic AW8738 audio amplifier driver Stephan Gerhold
2022-03-01 12:47 ` Mark Brown
2022-03-01 12:53 ` Stephan Gerhold
2022-03-01 13:26 ` Mark Brown
2022-03-01 13:45 ` Mark Brown
2022-03-01 14:13 ` Stephan Gerhold
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=Yh4lfjsDR4qqnc8Y@gerhold.net \
--to=stephan@gerhold.net \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jonathan.albrieux@gmail.com \
--cc=lgirdwood@gmail.com \
--cc=robh+dt@kernel.org \
--cc=~postmarketos/upstreaming@lists.sr.ht \
/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