brintos

brintos / linux-shallow public Read only

0
0
Text · 2.5 KiB · 09e1d0b Raw
101 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-rt5677.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: NVIDIA Tegra audio complex with RT5677 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-rt5677(-[a-z0-9]+)+$'20      - const: nvidia,tegra-audio-rt567721 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        - Speaker36        - Headset Mic37        - Internal Mic 138        - Internal Mic 239 40        # CODEC Pins41        - IN1P42        - IN1N43        - IN2P44        - IN2N45        - MICBIAS146        - DMIC147        - DMIC248        - DMIC349        - DMIC450        - DMIC L151        - DMIC L252        - DMIC L353        - DMIC L454        - DMIC R155        - DMIC R256        - DMIC R357        - DMIC R458        - LOUT159        - LOUT260        - LOUT361        - PDM1L62        - PDM1R63        - PDM2L64        - PDM2R65 66required:67  - nvidia,i2s-controller68 69unevaluatedProperties: false70 71examples:72  - |73    sound {74        compatible = "nvidia,tegra-audio-rt5677-ryu",75                     "nvidia,tegra-audio-rt5677";76        nvidia,model = "NVIDIA Tegra Ryu";77 78        nvidia,audio-routing =79                "Headphone", "LOUT2",80                "Headphone", "LOUT1",81                "Headset Mic", "MICBIAS1",82                "IN1P", "Headset Mic",83                "IN1N", "Headset Mic",84                "DMIC L1", "Internal Mic 1",85                "DMIC R1", "Internal Mic 1",86                "DMIC L2", "Internal Mic 2",87                "DMIC R2", "Internal Mic 2",88                "Speaker", "PDM1L",89                "Speaker", "PDM1R";90 91        nvidia,i2s-controller = <&tegra_i2s1>;92        nvidia,audio-codec = <&rt5677>;93 94        nvidia,hp-det-gpios = <&gpio 143 0>;95 96        clocks = <&clk 216>,97                 <&clk 217>,98                 <&clk 121>;99        clock-names = "pll_a", "pll_a_out0", "mclk";100    };101