Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dc0adf48 authored by Clemens Ladisch's avatar Clemens Ladisch Committed by Takashi Iwai
Browse files

sound: oxygen: more hardware documentation



Add some comments describing the hardware pin routing.

Signed-off-by: default avatarClemens Ladisch <clemens@ladisch.de>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 3d8bb454
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -17,6 +17,12 @@
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 */

/*
 * CMI8788:
 *
 * SPI 0 -> AK4396
 */

#include <linux/delay.h>
#include <linux/pci.h>
#include <sound/control.h>
+6 −0
Original line number Diff line number Diff line
@@ -18,6 +18,8 @@
 */

/*
 * CMI8788:
 *
 * SPI 0 -> 1st AK4396 (front)
 * SPI 1 -> 2nd AK4396 (surround)
 * SPI 2 -> 3rd AK4396 (center/LFE)
@@ -27,6 +29,10 @@
 * GPIO 0 -> DFS0 of AK5385
 * GPIO 1 -> DFS1 of AK5385
 * GPIO 8 -> enable headphone amplifier on HT-Omega models
 *
 * CM9780:
 *
 * GPO 0 -> route line-in (0) or AC97 output (1) to ADC input
 */

#include <linux/delay.h>
+4 −0
Original line number Diff line number Diff line
@@ -41,6 +41,10 @@
 * CS4362A:
 *
 * AD0 <- 0
 *
 * CM9780:
 *
 * GPO 0 -> route line-in (0) or AC97 output (1) to CS5361 input
 */

#include <linux/pci.h>
+17 −0
Original line number Diff line number Diff line
@@ -32,6 +32,10 @@
 * GPIO 5 <- external power present (D2X only)
 * GPIO 7 -> ALT
 * GPIO 8 -> enable output to speakers
 *
 * CM9780:
 *
 * GPO 0 -> route line-in (0) or AC97 output (1) to CS5381 input
 */

/*
@@ -54,6 +58,10 @@
 *
 * PCM1796 front: AD1,0 <- 0,0
 *
 * CM9780:
 *
 * GPO 0 -> route line-in (0) or AC97 output (1) to CS5381 input
 *
 * no daughterboard
 * ----------------
 *
@@ -107,6 +115,15 @@
 * PCM1792A:
 *
 * AD1,0 <- 0,0
 * SCK <- CLK_OUT of CS2000 (ST only)
 *
 * CS2000:
 *
 * AD0 <- 0
 *
 * CM9780:
 *
 * GPO 0 -> route line-in (0) or AC97 output (1) to CS5381 input
 *
 * H6 daughterboard
 * ----------------