Tegra186 DSPK Controller

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

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

The Digital Speaker Controller (DSPK) can be viewed as a Pulse Density Modulation (PDM) transmitter that up-samples the input to the desired sampling rate by interpolation and then converts the over sampled Pulse Code Modulation (PCM) input to the desired 1-bit output via Delta Sigma Modulation (DSM).

Maintainers (maintainers): "Jon Hunter <jonathanh@nvidia.com>", "Sameer Pujar <spujar@nvidia.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): dai-common.yaml#

Properties and child nodes (properties) #

$nodename — not listed as required here #

String pattern (pattern): "^dspk@[0-9a-f]*$"

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "nvidia,tegra186-dspk"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "nvidia,tegra264-dspk", "nvidia,tegra234-dspk", "nvidia,tegra194-dspk"

Item 2

Exact value (const): "nvidia,tegra186-dspk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Exact value (const): "dspk"

assigned-clocks — required here #

Maximum number of items (maxItems): 1

assigned-clock-parents — required here #

Maximum number of items (maxItems): 1

assigned-clock-rates — not listed as required here #

Maximum number of items (maxItems): 1

sound-name-prefix — required here #

String pattern (pattern): "^DSPK[1-9]$"

ports — not listed as required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports

Properties and child nodes (properties) #

port@0 — 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.

DSPK ACIF (Audio Client Interface) port connected to the corresponding AHUB (Audio Hub) ACIF port.

port@1 — 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.

DSPK DAP (Digital Audio Port) interface which can be connected to external audio codec for playback.

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "assigned-clocks", "assigned-clock-parents", "sound-name-prefix"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include<dt-bindings/clock/tegra186-clock.h>

dspk@2905000 {
    compatible = "nvidia,tegra186-dspk";
    reg = <0x2905000 0x100>;
    clocks = <&bpmp TEGRA186_CLK_DSPK1>;
    clock-names = "dspk";
    assigned-clocks = <&bpmp TEGRA186_CLK_DSPK1>;
    assigned-clock-parents = <&bpmp TEGRA186_CLK_PLL_A_OUT0>;
    assigned-clock-rates = <12288000>;
    sound-name-prefix = "DSPK1";
};

Source notes #

Annotations retained from the schema source

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

Edit this page