All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: David Rhodes <drhodes@opensource.cirrus.com>
Cc: robh@kernel.org, brian.austin@cirrus.com,
	ckeepax@opensource.cirrus.com, patches@opensource.cirrus.com,
	alsa-devel@alsa-project.org, david.rhodes@cirrus.com
Subject: Re: [PATCH v4 2/2] ASoC: cs35l41: Add bindings for CS35L41
Date: Tue, 27 Jul 2021 16:31:08 +0100	[thread overview]
Message-ID: <20210727153108.GU4670@sirena.org.uk> (raw)
In-Reply-To: <20210726223438.1464333-3-drhodes@opensource.cirrus.com>

[-- Attachment #1: Type: text/plain, Size: 1605 bytes --]

On Mon, Jul 26, 2021 at 05:34:38PM -0500, David Rhodes wrote:

> +  cirrus,right-channel-amp:
> +    description:
> +      Boolean to determine which channel
> +      the amplifier is to receive the audio data on. If present the
> +      amplifier receives data on the right channel of I2S data.
> +      If not present the amplifier receives data on the left
> +      channel of I2S data
> +    type: boolean

Does this need to be in the DT or could it be a runtime control (eg, for
a system that supports being rotated to adjust which speaker things go
out of).

> +  cirrus,amp-gain-zc:
> +    description:
> +      Boolean to determine whether to use the amplifier
> +      gain-change zero-crossing feature. If the feature is enabled, any
> +      user-controlled amplifier gain change will occur on a zero-crossing point.
> +      (Default) Disabled
> +    type: boolean

This is usually a runtime control too.  This applies to a bunch of the
properties TBH.

> +  cirrus,classh-bst-overide:
> +    description:
> +      Boolean which will disable Class H tracking and
> +      set Boost voltage to the value in the 'boost-ctl-millivolt' property
> +    type: boolean
> +  cirrus,classh-bst-max-limit:
> +    description:
> +      Value set to the BST_CTL_LIM_EN field.

At some point in the file we stop having a blank line between the
properties.

> +required:
> +  - compatible
> +  - cirrus,boost-peak-milliamp
> +  - cirrus,boost-ind-nanohenry
> +  - cirrus,boost-cap-microfarad

The driver has regulator support but there's no regulator properties
documented anywhere in the binding document.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2021-07-27 15:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-26 22:34 [PATCH v4 0/2] Cirrus Logic CS35L41 Amplifier David Rhodes
2021-07-26 22:34 ` [PATCH v4 1/2] ASoC: cs35l41: CS35L41 Boosted Smart Amplifier David Rhodes
2021-07-26 23:14   ` Pierre-Louis Bossart
2021-07-29 20:03     ` David Rhodes
2021-07-27 15:46   ` Mark Brown
2021-07-26 22:34 ` [PATCH v4 2/2] ASoC: cs35l41: Add bindings for CS35L41 David Rhodes
2021-07-27 15:31   ` Mark Brown [this message]
2021-07-30 15:28     ` David Rhodes
2021-07-30 15:33       ` Mark Brown

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=20210727153108.GU4670@sirena.org.uk \
    --to=broonie@kernel.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=brian.austin@cirrus.com \
    --cc=ckeepax@opensource.cirrus.com \
    --cc=david.rhodes@cirrus.com \
    --cc=drhodes@opensource.cirrus.com \
    --cc=patches@opensource.cirrus.com \
    --cc=robh@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 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.