Home
last modified time | relevance | path

Searched +full:asoc +full:- +full:wm8904 (Results 1 – 15 of 15) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/sound/
Datmel,asoc-wm8904.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/atmel,asoc-wm8904.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Atmel wm8904 audio codec complex
10 - Dharma Balasubiramani <dharma.b@microchip.com>
13 The ASoC audio complex configuration for Atmel with WM8904 audio codec.
17 const: atmel,asoc-wm8904
21 description: The user-visible name of this sound complex.
23 atmel,ssc-controller:
[all …]
Dfsl-asoc-card.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/fsl-asoc-card.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Freescale Generic ASoC Sound Card with ASRC support
10 The Freescale Generic ASoC Sound Card can be used, ideally,
13 The idea of this generic sound card is a bit like ASoC Simple Card.
28 - Shengjiu Wang <shengjiu.wang@nxp.com>
33 - items:
34 - enum:
[all …]
/linux-6.12.1/sound/soc/atmel/
Datmel_wm8904.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * atmel_wm8904 - Atmel ASoC driver for boards with WM8904 codec.
16 #include "../codecs/wm8904.h"
35 pr_err("%s - failed to set wm8904 codec PLL.", __func__); in atmel_asoc_wm8904_hw_params()
40 * As here wm8904 use FLL output as its system clock in atmel_asoc_wm8904_hw_params()
47 pr_err("%s -failed to set wm8904 SYSCLK\n", __func__); in atmel_asoc_wm8904_hw_params()
60 DAILINK_COMP_ARRAY(COMP_CODEC(NULL, "wm8904-hifi")),
64 .name = "WM8904",
65 .stream_name = "WM8904 PCM",
85 struct device_node *np = pdev->dev.of_node; in atmel_asoc_wm8904_dt_init()
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "SoC Audio for the Atmel System-on-Chip"
31 in PDC mode configured using audio-graph-card in device-tree.
40 in DMA mode configured using audio-graph-card in device-tree.
43 tristate "SoC Audio support for WM8731-based At91sam9g20 evaluation board"
49 Say Y if you want to add support for SoC audio on WM8731-based
53 tristate "Atmel ASoC driver for boards using WM8904 codec"
59 Say Y if you want to add support for Atmel ASoC driver for boards using
60 WM8904 codec.
63 tristate "SoC Audio support for WM8731-based at91sam9x5 board"
[all …]
/linux-6.12.1/arch/arm/boot/dts/microchip/
Dat91-dvk_su60_somc.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * at91-dvk_su60_somc.dtsi - Device Tree file for the DVK SOM60 base board
12 compatible = "atmel,asoc-wm8904";
13 pinctrl-names = "default";
14 pinctrl-0 = <&pinctrl_pck2_as_audio_mck>;
16 atmel,model = "wm8904 @ DVK-SOM60";
17 atmel,audio-routing =
25 atmel,ssc-controller = <&ssc0>;
26 atmel,audio-codec = <&wm8904>;
35 pinctrl-0 = <&pinctrl_mmc0_clk_cmd_dat0 &pinctrl_mmc0_dat1_3 &pinctrl_mmc0_cd>;
[all …]
Dsama5d3xmb.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * sama5d3xmb.dts - Device Tree file for SAMA5D3x mother board
16 pinctrl-names = "default";
17 pinctrl-0 = <&pinctrl_mmc0_clk_cmd_dat0 &pinctrl_mmc0_dat1_3 &pinctrl_mmc0_cd>;
21 bus-width = <4>;
22 cd-gpios = <&pioD 17 GPIO_ACTIVE_HIGH>;
31 spi-max-frequency = <50000000>;
37 atmel,clk-from-rk-pin;
46 wm8904: wm8904@1a { label
47 compatible = "wlf,wm8904";
[all …]
Dsama5d3xmb_cmp.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * sama5d3xmb_cmp.dts - Device Tree file for SAMA5D3x CMP mother board
10 compatible = "atmel,sama5d3xmb-cmp", "atmel,sama5d3xcm-cmp", "atmel,sama5d3", "atmel,sama5";
15 pinctrl-names = "default";
16 pinctrl-0 = <&pinctrl_mmc0_clk_cmd_dat0 &pinctrl_mmc0_dat1_3 &pinctrl_mmc0_cd>;
20 bus-width = <4>;
21 cd-gpios = <&pioD 17 GPIO_ACTIVE_HIGH>;
30 spi-max-frequency = <50000000>;
36 atmel,clk-from-rk-pin;
45 wm8904: wm8904@1a { label
[all …]
Dat91sam9n12ek.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * at91sam9n12ek.dts - Device Tree file for AT91SAM9N12-EK board
8 /dts-v1/;
12 model = "Atmel AT91SAM9N12-EK";
17 stdout-path = "serial0:115200n8";
26 clock-frequency = <32768>;
30 clock-frequency = <16000000>;
46 compatible = "atmel,tcb-timer";
51 compatible = "atmel,tcb-timer";
59 wm8904: codec@1a { label
[all …]
Dat91-sama5d4ek.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * at91-sama5d4ek.dts - Device Tree file for SAMA5D4 Evaluation Kit
8 /dts-v1/;
12 model = "Atmel SAMA5D4-EK";
16 stdout-path = "serial0:115200n8";
25 clock-frequency = <32768>;
29 clock-frequency = <12000000>;
36 pinctrl-names = "default";
37 pinctrl-0 = <
45 /* The vref depends on JP22 of EK. If connect 1-2 then use 3.3V. connect 2-3 use 3.0V */
[all …]
/linux-6.12.1/sound/soc/codecs/
Dwm8904.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm8904.c -- WM8904 ALSA SoC Audio driver
5 * Copyright 2009-12 Wolfson Microelectronics plc
25 #include <sound/wm8904.h>
27 #include "wm8904.h"
30 WM8904, enumerator
84 /* DC servo configuration - cached offset values */
89 { 4, 0x0018 }, /* R4 - Bias Control 0 */
90 { 5, 0x0000 }, /* R5 - VMID Control 0 */
91 { 6, 0x0000 }, /* R6 - Mic Bias Control 0 */
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
5 # setting - SPI can't be modular so that case doesn't need to be covered.
15 tristate "Build all ASoC CODEC drivers"
353 Normally ASoC codec drivers are only built if a machine driver which
415 tristate "Build generic ASoC AC97 CODEC driver"
483 tristate "Analog Devices AU1761 CODEC - I2C"
489 tristate "Analog Devices AU1761 CODEC - SPI"
526 tristate "Analog Devices ADAU7002 Stereo PDM-to-I2S/TDM Converter"
532 tristate "Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM Converter - HW Mode"
535 Enable support for the Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM
[all …]
Dwm9090.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright 2009-12 Wolfson Microelectronics
25 { 1, 0x0006 }, /* R1 - Power Management (1) */
26 { 2, 0x6000 }, /* R2 - Power Management (2) */
27 { 3, 0x0000 }, /* R3 - Power Management (3) */
28 { 6, 0x01C0 }, /* R6 - Clocking 1 */
29 { 22, 0x0003 }, /* R22 - IN1 Line Control */
30 { 23, 0x0003 }, /* R23 - IN2 Line Control */
31 { 24, 0x0083 }, /* R24 - IN1 Line Input A Volume */
32 { 25, 0x0083 }, /* R25 - IN1 Line Input B Volume */
[all …]
Dwm8955.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * wm8955.h -- WM8904 ASoC driver
56 * R2 (0x02) - LOUT1 volume
66 #define WM8955_LOUTVOL_MASK 0x007F /* LOUTVOL - [6:0] */
67 #define WM8955_LOUTVOL_SHIFT 0 /* LOUTVOL - [6:0] */
68 #define WM8955_LOUTVOL_WIDTH 7 /* LOUTVOL - [6:0] */
71 * R3 (0x03) - ROUT1 volume
81 #define WM8955_ROUTVOL_MASK 0x007F /* ROUTVOL - [6:0] */
82 #define WM8955_ROUTVOL_SHIFT 0 /* ROUTVOL - [6:0] */
83 #define WM8955_ROUTVOL_WIDTH 7 /* ROUTVOL - [6:0] */
[all …]
Dwm8904.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * wm8904.h -- WM8904 ASoC driver
137 * R0 (0x00) - SW Reset and ID
139 #define WM8904_SW_RST_DEV_ID1_MASK 0xFFFF /* SW_RST_DEV_ID1 - [15:0] */
140 #define WM8904_SW_RST_DEV_ID1_SHIFT 0 /* SW_RST_DEV_ID1 - [15:0] */
141 #define WM8904_SW_RST_DEV_ID1_WIDTH 16 /* SW_RST_DEV_ID1 - [15:0] */
144 * R1 (0x01) - Revision
146 #define WM8904_REVISION_MASK 0x000F /* REVISION - [3:0] */
147 #define WM8904_REVISION_SHIFT 0 /* REVISION - [3:0] */
148 #define WM8904_REVISION_WIDTH 16 /* REVISION - [3:0] */
[all …]
/linux-6.12.1/sound/soc/fsl/
Dfsl-asoc-card.c1 // SPDX-License-Identifier: GPL-2.0
3 // Freescale Generic ASoC Sound Card driver with ASRC
23 #include "imx-audmux.h"
31 #include "../codecs/wm8904.h"
33 #define DRIVER_NAME "fsl-asoc-card"
44 * struct codec_priv - CODEC private data
62 * struct cpu_priv - CPU private data
80 * struct fsl_asoc_card_priv - Freescale Generic ASOC card private data
87 * @card: ASoC card structure
91 * @asrc_rate: ASRC sample rate used by Back-Ends
[all …]