brintos

brintos / linux-shallow public Read only

0
0
Text · 2.0 KiB · 96f2f92 Raw
75 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-alc5632.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: NVIDIA Tegra audio complex with ALC5632 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-alc5632(-[a-z0-9]+)+$'20      - const: nvidia,tegra-audio-alc563221 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        - Headset Stereophone35        - Int Spk36        - Headset Mic37        - Digital Mic38 39        # CODEC Pins40        - SPKOUT41        - SPKOUTN42        - MICBIAS143        - MIC144        - HPR45        - HPL46        - DMICDAT47 48required:49  - nvidia,i2s-controller50 51unevaluatedProperties: false52 53examples:54  - |55    sound {56        compatible = "nvidia,tegra-audio-alc5632-paz00",57                     "nvidia,tegra-audio-alc5632";58 59        nvidia,model = "Compal PAZ00";60 61        nvidia,audio-routing = "Int Spk", "SPKOUT",62                               "Int Spk", "SPKOUTN",63                               "Headset Mic", "MICBIAS1",64                               "MIC1", "Headset Mic",65                               "Headset Stereophone", "HPR",66                               "Headset Stereophone", "HPL",67                               "DMICDAT", "Digital Mic";68 69        nvidia,i2s-controller = <&i2s>;70        nvidia,audio-codec = <&codec>;71 72        clocks = <&clk 112>, <&clk 113>, <&clk 93>;73        clock-names = "pll_a", "pll_a_out0", "mclk";74    };75