Home
last modified time | relevance | path

Searched +full:mmp +full:- +full:sspa (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.10/sound/soc/pxa/
Dmmp-sspa.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * linux/sound/soc/pxa/mmp-sspa.c
4 * Base on pxa2xx-ssp.c
23 #include <sound/pxa2xx-lib.h>
25 #include "mmp-sspa.h"
28 * SSPA audio private data
45 static void mmp_sspa_tx_enable(struct sspa_priv *sspa) in mmp_sspa_tx_enable() argument
47 unsigned int sspa_sp = sspa->sp; in mmp_sspa_tx_enable()
52 __raw_writel(sspa_sp, sspa->tx_base + SSPA_SP); in mmp_sspa_tx_enable()
55 static void mmp_sspa_tx_disable(struct sspa_priv *sspa) in mmp_sspa_tx_disable() argument
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0
3 snd-soc-pxa2xx-objs := pxa2xx-pcm.o
4 snd-soc-pxa2xx-ac97-objs := pxa2xx-ac97.o
5 snd-soc-pxa2xx-i2s-objs := pxa2xx-i2s.o
6 snd-soc-pxa-ssp-objs := pxa-ssp.o
7 snd-soc-mmp-objs := mmp-pcm.o
8 snd-soc-mmp-sspa-objs := mmp-sspa.o
10 obj-$(CONFIG_SND_PXA2XX_SOC) += snd-soc-pxa2xx.o
11 obj-$(CONFIG_SND_PXA2XX_SOC_AC97) += snd-soc-pxa2xx-ac97.o
12 obj-$(CONFIG_SND_PXA2XX_SOC_I2S) += snd-soc-pxa2xx-i2s.o
[all …]
Dbrownstone.c1 // SPDX-License-Identifier: GPL-2.0-or-later
15 #include "mmp-sspa.h"
77 DAILINK_COMP_ARRAY(COMP_CPU("mmp-sspa-dai.0")),
78 DAILINK_COMP_ARRAY(COMP_CODEC("wm8994-codec", "wm8994-aif1")),
79 DAILINK_COMP_ARRAY(COMP_PLATFORM("mmp-pcm-audio")));
112 brownstone.dev = &pdev->dev; in brownstone_probe()
113 ret = devm_snd_soc_register_card(&pdev->dev, &brownstone); in brownstone_probe()
115 dev_err(&pdev->dev, "snd_soc_register_card() failed: %d\n", in brownstone_probe()
122 .name = "brownstone-audio",
133 MODULE_ALIAS("platform:brownstone-audio");
Dmmp-sspa.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * linux/sound/soc/pxa/mmp-sspa.h
11 * SSPA Registers
23 /* SSPA Control Register */
48 /* SSPA Serial Port Register */
57 #define SSPA_SP_FWID(x) ((x) << 20) /* Frame-Sync Width */
59 #define SSPA_TXSP_FPER(x) ((x) << 4) /* Frame-Sync Active */
61 /* sspa clock sources */
66 /* sspa pll id */
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
36 tristate "SoC Audio via MMP SSPA ports"
42 the MMP SSPA interface.
45 tristate "SoC Audio support for Sharp Zaurus SL-C7x0"
51 Zaurus SL-C7x0 models (Corgi, Shepherd, Husky).
54 tristate "SoC Audio support for Sharp Zaurus SL-Cxx00"
60 Zaurus SL-Cxx00 models (Spitz, Borzoi and Akita).
77 Zaurus SL-5600 model (Poodle).
91 Zaurus SL-C6000x models (Tosa).
131 tristate "SoC Audio support for CompuLab CM-X300"
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/sound/
Dmarvell,mmp-sspa.yaml1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/marvell,mmp-sspa.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Marvel SSPA Digital Audio Interface Bindings
10 - Lubomir Rintel <lkundrak@v3.sk>
14 pattern: "^audio-controller(@.*)?$"
17 const: marvell,mmp-sspa
21 - description: RX block
22 - description: TX block
[all …]
/Linux-v5.10/arch/arm/boot/dts/
Dmmp2.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
7 #include <dt-bindings/clock/marvell,mmp2.h>
8 #include <dt-bindings/power/marvell,mmp2.h>
11 #address-cells = <1>;
12 #size-cells = <1>;
24 #address-cells = <1>;
25 #size-cells = <1>;
26 compatible = "simple-bus";
27 interrupt-parent = <&intc>;
30 L2: l2-cache {
[all …]
/Linux-v5.10/drivers/clk/mmp/
Dclk-audio.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * MMP Audio Clock Controller driver
8 #include <linux/clk-provider.h>
15 #include <dt-bindings/clock/marvell,mmp2-audio.h>
22 /* SSPA Audio Control Register */
33 /* SSPA Audio PLL Control 0 Register */
50 /* SSPA Audio PLL Control 1 Register */
123 aud_pll_ctrl0 = readl(priv->mmio_base + SSPA_AUD_PLL_CTRL0); in audio_pll_recalc_rate()
131 aud_pll_ctrl1 = readl(priv->mmio_base + SSPA_AUD_PLL_CTRL1); in audio_pll_recalc_rate()
214 writel(val, priv->mmio_base + SSPA_AUD_PLL_CTRL0); in audio_pll_set_rate()
[all …]