NVIDIA Tegra20 S/PDIF Controller

Schema identifier ($id): "http://devicetree.org/schemas/sound/nvidia,tegra20-spdif.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

The S/PDIF controller supports both input and output in serial audio digital interface format. The input controller can digitally recover a clock from the received stream. The S/PDIF controller is also used to generate the embedded audio for HDMI output channel.

Maintainers (maintainers): "Thierry Reding <treding@nvidia.com>", "Jon Hunter <jonathanh@nvidia.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): "nvidia,tegra20-spdif"

reg — required here #

Maximum number of items (maxItems): 1

resets — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 2

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "out"

Item 2

Exact value (const): "in"

dmas — required here #

Minimum number of items (minItems): 2

dma-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "rx"

Item 2

Exact value (const): "tx"

#sound-dai-cells — required here #

Exact value (const): 0

nvidia,fixed-parent-rate — not listed as required here #

Specifies whether board prefers parent clock to stay at a fixed rate. This allows multiple Tegra20 audio components work simultaneously by limiting number of supportable audio rates.

Value type (type): "boolean"

Required in this object (required): "compatible", "reg", "resets", "interrupts", "clocks", "clock-names", "dmas", "dma-names", "#sound-dai-cells"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

spdif@70002400 {
    compatible = "nvidia,tegra20-spdif";
    reg = <0x70002400 0x200>;
    interrupts = <77>;
    clocks = <&clk 99>, <&clk 98>;
    clock-names = "out", "in";
    resets = <&rst 10>;
    dmas = <&apbdma 3>, <&apbdma 3>;
    dma-names = "rx", "tx";
    #sound-dai-cells = <0>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page