···11+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)22+%YAML 1.233+---44+$id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-wm8962.yaml#55+$schema: http://devicetree.org/meta-schemas/core.yaml#66+77+title: NVIDIA Tegra audio complex with WM8962 CODEC88+99+maintainers:1010+ - Svyatoslav Ryhel <clamor95@gmail.com>1111+1212+allOf:1313+ - $ref: nvidia,tegra-audio-common.yaml#1414+1515+properties:1616+ compatible:1717+ items:1818+ - pattern: '^[a-z0-9]+,tegra-audio-wm8962(-[a-z0-9]+)+$'1919+ - const: nvidia,tegra-audio-wm89622020+2121+ nvidia,audio-routing:2222+ $ref: /schemas/types.yaml#/definitions/non-unique-string-array2323+ description:2424+ A list of the connections between audio components. Each entry is a2525+ pair of strings, the first being the connection's sink, the second2626+ being the connection's source. Valid names for sources and sinks are2727+ the pins (documented in the binding document), and the jacks on the2828+ board.2929+ minItems: 23030+ items:3131+ enum:3232+ # Board Connectors3333+ - Speakers3434+ - Int Spk3535+ - Earpiece3636+ - Int Mic3737+ - Headset Mic3838+ - Internal Mic 13939+ - Internal Mic 24040+ - Headphone4141+ - Headphones4242+ - Headphone Jack4343+ - Mic Jack4444+4545+ # CODEC Pins4646+ - IN1L4747+ - IN1R4848+ - IN2L4949+ - IN2R5050+ - IN3L5151+ - IN3R5252+ - IN4L5353+ - IN4R5454+ - DMICDAT5555+ - HPOUTL5656+ - HPOUTR5757+ - SPKOUT5858+ - SPKOUTL5959+ - SPKOUTR6060+6161+required:6262+ - nvidia,i2s-controller6363+6464+unevaluatedProperties: false6565+6666+examples:6767+ - |6868+ #include <dt-bindings/clock/tegra30-car.h>6969+ #include <dt-bindings/soc/tegra-pmc.h>7070+ sound {7171+ compatible = "microsoft,tegra-audio-wm8962-surface-rt",7272+ "nvidia,tegra-audio-wm8962";7373+ nvidia,model = "Microsoft Surface RT WM8962";7474+7575+ nvidia,audio-routing =7676+ "Headphone Jack", "HPOUTR",7777+ "Headphone Jack", "HPOUTL",7878+ "Int Spk", "SPKOUTR",7979+ "Int Spk", "SPKOUTL";8080+8181+ nvidia,i2s-controller = <&tegra_i2s1>;8282+ nvidia,audio-codec = <&wm8962>;8383+8484+ clocks = <&tegra_car TEGRA30_CLK_PLL_A>,8585+ <&tegra_car TEGRA30_CLK_PLL_A_OUT0>,8686+ <&tegra_pmc TEGRA_PMC_CLK_OUT_1>;8787+ clock-names = "pll_a", "pll_a_out0", "mclk";8888+ };
+19
sound/soc/tegra/Kconfig
···229229 boards using the WM8093 codec. Currently, the supported boards are230230 Harmony, Ventana, Seaboard, Kaen, and Aebl.231231232232+config SND_SOC_TEGRA_WM8962233233+ tristate "SoC Audio support for Tegra boards using a WM8962 codec"234234+ depends on I2C && INPUT && GPIOLIB235235+ select SND_SOC_TEGRA_MACHINE_DRV236236+ select SND_SOC_WM8962237237+ help238238+ Say Y or M here if you want to add support for SoC audio on Tegra239239+ boards using the WM8962 codec. Currently, the supported boards are240240+ Microsoft Surface RT.241241+232242config SND_SOC_TEGRA_WM9712233243 tristate "SoC Audio support for Tegra boards using a WM9712 codec"234244 depends on GPIOLIB···303293 Say Y or M here if you want to add support for SoC audio on Tegra304294 boards using the SGTL5000 codec, such as Apalis T30, Apalis TK1 or305295 Colibri T30.296296+297297+config SND_SOC_TEGRA_CPCAP298298+ tristate "SoC Audio support for Tegra boards using a CPCAP codec"299299+ depends on I2C && GPIOLIB && MFD_CPCAP300300+ select SND_SOC_TEGRA_MACHINE_DRV301301+ select SND_SOC_CPCAP302302+ help303303+ Say Y or M here if you want to add support for SoC audio on Tegra304304+ boards using the CPCAP codec, such as Motorola Atrix 4G or Droid X2.306305307306endif308307