Based on kernel version 6.13
. Page generated on 2025-01-21 08:21 EST
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) %YAML 1.2 --- $id: http://devicetree.org/schemas/sound/samsung,aries-wm8994.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: Samsung Aries audio complex with WM8994 codec maintainers: - Jonathan Bakker <xc-racer2@live.ca> allOf: - $ref: sound-card-common.yaml# properties: compatible: enum: # With FM radio and modem master - samsung,aries-wm8994 # Without FM radio and modem slave - samsung,fascinate4g-wm8994 cpu: type: object additionalProperties: false properties: sound-dai: minItems: 2 maxItems: 2 description: | phandles to the I2S controller and bluetooth codec, in that order required: - sound-dai codec: additionalProperties: false type: object properties: sound-dai: maxItems: 1 description: phandle to the WM8994 CODEC required: - sound-dai samsung,audio-routing: $ref: /schemas/types.yaml#/definitions/non-unique-string-array deprecated: true description: | List of the connections between audio components; each entry is a pair of strings, the first being the connection's sink, the second being the connection's source; valid names for sources and sinks are the WM8994's pins (as documented in its binding), and the jacks on the board - For samsung,aries-wm8994: HP, SPK, RCV, LINE, Main Mic, Headset Mic, or FM In For samsung,fascinate4g-wm8994: HP, SPK, RCV, LINE, Main Mic, or HeadsetMic Deprecated, use audio-routing. extcon: description: Extcon phandle for dock detection main-micbias-supply: description: Supply for the micbias on the main mic headset-micbias-supply: description: Supply for the micbias on the headset mic earpath-sel-gpios: maxItems: 1 description: GPIO for switching between tv-out and mic paths headset-detect-gpios: maxItems: 1 description: GPIO for detection of headset insertion headset-key-gpios: maxItems: 1 description: GPIO for detection of headset key press io-channels: maxItems: 1 description: IO channel to read micbias voltage for headset detection io-channel-names: const: headset-detect required: - compatible - cpu - codec - audio-routing - extcon - main-micbias-supply - headset-micbias-supply - earpath-sel-gpios - headset-detect-gpios - headset-key-gpios unevaluatedProperties: false examples: - | #include <dt-bindings/gpio/gpio.h> sound { compatible = "samsung,fascinate4g-wm8994"; model = "Fascinate4G"; extcon = <&fsa9480>; main-micbias-supply = <&main_micbias_reg>; headset-micbias-supply = <&headset_micbias_reg>; earpath-sel-gpios = <&gpj2 6 GPIO_ACTIVE_HIGH>; io-channels = <&adc 3>; io-channel-names = "headset-detect"; headset-detect-gpios = <&gph0 6 GPIO_ACTIVE_HIGH>; headset-key-gpios = <&gph3 6 GPIO_ACTIVE_HIGH>; audio-routing = "HP", "HPOUT1L", "HP", "HPOUT1R", "SPK", "SPKOUTLN", "SPK", "SPKOUTLP", "RCV", "HPOUT2N", "RCV", "HPOUT2P", "LINE", "LINEOUT2N", "LINE", "LINEOUT2P", "IN1LP", "Main Mic", "IN1LN", "Main Mic", "IN1RP", "Headset Mic", "IN1RN", "Headset Mic"; pinctrl-names = "default"; pinctrl-0 = <&headset_det &earpath_sel>; cpu { sound-dai = <&i2s0>, <&bt_codec>; }; codec { sound-dai = <&wm8994>; }; }; |