From 770fd8def11b0fc46f71f4d29fd294f5e765721c Mon Sep 17 00:00:00 2001 From: Kai Vehmanen Date: Wed, 13 Nov 2024 10:34:56 +0200 Subject: [PATCH] platform: intel: remove lib/dai.h for all Intel platforms No longer needed for Zephyr builds, can be removed as unused. Signed-off-by: Kai Vehmanen --- src/platform/ace30/include/platform/lib/dai.h | 46 ---------------- .../lunarlake/include/platform/lib/dai.h | 46 ---------------- .../meteorlake/include/platform/lib/dai.h | 46 ---------------- .../tigerlake/include/platform/lib/dai.h | 54 ------------------- 4 files changed, 192 deletions(-) delete mode 100644 src/platform/ace30/include/platform/lib/dai.h delete mode 100644 src/platform/lunarlake/include/platform/lib/dai.h delete mode 100644 src/platform/meteorlake/include/platform/lib/dai.h delete mode 100644 src/platform/tigerlake/include/platform/lib/dai.h diff --git a/src/platform/ace30/include/platform/lib/dai.h b/src/platform/ace30/include/platform/lib/dai.h deleted file mode 100644 index cce32b808cf7..000000000000 --- a/src/platform/ace30/include/platform/lib/dai.h +++ /dev/null @@ -1,46 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * - * Copyright(c) 2022-2024 Intel Corporation. - * - * Author: Marcin Maka - */ - -#ifdef __SOF_LIB_DAI_H__ - -#ifndef __PLATFORM_LIB_DAI_H__ -#define __PLATFORM_LIB_DAI_H__ - -/* SSP */ - -/* - * Number of base and extended SSP ports must be defined separately - * since some HW registers are in two groups, one for base and one - * for extended. - */ - -/** \brief Number of 'base' SSP ports available */ -#define DAI_NUM_SSP_BASE 6 - -/* HD/A */ - -/** \brief Number of HD/A Link Outputs */ -#define DAI_NUM_HDA_OUT 9 - -/** \brief Number of HD/A Link Inputs */ -#define DAI_NUM_HDA_IN 11 - -/* ALH */ - -/** \brief Number of ALH bi-directional links */ -#define DAI_NUM_ALH_BI_DIR_LINKS 0 - -/** \brief Number of contiguous ALH bi-dir links */ -#define DAI_NUM_ALH_BI_DIR_LINKS_GROUP 0 - -#endif /* __PLATFORM_LIB_DAI_H__ */ - -#else - -#error "This file shouldn't be included from outside of sof/lib/dai.h" - -#endif /* __SOF_LIB_DAI_H__ */ diff --git a/src/platform/lunarlake/include/platform/lib/dai.h b/src/platform/lunarlake/include/platform/lib/dai.h deleted file mode 100644 index 3d52e0bc20bf..000000000000 --- a/src/platform/lunarlake/include/platform/lib/dai.h +++ /dev/null @@ -1,46 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * - * Copyright(c) 2023 Intel Corporation. All rights reserved. - * - * Author: Jaroslaw Stelter - */ - -#ifdef __SOF_LIB_DAI_H__ - -#ifndef __PLATFORM_LIB_DAI_H__ -#define __PLATFORM_LIB_DAI_H__ - -/* SSP */ - -/* - * Number of base and extended SSP ports must be defined separately - * since some HW registers are in two groups, one for base and one - * for extended. - */ - -/** \brief Number of 'base' SSP ports available */ -#define DAI_NUM_SSP_BASE 3 - -/* HD/A */ - -/** \brief Number of HD/A Link Outputs */ -#define DAI_NUM_HDA_OUT 9 - -/** \brief Number of HD/A Link Inputs */ -#define DAI_NUM_HDA_IN 11 - -/* ALH */ - -/** \brief Number of ALH bi-directional links */ -#define DAI_NUM_ALH_BI_DIR_LINKS 0 - -/** \brief Number of contiguous ALH bi-dir links */ -#define DAI_NUM_ALH_BI_DIR_LINKS_GROUP 0 - -#endif /* __PLATFORM_LIB_DAI_H__ */ - -#else - -#error "This file shouldn't be included from outside of sof/lib/dai.h" - -#endif /* __SOF_LIB_DAI_H__ */ diff --git a/src/platform/meteorlake/include/platform/lib/dai.h b/src/platform/meteorlake/include/platform/lib/dai.h deleted file mode 100644 index a1fc2dfff4e5..000000000000 --- a/src/platform/meteorlake/include/platform/lib/dai.h +++ /dev/null @@ -1,46 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * - * Copyright(c) 2022 Intel Corporation. All rights reserved. - * - * Author: Marcin Maka - */ - -#ifdef __SOF_LIB_DAI_H__ - -#ifndef __PLATFORM_LIB_DAI_H__ -#define __PLATFORM_LIB_DAI_H__ - -/* SSP */ - -/* - * Number of base and extended SSP ports must be defined separately - * since some HW registers are in two groups, one for base and one - * for extended. - */ - -/** \brief Number of 'base' SSP ports available */ -#define DAI_NUM_SSP_BASE 3 - -/* HD/A */ - -/** \brief Number of HD/A Link Outputs */ -#define DAI_NUM_HDA_OUT 9 - -/** \brief Number of HD/A Link Inputs */ -#define DAI_NUM_HDA_IN 10 - -/* ALH */ - -/** \brief Number of ALH bi-directional links */ -#define DAI_NUM_ALH_BI_DIR_LINKS 16 - -/** \brief Number of contiguous ALH bi-dir links */ -#define DAI_NUM_ALH_BI_DIR_LINKS_GROUP 4 - -#endif /* __PLATFORM_LIB_DAI_H__ */ - -#else - -#error "This file shouldn't be included from outside of sof/lib/dai.h" - -#endif /* __SOF_LIB_DAI_H__ */ diff --git a/src/platform/tigerlake/include/platform/lib/dai.h b/src/platform/tigerlake/include/platform/lib/dai.h deleted file mode 100644 index 048c9d56164f..000000000000 --- a/src/platform/tigerlake/include/platform/lib/dai.h +++ /dev/null @@ -1,54 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * - * Copyright(c) 2018 Intel Corporation. All rights reserved. - * - * Author: Marcin Maka - */ - -#ifdef __SOF_LIB_DAI_H__ - -#ifndef __PLATFORM_LIB_DAI_H__ -#define __PLATFORM_LIB_DAI_H__ - -/* TIGERLAKE */ - -/* SSP */ - -/* - * Number of base and extended SSP ports must be defined separately - * since some HW registers are in two groups, one for base and one - * for extended. - */ - -/** \brief Number of 'base' SSP ports available */ -#define DAI_NUM_SSP_BASE 6 - -/** \brief Number of 'extended' SSP ports available */ -#define DAI_NUM_SSP_EXT 0 - -/** \brief Number of SSP MCLKs available */ -#define DAI_NUM_SSP_MCLK 2 - -/* HD/A */ - -/** \brief Number of HD/A Link Outputs */ -#define DAI_NUM_HDA_OUT 9 - -/** \brief Number of HD/A Link Inputs */ -#define DAI_NUM_HDA_IN 7 - -/* ALH */ - -/** \brief Number of ALH bi-directional links */ -#define DAI_NUM_ALH_BI_DIR_LINKS 16 - -/** \brief Number of contiguous ALH bi-dir links */ -#define DAI_NUM_ALH_BI_DIR_LINKS_GROUP 4 - -#endif /* __PLATFORM_LIB_DAI_H__ */ - -#else - -#error "This file shouldn't be included from outside of sof/lib/dai.h" - -#endif /* __SOF_LIB_DAI_H__ */