Home
last modified time | relevance | path

Searched full:mcbsp (Results 1 – 25 of 48) sorted by relevance

12

/linux/sound/soc/ti/
H A Domap-mcbsp.c3 * omap-mcbsp.c -- OMAP ALSA SoC DAI driver using McBSP port
23 #include "omap-mcbsp-priv.h"
24 #include "omap-mcbsp.h"
38 static void omap_mcbsp_dump_reg(struct omap_mcbsp *mcbsp) in omap_mcbsp_dump_reg() argument
40 dev_dbg(mcbsp->dev, "**** McBSP%d regs ****\n", mcbsp->id); in omap_mcbsp_dump_reg()
41 dev_dbg(mcbsp->dev, "DRR2: 0x%04x\n", MCBSP_READ(mcbsp, DRR2)); in omap_mcbsp_dump_reg()
42 dev_dbg(mcbsp->dev, "DRR1: 0x%04x\n", MCBSP_READ(mcbsp, DRR1)); in omap_mcbsp_dump_reg()
43 dev_dbg(mcbsp->dev, "DXR2: 0x%04x\n", MCBSP_READ(mcbsp, DXR2)); in omap_mcbsp_dump_reg()
44 dev_dbg(mcbsp->dev, "DXR1: 0x%04x\n", MCBSP_READ(mcbsp, DXR1)); in omap_mcbsp_dump_reg()
45 dev_dbg(mcbsp->dev, "SPCR2: 0x%04x\n", MCBSP_READ(mcbsp, SPCR2)); in omap_mcbsp_dump_reg()
[all …]
H A Domap-mcbsp-st.c3 * McBSP Sidetone support
23 #include "omap-mcbsp.h"
24 #include "omap-mcbsp-priv.h"
35 /********************** McBSP SSELCR bit definitions ***********************/
38 /********************** McBSP Sidetone SYSCONFIG bit definitions ***********/
41 /********************** McBSP Sidetone SGAINCR bit definitions *************/
45 /********************** McBSP Sidetone SFIRCR bit definitions **************/
48 /********************** McBSP Sidetone SSELCR bit definitions **************/
64 static void omap_mcbsp_st_write(struct omap_mcbsp *mcbsp, u16 reg, u32 val) in omap_mcbsp_st_write() argument
66 writel_relaxed(val, mcbsp->st_data->io_base_st + reg); in omap_mcbsp_st_write()
[all …]
H A Domap-mcbsp-priv.h12 #include <linux/platform_data/asoc-ti-mcbsp.h>
20 /* McBSP register numbers. Register address offset = num * reg_step */
73 /************************** McBSP SPCR1 bit definitions ***********************/
86 /************************** McBSP SPCR2 bit definitions ***********************/
97 /************************** McBSP PCR bit definitions *************************/
114 /************************** McBSP RCR1 bit definitions ************************/
118 /************************** McBSP XCR1 bit definitions ************************/
122 /*************************** McBSP RCR2 bit definitions ***********************/
130 /*************************** McBSP XCR2 bit definitions ***********************/
138 /************************* McBSP SRGR1 bit definitions ************************/
[all …]
H A Domap3pandora.c20 #include <linux/platform_data/asoc-ti-mcbsp.h>
22 #include "omap-mcbsp.h"
46 /* Set McBSP clock to external */ in omap3pandora_hw_params()
178 DAILINK_COMP_ARRAY(COMP_CPU("omap-mcbsp.2")),
180 DAILINK_COMP_ARRAY(COMP_PLATFORM("omap-mcbsp.2")));
183 DAILINK_COMP_ARRAY(COMP_CPU("omap-mcbsp.4")),
185 DAILINK_COMP_ARRAY(COMP_PLATFORM("omap-mcbsp.4")));
H A Domap-twl4030.c29 #include "omap-mcbsp.h"
200 DAILINK_COMP_ARRAY(COMP_CPU("omap-mcbsp.2")),
202 DAILINK_COMP_ARRAY(COMP_PLATFORM("omap-mcbsp.2")));
205 DAILINK_COMP_ARRAY(COMP_CPU("omap-mcbsp.3")),
207 DAILINK_COMP_ARRAY(COMP_PLATFORM("omap-mcbsp.3")));
261 dai_node = of_parse_phandle(node, "ti,mcbsp", 0); in omap_twl4030_probe()
263 dev_err(&pdev->dev, "McBSP node is not provided\n"); in omap_twl4030_probe()
272 dai_node = of_parse_phandle(node, "ti,mcbsp-voice", 0); in omap_twl4030_probe()
H A Domap-mcbsp.h3 * omap-mcbsp.h
16 /* Source clocks for McBSP sample rate generator */
25 /* McBSP dividers */
H A DMakefile16 snd-soc-omap-mcbsp-y := omap-mcbsp.o omap-mcbsp-st.o
22 obj-$(CONFIG_SND_SOC_OMAP_MCBSP) += snd-soc-omap-mcbsp.o
H A DKconfig19 tristate "daVinci Audio Serial Port (ASP) or McBSP support"
23 Say Y or M here if you want audio support via daVinci ASP or McBSP.
25 daVinci McBSP (w/o the multichannel support).
52 tristate "Multichannel Buffered Serial Port (McBSP) support"
56 Say Y or M here if you want to have support for McBSP IP found in
H A Dosk5912.c18 #include <linux/platform_data/asoc-ti-mcbsp.h>
20 #include "omap-mcbsp.h"
80 DAILINK_COMP_ARRAY(COMP_CPU("omap-mcbsp.1")),
83 DAILINK_COMP_ARRAY(COMP_PLATFORM("omap-mcbsp.1")));
H A Ddavinci-i2s.c3 * ALSA SoC I2S (McBSP) Audio Layer for TI DAVINCI processor
42 * (McBSP) as on older chips like the dm642 ... which was
45 * - OMAP chips have a controller called McBSP, which is
46 * incompatible with the DaVinci flavor of McBSP.
49 * incompatible with ASP and with either McBSP.
51 * In short: this uses ASP to implement I2S, not McBSP.
255 dev_err(dev->dev, "Invalid RX mask (0x%08x) : all slots must be used by McBSP\n", in davinci_i2s_set_tdm_slot()
261 dev_err(dev->dev, "Invalid TX mask (0x%08x) : all slots must be used by McBSP\n", in davinci_i2s_set_tdm_slot()
326 * McBSP CLKR pin is the input for the Sample Rate Generator. in davinci_i2s_set_dai_fmt()
327 * McBSP FSR and FSX are driven by the Sample Rate Generator. in davinci_i2s_set_dai_fmt()
[all …]
H A Ddavinci-i2s.h3 * ALSA SoC I2S (McBSP) Audio Layer for TI DAVINCI processor
12 /* McBSP dividers */
H A Dn810.c20 #include <linux/platform_data/asoc-ti-mcbsp.h>
22 #include "omap-mcbsp.h"
252 DAILINK_COMP_ARRAY(COMP_CPU("48076000.mcbsp")),
255 DAILINK_COMP_ARRAY(COMP_PLATFORM("48076000.mcbsp")));
/linux/Documentation/devicetree/bindings/sound/
H A Domap-mcbsp.txt1 * Texas Instruments OMAP2+ McBSP module
4 - compatible: "ti,omap2420-mcbsp" for McBSP on OMAP2420
5 "ti,omap2430-mcbsp" for McBSP on OMAP2430
6 "ti,omap3-mcbsp" for McBSP on OMAP3
7 "ti,omap4-mcbsp" for McBSP on OMAP4 and newer SoC
12 - interrupts: Interrupt numbers for the McBSP port, as an array in case the
13 McBSP IP have more interrupt lines:
19 - ti,hwmods: Name of the hwmod associated to the McBSP port
23 mcbsp2: mcbsp@49022000 {
24 compatible = "ti,omap3-mcbsp";
H A Ddavinci-mcbsp.yaml4 $id: http://devicetree.org/schemas/sound/davinci-mcbsp.yaml#
7 title: McBSP Controller for TI SoCs
18 - ti,da850-mcbsp
74 McBSP will insert a blank period (high-impedance period) before the first
81 McBSP will discard the bit preceding the data stream (called framing bit).
99 compatible = "ti,da850-mcbsp";
H A Domap-twl4030.txt6 - ti,mcbsp: phandle for the McBSP node
10 - ti,mcbsp-voice: phandle for the McBSP node connected to the voice port of twl
61 ti,mcbsp = <&mcbsp2>;
/linux/arch/arm/boot/dts/ti/omap/
H A Domap2430.dtsi175 mcbsp1: mcbsp@48074000 {
176 compatible = "ti,omap2430-mcbsp";
192 mcbsp2: mcbsp@48076000 {
193 compatible = "ti,omap2430-mcbsp";
208 mcbsp3: mcbsp@4808c000 {
209 compatible = "ti,omap2430-mcbsp";
224 mcbsp4: mcbsp@4808e000 {
225 compatible = "ti,omap2430-mcbsp";
240 mcbsp5: mcbsp@48096000 {
241 compatible = "ti,omap2430-mcbsp";
H A Domap2420.dtsi151 mcbsp1: mcbsp@48074000 {
152 compatible = "ti,omap2420-mcbsp";
165 mcbsp2: mcbsp@48076000 {
166 compatible = "ti,omap2420-mcbsp";
H A Domap3.dtsi562 mcbsp1: mcbsp@48074000 {
563 compatible = "ti,omap3-mcbsp";
604 mcbsp2: mcbsp@49022000 {
605 compatible = "ti,omap3-mcbsp";
624 mcbsp3: mcbsp@49024000 {
625 compatible = "ti,omap3-mcbsp";
644 mcbsp4: mcbsp@49026000 {
645 compatible = "ti,omap3-mcbsp";
663 mcbsp5: mcbsp@48096000 {
664 compatible = "ti,omap3-mcbsp";
H A Domap5-l4-abe.dtsi107 mcbsp1: mcbsp@0 {
108 compatible = "ti,omap4-mcbsp";
142 mcbsp2: mcbsp@0 {
143 compatible = "ti,omap4-mcbsp";
177 mcbsp3: mcbsp@0 {
178 compatible = "ti,omap4-mcbsp";
/linux/arch/arm/mach-omap2/
H A Dmcbsp.c3 * linux/arch/arm/mach-omap2/mcbsp.c
18 #include <linux/platform_data/asoc-ti-mcbsp.h>
28 * FIXME: Find a mechanism to enable/disable runtime the McBSP ICLK autoidle.
H A Dpdata-quirks.c25 #include <linux/platform_data/asoc-ti-mcbsp.h>
470 /* McBSP modules with sidetone core */
472 OF_DEV_AUXDATA("ti,omap3-mcbsp", 0x49022000, "49022000.mcbsp", &mcbsp_pdata),
473 OF_DEV_AUXDATA("ti,omap3-mcbsp", 0x49024000, "49024000.mcbsp", &mcbsp_pdata),
/linux/drivers/clk/ti/
H A Dclk-2xxx.c79 DT_CLK("omap-mcbsp.1", "ick", "mcbsp1_ick"),
82 DT_CLK("omap-mcbsp.2", "ick", "mcbsp2_ick"),
170 DT_CLK("omap-mcbsp.3", "ick", "mcbsp3_ick"),
173 DT_CLK("omap-mcbsp.4", "ick", "mcbsp4_ick"),
176 DT_CLK("omap-mcbsp.5", "ick", "mcbsp5_ick"),
/linux/arch/arm/mach-omap1/
H A Ddma.c266 { "omap-mcbsp.1", "tx", SDMA_FILTER_PARAM(8) },
267 { "omap-mcbsp.1", "rx", SDMA_FILTER_PARAM(9) },
268 { "omap-mcbsp.3", "tx", SDMA_FILTER_PARAM(10) },
269 { "omap-mcbsp.3", "rx", SDMA_FILTER_PARAM(11) },
270 { "omap-mcbsp.2", "tx", SDMA_FILTER_PARAM(16) },
271 { "omap-mcbsp.2", "rx", SDMA_FILTER_PARAM(17) },
H A Dmcbsp.c3 * linux/arch/arm/mach-omap1/mcbsp.c
20 #include <linux/platform_data/asoc-ti-mcbsp.h>
300 printk(KERN_ERR "Could not register McBSP devices\n"); in omap_mcbsp_register_board_cfg()
308 new_mcbsp = platform_device_alloc("omap-mcbsp", i + 1); in omap_mcbsp_register_board_cfg()
H A Dclock_data.c669 CLK("omap-mcbsp.1", "ick", &dspper_ck.hw, CK_16XX),
670 CLK("omap-mcbsp.1", "ick", &dummy_ck.hw, CK_1510 | CK_310),
671 CLK("omap-mcbsp.2", "ick", &armper_ck.clk.hw, CK_16XX),
672 CLK("omap-mcbsp.2", "ick", &dummy_ck.hw, CK_1510 | CK_310),
673 CLK("omap-mcbsp.3", "ick", &dspper_ck.hw, CK_16XX),
674 CLK("omap-mcbsp.3", "ick", &dummy_ck.hw, CK_1510 | CK_310),
675 CLK("omap-mcbsp.1", "fck", &dspxor_ck.hw, CK_16XX | CK_1510 | CK_310),
676 CLK("omap-mcbsp.2", "fck", &armper_ck.clk.hw, CK_16XX | CK_1510 | CK_310),
677 CLK("omap-mcbsp.3", "fck", &dspxor_ck.hw, CK_16XX | CK_1510 | CK_310),

12