brintos

brintos / linux-shallow public Read only

0
0
Text · 2.2 KiB · bff551c Raw
100 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/sound/nvidia,tegra210-dmic.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Tegra210 DMIC Controller8 9description: |10  The Digital MIC (DMIC) Controller is used to interface with Pulse11  Density Modulation (PDM) input devices. It converts PDM signals to12  Pulse Coded Modulation (PCM) signals. DMIC can be viewed as a PDM13  receiver.14 15maintainers:16  - Jon Hunter <jonathanh@nvidia.com>17  - Sameer Pujar <spujar@nvidia.com>18 19allOf:20  - $ref: dai-common.yaml#21 22properties:23  $nodename:24    pattern: "^dmic@[0-9a-f]*$"25 26  compatible:27    oneOf:28      - const: nvidia,tegra210-dmic29      - items:30          - enum:31              - nvidia,tegra234-dmic32              - nvidia,tegra194-dmic33              - nvidia,tegra186-dmic34          - const: nvidia,tegra210-dmic35 36  reg:37    maxItems: 138 39  clocks:40    maxItems: 141 42  clock-names:43    const: dmic44 45  assigned-clocks:46    maxItems: 147 48  assigned-clock-parents:49    maxItems: 150 51  assigned-clock-rates:52    maxItems: 153 54  sound-name-prefix:55    pattern: "^DMIC[1-9]$"56 57  ports:58    $ref: /schemas/graph.yaml#/properties/ports59    properties:60      port@0:61        $ref: audio-graph-port.yaml#62        unevaluatedProperties: false63        description: |64          DMIC ACIF (Audio Client Interface) port connected to the65          corresponding AHUB (Audio Hub) ACIF port.66 67      port@1:68        $ref: audio-graph-port.yaml#69        unevaluatedProperties: false70        description: |71          DMIC DAP (Digital Audio Port) interface which can be connected72          to external audio codec for capture.73 74required:75  - compatible76  - reg77  - clocks78  - clock-names79  - assigned-clocks80  - assigned-clock-parents81 82additionalProperties: false83 84examples:85  - |86    #include<dt-bindings/clock/tegra210-car.h>87 88    dmic@702d4000 {89        compatible = "nvidia,tegra210-dmic";90        reg = <0x702d4000 0x100>;91        clocks = <&tegra_car TEGRA210_CLK_DMIC1>;92        clock-names = "dmic";93        assigned-clocks = <&tegra_car TEGRA210_CLK_DMIC1>;94        assigned-clock-parents = <&tegra_car TEGRA210_CLK_PLL_A_OUT0>;95        assigned-clock-rates = <3072000>;96        sound-name-prefix = "DMIC1";97    };98 99...100