Lines Matching +full:gpio +full:- +full:config

1 .\" Copyright (c) 2006-2008 Joel Dahl <joel@FreeBSD.org>
35 .Bd -ragged -offset indent
43 .Bd -literal -offset indent
90 .Ss Boot-time Configuration
91 The following variables are available at boot-time through the
94 .Bl -tag -width ".Va hint.hdac.%d.config"-offset indent
95 .It Va hint.hdac.%d.config
109 .It Va hint.hdac.%d.cad%d.nid%d.config
111 .Va hint.hdaa.%d.nid%d.config
112 .It Va hint.hdaa.%d.config
155 Zero out the pin widget config setup by the system.
161 Overrides audio function GPIO pins configuration set by BIOS.
162 May be specified as a set of space-separated
166 is GPIO line number, and
176 .Dq Li GPIO Ns s
180 experiment a bit with the GPIO setup to find the optimal setup for your
182 .It Va hint.hdaa.%d.nid%d.config
184 May be specified as a 32-bit hexadecimal value with a leading
186 or as a set of space-separated
191 .Bl -tag -width 2n -compact
214 .Bl -tag -width ".Va device=" -offset indent
217 Associations are used to group individual pins to form a complex multi-pin
230 A unique, per-association number used to order pins inside the
247 0 - Front, 1 - Center/LFE, 2 - Back, 3 - Front Wide Center, 4 - Side.
248 Standard combinations are: (0) - Stereo; (0, 2), (0, 4) - Quadro;
249 (0, 1, 2), (0, 1, 4) - 5.1; (0, 1, 2, 4) - 7.1.
253 .Dq Li Line-out ,
257 .Dq Li SPDIF-out ,
258 .Dq Li Digital-out ,
259 .Dq Li Modem-line ,
260 .Dq Li Modem-handset ,
261 .Dq Li Line-in ,
265 .Dq Li SPDIF-in ,
266 .Dq Li Digital-in ,
338 .Bl -tag -width ".Va dev.hdaa.%d.nid%d_original" -offset indent
340 Setting this to a non-zero value dumps the current pin configuration, main
352 .It Va dev.hdaa.%d.config
353 Run-time equivalent of the
354 .Va hint.hdaa.%d.config
359 Current state of GPIO lines.
361 Run-time equivalent of the
362 .Va hint.hdaa.%d.gpio.config
367 Run-time equivalent of the
368 .Va hint.hdaa.%d.nid%d.config
373 Setting this to a non-zero value makes driver to destroy existing pcm devices
383 Run-time equivalent of the
399 .Bd -literal
401 hdaa0: 20 01014020 2 0 Line-out Jack 1/8 Rear Green 0
407 hdaa0: 26 01813031 3 1 Line-in Jack 1/8 Rear Blue 0
416 (Jack, Rear) and nid 21 is a built-in speaker (Fixed, Onboard).
423 .Bd -literal
449 .Ar Line-out
454 .Ar Line-in
472 .Bd -literal
473 hint.hdac.0.cad0.nid20.config="as=1"
474 hint.hdac.0.cad0.nid21.config="as=2"
477 will swap line-out and speaker functions.
480 device will play to the line-out and headphones jacks.
481 Line-out will be muted on the headphones jack connection.
484 will go from two external microphones and line-in jacks.
491 .Bd -literal
492 hint.hdac.0.cad0.nid20.config="as=1 seq=15 device=Headphones"
493 hint.hdac.0.cad0.nid27.config="as=2 seq=0"
494 hint.hdac.0.cad0.nid25.config="as=4 seq=0"
500 device will play to the internal speaker and to the line-out jack, with
501 speaker automute on the line-out jack connection.
504 will use input from one external microphone and the line-in jacks.
513 .Bd -literal
514 hint.hdac.0.cad0.nid20.config="as=1 seq=0"
515 hint.hdac.0.cad0.nid26.config="as=2 seq=0"
516 hint.hdac.0.cad0.nid27.config="as=3 seq=0"
517 hint.hdac.0.cad0.nid25.config="as=4 seq=0"
518 hint.hdac.0.cad0.nid24.config="as=5 seq=0 device=Line-out"
519 hint.hdac.0.cad0.nid21.config="as=6 seq=0"
524 .Pq line-out and line-in ,
528 .Pq additional line-out via retasked rear mic jack ,
536 .Bd -literal
537 hint.hdac.0.cad0.nid20.config="as=1 seq=0"
538 hint.hdac.0.cad0.nid24.config="as=1 seq=1 device=Line-out"
539 hint.hdac.0.cad0.nid26.config="as=1 seq=2 device=Line-out"
540 hint.hdac.0.cad0.nid21.config="as=2 seq=0"
545 for 5.1 playback via 3 rear connectors (line-out and retasked
546 mic and line-in) and headset (headphones and mic) at front connectors.
554 .Bl -tag -width ".Va speaker" -offset indent
560 input-to-output monitoring loopback level
609 .An -nosplit
635 Some vendors use non-standardized General Purpose I/O (GPIO) pins of the codec
637 In some cases setting a combination of GPIO bits may be needed to make