aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/hp/snb_ivb_laptops/variants/8460p/hda_verb.c
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-01-02 00:07:08 +0100
committerNico Huber <nico.h@gmx.de>2020-01-20 09:00:55 +0000
commit5aee8262d592ed3ca229d0d75690e6a948602b59 (patch)
treec031c847576eae639a56fe5a222943f86c05da11 /src/mainboard/hp/snb_ivb_laptops/variants/8460p/hda_verb.c
parenta3580e59be63e26bc2f0acf7a4c8352ddb583f17 (diff)
mb/hp/8460p: Transform into variant
Tested with BUILD_TIMELESS=1, binary does not change. Change-Id: I17b6ac9ac2433b760e125a1ce708d3b422b632b5 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38092 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/mainboard/hp/snb_ivb_laptops/variants/8460p/hda_verb.c')
-rw-r--r--src/mainboard/hp/snb_ivb_laptops/variants/8460p/hda_verb.c44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/mainboard/hp/snb_ivb_laptops/variants/8460p/hda_verb.c b/src/mainboard/hp/snb_ivb_laptops/variants/8460p/hda_verb.c
new file mode 100644
index 0000000000..7404576796
--- /dev/null
+++ b/src/mainboard/hp/snb_ivb_laptops/variants/8460p/hda_verb.c
@@ -0,0 +1,44 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2008-2009 coresystems GmbH
+ * Copyright (C) 2014 Vladimir Serbinenko
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; version 2 of
+ * the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#include <device/azalia_device.h>
+
+const u32 cim_verb_data[] = {
+ 0x111d7605, /* Codec Vendor / Device ID: IDT */
+ 0x103c3588, /* Subsystem ID */
+ 11, /* Number of 4 dword sets */
+ AZALIA_SUBVENDOR(0, 0x103c3588),
+ AZALIA_PIN_CFG(0, 0x0a, 0x40f000f0),
+ AZALIA_PIN_CFG(0, 0x0b, 0x0421401f),
+ AZALIA_PIN_CFG(0, 0x0c, 0x04a11020),
+ AZALIA_PIN_CFG(0, 0x0d, 0x90170110),
+ AZALIA_PIN_CFG(0, 0x0e, 0x40f000f0),
+ AZALIA_PIN_CFG(0, 0x0f, 0x40f000f0),
+ AZALIA_PIN_CFG(0, 0x10, 0x40f000f0),
+ AZALIA_PIN_CFG(0, 0x11, 0x90a60130),
+ AZALIA_PIN_CFG(0, 0x1f, 0x40f000f0),
+ AZALIA_PIN_CFG(0, 0x20, 0x40f000f0),
+
+ 0x11c11040, /* Codec Vendor / Device ID: LSI */
+ 0x103c3066, /* Subsystem ID */
+ 1, /* Number of 4 dword sets */
+ AZALIA_SUBVENDOR(1, 0x103c3066),
+};
+
+const u32 pc_beep_verbs[0] = {};
+
+AZALIA_ARRAY_SIZES;