Home
last modified time | relevance | path

Searched +full:mt6358 +full:- +full:sound (Results 1 – 12 of 12) sorted by relevance

/linux/Documentation/devicetree/bindings/sound/
H A Dmt6358.txt1 Mediatek MT6358 Audio Codec
3 The communication between MT6358 and SoC is through Mediatek PMIC wrapper.
10 - compatible - "string" - One of:
11 "mediatek,mt6358-sound"
12 "mediatek,mt6366-sound"
13 - Avdd-supply : power source of AVDD
16 - mediatek,dmic-mode : Indicates how many data pins are used to transmit two
23 compatible = "mediatek,mt6358-sound";
24 Avdd-supply = <&mt6358_vaud28_reg>;
25 mediatek,dmic-mode = <0>;
H A Dmt8183-da7219-max98357.txt1 MT8183 with MT6358, DA7219, MAX98357, and RT1015 CODECS
4 - compatible : "mediatek,mt8183_da7219_max98357" for MAX98357A codec
7 - mediatek,headset-codec: the phandles of da7219 codecs
8 - mediatek,platform: the phandle of MT8183 ASoC platform
11 - mediatek,hdmi-codec: the phandles of HDMI codec
15 sound {
17 mediatek,headset-codec = <&da7219>;
18 mediatek,hdmi-codec = <&it6505dptx>;
H A Dmt8183-mt6358-ts3a227-max98357.txt1 MT8183 with MT6358, TS3A227, MAX98357, and RT1015 CODECS
4 - compatible : "mediatek,mt8183_mt6358_ts3a227_max98357" for MAX98357A codec
8 - mediatek,platform: the phandle of MT8183 ASoC platform
11 - mediatek,headset-codec: the phandles of ts3a227 codecs
12 - mediatek,ec-codec: the phandle of EC codecs.
13 See google,cros-ec-codec.txt for more details.
14 - mediatek,hdmi-codec: the phandles of HDMI codec
18 sound {
20 mediatek,headset-codec = <&ts3a227>;
21 mediatek,ec-codec = <&ec_codec>;
[all …]
/linux/drivers/mfd/
H A Dmt6397-core.c1 // SPDX-License-Identifier: GPL-2.0-only
19 #include <linux/mfd/mt6358/core.h>
26 #include <linux/mfd/mt6358/registers.h>
122 .name = "mt6323-rtc",
125 .of_compatible = "mediatek,mt6323-rtc",
127 .name = "mt6323-regulator",
128 .of_compatible = "mediatek,mt6323-regulator"
130 .name = "mt6323-led",
131 .of_compatible = "mediatek,mt6323-led"
133 .name = "mtk-pmic-keys",
[all …]
/linux/Documentation/devicetree/bindings/mfd/
H A Dmediatek,mt6397.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sen Chu <sen.chu@mediatek.com>
11 - Macpaul Lin <macpaul.lin@mediatek.com>
15 Please see the sub-modules below for supported features.
18 - Regulators
19 - RTC
20 - ADC
21 - Audio codec
[all …]
/linux/arch/arm64/boot/dts/mediatek/
H A Dmt8183-kukui-audio-ts3a227e-rt1015p.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
3 * Google Kukui (and derivatives) mt6358-ts3a227-rt1015p sound card.
8 #include "mt8183-kukui-audio-ts3a227e.dtsi"
9 #include "mt8183-kukui-audio-rt1015p.dtsi"
11 &sound {
H A Dmt6358.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
5 #include <dt-bindings/input/input.h>
9 compatible = "mediatek,mt6358";
10 interrupt-controller;
11 #interrupt-cells = <2>;
14 compatible = "mediatek,mt6358-auxadc";
15 #io-channel-cells = <1>;
18 mt6358codec: audio-codec {
19 compatible = "mediatek,mt6358-sound";
20 mediatek,dmic-mode = <0>; /* two-wires */
[all …]
H A Dmt8186-corsola.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
5 /dts-v1/;
7 #include <dt-bindings/pinctrl/mt8186-pinfunc.h>
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/input/gpio-keys.h>
11 #include <dt-bindings/regulator/mediatek,mt6397-regulator.h>
26 stdout-path = "serial0:115200n8";
35 backlight_lcd0: backlight-lcd0 {
36 compatible = "pwm-backlight";
[all …]
H A Dmt8183-kukui.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
11 #include "mt6358.dtsi"
21 stdout-path = "serial0:115200n8";
25 compatible = "pwm-backlight";
27 power-supply = <&reg_vsys>;
28 enable-gpios = <&pio 176 0>;
29 brightness-levels = <0 1023>;
30 num-interpolated-steps = <1023>;
[all …]
/linux/sound/soc/mediatek/mt8186/
H A Dmt8186-mt6366-common.c1 // SPDX-License-Identifier: GPL-2.0
3 // mt8186-mt6366-common.c
4 // -- MT8186 MT6366 ALSA common driver
9 #include <sound/soc.h>
11 #include "../../codecs/mt6358.h"
12 #include "../common/mtk-afe-platform-driver.h"
13 #include "mt8186-afe-common.h"
14 #include "mt8186-mt6366-common.h"
21 snd_soc_rtd_to_codec(rtd, 0)->component; in mt8186_mt6366_init()
23 struct mt8186_afe_private *afe_priv = afe->platform_priv; in mt8186_mt6366_init()
[all …]
/linux/sound/soc/codecs/
H A Dmt6358.c1 // SPDX-License-Identifier: GPL-2.0
3 // mt6358.c -- mt6358 ALSA SoC audio codec driver
17 #include <sound/soc.h>
18 #include <sound/tlv.h>
20 #include "mt6358.h"
107 priv->mtkaif_protocol = mtkaif_protocol; in mt6358_set_mtkaif_protocol()
115 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE2_CLR, in playback_gpio_set()
117 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE2_SET, in playback_gpio_set()
119 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE2, in playback_gpio_set()
130 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE2_CLR, in playback_gpio_reset()
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
5 # setting - SPI can't be modular so that case doesn't need to be covered.
489 tristate "Analog Devices AU1761 CODEC - I2C"
495 tristate "Analog Devices AU1761 CODEC - SPI"
532 tristate "Analog Devices ADAU7002 Stereo PDM-to-I2S/TDM Converter"
538 tristate "Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM Converter - HW Mode"
541 Enable support for the Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM
547 will be called snd-soc-adau7118-hw.
550 tristate "Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM Converter - I2C"
555 Enable support for the Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM
[all …]