From: Rob Herring <robh@kernel.org>
To: David Heidelberg <david@ixit.cz>
Cc: David Rhodes <david.rhodes@cirrus.com>,
Richard Fitzgerald <rf@opensource.cirrus.com>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
patches@opensource.cirrus.com,
Bjorn Helgaas <bhelgaas@google.com>,
linux-sound@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org
Subject: Re: [PATCH v2] ASoC: dt-bindings: Convert cirrus,cs35l36 to DT schema
Date: Wed, 24 Jun 2026 14:45:41 -0500 [thread overview]
Message-ID: <20260624194541.GA672824-robh@kernel.org> (raw)
In-Reply-To: <3873b111-36d5-442e-996c-31d05d23c8e8@ixit.cz>
On Wed, Jun 24, 2026 at 08:39:28PM +0200, David Heidelberg wrote:
> On 24/06/2026 20:17, Rob Herring wrote:
> > On Wed, Jun 24, 2026 at 11:02 AM David Heidelberg via B4 Relay
> > <devnull+david.ixit.cz@kernel.org> wrote:
> > >
> > > From: David Heidelberg <david@ixit.cz>
> > >
> > > Convert CS35L36 Speaker Amplifier to yaml.
> > >
> > > Changes:
> > > - maintainers email to the generic Cirrus email
> > > - Both the codec and downstream worked just fine without
> > > VP-supply provided. Align with datasheet for similar models.
> > > - add dai-common.yaml to cover for '#sound-dai-cells',
> > > 'sound-name-prefix'
> > >
> > > Reviewed-by: David Rhodes <David.Rhodes@cirrus.com>
> >
> > If you are going to take stuff I haven't fixed:
> >
> > Assisted-by: OpenAI:gpt-4
> >
> > (I don't remember the exact flavor I used)
> >
> > > Co-developed-by: Rob Herring (Arm) <robh@kernel.org>
> > > Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
> > > Signed-off-by: David Heidelberg <david@ixit.cz>
> > > ---
> > > Relevant for Pixel 3 / 3XL / 4.
> > > ---
> > > Changes in v2:
> > > - Rename the commit. (Mark)
> > > - Link to v1: https://lore.kernel.org/r/20260618-dt-cirrus-cs35l36-v1-1-1a43515666ad@ixit.cz
> > > ---
> > > .../devicetree/bindings/sound/cirrus,cs35l36.yaml | 224 +++++++++++++++++++++
> > > .../devicetree/bindings/sound/cs35l36.txt | 168 ----------------
> > > 2 files changed, 224 insertions(+), 168 deletions(-)
> > >
> > > diff --git a/Documentation/devicetree/bindings/sound/cirrus,cs35l36.yaml b/Documentation/devicetree/bindings/sound/cirrus,cs35l36.yaml
> > > new file mode 100644
> > > index 0000000000000..af0acaaefb68e
> > > --- /dev/null
> > > +++ b/Documentation/devicetree/bindings/sound/cirrus,cs35l36.yaml
> > > @@ -0,0 +1,224 @@
> > > +# SPDX-License-Identifier: GPL-2.0-only
> > > +%YAML 1.2
> > > +---
> > > +$id: http://devicetree.org/schemas/cirrus,cs35l36.yaml#
> > > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > > +
> > > +title: Cirrus Logic CS35L36 Speaker Amplifier
> > > +
> > > +maintainers:
> > > + - patches@opensource.cirrus.com
> > > + - Bjorn Helgaas <bhelgaas@google.com>
> >
> > Bjorn is not correct. Generally we want a person, not a company list.
>
> I'm adding back James, can I keep the patches at 2nd place?
Yes.
> > > + cirrus,vpbr-thld:
> > > + description: Initial VPBR threshold voltage
> > > + $ref: /schemas/types.yaml#/definitions/uint32
> > > +
> > > + cirrus,vpbr-atk-rate:
> > > + description: Attenuation attack step rate
> > > + $ref: /schemas/types.yaml#/definitions/uint32
> > > +
> > > + cirrus,vpbr-atk-vol:
> > > + description: VP brownout prevention step size
> > > + $ref: /schemas/types.yaml#/definitions/uint32
> > > +
> > > + cirrus,vpbr-max-attn:
> > > + description: Maximum attenuation during VP brownout prevention
> > > + $ref: /schemas/types.yaml#/definitions/uint32
> > > +
> > > + cirrus,vpbr-wait:
> > > + description: Delay between brownout clearance and attenuation release
> > > + $ref: /schemas/types.yaml#/definitions/uint32
> > > +
> > > + cirrus,vpbr-rel-rate:
> > > + description: Attenuation release step rate
> > > + $ref: /schemas/types.yaml#/definitions/uint32
> > > +
> > > + cirrus,vpbr-mute-en:
> > > + description: Mute audio if maximum attenuation reached
> > > + $ref: /schemas/types.yaml#/definitions/uint32
> >
> > Constraints on any of these?
>
> Code just applies whatever is thrown at it, maybe David knows more?
>
> #nodatasheet (but would be lovely to have one)
Unless the driver just takes these values and shoves them straight into
a 32-bit register, the driver should give some clue about the size or
possible values.
Rob
next prev parent reply other threads:[~2026-06-24 19:45 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-24 16:02 [PATCH v2] ASoC: dt-bindings: Convert cirrus,cs35l36 to DT schema David Heidelberg via B4 Relay
2026-06-24 16:02 ` David Heidelberg
2026-06-24 16:07 ` sashiko-bot
2026-06-24 16:41 ` Mark Brown
2026-06-24 17:30 ` Rob Herring (Arm)
2026-06-24 18:17 ` Rob Herring
2026-06-24 18:39 ` David Heidelberg
2026-06-24 19:45 ` Rob Herring [this message]
2026-06-24 20:04 ` David Heidelberg
2026-06-24 20:05 ` Rhodes, David
2026-06-24 21:43 ` Bjorn Helgaas
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=20260624194541.GA672824-robh@kernel.org \
--to=robh@kernel.org \
--cc=bhelgaas@google.com \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=david.rhodes@cirrus.com \
--cc=david@ixit.cz \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=patches@opensource.cirrus.com \
--cc=phone-devel@vger.kernel.org \
--cc=rf@opensource.cirrus.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 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.