[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7b8c22e3-75c1-8803-fb32-097d12fbde78@linaro.org>
Date: Wed, 10 May 2023 09:51:01 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Martin Povišer <povik+lin@...ebit.org>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>,
Lars-Peter Clausen <lars@...afoo.de>,
Nuno Sá <nuno.sa@...log.com>
Cc: asahi@...ts.linux.dev, alsa-devel@...a-project.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] ASoC: dt-bindings: Add adi,ssm3515 amp schema
On 09/05/2023 18:38, Martin Povišer wrote:
> Add a DT schema for the SSM3515 amp by Analog Devices. It's a simple
> mono amplifier with digital input.
>
> Signed-off-by: Martin Povišer <povik+lin@...ebit.org>
> + reg:
> + maxItems: 1
> +
> + adi,ana-gain:
> + $ref: /schemas/types.yaml#/definitions/uint32
> + enum: [0, 1, 2, 3]
> + description: |
> + The value to be set in the ANA_GAIN register field on the codec. This determines
> + the full voltage span of the codec's analog output.
> +
> + To quote the datasheet on the available options:
> +
> + 00: 8.4 V Full-Scale Gain Mapping
> + 01: 12.6 V Full-Scale Gain Mapping
> + 10: 14 V Full-Scale Gain Mapping
> + 11: 15 V Full-Scale Gain Mapping
> +
> + '#sound-dai-cells':
> + const: 0
> +
> +required:
> + - compatible
> + - reg
> + - adi,ana-gain
> +
> +additionalProperties: true
uinevaluatedProperties: false instead, so users can have name-prefix.
Best regards,
Krzysztof
Powered by blists - more mailing lists