Microchip S/PDIF Tx Controller
Schema identifier ($id): "http://devicetree.org/schemas/sound/microchip,sama7g5-spdiftx.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Codrin Ciubotariu <codrin.ciubotariu@microchip.com>"
The Microchip Sony/Philips Digital Interface Transmitter is a serial port compliant with the IEC-60958 standard.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):dai-common.yaml#
Properties and child nodes (properties) #
#sound-dai-cells — required here #
Exact value (const): 0
compatible — required here #
Exact value (const): "microchip,sama7g5-spdiftx"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
Peripheral Bus Clock
Item 2
Generic Clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"pclk"
Item 2
Exact value (
const):"gclk"
dmas — required here #
TX DMA Channel
Maximum number of items (maxItems): 1
dma-names — required here #
Exact value (const): "tx"
Required in this object (required): "#sound-dai-cells", "compatible", "reg", "interrupts", "clocks", "clock-names", "dmas", "dma-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/at91.h>
#include <dt-bindings/dma/at91.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
spdiftx@e1618000 {
#sound-dai-cells = <0>;
compatible = "microchip,sama7g5-spdiftx";
reg = <0xe1618000 0x4000>;
interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
dmas = <&dma0 AT91_XDMAC_DT_PERID(50)>;
dma-names = "tx";
clocks = <&pmc PMC_TYPE_PERIPHERAL 85>, <&pmc PMC_TYPE_GCK 85>;
clock-names = "pclk", "gclk";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_spdiftx_default>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)