Amlogic Audio TDM Interfaces
Schema identifier ($id): "http://devicetree.org/schemas/sound/amlogic,axg-tdm-iface.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jerome Brunet <jbrunet@baylibre.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):dai-common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "amlogic,axg-tdm-iface"
#sound-dai-cells — required here #
Exact value (const): 0
clocks — required here #
Minimum number of items (minItems): 2
Array item rules (items) #
Item 1
Bit clock
Item 2
Sample clock
Item 3
Master clock
clock-names — required here #
Minimum number of items (minItems): 2
Array item rules (items) #
Item 1
Exact value (
const):"sclk"
Item 2
Exact value (
const):"lrclk"
Item 3
Exact value (
const):"mclk"
Required in this object (required): "compatible", "#sound-dai-cells", "clocks", "clock-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/axg-audio-clkc.h>
audio-controller {
compatible = "amlogic,axg-tdm-iface";
#sound-dai-cells = <0>;
clocks = <&clkc_audio AUD_CLKID_MST_A_SCLK>,
<&clkc_audio AUD_CLKID_MST_A_LRCLK>,
<&clkc_audio AUD_CLKID_MST_A_MCLK>;
clock-names = "sclk", "lrclk", "mclk";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 27: optional