1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 3 --- 4 $id: http://devicetree.org/schemas/sound/amlogic,axg-tdm-iface.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 7 title: Amlogic Audio TDM Interfaces 8 9 maintainers: 10 - Jerome Brunet <jbrunet@baylibre.com> 11 12 allOf: 13 - $ref: dai-common.yaml# 14 15 properties: 16 compatible: 17 const: amlogic,axg-tdm-iface 18 19 "#sound-dai-cells": 20 const: 0 21 22 clocks: 23 minItems: 2 24 items: 25 - description: Bit clock 26 - description: Sample clock 27 - description: Master clock # optional 28 29 clock-names: 30 minItems: 2 31 items: 32 - const: sclk 33 - const: lrclk 34 - const: mclk 35 36 required: 37 - compatible 38 - "#sound-dai-cells" 39 - clocks 40 - clock-names 41 42 unevaluatedProperties: false 43 44 examples: 45 - | 46 #include <dt-bindings/clock/axg-audio-clkc.h> 47 48 audio-controller { 49 compatible = "amlogic,axg-tdm-iface"; 50 #sound-dai-cells = <0>; 51 clocks = <&clkc_audio AUD_CLKID_MST_A_SCLK>, 52 <&clkc_audio AUD_CLKID_MST_A_LRCLK>, 53 <&clkc_audio AUD_CLKID_MST_A_MCLK>; 54 clock-names = "sclk", "lrclk", "mclk"; 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.