From fff2e6c5561889aaf0dec3b8c94f642aec8701ed Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Wed, 3 May 2017 10:05:27 -0700 Subject: intel/skylake: nhlt: Add 48Khz 2ch 16bit config for max98927 This changelist adds the 48Khz 2ch 16bit NHLT configuration for the Maxim 98927 speaker amplifier codec. BUG=b:35585307 TEST=manual testing to ensure speaker output is functional on Eve board Change-Id: Ieda988b557ecefdace5f81b474a952af56e69315 Signed-off-by: Duncan Laurie Reviewed-on: https://review.coreboot.org/19548 Reviewed-by: Aaron Durbin Reviewed-by: Furquan Shaikh Tested-by: build bot (Jenkins) --- src/soc/intel/skylake/nhlt/max98927.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/soc/intel/skylake/nhlt/max98927.c') diff --git a/src/soc/intel/skylake/nhlt/max98927.c b/src/soc/intel/skylake/nhlt/max98927.c index 77b72aa4e6..8b14df7eef 100644 --- a/src/soc/intel/skylake/nhlt/max98927.c +++ b/src/soc/intel/skylake/nhlt/max98927.c @@ -25,6 +25,15 @@ static const struct nhlt_format_config max98927_render_formats[] = { .speaker_mask = SPEAKER_FRONT_LEFT | SPEAKER_FRONT_RIGHT, .settings_file = "max98927-render-2ch-48khz-24b.bin", }, + /* 48 KHz 16-bits per sample. */ + { + .num_channels = 2, + .sample_freq_khz = 48, + .container_bits_per_sample = 16, + .valid_bits_per_sample = 16, + .speaker_mask = SPEAKER_FRONT_LEFT | SPEAKER_FRONT_RIGHT, + .settings_file = "max98927-render-2ch-48khz-16b.bin", + }, }; static const struct nhlt_endp_descriptor max98927_descriptors[] = { -- cgit v1.2.3