summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/x201
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2019-12-06 00:31:22 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-12-12 15:09:51 +0000
commit3012948b395ddc3b3659701c1b0c7506988cb770 (patch)
tree80f31234f0cd657f555a94168a50ba44203ce595 /src/mainboard/lenovo/x201
parent9a0f09334356ed11a02202d3e024a72c62c9755d (diff)
downloadcoreboot-3012948b395ddc3b3659701c1b0c7506988cb770.tar.xz
mb/**/hda_verb.c: Clean up formatting
Change-Id: Ibe2d92990d0074266aa05ada749e9dad55e609a2 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37541 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'src/mainboard/lenovo/x201')
-rw-r--r--src/mainboard/lenovo/x201/hda_verb.c59
1 files changed, 14 insertions, 45 deletions
diff --git a/src/mainboard/lenovo/x201/hda_verb.c b/src/mainboard/lenovo/x201/hda_verb.c
index 25a87f57f2..ee12d3adcd 100644
--- a/src/mainboard/lenovo/x201/hda_verb.c
+++ b/src/mainboard/lenovo/x201/hda_verb.c
@@ -17,58 +17,27 @@
#include <device/azalia_device.h>
const u32 cim_verb_data[] = {
- /* coreboot specific header */
- 0x14F15069, /* Codec Vendor / Device ID: Conexant CX20585 */
- 0x17AA2155, /* Subsystem ID */
+ 0x14f15069, /* Codec Vendor / Device ID: Conexant CX20585 */
+ 0x17aa2155, /* Subsystem ID */
11, /* Number of 4 dword sets */
-
- /* NID 0x01: Subsystem ID. */
- AZALIA_SUBVENDOR(0x0, 0x17AA2155),
-
- /* NID 0x19: Headphone jack. */
- AZALIA_PIN_CFG(0x0, 0x19, 0x042140F0),
-
- /* NID 0x1A: Dock mic jack. */
- AZALIA_PIN_CFG(0x0, 0x1A, 0x61A190F0),
-
- /* NID 0x1B: Mic jack. */
- AZALIA_PIN_CFG(0x0, 0x1B, 0x04A190F0),
-
- /* NID 0x1C: Dock headphone jack. */
- AZALIA_PIN_CFG(0x0, 0x1C, 0x612140F0),
-
- /* NID 0x1D: EAPD detect. */
- AZALIA_PIN_CFG(0x0, 0x1D, 0x601700F0),
-
- /* NID 0x1E */
- AZALIA_PIN_CFG(0x0, 0x1E, 0x40F001F0),
-
- /* NID 0x1F */
- AZALIA_PIN_CFG(0x0, 0x1F, 0x901701F0),
-
- /* NID 0x20 */
- AZALIA_PIN_CFG(0x0, 0x20, 0x40F001F0),
-
- /* NID 0x22 */
- AZALIA_PIN_CFG(0x0, 0x22, 0x40F001F0),
-
- /* NID 0x23: Internal mic boost volume. */
- AZALIA_PIN_CFG(0x0, 0x23, 0x90A601F0),
+ AZALIA_SUBVENDOR(0x0, 0x17aa2155),
+ AZALIA_PIN_CFG(0x0, 0x19, 0x042140f0), /* Headphone jack */
+ AZALIA_PIN_CFG(0x0, 0x1a, 0x61a190f0), /* Dock mic jack */
+ AZALIA_PIN_CFG(0x0, 0x1b, 0x04a190f0), /* Mic jack */
+ AZALIA_PIN_CFG(0x0, 0x1c, 0x612140f0), /* Dock headphone jack */
+ AZALIA_PIN_CFG(0x0, 0x1d, 0x601700f0), /* EAPD detect */
+ AZALIA_PIN_CFG(0x0, 0x1e, 0x40f001f0),
+ AZALIA_PIN_CFG(0x0, 0x1f, 0x901701f0),
+ AZALIA_PIN_CFG(0x0, 0x20, 0x40f001f0),
+ AZALIA_PIN_CFG(0x0, 0x22, 0x40f001f0),
+ AZALIA_PIN_CFG(0x0, 0x23, 0x90a601f0), /* Internal mic boost volume */
0x80862804, /* Codec Vendor / Device ID: Intel Ibexpeak HDMI. */
0x17aa21b5, /* Subsystem ID */
4, /* Number of 4 dword sets */
-
- /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x17aa21b5 */
- AZALIA_SUBVENDOR(0x3, 0x17AA21B5),
-
- /* NID 0x04. */
+ AZALIA_SUBVENDOR(0x3, 0x17aa21b5),
AZALIA_PIN_CFG(0x3, 0x04, 0x58560010),
-
- /* NID 0x05. */
AZALIA_PIN_CFG(0x3, 0x05, 0x18560020),
-
- /* NID 0x06. */
AZALIA_PIN_CFG(0x3, 0x06, 0x58560030),
};