Xilinx I2S PL block
Schema identifier ($id): "http://devicetree.org/schemas/sound/xlnx,i2s.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
The IP supports I2S based playback/capture 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,i2s-receiver-1.0", "xlnx,i2s-transmitter-1.0"
reg — required here #
Maximum number of items (maxItems): 1
xlnx,dwidth — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Sample data width.
xlnx,num-channels — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 1
Maximum value (maximum): 4
Number of I2S streams.
Required in this object (required): "compatible", "reg", "xlnx,dwidth", "xlnx,num-channels"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2s@a0080000 {
compatible = "xlnx,i2s-receiver-1.0";
reg = <0xa0080000 0x10000>;
xlnx,dwidth = <0x18>;
xlnx,num-channels = <1>;
};
i2s@a0090000 {
compatible = "xlnx,i2s-transmitter-1.0";
reg = <0xa0090000 0x10000>;
xlnx,dwidth = <0x18>;
xlnx,num-channels = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)