1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/sound/nvidi 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra210-dmic.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Tegra210 DMIC Controller !! 7 title: Tegra210 DMIC Controller Device Tree Bindings 8 8 9 description: | 9 description: | 10 The Digital MIC (DMIC) Controller is used to 10 The Digital MIC (DMIC) Controller is used to interface with Pulse 11 Density Modulation (PDM) input devices. It c 11 Density Modulation (PDM) input devices. It converts PDM signals to 12 Pulse Coded Modulation (PCM) signals. DMIC c 12 Pulse Coded Modulation (PCM) signals. DMIC can be viewed as a PDM 13 receiver. 13 receiver. 14 14 15 maintainers: 15 maintainers: 16 - Jon Hunter <jonathanh@nvidia.com> 16 - Jon Hunter <jonathanh@nvidia.com> 17 - Sameer Pujar <spujar@nvidia.com> 17 - Sameer Pujar <spujar@nvidia.com> 18 18 19 allOf: << 20 - $ref: dai-common.yaml# << 21 << 22 properties: 19 properties: 23 $nodename: 20 $nodename: 24 pattern: "^dmic@[0-9a-f]*$" 21 pattern: "^dmic@[0-9a-f]*$" 25 22 26 compatible: 23 compatible: 27 oneOf: 24 oneOf: 28 - const: nvidia,tegra210-dmic 25 - const: nvidia,tegra210-dmic 29 - items: 26 - items: 30 - enum: 27 - enum: 31 - nvidia,tegra234-dmic << 32 - nvidia,tegra194-dmic 28 - nvidia,tegra194-dmic 33 - nvidia,tegra186-dmic 29 - nvidia,tegra186-dmic 34 - const: nvidia,tegra210-dmic 30 - const: nvidia,tegra210-dmic 35 31 36 reg: 32 reg: 37 maxItems: 1 33 maxItems: 1 38 34 39 clocks: 35 clocks: 40 maxItems: 1 36 maxItems: 1 41 37 42 clock-names: 38 clock-names: 43 const: dmic 39 const: dmic 44 40 45 assigned-clocks: 41 assigned-clocks: 46 maxItems: 1 42 maxItems: 1 47 43 48 assigned-clock-parents: 44 assigned-clock-parents: 49 maxItems: 1 45 maxItems: 1 50 46 51 assigned-clock-rates: 47 assigned-clock-rates: 52 maxItems: 1 48 maxItems: 1 53 49 54 sound-name-prefix: 50 sound-name-prefix: 55 pattern: "^DMIC[1-9]$" 51 pattern: "^DMIC[1-9]$" >> 52 $ref: /schemas/types.yaml#/definitions/string >> 53 description: >> 54 used as prefix for sink/source names of the component. Must be a >> 55 unique string among multiple instances of the same component. >> 56 The name can be "DMIC1" or "DMIC2" ... "DMICx", where x depends >> 57 on the maximum available instances on a Tegra SoC. 56 58 57 ports: 59 ports: 58 $ref: /schemas/graph.yaml#/properties/port 60 $ref: /schemas/graph.yaml#/properties/ports 59 properties: 61 properties: 60 port@0: 62 port@0: 61 $ref: audio-graph-port.yaml# 63 $ref: audio-graph-port.yaml# 62 unevaluatedProperties: false 64 unevaluatedProperties: false 63 description: | 65 description: | 64 DMIC ACIF (Audio Client Interface) p 66 DMIC ACIF (Audio Client Interface) port connected to the 65 corresponding AHUB (Audio Hub) ACIF 67 corresponding AHUB (Audio Hub) ACIF port. 66 68 67 port@1: 69 port@1: 68 $ref: audio-graph-port.yaml# 70 $ref: audio-graph-port.yaml# 69 unevaluatedProperties: false 71 unevaluatedProperties: false 70 description: | 72 description: | 71 DMIC DAP (Digital Audio Port) interf 73 DMIC DAP (Digital Audio Port) interface which can be connected 72 to external audio codec for capture. 74 to external audio codec for capture. 73 75 74 required: 76 required: 75 - compatible 77 - compatible 76 - reg 78 - reg 77 - clocks 79 - clocks 78 - clock-names 80 - clock-names 79 - assigned-clocks 81 - assigned-clocks 80 - assigned-clock-parents 82 - assigned-clock-parents 81 83 82 additionalProperties: false 84 additionalProperties: false 83 85 84 examples: 86 examples: 85 - | 87 - | 86 #include<dt-bindings/clock/tegra210-car.h> 88 #include<dt-bindings/clock/tegra210-car.h> 87 89 88 dmic@702d4000 { 90 dmic@702d4000 { 89 compatible = "nvidia,tegra210-dmic"; 91 compatible = "nvidia,tegra210-dmic"; 90 reg = <0x702d4000 0x100>; 92 reg = <0x702d4000 0x100>; 91 clocks = <&tegra_car TEGRA210_CLK_DMIC 93 clocks = <&tegra_car TEGRA210_CLK_DMIC1>; 92 clock-names = "dmic"; 94 clock-names = "dmic"; 93 assigned-clocks = <&tegra_car TEGRA210 95 assigned-clocks = <&tegra_car TEGRA210_CLK_DMIC1>; 94 assigned-clock-parents = <&tegra_car T 96 assigned-clock-parents = <&tegra_car TEGRA210_CLK_PLL_A_OUT0>; 95 assigned-clock-rates = <3072000>; 97 assigned-clock-rates = <3072000>; 96 sound-name-prefix = "DMIC1"; 98 sound-name-prefix = "DMIC1"; 97 }; 99 }; 98 100 99 ... 101 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.