device/azalia_codec: Add header with enums for Realtek node IDs

Add enums for the output pin widget node IDs for Realtek ALC256 and
ALC269 codecs, to be used in HDA verb tables.

Sources:
ALC256-CG Datasheet Rev 1.1
ALC269-VB Datasheet Rev 0.14N
ALC269-VC Datasheet Rev 0.83

Change-Id: I1b60dd1ce2c1c790e22058d10234856f8b9b9416
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/89075
Reviewed-by: Sean Rhodes <sean@starlabs.systems>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Nicholas Sudsgaard <devel+coreboot@nsudsgaard.com>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
This commit is contained in:
Matt DeVillier 2025-09-05 10:46:52 -05:00 committed by Elyes Haouas
commit 8159b2e06c

View file

@ -0,0 +1,32 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef DEVICE_AZALIA_CODEC_REALTEK_H
#define DEVICE_AZALIA_CODEC_REALTEK_H
enum alc256_pin_widget {
ALC256_DMIC12 = 0x12,
ALC256_DMIC34 = 0x13,
ALC256_SPEAKERS = 0x14, // Port-D
ALC256_MIC2 = 0x19, // Port-F
ALC256_LINE1 = 0x1a, // Port-C
ALC256_LINE2 = 0x1b, // Port-E
ALC256_PC_BEEP = 0x1d,
ALC256_SPDIF_OUT = 0x1e,
ALC256_HP_OUT = 0x21, // Port-I
};
enum alc269_pin_widget {
ALC269_DMIC12 = 0x12,
ALC269_SPEAKERS = 0x14, // Port-D
ALC269_VC_HP_OUT = 0x15, // Port-A, ALC269-VCx only
ALC269_MONO = 0x17, // Port-H
ALC269_MIC1 = 0x18, // Port-B
ALC269_MIC2 = 0x19, // Port-F
ALC269_LINE1 = 0x1a, // Port-C
ALC269_LINE2 = 0x1b, // Port-E
ALC269_PC_BEEP = 0x1d,
ALC269_SPDIF_OUT = 0x1e,
ALC269_VB_HP_OUT = 0x21, // Port-I, ALC269-VBx only
};
#endif /* DEVICE_AZALIA_CODEC_REALTEK_H */