Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: dt-bindings: Simplify referencing dai-params.yaml

There's generally no need to use definitions to reference from
individual properties. All the property names are the same, and all the
defined properties are used by all the users.

Signed-off-by: Rob Herring <robh@kernel.org>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/20230928194126.1146622-1-robh@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Rob Herring and committed by
Mark Brown
967dad97 b5d5c879

+13 -27
+6 -14
Documentation/devicetree/bindings/sound/audio-graph-port.yaml
··· 13 13 14 14 definitions: 15 15 port-base: 16 - $ref: /schemas/graph.yaml#/$defs/port-base 16 + allOf: 17 + - $ref: /schemas/graph.yaml#/$defs/port-base 18 + - $ref: /schemas/sound/dai-params.yaml# 17 19 properties: 18 - convert-rate: 19 - $ref: /schemas/sound/dai-params.yaml#/$defs/dai-sample-rate 20 - convert-channels: 21 - $ref: /schemas/sound/dai-params.yaml#/$defs/dai-channels 22 - convert-sample-format: 23 - $ref: /schemas/sound/dai-params.yaml#/$defs/dai-sample-format 24 20 mclk-fs: 25 21 $ref: simple-card.yaml#/definitions/mclk-fs 26 22 27 23 endpoint-base: 28 - $ref: /schemas/graph.yaml#/$defs/endpoint-base 24 + allOf: 25 + - $ref: /schemas/graph.yaml#/$defs/endpoint-base 26 + - $ref: /schemas/sound/dai-params.yaml# 29 27 properties: 30 28 mclk-fs: 31 29 $ref: simple-card.yaml#/definitions/mclk-fs ··· 66 68 - pdm 67 69 - msb 68 70 - lsb 69 - convert-rate: 70 - $ref: /schemas/sound/dai-params.yaml#/$defs/dai-sample-rate 71 - convert-channels: 72 - $ref: /schemas/sound/dai-params.yaml#/$defs/dai-channels 73 - convert-sample-format: 74 - $ref: /schemas/sound/dai-params.yaml#/$defs/dai-sample-format 75 71 76 72 dai-tdm-slot-num: 77 73 description: Number of slots in use.
+3 -6
Documentation/devicetree/bindings/sound/audio-graph.yaml
··· 9 9 maintainers: 10 10 - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 11 11 12 + allOf: 13 + - $ref: /schemas/sound/dai-params.yaml# 14 + 12 15 properties: 13 16 dais: 14 17 $ref: /schemas/types.yaml#/definitions/phandle-array ··· 33 30 widget ("Microphone", "Line", "Headphone", "Speaker"), the 34 31 second being the machine specific name for the widget. 35 32 $ref: /schemas/types.yaml#/definitions/non-unique-string-array 36 - convert-rate: 37 - $ref: /schemas/sound/dai-params.yaml#/$defs/dai-sample-rate 38 - convert-channels: 39 - $ref: /schemas/sound/dai-params.yaml#/$defs/dai-channels 40 - convert-sample-format: 41 - $ref: /schemas/sound/dai-params.yaml#/$defs/dai-sample-format 42 33 43 34 pa-gpios: 44 35 maxItems: 1
+4 -7
Documentation/devicetree/bindings/sound/dai-params.yaml
··· 11 11 12 12 select: false 13 13 14 - $defs: 15 - 16 - dai-channels: 14 + properties: 15 + convert-channels: 17 16 description: Number of audio channels used by DAI 18 17 $ref: /schemas/types.yaml#/definitions/uint32 19 18 minimum: 1 20 19 maximum: 32 21 20 22 - dai-sample-format: 21 + convert-sample-format: 23 22 description: Audio sample format used by DAI 24 23 $ref: /schemas/types.yaml#/definitions/string 25 24 enum: ··· 28 29 - s24_3le 29 30 - s32_le 30 31 31 - dai-sample-rate: 32 + convert-rate: 32 33 description: Audio sample rate used by DAI 33 34 $ref: /schemas/types.yaml#/definitions/uint32 34 35 minimum: 8000 35 36 maximum: 192000 36 - 37 - properties: {} 38 37 39 38 additionalProperties: true