Home
last modified time | relevance | path

Searched +full:mt8188 +full:- +full:afe (Results 1 – 17 of 17) sorted by relevance

/openbmc/linux/sound/soc/mediatek/mt8188/
H A DMakefile1 # SPDX-License-Identifier: GPL-2.0
4 snd-soc-mt8188-afe-objs := \
5 mt8188-afe-clk.o \
6 mt8188-afe-pcm.o \
7 mt8188-audsys-clk.o \
8 mt8188-dai-adda.o \
9 mt8188-dai-etdm.o \
10 mt8188-dai-pcm.o
12 obj-$(CONFIG_SND_SOC_MT8188) += snd-soc-mt8188-afe.o
15 obj-$(CONFIG_SND_SOC_MT8188_MT6359) += mt8188-mt6359.o
H A Dmt8188-audsys-clk.c1 // SPDX-License-Identifier: GPL-2.0
3 * mt8188-audsys-clk.c -- MediaTek 8188 audsys clock control
6 * Author: Chun-Chia Chiu <chun-chia.chiu@mediatek.com>
10 #include <linux/clk-provider.h>
12 #include "mt8188-afe-common.h"
13 #include "mt8188-audsys-clk.h"
14 #include "mt8188-audsys-clkid.h"
15 #include "mt8188-reg.h"
143 struct mtk_base_afe *afe = data; in mt8188_audsys_clk_unregister() local
144 struct mt8188_afe_private *afe_priv = afe->platform_priv; in mt8188_audsys_clk_unregister()
[all …]
H A Dmt8188-afe-clk.c1 // SPDX-License-Identifier: GPL-2.0
3 * mt8188-afe-clk.c -- MediaTek 8188 afe clock ctrl
8 * Chun-Chia Chiu <chun-chia.chiu@mediatek.com>
13 #include "mt8188-afe-common.h"
14 #include "mt8188-afe-clk.h"
15 #include "mt8188-audsys-clk.h"
16 #include "mt8188-reg.h"
51 /* afe clock gate */
218 return -EINVAL; in mt8188_afe_init_apll_tuner()
220 cfg->ref_cnt = 0; in mt8188_afe_init_apll_tuner()
[all …]
H A Dmt8188-dai-pcm.c1 // SPDX-License-Identifier: GPL-2.0
8 * Chun-Chia Chiu <chun-chia.chiu@mediatek.com>
14 #include "mt8188-afe-clk.h"
15 #include "mt8188-afe-common.h"
16 #include "mt8188-reg.h"
62 return -EINVAL; in mtk_dai_pcm_mode()
123 struct snd_pcm_runtime * const runtime = substream->runtime; in mtk_dai_pcm_configure()
124 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mtk_dai_pcm_configure() local
125 struct mt8188_afe_private *afe_priv = afe->platform_priv; in mtk_dai_pcm_configure()
131 unsigned int bit_width = dai->sample_bits; in mtk_dai_pcm_configure()
[all …]
H A Dmt8188-dai-adda.c1 // SPDX-License-Identifier: GPL-2.0
8 * Chun-Chia Chiu <chun-chia.chiu@mediatek.com>
14 #include "mt8188-afe-clk.h"
15 #include "mt8188-afe-common.h"
16 #include "mt8188-reg.h"
59 static unsigned int afe_adda_dl_rate_transform(struct mtk_base_afe *afe, in afe_adda_dl_rate_transform() argument
86 dev_info(afe->dev, "%s(), rate %u invalid, use 48kHz!!!\n", in afe_adda_dl_rate_transform()
92 static unsigned int afe_adda_ul_rate_transform(struct mtk_base_afe *afe, in afe_adda_ul_rate_transform() argument
109 dev_info(afe->dev, "%s(), rate %u invalid, use 48kHz!!!\n", in afe_adda_ul_rate_transform()
115 static int mt8188_adda_mtkaif_init(struct mtk_base_afe *afe) in mt8188_adda_mtkaif_init() argument
[all …]
H A Dmt8188-afe-clk.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * mt8188-afe-clk.h -- MediaTek 8188 afe clock ctrl definition
8 * Chun-Chia Chiu <chun-chia.chiu@mediatek.com>
109 int mt8188_afe_get_mclk_source_rate(struct mtk_base_afe *afe, int apll);
111 int mt8188_get_apll_by_rate(struct mtk_base_afe *afe, int rate);
112 int mt8188_get_apll_by_name(struct mtk_base_afe *afe, const char *name);
113 int mt8188_afe_init_clock(struct mtk_base_afe *afe);
114 int mt8188_afe_enable_clk(struct mtk_base_afe *afe, struct clk *clk);
115 void mt8188_afe_disable_clk(struct mtk_base_afe *afe, struct clk *clk);
116 int mt8188_afe_set_clk_rate(struct mtk_base_afe *afe, struct clk *clk,
[all …]
H A Dmt8188-afe-common.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * mt8188-afe-common.h -- MediaTek 8188 audio driver definitions
8 * Chun-Chia Chiu <chun-chia.chiu@mediatek.com>
17 #include "../common/mtk-base-afe.h"
40 MT8188_AFE_MEMIF_NUM = (MT8188_AFE_MEMIF_END - MT8188_AFE_MEMIF_START),
53 (MT8188_AFE_IO_ETDM_END - MT8188_AFE_IO_ETDM_START),
57 MT8188_AFE_IO_NUM = (MT8188_AFE_IO_END - MT8188_AFE_IO_START),
59 MT8188_DAI_NUM = (MT8188_DAI_END - MT8188_DAI_START),
129 spinlock_t afe_ctrl_lock; /* Lock for afe control */
139 int mt8188_dai_adda_register(struct mtk_base_afe *afe);
[all …]
H A Dmt8188-mt6359.c1 // SPDX-License-Identifier: GPL-2.0
3 * mt8188-mt6359.c -- MT8188-MT6359 ALSA SoC machine driver
17 #include "mt8188-afe-common.h"
20 #include "../common/mtk-afe-platform-driver.h"
21 #include "../common/mtk-soundcard-driver.h"
37 #define MAX98390_CODEC_DAI "max98390-aif1"
38 #define MAX98390_DEV0_NAME "max98390.0-0038" /* rear right */
39 #define MAX98390_DEV1_NAME "max98390.0-0039" /* rear left */
40 #define MAX98390_DEV2_NAME "max98390.0-003a" /* front right */
41 #define MAX98390_DEV3_NAME "max98390.0-003b" /* front left */
[all …]
H A Dmt8188-audsys-clk.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * mt8188-audsys-clk.h -- MediaTek 8188 audsys clock definition
6 * Author: Chun-Chia Chiu <chun-chia.chiu@mediatek.com>
12 int mt8188_audsys_clk_register(struct mtk_base_afe *afe);
H A Dmt8188-afe-pcm.c1 // SPDX-License-Identifier: GPL-2.0
3 * MediaTek ALSA SoC AFE platform driver for 8188
8 * Chun-Chia Chiu <chun-chia.chiu@mediatek.com>
11 #include <linux/arm-smccc.h>
13 #include <linux/dma-mapping.h>
24 #include "mt8188-afe-common.h"
25 #include "mt8188-afe-clk.h"
26 #include "mt8188-reg.h"
27 #include "../common/mtk-afe-platform-driver.h"
28 #include "../common/mtk-afe-fe-dai.h"
[all …]
H A Dmt8188-dai-etdm.c1 // SPDX-License-Identifier: GPL-2.0
8 * Chun-Chia Chiu <chun-chia.chiu@mediatek.com>
15 #include "mt8188-afe-clk.h"
16 #include "mt8188-afe-common.h"
17 #include "mt8188-reg.h"
109 int cowork_slv_id[MT8188_AFE_IO_ETDM_NUM - 1]; //dai_id
139 return -EINVAL; in get_etdm_fs_timing()
160 etdm_reg->con0 = ETDM_IN1_CON0; in get_etdm_reg()
161 etdm_reg->con1 = ETDM_IN1_CON1; in get_etdm_reg()
162 etdm_reg->con2 = ETDM_IN1_CON2; in get_etdm_reg()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/sound/
H A Dmediatek,mt8188-afe.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/mediatek,mt8188-afe.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MediaTek AFE PCM controller for mt8188
10 - Trevor Wu <trevor.wu@mediatek.com>
14 const: mediatek,mt8188-afe
25 reset-names:
28 memory-region:
31 Shared memory region for AFE memif. A "shared-dma-pool".
[all …]
H A Dmediatek,mt8188-mt6359.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/mediatek,mt8188-mt6359.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MediaTek MT8188 ASoC sound card
10 - Trevor Wu <trevor.wu@mediatek.com>
13 - $ref: sound-card-common.yaml#
18 - mediatek,mt8188-mt6359-evb
19 - mediatek,mt8188-nau8825
21 audio-routing:
[all …]
/openbmc/linux/
H A Dopengrok0.0.log1 2024-12-28 20:09:05.996-0600 FINEST t1171 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/linux/drivers/staging/media/av7110/video-continue.rst.gz'
2 2024-12-28 20:09:05.942-0600 FINEST t1149 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/u-boot/arch/sh/config.mk.gz'
3 2024-12-2
[all...]
H A Dopengrok1.0.log1 2024-12-28 20:07:11.902-0600 FINER t583 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c'
2 2024-12-28 20:07:11.913-0600 FINEST t583 Statistics.logIt: Added: '/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c' (CAnalyzer) (took 116 ms)
3 2024-12-28 20:07:11.899-0600 FINER t593 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/tools/testing/selftests/powerpc/tm/tm-signa
[all...]
/openbmc/
Dopengrok1.0.log1 2025-03-14 03:00:40.378-0500 FINE t1 Executor.registerErrorHandler: Installing default uncaught exception handler
2 2025-03-14 03:00:40.496-0500 INFO t1 Indexer.parseOptions: Indexer options: [-c, /usr/local/bin/ctags, -T, 12, -s, /opengrok/src, -
[all...]
Dopengrok2.0.log1 2025-03-13 03:00:39.225-0500 FINE t1 Executor.registerErrorHandler: Installing default uncaught exception handler
2 2025-03-13 03:00:39.341-0500 INFO t1 Indexer.parseOptions: Indexer options: [-c, /usr/local/bin/ctags, -T, 12, -s, /opengrok/src, -
[all...]