STMicroelectronics STM32 S/PDIF receiver (SPDIFRX)
Schema identifier ($id): "http://devicetree.org/schemas/sound/st,stm32-spdifrx.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Olivier Moysan <olivier.moysan@foss.st.com>"
The SPDIFRX peripheral, is designed to receive an S/PDIF flow compliant with IEC-60958 and IEC-61937.
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): "st,stm32h7-spdifrx"
#sound-dai-cells — required here #
Exact value (const): 0
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"kclk"
interrupts — required here #
Maximum number of items (maxItems): 1
dmas — required here #
Array item rules (items) #
Item 1
audio data capture DMA
Item 2
IEC status bits capture DMA
dma-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"rx"
Item 2
Exact value (
const):"rx-ctrl"
resets — not listed as required here #
Maximum number of items (maxItems): 1
port — not listed as required here #
Shared schema rule ($ref): audio-graph-port.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
access-controllers — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
Required in this object (required): "compatible", "#sound-dai-cells", "reg", "clocks", "clock-names", "interrupts", "dmas", "dma-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/stm32mp1-clks.h>
spdifrx: spdifrx@40004000 {
compatible = "st,stm32h7-spdifrx";
#sound-dai-cells = <0>;
reg = <0x40004000 0x400>;
clocks = <&rcc SPDIF_K>;
clock-names = "kclk";
interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
dmas = <&dmamux1 2 93 0x400 0x0>,
<&dmamux1 3 94 0x400 0x0>;
dma-names = "rx", "rx-ctrl";
pinctrl-0 = <&spdifrx_pins>;
pinctrl-names = "default";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)