summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2023-09-08 19:47:22 -0500
committerFelix Held <felix-coreboot@felixheld.de>2023-09-22 15:49:05 +0000
commitc4a81b390ebc76f2f6b4eeb5b35923e5c5cdbf6a (patch)
tree0ba40dee353f00ab0bdba2b3bf3bcd30833e90c9 /src
parentc377345659674834ac1a9dfc20ff266093023c7d (diff)
drivers/sof: Add support for rt1019 speaker topology
Enables correct identification of boards using rt1019 speaker amplifier by SOF Windows drivers. TEST=tested with rest of patch train Change-Id: I550dc8614e6e21d6d8715c12b7a4af35117497b5 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/77739 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Sean Rhodes <sean@starlabs.systems> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src')
-rw-r--r--src/drivers/sof/chip.h1
-rw-r--r--src/drivers/sof/sof.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/drivers/sof/chip.h b/src/drivers/sof/chip.h
index 8d5b0f1893..74e9d8880f 100644
--- a/src/drivers/sof/chip.h
+++ b/src/drivers/sof/chip.h
@@ -16,6 +16,7 @@ enum _spkr_tplg {
max98390,
rt1011,
rt1015,
+ rt1019,
};
/* Jack topology */
diff --git a/src/drivers/sof/sof.c b/src/drivers/sof/sof.c
index b476c1f365..ee315995bc 100644
--- a/src/drivers/sof/sof.c
+++ b/src/drivers/sof/sof.c
@@ -19,6 +19,7 @@ static const char *get_spkr_tplg_str(enum _spkr_tplg tplg)
case max98390: return "max98390";
case rt1011: return "rt1011";
case rt1015: return "rt1015";
+ case rt1019: return "rt1019";
default: return "default";
}
}