Home
last modified time | relevance | path

Searched +full:audmux +full:- +full:port (Results 1 – 25 of 158) sorted by relevance

1234567

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/
Dimx-audmux.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/imx-audmux.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Oleksij Rempel <o.rempel@pengutronix.de>
15 - items:
16 - enum:
17 - fsl,imx27-audmux
18 - const: fsl,imx21-audmux
19 - items:
[all …]
Deukrea-tlv320.txt5 - compatible : "eukrea,asoc-tlv320"
7 - eukrea,model : The user-visible name of this sound complex.
9 - ssi-controller : The phandle of the SSI controller.
11 - fsl,mux-int-port : The internal port of the i.MX audio muxer (AUDMUX).
13 - fsl,mux-ext-port : The external port of the i.MX audio muxer.
15 Note: The AUDMUX port numbering should start at 1, which is consistent with
21 compatible = "eukrea,asoc-tlv320";
22 eukrea,model = "imx51-eukrea-tlv320aic23";
23 ssi-controller = <&ssi2>;
24 fsl,mux-int-port = <2>;
[all …]
Dimx-audio-sgtl5000.txt5 - compatible : "fsl,imx-audio-sgtl5000"
7 - model : The user-visible name of this sound complex
9 - ssi-controller : The phandle of the i.MX SSI controller
11 - audio-codec : The phandle of the SGTL5000 audio codec
13 - audio-routing : A list of the connections between audio components.
35 - mux-int-port : The internal port of the i.MX audio muxer (AUDMUX)
37 - mux-ext-port : The external port of the i.MX audio muxer
39 Note: The AUDMUX port numbering should start at 1, which is consistent with
45 compatible = "fsl,imx51-babbage-sgtl5000",
46 "fsl,imx-audio-sgtl5000";
[all …]
Dimx-audio-es8328.txt4 - compatible : "fsl,imx-audio-es8328"
5 - model : The user-visible name of this sound complex
6 - ssi-controller : The phandle of the i.MX SSI controller
7 - jack-gpio : Optional GPIO for headphone jack
8 - audio-amp-supply : Power regulator for speaker amps
9 - audio-codec : The phandle of the ES8328 audio codec
10 - audio-routing : A list of the connections between audio components.
17 * audio-amp
34 - mux-int-port : The internal port of the i.MX audio muxer (AUDMUX)
35 - mux-ext-port : The external port of the i.MX audio muxer (AUDMIX)
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Dimx-audmux.txt1 Freescale Digital Audio Mux (AUDMUX) device
5 - compatible : "fsl,imx21-audmux" for AUDMUX version firstly used
6 on i.MX21, or "fsl,imx31-audmux" for the version
9 - reg : Should contain AUDMUX registers location and length.
15 - fsl,audmux-port : Integer of the audmux port that is configured by this
18 - fsl,port-config : List of configuration options for the specific port.
19 For imx31-audmux and above, it is a list of tuples
20 <ptcr pdcr>. For imx21-audmux it is a list of pcr
25 audmux@21d8000 {
26 compatible = "fsl,imx6q-audmux", "fsl,imx31-audmux";
Deukrea-tlv320.txt5 - compatible : "eukrea,asoc-tlv320"
7 - eukrea,model : The user-visible name of this sound complex.
9 - ssi-controller : The phandle of the SSI controller.
11 - fsl,mux-int-port : The internal port of the i.MX audio muxer (AUDMUX).
13 - fsl,mux-ext-port : The external port of the i.MX audio muxer.
15 Note: The AUDMUX port numbering should start at 1, which is consistent with
21 compatible = "eukrea,asoc-tlv320";
22 eukrea,model = "imx51-eukrea-tlv320aic23";
23 ssi-controller = <&ssi2>;
24 fsl,mux-int-port = <2>;
[all …]
Dimx-audio-sgtl5000.txt5 - compatible : "fsl,imx-audio-sgtl5000"
7 - model : The user-visible name of this sound complex
9 - ssi-controller : The phandle of the i.MX SSI controller
11 - audio-codec : The phandle of the SGTL5000 audio codec
13 - audio-routing : A list of the connections between audio components.
35 - mux-int-port : The internal port of the i.MX audio muxer (AUDMUX)
37 - mux-ext-port : The external port of the i.MX audio muxer
39 Note: The AUDMUX port numbering should start at 1, which is consistent with
45 compatible = "fsl,imx51-babbage-sgtl5000",
46 "fsl,imx-audio-sgtl5000";
[all …]
Dimx-audio-es8328.txt4 - compatible : "fsl,imx-audio-es8328"
5 - model : The user-visible name of this sound complex
6 - ssi-controller : The phandle of the i.MX SSI controller
7 - jack-gpio : Optional GPIO for headphone jack
8 - audio-amp-supply : Power regulator for speaker amps
9 - audio-codec : The phandle of the ES8328 audio codec
10 - audio-routing : A list of the connections between audio components.
17 * audio-amp
34 - mux-int-port : The internal port of the i.MX audio muxer (AUDMUX)
35 - mux-ext-port : The external port of the i.MX audio muxer (AUDMIX)
[all …]
/kernel/linux/linux-5.10/sound/soc/fsl/
Dimx-audmux.c1 // SPDX-License-Identifier: GPL-2.0+
20 #include "imx-audmux.h"
22 #define DRIVER_NAME "imx-audmux"
37 static const char *audmux_port_string(int port) in audmux_port_string() argument
39 switch (port) { in audmux_port_string()
41 return "imx-ssi.0"; in audmux_port_string()
43 return "imx-ssi.1"; in audmux_port_string()
62 uintptr_t port = (uintptr_t)file->private_data; in audmux_read_file() local
71 ptcr = readl(audmux_base + IMX_AUDMUX_V2_PTCR(port)); in audmux_read_file()
72 pdcr = readl(audmux_base + IMX_AUDMUX_V2_PDCR(port)); in audmux_read_file()
[all …]
Deukrea-tlv320.c1 // SPDX-License-Identifier: GPL-2.0+
3 // eukrea-tlv320.c -- SoC audio for eukrea_cpuimxXX in I2S mode
9 // and on sound/soc/imx/phycore-ac97.c which is
22 #include <asm/mach-types.h>
25 #include "imx-ssi.h"
26 #include "imx-audmux.h"
41 dev_err(cpu_dai->dev, in eukrea_tlv320_hw_params()
51 if (ret && ret != -EINVAL) { in eukrea_tlv320_hw_params()
52 dev_err(cpu_dai->dev, in eukrea_tlv320_hw_params()
66 DAILINK_COMP_ARRAY(COMP_CODEC(NULL, "tlv320aic23-hifi")),
[all …]
Dimx-es8328.c1 // SPDX-License-Identifier: GPL-2.0+
15 #include "imx-audmux.h"
31 .gpio = -1,
32 .name = "headset-gpio",
43 struct imx_es8328_data *data = container_of(rtd->card, in imx_es8328_dai_init()
48 if (gpio_is_valid(data->jack_gpio)) { in imx_es8328_dai_init()
49 ret = snd_soc_card_jack_new(rtd->card, "Headphone", in imx_es8328_dai_init()
55 headset_jack_gpios[0].gpio = data->jack_gpio; in imx_es8328_dai_init()
68 SND_SOC_DAPM_REGULATOR_SUPPLY("audio-amp", 1, 0),
73 struct device_node *np = pdev->dev.of_node; in imx_es8328_probe()
[all …]
Dimx-sgtl5000.c1 // SPDX-License-Identifier: GPL-2.0+
14 #include "imx-audmux.h"
29 struct imx_sgtl5000_data *data = snd_soc_card_get_drvdata(rtd->card); in imx_sgtl5000_dai_init()
30 struct device *dev = rtd->card->dev; in imx_sgtl5000_dai_init()
34 data->clk_frequency, SND_SOC_CLOCK_IN); in imx_sgtl5000_dai_init()
53 struct device_node *np = pdev->dev.of_node; in imx_sgtl5000_probe()
62 ret = of_property_read_u32(np, "mux-int-port", &int_port); in imx_sgtl5000_probe()
64 dev_err(&pdev->dev, "mux-int-port missing or invalid\n"); in imx_sgtl5000_probe()
67 ret = of_property_read_u32(np, "mux-ext-port", &ext_port); in imx_sgtl5000_probe()
69 dev_err(&pdev->dev, "mux-ext-port missing or invalid\n"); in imx_sgtl5000_probe()
[all …]
/kernel/linux/linux-6.6/sound/soc/fsl/
Dimx-audmux.c1 // SPDX-License-Identifier: GPL-2.0+
20 #include "imx-audmux.h"
22 #define DRIVER_NAME "imx-audmux"
37 static const char *audmux_port_string(int port) in audmux_port_string() argument
39 switch (port) { in audmux_port_string()
41 return "imx-ssi.0"; in audmux_port_string()
43 return "imx-ssi.1"; in audmux_port_string()
62 uintptr_t port = (uintptr_t)file->private_data; in audmux_read_file() local
69 ptcr = readl(audmux_base + IMX_AUDMUX_V2_PTCR(port)); in audmux_read_file()
70 pdcr = readl(audmux_base + IMX_AUDMUX_V2_PDCR(port)); in audmux_read_file()
[all …]
Deukrea-tlv320.c1 // SPDX-License-Identifier: GPL-2.0+
3 // eukrea-tlv320.c -- SoC audio for eukrea_cpuimxXX in I2S mode
9 // and on sound/soc/imx/phycore-ac97.c which is
22 #include <asm/mach-types.h>
25 #include "imx-ssi.h"
26 #include "imx-audmux.h"
41 dev_err(cpu_dai->dev, in eukrea_tlv320_hw_params()
51 if (ret && ret != -EINVAL) { in eukrea_tlv320_hw_params()
52 dev_err(cpu_dai->dev, in eukrea_tlv320_hw_params()
66 DAILINK_COMP_ARRAY(COMP_CODEC(NULL, "tlv320aic23-hifi")),
[all …]
Dimx-sgtl5000.c1 // SPDX-License-Identifier: GPL-2.0+
14 #include "imx-audmux.h"
29 struct imx_sgtl5000_data *data = snd_soc_card_get_drvdata(rtd->card); in imx_sgtl5000_dai_init()
30 struct device *dev = rtd->card->dev; in imx_sgtl5000_dai_init()
34 data->clk_frequency, SND_SOC_CLOCK_IN); in imx_sgtl5000_dai_init()
53 struct device_node *np = pdev->dev.of_node; in imx_sgtl5000_probe()
62 ret = of_property_read_u32(np, "mux-int-port", &int_port); in imx_sgtl5000_probe()
64 dev_err(&pdev->dev, "mux-int-port missing or invalid\n"); in imx_sgtl5000_probe()
67 ret = of_property_read_u32(np, "mux-ext-port", &ext_port); in imx_sgtl5000_probe()
69 dev_err(&pdev->dev, "mux-ext-port missing or invalid\n"); in imx_sgtl5000_probe()
[all …]
Dimx-es8328.c1 // SPDX-License-Identifier: GPL-2.0+
15 #include "imx-audmux.h"
31 .gpio = -1,
32 .name = "headset-gpio",
53 struct imx_es8328_data *data = container_of(rtd->card, in imx_es8328_dai_init()
58 if (gpio_is_valid(data->jack_gpio)) { in imx_es8328_dai_init()
59 ret = snd_soc_card_jack_new_pins(rtd->card, "Headphone", in imx_es8328_dai_init()
67 headset_jack_gpios[0].gpio = data->jack_gpio; in imx_es8328_dai_init()
80 SND_SOC_DAPM_REGULATOR_SUPPLY("audio-amp", 1, 0),
90 struct device_node *np = pdev->dev.of_node; in imx_es8328_probe()
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/nxp/imx/
Dimx6qdl-phytec-pbab01.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
6 #include <dt-bindings/sound/fsl-imx-audmux.h>
10 stdout-path = &uart4;
13 sound_1v8: regulator-sound-1v8 {
14 compatible = "regulator-fixed";
15 regulator-name = "i2s-audio-1v8";
16 regulator-min-microvolt = <1800000>;
17 regulator-max-microvolt = <1800000>;
20 sound_3v3: regulator-sound-3v3 {
21 compatible = "regulator-fixed";
[all …]
Dimx6q-kp.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/pwm/pwm.h>
13 #include <dt-bindings/sound/fsl-imx-audmux.h>
16 backlight_lcd: backlight-lcd {
17 compatible = "pwm-backlight";
19 brightness-levels = <0 255>;
20 num-interpolated-steps = <255>;
21 default-brightness-level = <250>;
[all …]
Dimx6qdl-var-dart.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Support for Variscite DART-MX6 Module
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/sound/fsl-imx-audmux.h>
18 reg_3p3v: regulator-3p3v {
19 compatible = "regulator-fixed";
20 regulator-name = "3P3V";
21 regulator-min-microvolt = <3300000>;
22 regulator-max-microvolt = <3300000>;
23 regulator-always-on;
[all …]
Dimx6qdl-icore.dtsi1 // SPDX-License-Identifier: GPL-2.0 OR X11
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/sound/fsl-imx-audmux.h>
18 stdout-path = &uart4;
21 backlight_lvds: backlight-lvds {
22 compatible = "pwm-backlight";
24 brightness-levels = <0 4 8 16 32 64 128 255>;
25 default-brightness-level = <7>;
28 reg_1p8v: regulator-1p8v {
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dimx6qdl-phytec-pbab01.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
6 #include <dt-bindings/sound/fsl-imx-audmux.h>
10 stdout-path = &uart4;
15 compatible = "regulator-fixed";
17 regulator-name = "i2s-audio-1v8";
18 regulator-min-microvolt = <1800000>;
19 regulator-max-microvolt = <1800000>;
23 compatible = "regulator-fixed";
25 regulator-name = "i2s-audio-3v3";
26 regulator-min-microvolt = <3300000>;
[all …]
Dimx6q-kp.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/pwm/pwm.h>
13 #include <dt-bindings/sound/fsl-imx-audmux.h>
16 backlight_lcd: backlight-lcd {
17 compatible = "pwm-backlight";
19 brightness-levels = <0 255>;
20 num-interpolated-steps = <255>;
21 default-brightness-level = <250>;
[all …]
Dimx6qdl-var-dart.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Support for Variscite DART-MX6 Module
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/sound/fsl-imx-audmux.h>
18 reg_3p3v: regulator-3p3v {
19 compatible = "regulator-fixed";
20 regulator-name = "3P3V";
21 regulator-min-microvolt = <3300000>;
22 regulator-max-microvolt = <3300000>;
23 regulator-always-on;
[all …]
Dimx6dl-prtvt7.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
6 /dts-v1/;
8 #include "imx6qdl-prti6q.dtsi"
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/leds/common.h>
11 #include <dt-bindings/sound/fsl-imx-audmux.h>
22 backlight_lcd: backlight-lcd {
23 compatible = "pwm-backlight";
24 pinctrl-names = "default";
25 pinctrl-0 = <&pinctrl_backlight>;
[all …]
Dimx6qdl-icore.dtsi1 // SPDX-License-Identifier: GPL-2.0 OR X11
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/sound/fsl-imx-audmux.h>
18 stdout-path = &uart4;
21 backlight_lvds: backlight-lvds {
22 compatible = "pwm-backlight";
24 brightness-levels = <0 4 8 16 32 64 128 255>;
25 default-brightness-level = <7>;
28 reg_1p8v: regulator-1p8v {
[all …]

1234567