brintos

brintos / linux-shallow public Read only

0
0
Text · 1.9 KiB · 397306b Raw
77 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,tegra-audio-wm9712.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: NVIDIA Tegra audio complex with WM9712 CODEC8 9maintainers:10  - Jon Hunter <jonathanh@nvidia.com>11  - Thierry Reding <thierry.reding@gmail.com>12 13allOf:14  - $ref: nvidia,tegra-audio-common.yaml#15 16properties:17  compatible:18    items:19      - pattern: '^[a-z0-9]+,tegra-audio-wm9712([-_][a-z0-9]+)+$'20      - const: nvidia,tegra-audio-wm971221 22  nvidia,audio-routing:23    $ref: /schemas/types.yaml#/definitions/non-unique-string-array24    description: |25      A list of the connections between audio components.26      Each entry is a pair of strings, the first being the connection's sink,27      the second being the connection's source. Valid names for sources and28      sinks are the pins (documented in the binding document),29      and the jacks on the board.30    minItems: 231    items:32      enum:33        # Board Connectors34        - Headphone35        - LineIn36        - Mic37 38        # CODEC Pins39        - MONOOUT40        - HPOUTL41        - HPOUTR42        - LOUT243        - ROUT244        - OUT345        - LINEINL46        - LINEINR47        - PHONE48        - PCBEEP49        - MIC150        - MIC251        - Mic Bias52 53required:54  - nvidia,ac97-controller55 56unevaluatedProperties: false57 58examples:59  - |60    sound {61        compatible = "nvidia,tegra-audio-wm9712-colibri_t20",62                     "nvidia,tegra-audio-wm9712";63        nvidia,model = "Toradex Colibri T20";64 65        nvidia,audio-routing =66                "Headphone", "HPOUTL",67                "Headphone", "HPOUTR",68                "LineIn", "LINEINL",69                "LineIn", "LINEINR",70                "Mic", "MIC1";71 72        nvidia,ac97-controller = <&ac97>;73 74        clocks = <&clk 112>, <&clk 113>, <&clk 93>;75        clock-names = "pll_a", "pll_a_out0", "mclk";76    };77