Xilinx SPDIF IP
Schema identifier ($id): "http://devicetree.org/schemas/sound/xlnx,spdif.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
The IP supports playback and capture of SPDIF audio.
Maintainers (maintainers): "Vincenzo Frascino <vincenzo.frascino@arm.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 #
Allowed values (enum): "xlnx,spdif-2.0"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Array item rules (items) #
Item 1
SPDIF audio interrupt
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"aud_clk_i"
Item 2
Exact value (
const):"s_axi_aclk"
clocks — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
input audio clock
Item 2
clock for the AXI data stream
xlnx,spdif-mode — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
0 - receiver 1 - transmitter
xlnx,aud_clk_i — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Input audio clock frequency. It affects the sampling rate.
Required in this object (required): "compatible", "reg", "interrupts", "clock-names", "clocks"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
spdif@80010000 {
compatible = "xlnx,spdif-2.0";
reg = <0x80010000 0x10000>;
clock-names = "aud_clk_i", "s_axi_aclk";
clocks = <&misc_clk_0>, <&clk 71>;
interrupt-parent = <&gic>;
interrupts = <0 91 4>;
xlnx,spdif-mode = <1>;
xlnx,aud_clk_i = <49152913>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)