~canonical-hwe-team/hwe-next/+git/sof:mt8188/v0.1

Last commit made on 2023-08-22
Get this branch:
git clone -b mt8188/v0.1 https://git.launchpad.net/~canonical-hwe-team/hwe-next/+git/sof

Branch merges

Branch information

Name:
mt8188/v0.1
Repository:
lp:~canonical-hwe-team/hwe-next/+git/sof

Recent commits

ba05d6b... by Hailong Fan <email address hidden>

audio: module_adapter: Solve the build error using xtensa toolchain

Build error info is as follows when compiling with xt-xx toolchain:
1.redefinition of ‘i’
2.‘for’ loop initial declaration used outside C99 mode
Fix the above error.

Signed-off-by: Hailong Fan <email address hidden>

5e1a9c0... by Rander Wang <email address hidden>

copier: adjust valid format based on sample type

Adjust valid format in copier for some types of dai gateway which
need to use MSB type.

Currently sample type only affect the copier module so we don't do
it in audio_stream_fmt_conversion.

Signed-off-by: Rander Wang <email address hidden>

196f86c... by Rander Wang <email address hidden>

topology2: change the sample type for Linux audio system

At first the sample type is set to MSB_INTEGER to follow windows
settings, but actually we use LSB_INTERGER type such as S24_4LE.
Now change the default sample type to LSB_INTERGER to align with
FW usage. For DAI copier we need to use MSB_INTERGER for hardware
requirement. Currently sample type only affect s24/c32 case, so only
change sample type in dai for this format config.

FW will use sample type to choose correct format conversion
function and can deal with Windows audio stream correctly with MSB
s24/c32 format.

out_fmt_cfg is redefined for a alsa-lib bug. Alsa-lib will first process
out_fmt_cfg = '$[($out_channels | ($out_valid_bit_depth * 256)) |
($out_sample_type * 65536)]' in base class and then deal with
out_sample_type, so error is reported. Now first define out_sample_type
and then out_fmt_cfg, everything works.

Signed-off-by: Rander Wang <email address hidden>

87856a7... by Rander Wang <email address hidden>

pcm:_converter: simplify the pcm conversion algorithm

Remove gateway type and direction for pcm conversion check and will move
them to copier module. This will make pcm conversion check more general
and simple. Also remove s16/c32 for gateway since it is never used.

Signed-off-by: Rander Wang <email address hidden>

784630f... by Rander Wang <email address hidden>

ipc4: add S24_4LE_MSB format support

For sample format with 24 bits valid sample bit and 32 bits container,
valid sample is at msb 24bits if IPC4_TYPE_MSB_INTEGER is set.

Signed-off-by: Rander Wang <email address hidden>

6efab4a... by Rander Wang <email address hidden>

audio: add fixup for S24_3LE

It is missed in kconfig.

Signed-off-by: Rander Wang <email address hidden>

91fb944... by Kai Vehmanen

platform: tigerlake: cleanup unused code for IPC3, SPI, GPIO, XTOS

Remove code segments in platform.c that are no longer used
in the tigerlake platform configuration. This includes code related
to IPC3, GPIO, SPI, DMA scheduling domain and XTOS. Additionally interrupt
initialization via platform_interrupt_init() can be removed as it is
a no-op in Zephyr builds.

Signed-off-by: Kai Vehmanen <email address hidden>

2a4cf9a... by Kai Vehmanen

platform: tigerlake: remove unused definitions

Zephyr native platforms do not need to have low-level definitions
in the platform.h file. These are now handled by Zephyr board files,
so stick to a single place for the definitions and remove the values
from here.

Signed-off-by: Kai Vehmanen <email address hidden>

a89b9d4... by Kai Vehmanen

platform: tigerlake: remove XTOS options

When CONFIG_TIGERLAKE is selected, omit all XTOS specific
build options.

Signed-off-by: Kai Vehmanen <email address hidden>

54dd8ec... by Kai Vehmanen

arch: xtensa: remove tigerlake platform option

Remove Intel Tiger Lake from available XTOS platforms in arch/xtensa.
Now done in sof/zephyr/CMakeLists.txt instead.

Signed-off-by: Kai Vehmanen <email address hidden>