Searched +full:mt8365 +full:- +full:mt6357 (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/Documentation/devicetree/bindings/sound/ |
D | mediatek,mt8365-mt6357.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/mediatek,mt8365-mt6357.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MediaTek MT8365 ASoC sound card 10 - Alexandre Mergnat <amergnat@baylibre.com> 14 const: mediatek,mt8365-mt6357 16 pinctrl-names: 19 - const: default 20 - const: dmic [all …]
|
/linux-6.12.1/sound/soc/mediatek/mt8365/ |
D | mt8365-mt6357.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * MediaTek MT8365 Sound Card driver 13 #include "mt8365-afe-common.h" 15 #include "../common/mtk-soc-card.h" 16 #include "../common/mtk-soundcard-driver.h" 66 struct snd_soc_pcm_runtime *rtd = substream->private_data; in mt8365_mt6357_int_adda_startup() 67 struct mt8365_mt6357_priv *priv = snd_soc_card_get_drvdata(rtd->card); in mt8365_mt6357_int_adda_startup() 70 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in mt8365_mt6357_int_adda_startup() 71 if (IS_ERR(priv->pin_states[PIN_STATE_MOSI_ON])) in mt8365_mt6357_int_adda_startup() 74 ret = pinctrl_select_state(priv->pinctrl, in mt8365_mt6357_int_adda_startup() [all …]
|
D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 4 snd-soc-mt8365-pcm-objs := \ 5 mt8365-afe-clk.o \ 6 mt8365-afe-pcm.o \ 7 mt8365-dai-adda.o \ 8 mt8365-dai-dmic.o \ 9 mt8365-dai-i2s.o \ 10 mt8365-dai-pcm.o 12 obj-$(CONFIG_SND_SOC_MT8365) += snd-soc-mt8365-pcm.o 15 obj-$(CONFIG_SND_SOC_MT8365_MT6357) += mt8365-mt6357.o
|
/linux-6.12.1/sound/soc/mediatek/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 303 tristate "ASoC support for MediaTek MT8365 chip" 307 This adds ASoC platform driver support for MediaTek MT8365 chip 313 tristate "ASoC Audio driver for MT8365 with MT6357 codec" 317 This adds support for ASoC machine driver for MediaTek MT8365 318 boards with the MT6357 PMIC codec.
|
/linux-6.12.1/arch/arm64/boot/dts/mediatek/ |
D | mt8365-evk.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2021-2022 BayLibre, SAS. 10 /dts-v1/; 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/input/input.h> 14 #include <dt-bindings/pinctrl/mt8365-pinfunc.h> 15 #include "mt8365.dtsi" 16 #include "mt6357.dtsi" 19 model = "MediaTek MT8365 Open Platform EVK"; 20 compatible = "mediatek,mt8365-evk", "mediatek,mt8365"; [all …]
|
/linux-6.12.1/drivers/soc/mediatek/ |
D | mtk-pmic-wrap.c | 1 // SPDX-License-Identifier: GPL-2.0-only 1346 * struct pwrap_slv_type - PMIC device wrapper definitions 1391 return readl(wrp->base + wrp->master->regs[reg]); in pwrap_readl() 1396 writel(val, wrp->base + wrp->master->regs[reg]); in pwrap_writel() 1404 if (HAS_CAP(wrp->master->caps, PWRAP_CAP_ARB)) in pwrap_get_fsm_state() 1460 if (HAS_CAP(wrp->master->caps, PWRAP_CAP_ARB)) in pwrap_read16() 1471 if (HAS_CAP(wrp->master->caps, PWRAP_CAP_ARB)) in pwrap_read16() 1516 return wrp->slave->regops->pwrap_read(wrp, adr, rdata); in pwrap_read() 1531 if (HAS_CAP(wrp->master->caps, PWRAP_CAP_ARB)) { in pwrap_write16() 1561 * for the synchronization between two successive 16-bit in pwrap_write32() [all …]
|