1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/sound/audio 4 $id: http://devicetree.org/schemas/sound/audio-graph-card.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Audio Graph Card 7 title: Audio Graph Card 8 8 9 maintainers: 9 maintainers: 10 - Kuninori Morimoto <kuninori.morimoto.gx@ren 10 - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 11 11 12 allOf: 12 allOf: 13 - $ref: /schemas/sound/audio-graph.yaml# 13 - $ref: /schemas/sound/audio-graph.yaml# 14 14 15 properties: 15 properties: 16 compatible: 16 compatible: 17 enum: 17 enum: 18 - audio-graph-card 18 - audio-graph-card 19 - audio-graph-scu-card 19 - audio-graph-scu-card 20 20 21 required: 21 required: 22 - compatible 22 - compatible 23 23 24 unevaluatedProperties: false 24 unevaluatedProperties: false 25 25 26 examples: 26 examples: 27 - | 27 - | 28 sound { 28 sound { 29 compatible = "audio-graph-card"; 29 compatible = "audio-graph-card"; 30 30 31 dais = <&cpu_port_a>; 31 dais = <&cpu_port_a>; 32 }; 32 }; 33 33 34 cpu { 34 cpu { 35 /* 35 /* 36 * dai-controller own settings 36 * dai-controller own settings 37 */ 37 */ 38 38 39 port { 39 port { 40 cpu_endpoint: endpoint { 40 cpu_endpoint: endpoint { 41 remote-endpoint = <&codec_endp 41 remote-endpoint = <&codec_endpoint>; 42 dai-format = "left_j"; 42 dai-format = "left_j"; 43 }; 43 }; 44 }; 44 }; 45 }; 45 }; 46 46 47 codec { 47 codec { 48 /* 48 /* 49 * codec own settings 49 * codec own settings 50 */ 50 */ 51 51 52 port { 52 port { 53 codec_endpoint: endpoint { 53 codec_endpoint: endpoint { 54 remote-endpoint = <&cpu_endpoi 54 remote-endpoint = <&cpu_endpoint>; 55 }; 55 }; 56 }; 56 }; 57 }; 57 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.