Home
last modified time | relevance | path

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

12

/openbmc/linux/Documentation/devicetree/bindings/sound/
H A Dmt8192-afe-pcm.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/mt8192-afe-pcm.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Mediatek AFE PCM controller for mt8192
10 - Jiaxin Yu <jiaxin.yu@mediatek.com>
11 - Shane Chien <shane.chien@mediatek.com>
15 const: mediatek,mt8192-audio
23 reset-names:
38 power-domains:
[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/arch/arm64/boot/dts/mediatek/
H A Dmt8192-asurada-audio-rt1015p-rt5682.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 #include "mt8192-asurada-audio-rt5682.dtsi"
7 #include "mt8192-asurada-audio-rt1015p.dtsi"
12 speaker-codecs {
13 sound-dai = <&rt1015p>;
16 headset-codec {
17 sound-dai = <&rt5682 0>;
H A Dmt8192-asurada-spherion-r0.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
5 /dts-v1/;
6 #include "mt8192-asurada.dtsi"
7 #include "mt8192-asurada-audio-rt1015p-rt5682.dtsi"
8 #include <dt-bindings/leds/common.h>
11 model = "Google Spherion (rev0 - 3)";
12 compatible = "google,spherion-rev3", "google,spherion-rev2",
13 "google,spherion-rev1", "google,spherion-rev0",
14 "google,spherion", "mediatek,mt8192";
17 compatible = "pwm-leds";
[all …]
H A Dmt8192-asurada-hayato-r1.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
5 /dts-v1/;
6 #include "mt8192-asurada.dtsi"
7 #include "mt8192-asurada-audio-rt1015p-rt5682.dtsi"
11 compatible = "google,hayato-rev1", "google,hayato", "mediatek,mt8192";
15 function-row-physmap = <
44 bt_pins: bt-pins {
45 pins-bt-kill {
47 output-low;
50 pins-bt-wake {
[all …]
H A Dmt8192-asurada-audio-rt1015p.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/pinctrl/mt8192-pinfunc.h>
10 rt1015p: audio-codec {
12 pinctrl-names = "default";
13 pinctrl-0 = <&rt1015p_pins>;
14 sdb-gpios = <&pio 147 GPIO_ACTIVE_HIGH>;
15 #sound-dai-cells = <0>;
20 rt1015p_pins: rt1015p-default-pins {
23 output-low;
H A Dmt8192.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
7 /dts-v1/;
8 #include <dt-bindings/clock/mt8192-clk.h>
9 #include <dt-bindings/gce/mt8192-gce.h>
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include <dt-bindings/memory/mt8192-larb-port.h>
13 #include <dt-bindings/pinctrl/mt8192-pinfunc.h>
14 #include <dt-bindings/phy/phy.h>
15 #include <dt-bindings/power/mt8192-power.h>
[all …]
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 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/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.
773 tristate "Clock driver for MediaTek MT8192"
779 This driver supports MediaTek MT8192 basic clocks.
782 tristate "Clock driver for MediaTek MT8192 audsys"
786 This driver supports MediaTek MT8192 audsys clocks.
789 tristate "Clock driver for MediaTek MT8192 camsys"
793 This driver supports MediaTek MT8192 camsys and camsys_raw clocks.
[all …]
/openbmc/linux/sound/soc/mediatek/mt8192/
H A Dmt8192-afe-common.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * mt8192-afe-common.h -- Mediatek 8192 audio driver definitions
16 #include "../common/mtk-base-afe.h"
17 #include "mt8192-reg.h"
109 /* SA suggest apply -0.3db to audio/speech path */
H A Dmt8192-interconnection.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Mediatek MT8192 audio driver interconnection definition
42 #define I_CONNSYS_I2S_CH1 (34 - I_32_OFFSET)
43 #define I_CONNSYS_I2S_CH2 (35 - I_32_OFFSET)
44 #define I_SRC_1_OUT_CH1 (36 - I_32_OFFSET)
45 #define I_SRC_1_OUT_CH2 (37 - I_32_OFFSET)
46 #define I_SRC_2_OUT_CH1 (38 - I_32_OFFSET)
47 #define I_SRC_2_OUT_CH2 (39 - I_32_OFFSET)
48 #define I_DL4_CH1 (40 - I_32_OFFSET)
49 #define I_DL4_CH2 (41 - I_32_OFFSET)
[all …]
H A Dmt8192-afe-control.c1 // SPDX-License-Identifier: GPL-2.0
3 // MediaTek ALSA SoC Audio Control
9 #include "mt8192-afe-common.h"
146 struct mt8192_afe_private *afe_priv = afe->platform_priv; in mt8192_dai_set_priv()
149 temp_data = devm_kzalloc(afe->dev, in mt8192_dai_set_priv()
153 return -ENOMEM; in mt8192_dai_set_priv()
158 afe_priv->dai_priv[id] = temp_data; in mt8192_dai_set_priv()
H A Dmt8192-afe-pcm.c1 // SPDX-License-Identifier: GPL-2.0
10 #include <linux/dma-mapping.h>
19 #include "../common/mtk-afe-fe-dai.h"
20 #include "../common/mtk-afe-platform-driver.h"
22 #include "mt8192-afe-common.h"
23 #include "mt8192-afe-clk.h"
24 #include "mt8192-afe-gpio.h"
25 #include "mt8192-interconnection.h"
49 int id = asoc_rtd_to_cpu(rtd, 0)->id; in mt8192_memif_fs()
51 return mt8192_rate_transform(afe->dev, rate, id); in mt8192_memif_fs()
[all …]
H A Dmt8192-dai-pcm.c1 // SPDX-License-Identifier: GPL-2.0
3 // MediaTek ALSA SoC Audio DAI I2S Control
12 #include "mt8192-afe-common.h"
13 #include "mt8192-interconnection.h"
178 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_pcm_en_event()
181 dev_info(afe->dev, "%s(), name %s, event 0x%x\n", in mtk_pcm_en_event()
182 __func__, w->name, event); in mtk_pcm_en_event()
187 /* inter-connections */
279 unsigned int rate_reg = mt8192_rate_transform(afe->dev, rate, dai->id); in mtk_dai_pcm_hw_params()
282 dev_info(afe->dev, "%s(), id %d, stream %d, rate %d, rate_reg %d, widget active p %d, c %d\n", in mtk_dai_pcm_hw_params()
[all …]
H A Dmt8192-dai-tdm.c1 // SPDX-License-Identifier: GPL-2.0
3 // MediaTek ALSA SoC Audio DAI TDM Control
11 #include "mt8192-afe-clk.h"
12 #include "mt8192-afe-common.h"
13 #include "mt8192-afe-gpio.h"
14 #include "mt8192-interconnection.h"
84 return snd_pcm_format_physical_width(format) - 1; in get_tdm_lrck_width()
248 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_tdm_en_event()
250 struct mt8192_afe_private *afe_priv = afe->platform_priv; in mtk_tdm_en_event()
251 int dai_id = get_tdm_id_by_name(w->name); in mtk_tdm_en_event()
[all …]
H A Dmt8192-dai-adda.c1 // SPDX-License-Identifier: GPL-2.0
3 // MediaTek ALSA SoC Audio DAI ADDA Control
12 #include "mt8192-afe-clk.h"
13 #include "mt8192-afe-common.h"
14 #include "mt8192-afe-gpio.h"
15 #include "mt8192-interconnection.h"
96 dev_warn(afe->dev, "%s(), rate %d invalid, use 48kHz!!!\n", in adda_dl_rate_transform()
119 dev_warn(afe->dev, "%s(), rate %d invalid, use 48kHz!!!\n", in adda_ul_rate_transform()
273 return -EINVAL; in mtk_adda_ul_src_dmic()
277 regmap_update_bits(afe->regmap, reg, in mtk_adda_ul_src_dmic()
[all …]
H A Dmt8192-dai-i2s.c1 // SPDX-License-Identifier: GPL-2.0
3 // MediaTek ALSA SoC Audio DAI I2S Control
13 #include "mt8192-afe-clk.h"
14 #include "mt8192-afe-common.h"
15 #include "mt8192-afe-gpio.h"
16 #include "mt8192-interconnection.h"
113 return -EINVAL; in get_i2s_id_by_name()
119 struct mt8192_afe_private *afe_priv = afe->platform_priv; in get_i2s_priv_by_name()
125 return afe_priv->dai_priv[dai_id]; in get_i2s_priv_by_name()
142 i2s_priv = get_i2s_priv_by_name(afe, kcontrol->id.name); in mt8192_i2s_hd_get()
[all …]
H A Dmt8192-reg.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * mt8192-reg.h -- Mediatek 8192 audio driver reg definition
/openbmc/linux/Documentation/devicetree/bindings/arm/mediatek/
H A Dmediatek,audsys.txt8 - compatible: Should be one of:
9 - "mediatek,mt2701-audsys", "syscon"
10 - "mediatek,mt6765-audsys", "syscon"
11 - "mediatek,mt6779-audio", "syscon"
12 - "mediatek,mt7622-audsys", "syscon"
13 - "mediatek,mt7623-audsys", "mediatek,mt2701-audsys", "syscon"
14 - "mediatek,mt8167-audiosys", "syscon"
15 - "mediatek,mt8183-audiosys", "syscon"
16 - "mediatek,mt8192-audsys", "syscon"
17 - "mediatek,mt8516-audsys", "syscon"
[all …]
/openbmc/linux/drivers/pmdomain/mediatek/
H A Dmt8192-pm-domains.h1 /* SPDX-License-Identifier: GPL-2.0-only */
6 #include "mtk-pm-domains.h"
7 #include <dt-bindings/power/mt8192-power.h>
10 * MT8192 power domain support
15 .name = "audio",
/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...]
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