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/amlog 4 $id: http://devicetree.org/schemas/sound/amlogic,axg-tdm-iface.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Amlogic Audio TDM Interfaces 7 title: Amlogic Audio TDM Interfaces 8 8 9 maintainers: 9 maintainers: 10 - Jerome Brunet <jbrunet@baylibre.com> 10 - Jerome Brunet <jbrunet@baylibre.com> 11 11 12 allOf: 12 allOf: 13 - $ref: dai-common.yaml# 13 - $ref: dai-common.yaml# 14 14 15 properties: 15 properties: 16 compatible: 16 compatible: 17 const: amlogic,axg-tdm-iface 17 const: amlogic,axg-tdm-iface 18 18 19 "#sound-dai-cells": 19 "#sound-dai-cells": 20 const: 0 20 const: 0 21 21 22 clocks: 22 clocks: 23 minItems: 2 23 minItems: 2 24 items: 24 items: 25 - description: Bit clock 25 - description: Bit clock 26 - description: Sample clock 26 - description: Sample clock 27 - description: Master clock # optional !! 27 - description: Master clock #optional 28 28 29 clock-names: 29 clock-names: 30 minItems: 2 30 minItems: 2 31 items: 31 items: 32 - const: sclk 32 - const: sclk 33 - const: lrclk 33 - const: lrclk 34 - const: mclk 34 - const: mclk 35 35 36 required: 36 required: 37 - compatible 37 - compatible 38 - "#sound-dai-cells" 38 - "#sound-dai-cells" 39 - clocks 39 - clocks 40 - clock-names 40 - clock-names 41 41 42 unevaluatedProperties: false 42 unevaluatedProperties: false 43 43 44 examples: 44 examples: 45 - | 45 - | 46 #include <dt-bindings/clock/axg-audio-clkc 46 #include <dt-bindings/clock/axg-audio-clkc.h> 47 47 48 audio-controller { 48 audio-controller { 49 compatible = "amlogic,axg-tdm-iface"; 49 compatible = "amlogic,axg-tdm-iface"; 50 #sound-dai-cells = <0>; 50 #sound-dai-cells = <0>; 51 clocks = <&clkc_audio AUD_CLKID_MST_A_ 51 clocks = <&clkc_audio AUD_CLKID_MST_A_SCLK>, 52 <&clkc_audio AUD_CLKID_MST_A_ 52 <&clkc_audio AUD_CLKID_MST_A_LRCLK>, 53 <&clkc_audio AUD_CLKID_MST_A_ 53 <&clkc_audio AUD_CLKID_MST_A_MCLK>; 54 clock-names = "sclk", "lrclk", "mclk"; 54 clock-names = "sclk", "lrclk", "mclk"; 55 }; 55 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.