Tegra210 DMIC Controller

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

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

The Digital MIC (DMIC) Controller is used to interface with Pulse Density Modulation (PDM) input devices. It converts PDM signals to Pulse Coded Modulation (PCM) signals. DMIC can be viewed as a PDM receiver.

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): "^dmic@[0-9a-f]*$"

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "nvidia,tegra210-dmic"

Rule 2

Array item rules (items)

Item 1

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

Item 2

Exact value (const): "nvidia,tegra210-dmic"

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): "dmic"

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 — not listed as required here #

String pattern (pattern): "^DMIC[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.

DMIC 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.

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

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

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

false

Not allowed by this rule.

Examples (examples) #

#include<dt-bindings/clock/tegra210-car.h>

dmic@702d4000 {
    compatible = "nvidia,tegra210-dmic";
    reg = <0x702d4000 0x100>;
    clocks = <&tegra_car TEGRA210_CLK_DMIC1>;
    clock-names = "dmic";
    assigned-clocks = <&tegra_car TEGRA210_CLK_DMIC1>;
    assigned-clock-parents = <&tegra_car TEGRA210_CLK_PLL_A_OUT0>;
    assigned-clock-rates = <3072000>;
    sound-name-prefix = "DMIC1";
};

Source notes #

Annotations retained from the schema source

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

Edit this page