Home
last modified time | relevance | path

Searched +full:mt8195 +full:- +full:audio (Results 1 – 25 of 27) sorted by relevance

12

/openbmc/linux/Documentation/devicetree/bindings/dsp/
H A Dmediatek,mt8195-dsp.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/dsp/mediatek,mt8195-dsp.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Mediatek mt8195 DSP core
10 - YC Hung <yc.hung@mediatek.com>
13 Some boards from mt8195 contain a DSP core used for
14 advanced pre- and post- audio processing.
18 const: mediatek,mt8195-dsp
22 - description: Address and size of the DSP Cfg registers
[all …]
/openbmc/linux/Documentation/devicetree/bindings/sound/
H A Dmt8195-afe-pcm.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/mt8195-afe-pcm.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Mediatek AFE PCM controller for mt8195
10 - Trevor Wu <trevor.wu@mediatek.com>
14 const: mediatek,mt8195-audio
25 reset-names:
28 memory-region:
31 Shared memory region for AFE memif. A "shared-dma-pool".
[all …]
H A Dmt8195-mt6359.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/mt8195-mt6359.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MediaTek MT8195 ASoC sound card driver
10 - Trevor Wu <trevor.wu@mediatek.com>
13 This binding describes the MT8195 sound card.
18 - mediatek,mt8195_mt6359_rt1019_rt5682
19 - mediatek,mt8195_mt6359_rt1011_rt5682
20 - mediatek,mt8195_mt6359_max98390_rt5682
[all …]
/openbmc/linux/sound/soc/mediatek/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
17 tristate "ASoc Audio driver for MT2701 with CS42448 codec"
28 tristate "ASoc Audio driver for MT2701 with WM8960 codec"
48 tristate "ASoc Audio driver for MT6797 with MT6351 codec"
68 tristate "ASoc Audio driver for MT7986 with WM8960 codec"
88 tristate "ASoC Audio driver for MT8173 with MAX98090 codec"
93 with the MAX98090 audio codec.
98 tristate "ASoC Audio driver for MT8173 with RT5650 codec"
104 with the RT5650 audio codec.
109 tristate "ASoC Audio driver for MT8173 with RT5650 RT5514 codecs"
[all …]
/openbmc/linux/sound/soc/sof/mediatek/
H A DKconfig1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
4 bool "SOF support for MTK audio DSPs"
22 This option is not user-selectable but automagically handled by
26 tristate "SOF support for MT8186 audio DSP"
36 tristate "SOF support for MT8195 audio DSP"
41 using the mt8195 processors.
/openbmc/linux/drivers/clk/mediatek/
H A DMakefile1 # SPDX-License-Identifier: GPL-2.0
2 obj-$(CONFIG_COMMON_CLK_MEDIATEK) += clk-mtk.o clk-pll.o clk-gate.o clk-apmixed.o clk-cpumux.o rese…
3 obj-$(CONFIG_COMMON_CLK_MEDIATEK_FHCTL) += clk-fhctl.o clk-pllfh.o
5 obj-$(CONFIG_COMMON_CLK_MT6765) += clk-mt6765.o
6 obj-$(CONFIG_COMMON_CLK_MT6765_AUDIOSYS) += clk-mt6765-audio.o
7 obj-$(CONFIG_COMMON_CLK_MT6765_CAMSYS) += clk-mt6765-cam.o
8 obj-$(CONFIG_COMMON_CLK_MT6765_IMGSYS) += clk-mt6765-img.o
9 obj-$(CONFIG_COMMON_CLK_MT6765_MIPI0ASYS) += clk-mt6765-mipi0a.o
10 obj-$(CONFIG_COMMON_CLK_MT6765_MMSYS) += clk-mt6765-mm.o
11 obj-$(CONFIG_COMMON_CLK_MT6765_VCODECSYS) += clk-mt6765-vcodec.o
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
360 to PCI-E and USB.
367 to audio consumers such as I2S and TDM.
390 to PCI-E and USB.
866 bool "Clock driver for MediaTek MT8195"
872 This driver supports MediaTek MT8195 clocks.
875 tristate "Clock driver for MediaTek MT8195 apusys"
879 This driver supports MediaTek MT8195 AI Processor Unit System clocks.
882 tristate "Clock driver for MediaTek MT8195 imp_iic_wrap"
886 This driver supports MediaTek MT8195 I2C/I3C clocks.
[all …]
/openbmc/linux/Documentation/devicetree/bindings/display/mediatek/
H A Dmediatek,dp.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Chun-Kuang Hu <chunkuang.hu@kernel.org>
11 - Jitao shi <jitao.shi@mediatek.com>
15 which are not supported for eDP. For example, audio is not supported for
24 - mediatek,mt8195-dp-tx
25 - mediatek,mt8195-edp-tx
30 nvmem-cells:
34 nvmem-cell-names:
[all …]
/openbmc/linux/sound/soc/sof/mediatek/mt8195/
H A Dmt8195.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
9 * Hardware interface for audio DSP on mt8195
24 #include "../../sof-of-dev.h"
25 #include "../../sof-audio.h"
27 #include "../mtk-adsp-common.h"
28 #include "mt8195.h"
29 #include "mt8195-clk.h"
44 struct adsp_priv *priv = sdev->pdata->hw_pdata; in mt8195_send_msg()
46 sof_mailbox_write(sdev, sdev->host_box.offset, msg->msg_data, in mt8195_send_msg()
47 msg->msg_size); in mt8195_send_msg()
[all …]
H A Dmt8195-clk.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
7 // Hardware interface for mt8195 DSP clock
11 #include "mt8195.h"
12 #include "mt8195-clk.h"
14 #include "../../sof-audio.h"
27 struct device *dev = sdev->dev; in mt8195_adsp_init_clock()
28 struct adsp_priv *priv = sdev->pdata->hw_pdata; in mt8195_adsp_init_clock()
31 priv->clk = devm_kcalloc(dev, ADSP_CLK_MAX, sizeof(*priv->clk), GFP_KERNEL); in mt8195_adsp_init_clock()
33 if (!priv->clk) in mt8195_adsp_init_clock()
34 return -ENOMEM; in mt8195_adsp_init_clock()
[all …]
/openbmc/linux/arch/arm64/boot/dts/mediatek/
H A Dmt8195.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
7 /dts-v1/;
8 #include <dt-bindings/clock/mt8195-clk.h>
9 #include <dt-bindings/gce/mt8195-gce.h>
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include <dt-bindings/memory/mt8195-memory-port.h>
13 #include <dt-bindings/phy/phy.h>
14 #include <dt-bindings/pinctrl/mt8195-pinfunc.h>
15 #include <dt-bindings/power/mt8195-power.h>
[all …]
H A Dmt8195-cherry.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/spmi/spmi.h>
8 #include "mt8195.dtsi"
25 backlight_lcd0: backlight-lcd0 {
26 compatible = "pwm-backlight";
27 brightness-levels = <0 1023>;
28 default-brightness-level = <576>;
29 enable-gpios = <&pio 82 GPIO_ACTIVE_HIGH>;
30 num-interpolated-steps = <1023>;
[all …]
H A Dmt8186.dtsi1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 * Author: Allen-KH Cheng <allen-kh.cheng@mediatek.com>
6 /dts-v1/;
7 #include <dt-bindings/clock/mt8186-clk.h>
8 #include <dt-bindings/gce/mt8186-gce.h>
9 #include <dt-bindings/interrupt-controller/arm-gic.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
11 #include <dt-bindings/memory/mt8186-memory-port.h>
12 #include <dt-bindings/pinctrl/mt8186-pinfunc.h>
13 #include <dt-bindings/power/mt8186-power.h>
[all …]
/openbmc/linux/sound/soc/mediatek/mt8195/
H A Dmt8195-dai-pcm.c1 // SPDX-License-Identifier: GPL-2.0
3 * MediaTek ALSA SoC Audio DAI PCM I/F Control
12 #include "mt8195-afe-clk.h"
13 #include "mt8195-afe-common.h"
14 #include "mt8195-reg.h"
60 return -EINVAL; in mtk_dai_pcm_mode()
122 struct snd_pcm_runtime * const runtime = substream->runtime; in mtk_dai_pcm_configure()
124 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mtk_dai_pcm_configure()
130 unsigned int bit_width = dai->sample_bits; in mtk_dai_pcm_configure()
136 if (dai->id != MT8195_AFE_IO_PCM) in mtk_dai_pcm_configure()
[all …]
H A Dmt8195-afe-common.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * mt8195-afe-common.h -- Mediatek 8195 audio driver definitions
16 #include "../common/mtk-base-afe.h"
39 MT8195_AFE_MEMIF_NUM = (MT8195_AFE_MEMIF_END - MT8195_AFE_MEMIF_START),
51 (MT8195_AFE_IO_ETDM_END - MT8195_AFE_IO_ETDM_START),
56 MT8195_AFE_IO_NUM = (MT8195_AFE_IO_END - MT8195_AFE_IO_START),
58 MT8195_DAI_NUM = (MT8195_DAI_END - MT8195_DAI_START),
H A Dmt8195-afe-clk.c1 // SPDX-License-Identifier: GPL-2.0
3 * mt8195-afe-clk.c -- Mediatek 8195 afe clock ctrl
12 #include "mt8195-afe-common.h"
13 #include "mt8195-afe-clk.h"
14 #include "mt8195-reg.h"
15 #include "mt8195-audsys-clk.h"
209 return -EINVAL; in mt8195_afe_init_apll_tuner()
211 cfg->ref_cnt = 0; in mt8195_afe_init_apll_tuner()
212 spin_lock_init(&cfg->ctrl_lock); in mt8195_afe_init_apll_tuner()
223 return -EINVAL; in mt8195_afe_setup_apll_tuner()
[all …]
H A Dmt8195-dai-adda.c1 // SPDX-License-Identifier: GPL-2.0
3 * MediaTek ALSA SoC Audio DAI ADDA Control
12 #include "mt8195-afe-clk.h"
13 #include "mt8195-afe-common.h"
14 #include "mt8195-reg.h"
93 dev_info(afe->dev, "%s(), rate %d invalid, use 48kHz!!!\n", in afe_adda_dl_rate_transform()
116 dev_info(afe->dev, "%s(), rate %d invalid, use 48kHz!!!\n", in afe_adda_ul_rate_transform()
124 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mt8195_adda_mtkaif_init()
125 struct mtkaif_param *param = &afe_priv->mtkaif_params; in mt8195_adda_mtkaif_init()
135 regmap_update_bits(afe->regmap, AFE_ADDA_MTKAIF_CFG0, mask, val); in mt8195_adda_mtkaif_init()
[all …]
H A Dmt8195-afe-pcm.c1 // SPDX-License-Identifier: GPL-2.0
11 #include <linux/dma-mapping.h>
20 #include "mt8195-afe-common.h"
21 #include "mt8195-afe-clk.h"
22 #include "mt8195-reg.h"
23 #include "../common/mtk-afe-platform-driver.h"
24 #include "../common/mtk-afe-fe-dai.h"
81 return -EINVAL; in mt8195_afe_fs_timing()
87 struct snd_soc_pcm_runtime *rtd = substream->private_data; in mt8195_memif_fs()
91 int id = asoc_rtd_to_cpu(rtd, 0)->id; in mt8195_memif_fs()
[all …]
H A Dmt8195-dai-etdm.c1 // SPDX-License-Identifier: GPL-2.0
3 * MediaTek ALSA SoC Audio DAI eTDM Control
14 #include "mt8195-afe-clk.h"
15 #include "mt8195-afe-common.h"
16 #include "mt8195-reg.h"
117 int cowork_slv_id[MT8195_AFE_IO_ETDM_NUM - 1]; //dai_id
180 return -EINVAL; in get_etdm_fs_timing()
201 etdm_reg->con0 = ETDM_IN1_CON0; in get_etdm_reg()
202 etdm_reg->con1 = ETDM_IN1_CON1; in get_etdm_reg()
203 etdm_reg->con2 = ETDM_IN1_CON2; in get_etdm_reg()
[all …]
H A Dmt8195-reg.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * mt8195-reg.h -- Mediatek 8195 audio driver reg definition
2591 #define AFE_MPHONE_MULTI_CON1_BIT_NUM(x) ((((x) - 1) & 0x1f) << 8)
2595 #define AFE_MPHONE_MULTI_CON1_CH_NUM(x) ((((x) >> 1) - 1) & 0x3)
2682 #define ETDM_CON0_CH_NUM(x) (((x) - 1) << 23)
2684 #define ETDM_CON0_WORD_LEN(x) (((x) - 1) << 16)
2686 #define ETDM_CON0_BIT_LEN(x) (((x) - 1) << 11)
2698 #define ETDM_IN_CON1_LRCK_WIDTH(x) (((x) - 1) << 20)
2701 #define ETDM_OUT_CON1_LRCK_WIDTH(x) (((x) - 1) << 19)
2705 #define ETDM_IN_CON2_MULTI_IP_TOTAL_CH(x) (((x) - 1) << 15)
/openbmc/linux/drivers/pmdomain/mediatek/
H A Dmt8195-pm-domains.h1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * Author: Chun-Jie Chen <chun-jie.chen@mediatek.com>
10 #include "mtk-pm-domains.h"
11 #include <dt-bindings/power/mt8195-power.h>
14 * MT8195 power domain support
107 .name = "audio",
/openbmc/linux/drivers/gpu/drm/mediatek/
H A Dmtk_dp.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2019-2022 MediaTek Inc.
18 #include <linux/arm-smccc.h>
23 #include <linux/media-bus-format.h>
24 #include <linux/nvmem-consumer.h>
33 #include <sound/hdmi-codec.h>
129 /* For audio */
135 /* protect the plugged_cb as it's used in both bridge ops and audio */
317 .name = "mtk-dp-registers",
330 ret = regmap_read(mtk_dp->regs, offset, &read_val); in mtk_dp_read()
[all …]
/openbmc/linux/
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...]
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 Dopengrok2.0.log1 2024-12-28 20:05:26.116-0600 FINEST t586 Statistics.logIt: Added: '/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/rtnetlink.sh' (ShAnalyzer) (took 79 ms)
2 2024-12-28 20:05:26.112-0600 FINER t592 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/qemu',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/qemu/chardev/spice.c'
3 2024-12-28 20:05:26.116-0600 FINEST t592 Statistics.logIt: Added: '/openbmc/qemu/chardev/spice.c' (CAnalyzer) (took 33 ms)
4 2024-1
[all...]

12