Commit 58ae9a2a authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Mark Brown

ASoC: dt-bindings: Reference common DAI properties

Reference in all sound components which have '#sound-dai-cells' the
dai-common.yaml schema, which allows to use 'sound-name-prefix'
property.
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tested-by: default avatarNicolas Frattaroli <frattaroli.nicolas@gmail.com>
Acked-by: default avatarNicolas Frattaroli <frattaroli.nicolas@gmail.com>
Link: https://lore.kernel.org/r/20221203160442.69594-2-krzysztof.kozlowski@linaro.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 3fda8532
...@@ -14,6 +14,9 @@ description: | ...@@ -14,6 +14,9 @@ description: |
Analog Devices ADAU1372 four inputs and two outputs codec. Analog Devices ADAU1372 four inputs and two outputs codec.
https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1372.pdf https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1372.pdf
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
enum: enum:
...@@ -42,7 +45,7 @@ required: ...@@ -42,7 +45,7 @@ required:
- clocks - clocks
- clock-names - clock-names
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -51,6 +51,7 @@ required: ...@@ -51,6 +51,7 @@ required:
- AVDD-supply - AVDD-supply
allOf: allOf:
- $ref: dai-common.yaml#
- $ref: /schemas/spi/spi-peripheral-props.yaml# - $ref: /schemas/spi/spi-peripheral-props.yaml#
unevaluatedProperties: false unevaluatedProperties: false
......
...@@ -15,6 +15,9 @@ description: | ...@@ -15,6 +15,9 @@ description: |
standalone mode. standalone mode.
https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU7118.pdf https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU7118.pdf
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
enum: enum:
...@@ -57,7 +60,7 @@ required: ...@@ -57,7 +60,7 @@ required:
- iovdd-supply - iovdd-supply
- dvdd-supply - dvdd-supply
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -9,6 +9,9 @@ title: AK4375 DAC and headphones amplifier ...@@ -9,6 +9,9 @@ title: AK4375 DAC and headphones amplifier
maintainers: maintainers:
- Vincent Knecht <vincent.knecht@mailoo.org> - Vincent Knecht <vincent.knecht@mailoo.org>
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
const: asahi-kasei,ak4375 const: asahi-kasei,ak4375
...@@ -35,7 +38,7 @@ required: ...@@ -35,7 +38,7 @@ required:
- avdd-supply - avdd-supply
- tvdd-supply - tvdd-supply
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -9,6 +9,9 @@ title: AK4613 I2C transmitter ...@@ -9,6 +9,9 @@ title: AK4613 I2C transmitter
maintainers: maintainers:
- Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
const: asahi-kasei,ak4613 const: asahi-kasei,ak4613
...@@ -35,7 +38,7 @@ required: ...@@ -35,7 +38,7 @@ required:
- compatible - compatible
- reg - reg
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -9,6 +9,9 @@ title: AK4642 I2C transmitter ...@@ -9,6 +9,9 @@ title: AK4642 I2C transmitter
maintainers: maintainers:
- Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
enum: enum:
...@@ -37,7 +40,7 @@ required: ...@@ -37,7 +40,7 @@ required:
- compatible - compatible
- reg - reg
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -102,6 +102,7 @@ required: ...@@ -102,6 +102,7 @@ required:
- dma-names - dma-names
allOf: allOf:
- $ref: dai-common.yaml#
- if: - if:
properties: properties:
compatible: compatible:
...@@ -228,7 +229,7 @@ allOf: ...@@ -228,7 +229,7 @@ allOf:
- Mic - Mic
- Speaker - Speaker
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -61,6 +61,7 @@ properties: ...@@ -61,6 +61,7 @@ properties:
maxItems: 1 maxItems: 1
allOf: allOf:
- $ref: dai-common.yaml#
- if: - if:
properties: properties:
compatible: compatible:
...@@ -128,7 +129,7 @@ required: ...@@ -128,7 +129,7 @@ required:
- dmas - dmas
- dma-names - dma-names
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -54,6 +54,7 @@ properties: ...@@ -54,6 +54,7 @@ properties:
maxItems: 1 maxItems: 1
allOf: allOf:
- $ref: dai-common.yaml#
- if: - if:
properties: properties:
compatible: compatible:
...@@ -104,7 +105,7 @@ required: ...@@ -104,7 +105,7 @@ required:
- dmas - dmas
- dma-names - dma-names
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -9,6 +9,9 @@ title: Allwinner H6 DMIC ...@@ -9,6 +9,9 @@ title: Allwinner H6 DMIC
maintainers: maintainers:
- Ban Tao <fengzheng923@gmail.com> - Ban Tao <fengzheng923@gmail.com>
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
oneOf: oneOf:
...@@ -59,7 +62,7 @@ required: ...@@ -59,7 +62,7 @@ required:
- dma-names - dma-names
- resets - resets
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -10,6 +10,9 @@ maintainers: ...@@ -10,6 +10,9 @@ maintainers:
- Chen-Yu Tsai <wens@csie.org> - Chen-Yu Tsai <wens@csie.org>
- Maxime Ripard <mripard@kernel.org> - Maxime Ripard <mripard@kernel.org>
allOf:
- $ref: dai-common.yaml#
properties: properties:
"#sound-dai-cells": "#sound-dai-cells":
minimum: 0 minimum: 0
...@@ -49,7 +52,7 @@ required: ...@@ -49,7 +52,7 @@ required:
- clocks - clocks
- clock-names - clock-names
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -14,6 +14,9 @@ description: | ...@@ -14,6 +14,9 @@ description: |
maintainers: maintainers:
- Martin Povišer <povik+lin@cutebit.org> - Martin Povišer <povik+lin@cutebit.org>
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
items: items:
...@@ -106,7 +109,7 @@ required: ...@@ -106,7 +109,7 @@ required:
- power-domains - power-domains
- '#sound-dai-cells' - '#sound-dai-cells'
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -146,6 +146,7 @@ required: ...@@ -146,6 +146,7 @@ required:
- "#sound-dai-cells" - "#sound-dai-cells"
allOf: allOf:
- $ref: dai-common.yaml#
- if: - if:
properties: properties:
cirrus,boost-type: cirrus,boost-type:
...@@ -171,7 +172,7 @@ allOf: ...@@ -171,7 +172,7 @@ allOf:
cirrus,gpio1-src-select: cirrus,gpio1-src-select:
enum: [1] enum: [1]
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -14,6 +14,9 @@ description: | ...@@ -14,6 +14,9 @@ description: |
CS35L45 is a Boosted Mono Class D Amplifier with DSP CS35L45 is a Boosted Mono Class D Amplifier with DSP
Speaker Protection and Adaptive Battery Management. Speaker Protection and Adaptive Battery Management.
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
enum: enum:
...@@ -52,7 +55,7 @@ required: ...@@ -52,7 +55,7 @@ required:
- reg - reg
- "#sound-dai-cells" - "#sound-dai-cells"
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -9,6 +9,9 @@ title: CS42L51 audio codec DT bindings ...@@ -9,6 +9,9 @@ title: CS42L51 audio codec DT bindings
maintainers: maintainers:
- Olivier Moysan <olivier.moysan@foss.st.com> - Olivier Moysan <olivier.moysan@foss.st.com>
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
const: cirrus,cs42l51 const: cirrus,cs42l51
...@@ -46,7 +49,7 @@ required: ...@@ -46,7 +49,7 @@ required:
- reg - reg
- "#sound-dai-cells" - "#sound-dai-cells"
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -24,6 +24,9 @@ description: | ...@@ -24,6 +24,9 @@ description: |
This binding must be part of the Lochnagar MFD binding: This binding must be part of the Lochnagar MFD binding:
[1] ../mfd/cirrus,lochnagar.yaml [1] ../mfd/cirrus,lochnagar.yaml
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
enum: enum:
...@@ -49,4 +52,4 @@ required: ...@@ -49,4 +52,4 @@ required:
- clocks - clocks
- clock-names - clock-names
additionalProperties: false unevaluatedProperties: false
...@@ -22,6 +22,9 @@ description: | ...@@ -22,6 +22,9 @@ description: |
The properties are all contained in the parent MFD node. The properties are all contained in the parent MFD node.
allOf:
- $ref: dai-common.yaml#
properties: properties:
'#sound-dai-cells': '#sound-dai-cells':
description: description:
......
...@@ -167,6 +167,7 @@ required: ...@@ -167,6 +167,7 @@ required:
- interrupt-names - interrupt-names
allOf: allOf:
- $ref: dai-common.yaml#
- if: - if:
properties: properties:
opmode: opmode:
...@@ -177,7 +178,7 @@ allOf: ...@@ -177,7 +178,7 @@ allOf:
required: required:
- tdm-slots - tdm-slots
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -10,6 +10,9 @@ maintainers: ...@@ -10,6 +10,9 @@ maintainers:
- Daniel Drake <drake@endlessm.com> - Daniel Drake <drake@endlessm.com>
- Katsuhiro Suzuki <katsuhiro@katsuster.net> - Katsuhiro Suzuki <katsuhiro@katsuster.net>
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
const: everest,es8316 const: everest,es8316
...@@ -33,7 +36,7 @@ required: ...@@ -33,7 +36,7 @@ required:
- reg - reg
- "#sound-dai-cells" - "#sound-dai-cells"
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -140,6 +140,7 @@ properties: ...@@ -140,6 +140,7 @@ properties:
description: optional, some dts node didn't add it. description: optional, some dts node didn't add it.
allOf: allOf:
- $ref: dai-common.yaml#
- if: - if:
properties: properties:
compatible: compatible:
...@@ -181,7 +182,7 @@ required: ...@@ -181,7 +182,7 @@ required:
- dma-names - dma-names
- interrupts - interrupts
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -17,6 +17,9 @@ description: | ...@@ -17,6 +17,9 @@ description: |
subnode of a cros-ec node. subnode of a cros-ec node.
(see Documentation/devicetree/bindings/mfd/google,cros-ec.yaml). (see Documentation/devicetree/bindings/mfd/google,cros-ec.yaml).
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
const: google,cros-ec-codec const: google,cros-ec-codec
...@@ -42,7 +45,7 @@ required: ...@@ -42,7 +45,7 @@ required:
- compatible - compatible
- '#sound-dai-cells' - '#sound-dai-cells'
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -9,6 +9,9 @@ title: Ingenic SoCs AC97 / I2S Controller (AIC) DT bindings ...@@ -9,6 +9,9 @@ title: Ingenic SoCs AC97 / I2S Controller (AIC) DT bindings
maintainers: maintainers:
- Paul Cercueil <paul@crapouillou.net> - Paul Cercueil <paul@crapouillou.net>
allOf:
- $ref: dai-common.yaml#
properties: properties:
$nodename: $nodename:
pattern: '^audio-controller@' pattern: '^audio-controller@'
...@@ -53,7 +56,7 @@ properties: ...@@ -53,7 +56,7 @@ properties:
- const: rx - const: rx
- const: tx - const: tx
additionalProperties: false unevaluatedProperties: false
required: required:
- compatible - compatible
......
...@@ -9,6 +9,9 @@ title: Ingenic JZ47xx internal codec DT bindings ...@@ -9,6 +9,9 @@ title: Ingenic JZ47xx internal codec DT bindings
maintainers: maintainers:
- Paul Cercueil <paul@crapouillou.net> - Paul Cercueil <paul@crapouillou.net>
allOf:
- $ref: dai-common.yaml#
properties: properties:
$nodename: $nodename:
pattern: '^audio-codec@.*' pattern: '^audio-codec@.*'
...@@ -37,7 +40,7 @@ properties: ...@@ -37,7 +40,7 @@ properties:
'#sound-dai-cells': '#sound-dai-cells':
const: 0 const: 0
additionalProperties: false unevaluatedProperties: false
required: required:
- compatible - compatible
......
...@@ -13,6 +13,9 @@ maintainers: ...@@ -13,6 +13,9 @@ maintainers:
description: | description: |
Intel KeemBay I2S Intel KeemBay I2S
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
enum: enum:
...@@ -64,7 +67,7 @@ required: ...@@ -64,7 +67,7 @@ required:
- clock-names - clock-names
- interrupts - interrupts
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -9,6 +9,9 @@ title: Bluetooth SCO Audio Codec ...@@ -9,6 +9,9 @@ title: Bluetooth SCO Audio Codec
maintainers: maintainers:
- Mark Brown <broonie@kernel.org> - Mark Brown <broonie@kernel.org>
allOf:
- $ref: dai-common.yaml#
properties: properties:
'#sound-dai-cells': '#sound-dai-cells':
enum: enum:
...@@ -26,7 +29,7 @@ required: ...@@ -26,7 +29,7 @@ required:
- '#sound-dai-cells' - '#sound-dai-cells'
- compatible - compatible
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -9,6 +9,9 @@ title: Marvel SSPA Digital Audio Interface Bindings ...@@ -9,6 +9,9 @@ title: Marvel SSPA Digital Audio Interface Bindings
maintainers: maintainers:
- Lubomir Rintel <lkundrak@v3.sk> - Lubomir Rintel <lkundrak@v3.sk>
allOf:
- $ref: dai-common.yaml#
properties: properties:
$nodename: $nodename:
pattern: "^audio-controller(@.*)?$" pattern: "^audio-controller(@.*)?$"
...@@ -73,7 +76,7 @@ required: ...@@ -73,7 +76,7 @@ required:
- dma-names - dma-names
- port - port
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -66,11 +66,13 @@ properties: ...@@ -66,11 +66,13 @@ properties:
enum: [0, 1, 2, 3] enum: [0, 1, 2, 3]
default: 0 default: 0
if: allOf:
- $ref: dai-common.yaml#
- if:
properties: properties:
compatible: compatible:
const: microchip,sam9x60-i2smcc const: microchip,sam9x60-i2smcc
then: then:
properties: properties:
microchip,tdm-data-pair: false microchip,tdm-data-pair: false
...@@ -84,7 +86,7 @@ required: ...@@ -84,7 +86,7 @@ required:
- dmas - dmas
- dma-names - dma-names
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -13,6 +13,9 @@ description: ...@@ -13,6 +13,9 @@ description:
The Microchip Sony/Philips Digital Interface Transmitter is a serial port The Microchip Sony/Philips Digital Interface Transmitter is a serial port
compliant with the IEC-60958 standard. compliant with the IEC-60958 standard.
allOf:
- $ref: dai-common.yaml#
properties: properties:
"#sound-dai-cells": "#sound-dai-cells":
const: 0 const: 0
...@@ -53,7 +56,7 @@ required: ...@@ -53,7 +56,7 @@ required:
- dmas - dmas
- dma-names - dma-names
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -13,6 +13,9 @@ description: ...@@ -13,6 +13,9 @@ description:
The Microchip Pulse Density Microphone Controller (PDMC) interfaces up to 4 The Microchip Pulse Density Microphone Controller (PDMC) interfaces up to 4
digital microphones having Pulse Density Modulated (PDM) outputs. digital microphones having Pulse Density Modulated (PDM) outputs.
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
const: microchip,sama7g5-pdmc const: microchip,sama7g5-pdmc
...@@ -75,7 +78,7 @@ required: ...@@ -75,7 +78,7 @@ required:
- dma-names - dma-names
- microchip,mic-pos - microchip,mic-pos
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -16,6 +16,9 @@ maintainers: ...@@ -16,6 +16,9 @@ maintainers:
- Thierry Reding <treding@nvidia.com> - Thierry Reding <treding@nvidia.com>
- Jon Hunter <jonathanh@nvidia.com> - Jon Hunter <jonathanh@nvidia.com>
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
const: nvidia,tegra20-spdif const: nvidia,tegra20-spdif
...@@ -66,7 +69,7 @@ required: ...@@ -66,7 +69,7 @@ required:
- dma-names - dma-names
- "#sound-dai-cells" - "#sound-dai-cells"
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -109,9 +109,10 @@ required: ...@@ -109,9 +109,10 @@ required:
- interrupt-names - interrupt-names
- '#sound-dai-cells' - '#sound-dai-cells'
additionalProperties: false unevaluatedProperties: false
allOf: allOf:
- $ref: dai-common.yaml#
- if: - if:
properties: properties:
compatible: compatible:
......
...@@ -9,6 +9,9 @@ title: LPASS(Low Power Audio Subsystem) RX Macro audio codec DT bindings ...@@ -9,6 +9,9 @@ title: LPASS(Low Power Audio Subsystem) RX Macro audio codec DT bindings
maintainers: maintainers:
- Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
enum: enum:
...@@ -58,7 +61,7 @@ required: ...@@ -58,7 +61,7 @@ required:
- reg - reg
- "#sound-dai-cells" - "#sound-dai-cells"
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -9,6 +9,9 @@ title: LPASS(Low Power Audio Subsystem) TX Macro audio codec DT bindings ...@@ -9,6 +9,9 @@ title: LPASS(Low Power Audio Subsystem) TX Macro audio codec DT bindings
maintainers: maintainers:
- Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
enum: enum:
...@@ -62,7 +65,7 @@ required: ...@@ -62,7 +65,7 @@ required:
- reg - reg
- "#sound-dai-cells" - "#sound-dai-cells"
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -9,6 +9,9 @@ title: LPASS(Low Power Audio Subsystem) VA Macro audio codec DT bindings ...@@ -9,6 +9,9 @@ title: LPASS(Low Power Audio Subsystem) VA Macro audio codec DT bindings
maintainers: maintainers:
- Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
enum: enum:
...@@ -61,7 +64,7 @@ required: ...@@ -61,7 +64,7 @@ required:
- reg - reg
- "#sound-dai-cells" - "#sound-dai-cells"
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -9,6 +9,9 @@ title: LPASS(Low Power Audio Subsystem) VA Macro audio codec DT bindings ...@@ -9,6 +9,9 @@ title: LPASS(Low Power Audio Subsystem) VA Macro audio codec DT bindings
maintainers: maintainers:
- Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
enum: enum:
...@@ -52,7 +55,7 @@ required: ...@@ -52,7 +55,7 @@ required:
- reg - reg
- "#sound-dai-cells" - "#sound-dai-cells"
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -14,6 +14,9 @@ description: ...@@ -14,6 +14,9 @@ description:
Qualcomm Audio Device Manager (Q6ADM) routing node represents routing Qualcomm Audio Device Manager (Q6ADM) routing node represents routing
specific configuration. specific configuration.
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
enum: enum:
...@@ -26,7 +29,7 @@ required: ...@@ -26,7 +29,7 @@ required:
- compatible - compatible
- "#sound-dai-cells" - "#sound-dai-cells"
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -10,6 +10,9 @@ maintainers: ...@@ -10,6 +10,9 @@ maintainers:
- Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
- Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
enum: enum:
...@@ -22,7 +25,7 @@ required: ...@@ -22,7 +25,7 @@ required:
- compatible - compatible
- '#sound-dai-cells' - '#sound-dai-cells'
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -11,6 +11,7 @@ maintainers: ...@@ -11,6 +11,7 @@ maintainers:
- Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
allOf: allOf:
- $ref: dai-common.yaml#
- $ref: /schemas/soc/qcom/qcom,apr-services.yaml# - $ref: /schemas/soc/qcom/qcom,apr-services.yaml#
properties: properties:
......
...@@ -13,6 +13,9 @@ description: | ...@@ -13,6 +13,9 @@ description: |
Qualcomm WCD9380/WCD9385 Codec is a standalone Hi-Fi audio codec IC. Qualcomm WCD9380/WCD9385 Codec is a standalone Hi-Fi audio codec IC.
It has RX and TX Soundwire slave devices. It has RX and TX Soundwire slave devices.
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
enum: enum:
...@@ -106,7 +109,7 @@ required: ...@@ -106,7 +109,7 @@ required:
- qcom,micbias4-microvolt - qcom,micbias4-microvolt
- "#sound-dai-cells" - "#sound-dai-cells"
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -15,6 +15,9 @@ description: | ...@@ -15,6 +15,9 @@ description: |
Their primary operating mode uses a SoundWire digital audio Their primary operating mode uses a SoundWire digital audio
interface. This binding is for SoundWire interface. interface. This binding is for SoundWire interface.
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
const: sdw10217020200 const: sdw10217020200
...@@ -43,7 +46,7 @@ required: ...@@ -43,7 +46,7 @@ required:
- "#thermal-sensor-cells" - "#thermal-sensor-cells"
- "#sound-dai-cells" - "#sound-dai-cells"
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
...@@ -61,6 +64,7 @@ examples: ...@@ -61,6 +64,7 @@ examples:
vdd-supply = <&vreg_s10b_1p8>; vdd-supply = <&vreg_s10b_1p8>;
#thermal-sensor-cells = <0>; #thermal-sensor-cells = <0>;
#sound-dai-cells = <0>; #sound-dai-cells = <0>;
sound-name-prefix = "SpkrLeft";
}; };
speaker@0,2 { speaker@0,2 {
...@@ -70,6 +74,7 @@ examples: ...@@ -70,6 +74,7 @@ examples:
vdd-supply = <&vreg_s10b_1p8>; vdd-supply = <&vreg_s10b_1p8>;
#thermal-sensor-cells = <0>; #thermal-sensor-cells = <0>;
#sound-dai-cells = <0>; #sound-dai-cells = <0>;
sound-name-prefix = "SpkrRight";
}; };
}; };
......
...@@ -12,6 +12,9 @@ maintainers: ...@@ -12,6 +12,9 @@ maintainers:
description: | description: |
Rt5682s(ALC5682I-VS) is a rt5682i variant which supports I2C only. Rt5682s(ALC5682I-VS) is a rt5682i variant which supports I2C only.
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
const: realtek,rt5682s const: realtek,rt5682s
...@@ -104,7 +107,7 @@ properties: ...@@ -104,7 +107,7 @@ properties:
description: Regulator supplying power to the digital core and charge pump description: Regulator supplying power to the digital core and charge pump
through the LDO1_IN pin. through the LDO1_IN pin.
additionalProperties: false unevaluatedProperties: false
required: required:
- compatible - compatible
......
...@@ -9,6 +9,9 @@ title: Renesas FIFO-buffered Serial Interface (FSI) ...@@ -9,6 +9,9 @@ title: Renesas FIFO-buffered Serial Interface (FSI)
maintainers: maintainers:
- Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
allOf:
- $ref: dai-common.yaml#
properties: properties:
$nodename: $nodename:
pattern: "^sound@.*" pattern: "^sound@.*"
...@@ -64,7 +67,7 @@ required: ...@@ -64,7 +67,7 @@ required:
- power-domains - power-domains
- '#sound-dai-cells' - '#sound-dai-cells'
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -274,6 +274,7 @@ required: ...@@ -274,6 +274,7 @@ required:
- "#sound-dai-cells" - "#sound-dai-cells"
allOf: allOf:
- $ref: dai-common.yaml#
- if: - if:
properties: properties:
compatible: compatible:
...@@ -304,7 +305,7 @@ allOf: ...@@ -304,7 +305,7 @@ allOf:
- ssi - ssi
- audmapp - audmapp
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -9,6 +9,9 @@ title: Renesas RZ/{G2L,V2L} ASoC Sound Serial Interface (SSIF-2) ...@@ -9,6 +9,9 @@ title: Renesas RZ/{G2L,V2L} ASoC Sound Serial Interface (SSIF-2)
maintainers: maintainers:
- Biju Das <biju.das.jz@bp.renesas.com> - Biju Das <biju.das.jz@bp.renesas.com>
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
items: items:
...@@ -90,7 +93,7 @@ required: ...@@ -90,7 +93,7 @@ required:
- resets - resets
- '#sound-dai-cells' - '#sound-dai-cells'
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -16,6 +16,9 @@ description: | ...@@ -16,6 +16,9 @@ description: |
applications like as TV, monitors. home entertainment, electronic music applications like as TV, monitors. home entertainment, electronic music
equipment. equipment.
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
enum: enum:
...@@ -42,7 +45,7 @@ required: ...@@ -42,7 +45,7 @@ required:
- dvdd-supply - dvdd-supply
- '#sound-dai-cells' - '#sound-dai-cells'
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -14,6 +14,9 @@ description: ...@@ -14,6 +14,9 @@ description:
maintainers: maintainers:
- Nicolas Frattaroli <frattaroli.nicolas@gmail.com> - Nicolas Frattaroli <frattaroli.nicolas@gmail.com>
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
enum: enum:
...@@ -138,7 +141,7 @@ required: ...@@ -138,7 +141,7 @@ required:
- reset-names - reset-names
- "#sound-dai-cells" - "#sound-dai-cells"
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -16,6 +16,9 @@ description: ...@@ -16,6 +16,9 @@ description:
maintainers: maintainers:
- Heiko Stuebner <heiko@sntech.de> - Heiko Stuebner <heiko@sntech.de>
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
enum: enum:
...@@ -83,7 +86,7 @@ required: ...@@ -83,7 +86,7 @@ required:
- dma-names - dma-names
- "#sound-dai-cells" - "#sound-dai-cells"
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -8,6 +8,9 @@ title: Rockchip rk3328 internal codec ...@@ -8,6 +8,9 @@ title: Rockchip rk3328 internal codec
maintainers: maintainers:
- Heiko Stuebner <heiko@sntech.de> - Heiko Stuebner <heiko@sntech.de>
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
...@@ -53,7 +56,7 @@ required: ...@@ -53,7 +56,7 @@ required:
- rockchip,grf - rockchip,grf
- "#sound-dai-cells" - "#sound-dai-cells"
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -13,6 +13,9 @@ description: ...@@ -13,6 +13,9 @@ description:
maintainers: maintainers:
- Heiko Stuebner <heiko@sntech.de> - Heiko Stuebner <heiko@sntech.de>
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
oneOf: oneOf:
...@@ -111,7 +114,7 @@ required: ...@@ -111,7 +114,7 @@ required:
- dma-names - dma-names
- "#sound-dai-cells" - "#sound-dai-cells"
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -75,17 +75,18 @@ required: ...@@ -75,17 +75,18 @@ required:
- dma-names - dma-names
- "#sound-dai-cells" - "#sound-dai-cells"
if: allOf:
- $ref: dai-common.yaml#
- if:
properties: properties:
compatible: compatible:
contains: contains:
const: rockchip,rk3288-spdif const: rockchip,rk3288-spdif
then:
then:
required: required:
- rockchip,grf - rockchip,grf
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -14,6 +14,9 @@ description: ...@@ -14,6 +14,9 @@ description:
maintainers: maintainers:
- Katsuhiro Suzuki <katsuhiro@katsuster.net> - Katsuhiro Suzuki <katsuhiro@katsuster.net>
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
const: rohm,bd28623 const: rohm,bd28623
...@@ -50,7 +53,7 @@ required: ...@@ -50,7 +53,7 @@ required:
- VCCP2-supply - VCCP2-supply
- "#sound-dai-cells" - "#sound-dai-cells"
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -10,6 +10,9 @@ maintainers: ...@@ -10,6 +10,9 @@ maintainers:
- Krzysztof Kozlowski <krzk@kernel.org> - Krzysztof Kozlowski <krzk@kernel.org>
- Sylwester Nawrocki <s.nawrocki@samsung.com> - Sylwester Nawrocki <s.nawrocki@samsung.com>
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
description: | description: |
...@@ -124,7 +127,7 @@ required: ...@@ -124,7 +127,7 @@ required:
- clocks - clocks
- clock-names - clock-names
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -9,6 +9,9 @@ title: Freescale SGTL5000 Stereo Codec ...@@ -9,6 +9,9 @@ title: Freescale SGTL5000 Stereo Codec
maintainers: maintainers:
- Fabio Estevam <festevam@gmail.com> - Fabio Estevam <festevam@gmail.com>
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
const: fsl,sgtl5000 const: fsl,sgtl5000
...@@ -88,7 +91,7 @@ required: ...@@ -88,7 +91,7 @@ required:
- VDDA-supply - VDDA-supply
- VDDIO-supply - VDDIO-supply
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -50,18 +50,18 @@ properties: ...@@ -50,18 +50,18 @@ properties:
- const: rx - const: rx
minItems: 1 minItems: 1
if: allOf:
- $ref: dai-common.yaml#
- if:
properties: properties:
compatible: compatible:
contains: contains:
const: canaan,k210-i2s const: canaan,k210-i2s
then:
then:
properties: properties:
"#sound-dai-cells": "#sound-dai-cells":
const: 1 const: 1
else:
else:
properties: properties:
"#sound-dai-cells": "#sound-dai-cells":
const: 0 const: 0
......
...@@ -9,6 +9,9 @@ title: UniPhier AIO audio system ...@@ -9,6 +9,9 @@ title: UniPhier AIO audio system
maintainers: maintainers:
- <alsa-devel@alsa-project.org> - <alsa-devel@alsa-project.org>
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
enum: enum:
...@@ -70,7 +73,7 @@ patternProperties: ...@@ -70,7 +73,7 @@ patternProperties:
$ref: audio-graph-port.yaml# $ref: audio-graph-port.yaml#
unevaluatedProperties: false unevaluatedProperties: false
additionalProperties: false unevaluatedProperties: false
required: required:
- compatible - compatible
......
...@@ -9,6 +9,9 @@ title: UniPhier EVEA SoC-internal sound codec ...@@ -9,6 +9,9 @@ title: UniPhier EVEA SoC-internal sound codec
maintainers: maintainers:
- <alsa-devel@alsa-project.org> - <alsa-devel@alsa-project.org>
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
const: socionext,uniphier-evea const: socionext,uniphier-evea
...@@ -48,7 +51,7 @@ patternProperties: ...@@ -48,7 +51,7 @@ patternProperties:
$ref: audio-graph-port.yaml# $ref: audio-graph-port.yaml#
unevaluatedProperties: false unevaluatedProperties: false
additionalProperties: false unevaluatedProperties: false
required: required:
- compatible - compatible
......
...@@ -13,6 +13,9 @@ description: ...@@ -13,6 +13,9 @@ description:
The SPI/I2S block supports I2S/PCM protocols when configured on I2S mode. The SPI/I2S block supports I2S/PCM protocols when configured on I2S mode.
Only some SPI instances support I2S. Only some SPI instances support I2S.
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
enum: enum:
...@@ -68,7 +71,7 @@ required: ...@@ -68,7 +71,7 @@ required:
- dmas - dmas
- dma-names - dma-names
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -13,6 +13,9 @@ description: | ...@@ -13,6 +13,9 @@ description: |
The SPDIFRX peripheral, is designed to receive an S/PDIF flow compliant with The SPDIFRX peripheral, is designed to receive an S/PDIF flow compliant with
IEC-60958 and IEC-61937. IEC-60958 and IEC-61937.
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
enum: enum:
...@@ -57,7 +60,7 @@ required: ...@@ -57,7 +60,7 @@ required:
- dmas - dmas
- dma-names - dma-names
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -22,6 +22,9 @@ description: | ...@@ -22,6 +22,9 @@ description: |
https://www.ti.com/lit/gpn/tas2564 https://www.ti.com/lit/gpn/tas2564
https://www.ti.com/lit/gpn/tas2110 https://www.ti.com/lit/gpn/tas2110
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
enum: enum:
...@@ -58,7 +61,7 @@ required: ...@@ -58,7 +61,7 @@ required:
- compatible - compatible
- reg - reg
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -16,6 +16,9 @@ description: | ...@@ -16,6 +16,9 @@ description: |
Integrated speaker voltage and current sense provides for Integrated speaker voltage and current sense provides for
real time monitoring of loudspeaker behavior. real time monitoring of loudspeaker behavior.
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
enum: enum:
...@@ -60,7 +63,7 @@ required: ...@@ -60,7 +63,7 @@ required:
- compatible - compatible
- reg - reg
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -16,6 +16,9 @@ description: | ...@@ -16,6 +16,9 @@ description: |
loudspeakers. Integrated speaker voltage and current sense provides loudspeakers. Integrated speaker voltage and current sense provides
for real time monitoring of loudspeaker behavior. for real time monitoring of loudspeaker behavior.
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
enum: enum:
...@@ -53,7 +56,7 @@ required: ...@@ -53,7 +56,7 @@ required:
- compatible - compatible
- reg - reg
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -14,6 +14,9 @@ description: | ...@@ -14,6 +14,9 @@ description: |
https://www.ti.com/product/TLV320ADC3001 https://www.ti.com/product/TLV320ADC3001
https://www.ti.com/product/TLV320ADC3101 https://www.ti.com/product/TLV320ADC3101
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
enum: enum:
...@@ -106,7 +109,7 @@ required: ...@@ -106,7 +109,7 @@ required:
- reg - reg
- clocks - clocks
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -16,6 +16,9 @@ description: | ...@@ -16,6 +16,9 @@ description: |
This document lists sound specific bindings, see the primary binding This document lists sound specific bindings, see the primary binding
document ../mfd/arizona.yaml document ../mfd/arizona.yaml
allOf:
- $ref: dai-common.yaml#
properties: properties:
'#sound-dai-cells': '#sound-dai-cells':
description: description:
......
...@@ -61,6 +61,7 @@ required: ...@@ -61,6 +61,7 @@ required:
- DCVDD-supply - DCVDD-supply
allOf: allOf:
- $ref: dai-common.yaml#
- $ref: /schemas/spi/spi-peripheral-props.yaml# - $ref: /schemas/spi/spi-peripheral-props.yaml#
unevaluatedProperties: false unevaluatedProperties: false
......
...@@ -9,6 +9,9 @@ title: Wolfson WM8940 Codec ...@@ -9,6 +9,9 @@ title: Wolfson WM8940 Codec
maintainers: maintainers:
- patches@opensource.cirrus.com - patches@opensource.cirrus.com
allOf:
- $ref: dai-common.yaml#
properties: properties:
'#sound-dai-cells': '#sound-dai-cells':
const: 0 const: 0
...@@ -27,7 +30,7 @@ required: ...@@ -27,7 +30,7 @@ required:
- compatible - compatible
- reg - reg
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -9,6 +9,9 @@ title: Wolfson WM8961 Ultra-Low Power Stereo CODEC ...@@ -9,6 +9,9 @@ title: Wolfson WM8961 Ultra-Low Power Stereo CODEC
maintainers: maintainers:
- patches@opensource.cirrus.com - patches@opensource.cirrus.com
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
const: wlf,wm8961 const: wlf,wm8961
...@@ -24,7 +27,7 @@ required: ...@@ -24,7 +27,7 @@ required:
- reg - reg
- '#sound-dai-cells' - '#sound-dai-cells'
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -9,6 +9,9 @@ title: Wolfson WM8962 Ultra-Low Power Stereo CODEC ...@@ -9,6 +9,9 @@ title: Wolfson WM8962 Ultra-Low Power Stereo CODEC
maintainers: maintainers:
- patches@opensource.cirrus.com - patches@opensource.cirrus.com
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
const: wlf,wm8962 const: wlf,wm8962
...@@ -87,7 +90,7 @@ required: ...@@ -87,7 +90,7 @@ required:
- SPKVDD1-supply - SPKVDD1-supply
- SPKVDD2-supply - SPKVDD2-supply
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -9,6 +9,9 @@ title: Wolfson WM8978 Codec ...@@ -9,6 +9,9 @@ title: Wolfson WM8978 Codec
maintainers: maintainers:
- patches@opensource.cirrus.com - patches@opensource.cirrus.com
allOf:
- $ref: dai-common.yaml#
properties: properties:
'#sound-dai-cells': '#sound-dai-cells':
const: 0 const: 0
...@@ -27,7 +30,7 @@ required: ...@@ -27,7 +30,7 @@ required:
- compatible - compatible
- reg - reg
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -15,6 +15,9 @@ maintainers: ...@@ -15,6 +15,9 @@ maintainers:
- Jaroslav Kysela <perex@perex.cz> - Jaroslav Kysela <perex@perex.cz>
- Takashi Iwai <tiwai@suse.com> - Takashi Iwai <tiwai@suse.com>
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
const: mscc,zl38060 const: mscc,zl38060
...@@ -48,7 +51,7 @@ required: ...@@ -48,7 +51,7 @@ required:
- gpio-controller - gpio-controller
- '#sound-dai-cells' - '#sound-dai-cells'
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment