56 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/sound/amlogic,axg-tdm-iface.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Amlogic Audio TDM Interfaces8 9maintainers:10 - Jerome Brunet <jbrunet@baylibre.com>11 12allOf:13 - $ref: dai-common.yaml#14 15properties:16 compatible:17 const: amlogic,axg-tdm-iface18 19 "#sound-dai-cells":20 const: 021 22 clocks:23 minItems: 224 items:25 - description: Bit clock26 - description: Sample clock27 - description: Master clock # optional28 29 clock-names:30 minItems: 231 items:32 - const: sclk33 - const: lrclk34 - const: mclk35 36required:37 - compatible38 - "#sound-dai-cells"39 - clocks40 - clock-names41 42unevaluatedProperties: false43 44examples: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 };56