Commit d9e909e2 authored by Rob Herring's avatar Rob Herring Committed by Mark Brown

ASoC: dt-bindings: Drop unneeded quotes

Cleanup bindings dropping unneeded quotes. Once all these are fixed,
checking for this can be enabled in yamllint.
Signed-off-by: default avatarRob Herring <robh@kernel.org>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230317233612.3967849-1-robh@kernel.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent e32acf7b
...@@ -32,7 +32,7 @@ properties: ...@@ -32,7 +32,7 @@ properties:
maxItems: 1 maxItems: 1
clock-names: clock-names:
const: "mclk" const: mclk
powerdown-gpios: powerdown-gpios:
description: GPIO used for hardware power-down. description: GPIO used for hardware power-down.
......
...@@ -41,21 +41,21 @@ properties: ...@@ -41,21 +41,21 @@ properties:
adi,vmon-slot-no: adi,vmon-slot-no:
description: slot number of the voltage sense monitor description: slot number of the voltage sense monitor
$ref: "/schemas/types.yaml#/definitions/uint32" $ref: /schemas/types.yaml#/definitions/uint32
minimum: 0 minimum: 0
maximum: 15 maximum: 15
default: 0 default: 0
adi,imon-slot-no: adi,imon-slot-no:
description: slot number of the current sense monitor description: slot number of the current sense monitor
$ref: "/schemas/types.yaml#/definitions/uint32" $ref: /schemas/types.yaml#/definitions/uint32
minimum: 0 minimum: 0
maximum: 15 maximum: 15
default: 1 default: 1
adi,spkfb-slot-no: adi,spkfb-slot-no:
description: slot number of speaker DSP monitor description: slot number of speaker DSP monitor
$ref: "/schemas/types.yaml#/definitions/uint32" $ref: /schemas/types.yaml#/definitions/uint32
minimum: 0 minimum: 0
maximum: 15 maximum: 15
default: 2 default: 2
...@@ -64,7 +64,7 @@ properties: ...@@ -64,7 +64,7 @@ properties:
description: description:
Selects the PCM data input channel that is routed to the speaker Selects the PCM data input channel that is routed to the speaker
audio processing bypass path. audio processing bypass path.
$ref: "/schemas/types.yaml#/definitions/uint32" $ref: /schemas/types.yaml#/definitions/uint32
minimum: 0 minimum: 0
maximum: 15 maximum: 15
default: 0 default: 0
......
...@@ -16,19 +16,19 @@ definitions: ...@@ -16,19 +16,19 @@ definitions:
$ref: /schemas/graph.yaml#/$defs/port-base $ref: /schemas/graph.yaml#/$defs/port-base
properties: properties:
convert-rate: convert-rate:
$ref: "/schemas/sound/dai-params.yaml#/$defs/dai-sample-rate" $ref: /schemas/sound/dai-params.yaml#/$defs/dai-sample-rate
convert-channels: convert-channels:
$ref: "/schemas/sound/dai-params.yaml#/$defs/dai-channels" $ref: /schemas/sound/dai-params.yaml#/$defs/dai-channels
convert-sample-format: convert-sample-format:
$ref: "/schemas/sound/dai-params.yaml#/$defs/dai-sample-format" $ref: /schemas/sound/dai-params.yaml#/$defs/dai-sample-format
mclk-fs: mclk-fs:
$ref: "simple-card.yaml#/definitions/mclk-fs" $ref: simple-card.yaml#/definitions/mclk-fs
endpoint-base: endpoint-base:
$ref: /schemas/graph.yaml#/$defs/endpoint-base $ref: /schemas/graph.yaml#/$defs/endpoint-base
properties: properties:
mclk-fs: mclk-fs:
$ref: "simple-card.yaml#/definitions/mclk-fs" $ref: simple-card.yaml#/definitions/mclk-fs
frame-inversion: frame-inversion:
description: dai-link uses frame clock inversion description: dai-link uses frame clock inversion
$ref: /schemas/types.yaml#/definitions/flag $ref: /schemas/types.yaml#/definitions/flag
...@@ -49,11 +49,11 @@ definitions: ...@@ -49,11 +49,11 @@ definitions:
description: Indicates system clock description: Indicates system clock
$ref: /schemas/types.yaml#/definitions/phandle $ref: /schemas/types.yaml#/definitions/phandle
system-clock-frequency: system-clock-frequency:
$ref: "simple-card.yaml#/definitions/system-clock-frequency" $ref: simple-card.yaml#/definitions/system-clock-frequency
system-clock-direction-out: system-clock-direction-out:
$ref: "simple-card.yaml#/definitions/system-clock-direction-out" $ref: simple-card.yaml#/definitions/system-clock-direction-out
system-clock-fixed: system-clock-fixed:
$ref: "simple-card.yaml#/definitions/system-clock-fixed" $ref: simple-card.yaml#/definitions/system-clock-fixed
dai-format: dai-format:
description: audio format. description: audio format.
...@@ -69,11 +69,11 @@ definitions: ...@@ -69,11 +69,11 @@ definitions:
- msb - msb
- lsb - lsb
convert-rate: convert-rate:
$ref: "/schemas/sound/dai-params.yaml#/$defs/dai-sample-rate" $ref: /schemas/sound/dai-params.yaml#/$defs/dai-sample-rate
convert-channels: convert-channels:
$ref: "/schemas/sound/dai-params.yaml#/$defs/dai-channels" $ref: /schemas/sound/dai-params.yaml#/$defs/dai-channels
convert-sample-format: convert-sample-format:
$ref: "/schemas/sound/dai-params.yaml#/$defs/dai-sample-format" $ref: /schemas/sound/dai-params.yaml#/$defs/dai-sample-format
dai-tdm-slot-num: dai-tdm-slot-num:
description: Number of slots in use. description: Number of slots in use.
......
...@@ -15,7 +15,7 @@ properties: ...@@ -15,7 +15,7 @@ properties:
label: label:
maxItems: 1 maxItems: 1
prefix: prefix:
description: "device name prefix" description: device name prefix
$ref: /schemas/types.yaml#/definitions/string $ref: /schemas/types.yaml#/definitions/string
routing: routing:
description: | description: |
...@@ -27,11 +27,11 @@ properties: ...@@ -27,11 +27,11 @@ properties:
description: User specified audio sound widgets. description: User specified audio sound widgets.
$ref: /schemas/types.yaml#/definitions/non-unique-string-array $ref: /schemas/types.yaml#/definitions/non-unique-string-array
convert-rate: convert-rate:
$ref: "/schemas/sound/dai-params.yaml#/$defs/dai-sample-rate" $ref: /schemas/sound/dai-params.yaml#/$defs/dai-sample-rate
convert-channels: convert-channels:
$ref: "/schemas/sound/dai-params.yaml#/$defs/dai-channels" $ref: /schemas/sound/dai-params.yaml#/$defs/dai-channels
convert-sample-format: convert-sample-format:
$ref: "/schemas/sound/dai-params.yaml#/$defs/dai-sample-format" $ref: /schemas/sound/dai-params.yaml#/$defs/dai-sample-format
pa-gpios: pa-gpios:
maxItems: 1 maxItems: 1
......
...@@ -45,7 +45,7 @@ properties: ...@@ -45,7 +45,7 @@ properties:
Audio serial port SDOUT Hi-Z control. Sets the Hi-Z Audio serial port SDOUT Hi-Z control. Sets the Hi-Z
configuration for SDOUT pin of amplifier. Logical OR of configuration for SDOUT pin of amplifier. Logical OR of
CS35L45_ASP_TX_HIZ_xxx values. CS35L45_ASP_TX_HIZ_xxx values.
$ref: "/schemas/types.yaml#/definitions/uint32" $ref: /schemas/types.yaml#/definitions/uint32
minimum: 0 minimum: 0
maximum: 3 maximum: 3
default: 2 default: 2
......
...@@ -68,7 +68,7 @@ properties: ...@@ -68,7 +68,7 @@ properties:
This is "normal tip sense (TS)" in the datasheet. This is "normal tip sense (TS)" in the datasheet.
The CS42L42_TS_INV_* defines are available for this. The CS42L42_TS_INV_* defines are available for this.
$ref: "/schemas/types.yaml#/definitions/uint32" $ref: /schemas/types.yaml#/definitions/uint32
minimum: 0 minimum: 0
maximum: 1 maximum: 1
...@@ -87,7 +87,7 @@ properties: ...@@ -87,7 +87,7 @@ properties:
7 - 1.5s 7 - 1.5s
The CS42L42_TS_DBNCE_* defines are available for this. The CS42L42_TS_DBNCE_* defines are available for this.
$ref: "/schemas/types.yaml#/definitions/uint32" $ref: /schemas/types.yaml#/definitions/uint32
minimum: 0 minimum: 0
maximum: 7 maximum: 7
...@@ -106,7 +106,7 @@ properties: ...@@ -106,7 +106,7 @@ properties:
7 - 1.5s 7 - 1.5s
The CS42L42_TS_DBNCE_* defines are available for this. The CS42L42_TS_DBNCE_* defines are available for this.
$ref: "/schemas/types.yaml#/definitions/uint32" $ref: /schemas/types.yaml#/definitions/uint32
minimum: 0 minimum: 0
maximum: 7 maximum: 7
...@@ -120,7 +120,7 @@ properties: ...@@ -120,7 +120,7 @@ properties:
0ms - 200ms, 0ms - 200ms,
Default = 100ms Default = 100ms
$ref: "/schemas/types.yaml#/definitions/uint32" $ref: /schemas/types.yaml#/definitions/uint32
minimum: 0 minimum: 0
maximum: 200 maximum: 200
...@@ -133,7 +133,7 @@ properties: ...@@ -133,7 +133,7 @@ properties:
0ms - 20ms, 0ms - 20ms,
Default = 10ms Default = 10ms
$ref: "/schemas/types.yaml#/definitions/uint32" $ref: /schemas/types.yaml#/definitions/uint32
minimum: 0 minimum: 0
maximum: 20 maximum: 20
...@@ -169,7 +169,7 @@ properties: ...@@ -169,7 +169,7 @@ properties:
3 - Slowest 3 - Slowest
The CS42L42_HSBIAS_RAMP_* defines are available for this. The CS42L42_HSBIAS_RAMP_* defines are available for this.
$ref: "/schemas/types.yaml#/definitions/uint32" $ref: /schemas/types.yaml#/definitions/uint32
minimum: 0 minimum: 0
maximum: 3 maximum: 3
......
...@@ -26,15 +26,15 @@ properties: ...@@ -26,15 +26,15 @@ properties:
const: audiosys const: audiosys
mediatek,apmixedsys: mediatek,apmixedsys:
$ref: "/schemas/types.yaml#/definitions/phandle" $ref: /schemas/types.yaml#/definitions/phandle
description: The phandle of the mediatek apmixedsys controller description: The phandle of the mediatek apmixedsys controller
mediatek,infracfg: mediatek,infracfg:
$ref: "/schemas/types.yaml#/definitions/phandle" $ref: /schemas/types.yaml#/definitions/phandle
description: The phandle of the mediatek infracfg controller description: The phandle of the mediatek infracfg controller
mediatek,topckgen: mediatek,topckgen:
$ref: "/schemas/types.yaml#/definitions/phandle" $ref: /schemas/types.yaml#/definitions/phandle
description: The phandle of the mediatek topckgen controller description: The phandle of the mediatek topckgen controller
clocks: clocks:
......
...@@ -18,7 +18,7 @@ properties: ...@@ -18,7 +18,7 @@ properties:
- mediatek,mt8186-mt6366-da7219-max98357-sound - mediatek,mt8186-mt6366-da7219-max98357-sound
mediatek,platform: mediatek,platform:
$ref: "/schemas/types.yaml#/definitions/phandle" $ref: /schemas/types.yaml#/definitions/phandle
description: The phandle of MT8186 ASoC platform. description: The phandle of MT8186 ASoC platform.
headset-codec: headset-codec:
......
...@@ -19,7 +19,7 @@ properties: ...@@ -19,7 +19,7 @@ properties:
- mediatek,mt8186-mt6366-rt5682s-max98360-sound - mediatek,mt8186-mt6366-rt5682s-max98360-sound
mediatek,platform: mediatek,platform:
$ref: "/schemas/types.yaml#/definitions/phandle" $ref: /schemas/types.yaml#/definitions/phandle
description: The phandle of MT8186 ASoC platform. description: The phandle of MT8186 ASoC platform.
dmic-gpios: dmic-gpios:
......
...@@ -24,15 +24,15 @@ properties: ...@@ -24,15 +24,15 @@ properties:
const: audiosys const: audiosys
mediatek,apmixedsys: mediatek,apmixedsys:
$ref: "/schemas/types.yaml#/definitions/phandle" $ref: /schemas/types.yaml#/definitions/phandle
description: The phandle of the mediatek apmixedsys controller description: The phandle of the mediatek apmixedsys controller
mediatek,infracfg: mediatek,infracfg:
$ref: "/schemas/types.yaml#/definitions/phandle" $ref: /schemas/types.yaml#/definitions/phandle
description: The phandle of the mediatek infracfg controller description: The phandle of the mediatek infracfg controller
mediatek,topckgen: mediatek,topckgen:
$ref: "/schemas/types.yaml#/definitions/phandle" $ref: /schemas/types.yaml#/definitions/phandle
description: The phandle of the mediatek topckgen controller description: The phandle of the mediatek topckgen controller
power-domains: power-domains:
......
...@@ -21,11 +21,11 @@ properties: ...@@ -21,11 +21,11 @@ properties:
- mediatek,mt8192_mt6359_rt1015p_rt5682s - mediatek,mt8192_mt6359_rt1015p_rt5682s
mediatek,platform: mediatek,platform:
$ref: "/schemas/types.yaml#/definitions/phandle" $ref: /schemas/types.yaml#/definitions/phandle
description: The phandle of MT8192 ASoC platform. description: The phandle of MT8192 ASoC platform.
mediatek,hdmi-codec: mediatek,hdmi-codec:
$ref: "/schemas/types.yaml#/definitions/phandle" $ref: /schemas/types.yaml#/definitions/phandle
description: The phandle of HDMI codec. description: The phandle of HDMI codec.
headset-codec: headset-codec:
......
...@@ -32,7 +32,7 @@ properties: ...@@ -32,7 +32,7 @@ properties:
See ../reserved-memory/reserved-memory.txt for details. See ../reserved-memory/reserved-memory.txt for details.
mediatek,topckgen: mediatek,topckgen:
$ref: "/schemas/types.yaml#/definitions/phandle" $ref: /schemas/types.yaml#/definitions/phandle
description: The phandle of the mediatek topckgen controller description: The phandle of the mediatek topckgen controller
power-domains: power-domains:
......
...@@ -24,19 +24,19 @@ properties: ...@@ -24,19 +24,19 @@ properties:
description: User specified audio sound card name description: User specified audio sound card name
mediatek,platform: mediatek,platform:
$ref: "/schemas/types.yaml#/definitions/phandle" $ref: /schemas/types.yaml#/definitions/phandle
description: The phandle of MT8195 ASoC platform. description: The phandle of MT8195 ASoC platform.
mediatek,dptx-codec: mediatek,dptx-codec:
$ref: "/schemas/types.yaml#/definitions/phandle" $ref: /schemas/types.yaml#/definitions/phandle
description: The phandle of MT8195 Display Port Tx codec node. description: The phandle of MT8195 Display Port Tx codec node.
mediatek,hdmi-codec: mediatek,hdmi-codec:
$ref: "/schemas/types.yaml#/definitions/phandle" $ref: /schemas/types.yaml#/definitions/phandle
description: The phandle of MT8195 HDMI codec node. description: The phandle of MT8195 HDMI codec node.
mediatek,adsp: mediatek,adsp:
$ref: "/schemas/types.yaml#/definitions/phandle" $ref: /schemas/types.yaml#/definitions/phandle
description: The phandle of MT8195 ADSP platform. description: The phandle of MT8195 ADSP platform.
mediatek,dai-link: mediatek,dai-link:
......
...@@ -31,10 +31,10 @@ properties: ...@@ -31,10 +31,10 @@ properties:
items: items:
enum: enum:
# Board Connectors # Board Connectors
- "Headset Stereophone" - Headset Stereophone
- "Int Spk" - Int Spk
- "Headset Mic" - Headset Mic
- "Digital Mic" - Digital Mic
# CODEC Pins # CODEC Pins
- SPKOUT - SPKOUT
......
...@@ -38,10 +38,10 @@ properties: ...@@ -38,10 +38,10 @@ properties:
items: items:
enum: enum:
# Board Connectors # Board Connectors
- "Headphones" - Headphones
- "Speakers" - Speakers
- "Mic Jack" - Mic Jack
- "Int Mic" - Int Mic
# CODEC Pins # CODEC Pins
- MIC1 - MIC1
......
...@@ -31,9 +31,9 @@ properties: ...@@ -31,9 +31,9 @@ properties:
items: items:
enum: enum:
# Board Connectors # Board Connectors
- "Headphones" - Headphones
- "Speakers" - Speakers
- "Mic Jack" - Mic Jack
# CODEC Pins # CODEC Pins
- DMIC1 - DMIC1
......
...@@ -31,11 +31,11 @@ properties: ...@@ -31,11 +31,11 @@ properties:
items: items:
enum: enum:
# Board Connectors # Board Connectors
- "Headphone" - Headphone
- "Speaker" - Speaker
- "Headset Mic" - Headset Mic
- "Internal Mic 1" - Internal Mic 1
- "Internal Mic 2" - Internal Mic 2
# CODEC Pins # CODEC Pins
- IN1P - IN1P
...@@ -47,14 +47,14 @@ properties: ...@@ -47,14 +47,14 @@ properties:
- DMIC2 - DMIC2
- DMIC3 - DMIC3
- DMIC4 - DMIC4
- "DMIC L1" - DMIC L1
- "DMIC L2" - DMIC L2
- "DMIC L3" - DMIC L3
- "DMIC L4" - DMIC L4
- "DMIC R1" - DMIC R1
- "DMIC R2" - DMIC R2
- "DMIC R3" - DMIC R3
- "DMIC R4" - DMIC R4
- LOUT1 - LOUT1
- LOUT2 - LOUT2
- LOUT3 - LOUT3
......
...@@ -31,9 +31,9 @@ properties: ...@@ -31,9 +31,9 @@ properties:
items: items:
enum: enum:
# Board Connectors # Board Connectors
- "Headphone Jack" - Headphone Jack
- "Line In Jack" - Line In Jack
- "Mic Jack" - Mic Jack
# CODEC Pins # CODEC Pins
- HP_OUT - HP_OUT
......
...@@ -31,8 +31,8 @@ properties: ...@@ -31,8 +31,8 @@ properties:
items: items:
enum: enum:
# Board Connectors # Board Connectors
- "Headphone Jack" - Headphone Jack
- "Mic Jack" - Mic Jack
# CODEC Pins # CODEC Pins
- LOUT1 - LOUT1
...@@ -53,7 +53,7 @@ properties: ...@@ -53,7 +53,7 @@ properties:
- MIC1 - MIC1
- MIC2N - MIC2N
- MIC2 - MIC2
- "Mic Bias" - Mic Bias
required: required:
- nvidia,i2s-controller - nvidia,i2s-controller
......
...@@ -35,10 +35,10 @@ properties: ...@@ -35,10 +35,10 @@ properties:
items: items:
enum: enum:
# Board Connectors # Board Connectors
- "Headphone Jack" - Headphone Jack
- "Int Spk" - Int Spk
- "Mic Jack" - Mic Jack
- "Int Mic" - Int Mic
# CODEC Pins # CODEC Pins
- IN1L - IN1L
......
...@@ -31,9 +31,9 @@ properties: ...@@ -31,9 +31,9 @@ properties:
items: items:
enum: enum:
# Board Connectors # Board Connectors
- "Headphone" - Headphone
- "LineIn" - LineIn
- "Mic" - Mic
# CODEC Pins # CODEC Pins
- MONOOUT - MONOOUT
...@@ -48,7 +48,7 @@ properties: ...@@ -48,7 +48,7 @@ properties:
- PCBEEP - PCBEEP
- MIC1 - MIC1
- MIC2 - MIC2
- "Mic Bias" - Mic Bias
required: required:
- nvidia,ac97-controller - nvidia,ac97-controller
......
...@@ -56,7 +56,7 @@ patternProperties: ...@@ -56,7 +56,7 @@ patternProperties:
Compress offload dai. Compress offload dai.
dependencies: dependencies:
is-compress-dai: ["direction"] is-compress-dai: [ direction ]
required: required:
- reg - reg
......
...@@ -145,7 +145,7 @@ properties: ...@@ -145,7 +145,7 @@ properties:
dmas: dmas:
maxItems: 1 maxItems: 1
dma-names: dma-names:
const: "tx" const: tx
required: required:
- dmas - dmas
- dma-names - dma-names
......
...@@ -50,7 +50,7 @@ properties: ...@@ -50,7 +50,7 @@ properties:
description: The bias voltage to be used in mVolts. The voltage can take description: The bias voltage to be used in mVolts. The voltage can take
values from 1.25V to 3V by 250mV steps. If this node is not mentioned values from 1.25V to 3V by 250mV steps. If this node is not mentioned
or the value is unknown, then the value is set to 1.25V. or the value is unknown, then the value is set to 1.25V.
$ref: "/schemas/types.yaml#/definitions/uint32" $ref: /schemas/types.yaml#/definitions/uint32
enum: [ 1250, 1500, 1750, 2000, 2250, 2500, 2750, 3000 ] enum: [ 1250, 1500, 1750, 2000, 2250, 2500, 2750, 3000 ]
lrclk-strength: lrclk-strength:
...@@ -63,7 +63,7 @@ properties: ...@@ -63,7 +63,7 @@ properties:
1 = 1.66 mA 2.87 mA 4.02 mA 1 = 1.66 mA 2.87 mA 4.02 mA
2 = 3.33 mA 5.74 mA 8.03 mA 2 = 3.33 mA 5.74 mA 8.03 mA
3 = 4.99 mA 8.61 mA 12.05 mA 3 = 4.99 mA 8.61 mA 12.05 mA
$ref: "/schemas/types.yaml#/definitions/uint32" $ref: /schemas/types.yaml#/definitions/uint32
enum: [ 0, 1, 2, 3 ] enum: [ 0, 1, 2, 3 ]
sclk-strength: sclk-strength:
...@@ -76,7 +76,7 @@ properties: ...@@ -76,7 +76,7 @@ properties:
1 = 1.66 mA 2.87 mA 4.02 mA 1 = 1.66 mA 2.87 mA 4.02 mA
2 = 3.33 mA 5.74 mA 8.03 mA 2 = 3.33 mA 5.74 mA 8.03 mA
3 = 4.99 mA 8.61 mA 12.05 mA 3 = 4.99 mA 8.61 mA 12.05 mA
$ref: "/schemas/types.yaml#/definitions/uint32" $ref: /schemas/types.yaml#/definitions/uint32
enum: [ 0, 1, 2, 3 ] enum: [ 0, 1, 2, 3 ]
port: port:
......
...@@ -78,7 +78,7 @@ definitions: ...@@ -78,7 +78,7 @@ definitions:
$ref: /schemas/types.yaml#/definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
prefix: prefix:
description: "device name prefix" description: device name prefix
$ref: /schemas/types.yaml#/definitions/string $ref: /schemas/types.yaml#/definitions/string
label: label:
......
...@@ -42,7 +42,7 @@ properties: ...@@ -42,7 +42,7 @@ properties:
Specifies a phandle to soc-glue, which is used for changing mode of S/PDIF Specifies a phandle to soc-glue, which is used for changing mode of S/PDIF
signal pin to output from Hi-Z. This property is optional if you use I2S signal pin to output from Hi-Z. This property is optional if you use I2S
signal pins only. signal pins only.
$ref: "/schemas/types.yaml#/definitions/phandle" $ref: /schemas/types.yaml#/definitions/phandle
"#sound-dai-cells": "#sound-dai-cells":
const: 1 const: 1
......
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