Home
last modified time | relevance | path

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

1234

/openbmc/linux/Documentation/devicetree/bindings/sound/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
/openbmc/linux/sound/soc/fsl/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A Dimx-audmux.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 #include <dt-bindings/sound/fsl-imx-audmux.h>
7 int imx_audmux_v1_configure_port(unsigned int port, unsigned int pcr);
9 int imx_audmux_v2_configure_port(unsigned int port, unsigned int ptcr,
/openbmc/linux/arch/arm/boot/dts/nxp/imx/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A Dimx6qdl-hummingboard.dtsi4 * This file is dual-licensed: you can use it either under the terms
41 #include <dt-bindings/sound/fsl-imx-audmux.h>
51 stdout-path = &uart1;
54 ir_recv: ir-receiver {
55 compatible = "gpio-ir-receiver";
57 pinctrl-names = "default";
58 pinctrl-0 = <&pinctrl_hummingboard_gpio3_5>;
61 v_3v2: regulator-v-3v2 {
62 compatible = "regulator-fixed";
63 regulator-always-on;
[all …]
H A Dimx6qdl-kontron-samx6i.dtsi1 // SPDX-License-Identifier: GPL-2.0 OR X11
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/sound/fsl-imx-audmux.h>
14 reg_1p0v_s0: regulator-1p0v-s0 {
15 compatible = "regulator-fixed";
16 regulator-name = "V_1V0_S0";
17 regulator-min-microvolt = <1000000>;
18 regulator-max-microvolt = <1000000>;
19 regulator-always-on;
20 regulator-boot-on;
[all …]
H A 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/display/sdtv-standards.h>
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/leds/common.h>
12 #include <dt-bindings/sound/fsl-imx-audmux.h>
23 backlight_lcd: backlight-lcd {
24 compatible = "pwm-backlight";
26 brightness-levels = <0 20 81 248 1000>;
[all …]
H A Dimx6q-prti6q.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
6 /dts-v1/;
8 #include "imx6qdl-prti6q.dtsi"
9 #include <dt-bindings/leds/common.h>
10 #include <dt-bindings/sound/fsl-imx-audmux.h>
21 backlight_lcd: backlight-lcd {
22 compatible = "pwm-backlight";
23 pinctrl-names = "default";
24 pinctrl-0 = <&pinctrl_backlight>;
26 brightness-levels = <0 16 64 255>;
[all …]
H A Dimx6qdl-icore-rqs.dtsi1 // SPDX-License-Identifier: GPL-2.0 OR X11
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/clock/imx6qdl-clock.h>
9 #include <dt-bindings/sound/fsl-imx-audmux.h>
17 reg_1p8v: regulator-1p8v {
18 compatible = "regulator-fixed";
19 regulator-name = "1P8V";
20 regulator-min-microvolt = <1800000>;
21 regulator-max-microvolt = <1800000>;
22 regulator-boot-on;
[all …]
H A Dimx27-phytec-phycore-som.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
6 /dts-v1/;
11 compatible = "phytec,imx27-pcm038", "fsl,imx27";
18 reg_3v3: regulator-0 {
19 compatible = "regulator-fixed";
20 regulator-name = "3V3";
21 regulator-min-microvolt = <3300000>;
22 regulator-max-microvolt = <3300000>;
25 reg_5v0: regulator-1 {
26 compatible = "regulator-fixed";
[all …]
H A Dimx6qdl-mba6.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright 2013-2021 TQ-Systems GmbH
6 * Author: Markus Niebel <Markus.Niebel@tq-group.com>
9 #include <dt-bindings/clock/imx6qdl-clock.h>
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/sound/fsl-imx-audmux.h>
18 /delete-property/ mmc2;
19 /delete-property/ mmc3;
24 stdout-path = &uart2;
[all …]
H A Dimx6q-cm-fx6.dts6 * This file is dual-licensed: you can use it either under the terms
44 /dts-v1/;
45 #include <dt-bindings/gpio/gpio.h>
46 #include <dt-bindings/sound/fsl-imx-audmux.h>
50 model = "CompuLab CM-FX6";
51 compatible = "compulab,cm-fx6", "fsl,imx6q";
59 compatible = "gpio-leds";
61 heartbeat-led {
64 linux,default-trigger = "heartbeat";
69 pinctrl-names = "default";
[all …]
H A Dimx6qdl-zii-rdu2.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
3 * Copyright (C) 2016-2017 Zodiac Inflight Innovations
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/sound/fsl-imx-audmux.h>
11 stdout-path = &uart1;
15 mdio-gpio0 = &mdio1;
20 compatible = "virtual,mdio-gpio";
21 #address-cells = <1>;
22 #size-cells = <0>;
23 pinctrl-names = "default";
[all …]
H A Dimx6qdl-hummingboard2.dtsi2 * Copyright (C) 2015 Rabeeh Khoury <rabeeh@solid-run.com>
4 * This file is dual-licensed: you can use it either under the terms
41 #include <dt-bindings/sound/fsl-imx-audmux.h>
51 stdout-path = &uart1;
54 ir_recv: ir-receiver {
55 compatible = "gpio-ir-receiver";
57 pinctrl-names = "default";
58 pinctrl-0 = <&pinctrl_hummingboard2_gpio7_9>;
59 linux,rc-map-name = "rc-rc6-mce";
62 v_3v2: regulator-v-3v2 {
[all …]
H A Dimx6qdl-vicut1.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
7 #include <dt-bindings/display/sdtv-standards.h>
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/leds/common.h>
11 #include <dt-bindings/media/tvp5150.h>
12 #include <dt-bindings/sound/fsl-imx-audmux.h>
16 stdout-path = &uart4;
20 compatible = "pwm-backlight";
21 pinctrl-names = "default";
[all …]
H A Dimx6q-display5.dtsi5 * This file is dual-licensed: you can use it either under the terms
38 /dts-v1/;
42 #include <dt-bindings/gpio/gpio.h>
43 #include <dt-bindings/pwm/pwm.h>
44 #include <dt-bindings/sound/fsl-imx-audmux.h>
56 compatible = "pwm-backlight";
57 pinctrl-names = "default";
58 pinctrl-0 = <&pinctrl_backlight>;
60 brightness-levels = < 0 1 2 3 4 5 6 7 8 9
86 default-brightness-level = <250>;
[all …]

1234