Skip to content

Commit 1537ad3

Browse files
committed
Merge remote-tracking branch 'asoc/for-5.15' into asoc-next
2 parents 8566645 + cfc9d37 commit 1537ad3

39 files changed

Lines changed: 1215 additions & 332 deletions

Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Required properties:
66
"ti,da830-mcasp-audio" : for both DA830 & DA850 platforms
77
"ti,am33xx-mcasp-audio" : for AM33xx platforms (AM33xx, AM43xx, TI81xx)
88
"ti,dra7-mcasp-audio" : for DRA7xx platforms
9+
"ti,omap4-mcasp-audio" : for OMAP4
910

1011
- reg : Should contain reg specifiers for the entries in the reg-names property.
1112
- reg-names : Should contain:

include/linux/platform_data/davinci_asp.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ enum {
9696
MCASP_VERSION_2, /* DA8xx/OMAPL1x */
9797
MCASP_VERSION_3, /* TI81xx/AM33xx */
9898
MCASP_VERSION_4, /* DRA7xxx */
99+
MCASP_VERSION_OMAP, /* OMAP4/5 */
99100
};
100101

101102
enum mcbsp_clk_input_pin {

include/sound/sof.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,5 +101,6 @@ struct sof_dev_desc {
101101
};
102102

103103
int sof_dai_get_mclk(struct snd_soc_pcm_runtime *rtd);
104+
int sof_dai_get_bclk(struct snd_soc_pcm_runtime *rtd);
104105

105106
#endif

sound/soc/amd/acp-pcm-dma.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ static void config_acp_dma_channel(void __iomem *acp_mmio, u8 ch_num,
156156
acp_reg_write(priority_level, acp_mmio, mmACP_DMA_PRIO_0 + ch_num);
157157
}
158158

159-
/* Initialize a dma descriptor in SRAM based on descritor information passed */
159+
/* Initialize a dma descriptor in SRAM based on descriptor information passed */
160160
static void config_dma_descriptor_in_sram(void __iomem *acp_mmio,
161161
u16 descr_idx,
162162
acp_dma_dscr_transfer_t *descr_info)
@@ -288,7 +288,7 @@ static void set_acp_to_i2s_dma_descriptors(void __iomem *acp_mmio, u32 size,
288288
&dmadscr[i]);
289289
}
290290
pre_config_reset(acp_mmio, ch);
291-
/* Configure the DMA channel with the above descriptore */
291+
/* Configure the DMA channel with the above descriptor */
292292
config_acp_dma_channel(acp_mmio, ch, dma_dscr_idx - 1,
293293
NUM_DSCRS_PER_CHANNEL,
294294
ACP_DMA_PRIORITY_LEVEL_NORMAL);
@@ -322,7 +322,7 @@ static void acp_pte_config(void __iomem *acp_mmio, dma_addr_t addr,
322322
high |= BIT(31);
323323
acp_reg_write(high, acp_mmio, mmACP_SRBM_Targ_Idx_Data);
324324

325-
/* Move to next physically contiguos page */
325+
/* Move to next physically contiguous page */
326326
addr += PAGE_SIZE;
327327
}
328328
}
@@ -602,11 +602,11 @@ static int acp_init(void __iomem *acp_mmio, u32 asic_type)
602602
acp_reg_write(val, acp_mmio, mmACP_BT_UART_PAD_SEL);
603603
}
604604

605-
/* initiailize Onion control DAGB register */
605+
/* initialize Onion control DAGB register */
606606
acp_reg_write(ACP_ONION_CNTL_DEFAULT, acp_mmio,
607607
mmACP_AXI2DAGB_ONION_CNTL);
608608

609-
/* initiailize Garlic control DAGB registers */
609+
/* initialize Garlic control DAGB registers */
610610
acp_reg_write(ACP_GARLIC_CNTL_DEFAULT, acp_mmio,
611611
mmACP_AXI2DAGB_GARLIC_CNTL);
612612

@@ -621,7 +621,7 @@ static int acp_init(void __iomem *acp_mmio, u32 asic_type)
621621
acp_reg_write(ACP_SRAM_BASE_ADDRESS, acp_mmio,
622622
mmACP_DMA_DESC_BASE_ADDR);
623623

624-
/* Num of descriptiors in SRAM 0x4, means 256 descriptors;(64 * 4) */
624+
/* Num of descriptors in SRAM 0x4, means 256 descriptors;(64 * 4) */
625625
acp_reg_write(0x4, acp_mmio, mmACP_DMA_DESC_MAX_NUM_DSCR);
626626
acp_reg_write(ACP_EXTERNAL_INTR_CNTL__DMAIOCMask_MASK,
627627
acp_mmio, mmACP_EXTERNAL_INTR_CNTL);

sound/soc/amd/raven/acp3x-pcm-dma.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ static void config_acp3x_dma(struct i2s_stream_instance *rtd, int direction)
147147
high |= BIT(31);
148148
rv_writel(high, rtd->acp3x_base + mmACP_SCRATCH_REG_0 + val
149149
+ 4);
150-
/* Move to next physically contiguos page */
150+
/* Move to next physically contiguous page */
151151
val += 8;
152152
addr += PAGE_SIZE;
153153
}

sound/soc/atmel/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ if SND_ATMEL_SOC
1111

1212
config SND_ATMEL_SOC_PDC
1313
bool
14-
depends on HAS_DMA
1514

1615
config SND_ATMEL_SOC_DMA
1716
bool

sound/soc/atmel/mchp-spdifrx.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
/* Validity Bit Mode */
5757
#define SPDIFRX_MR_VBMODE_MASK GENAMSK(1, 1)
5858
#define SPDIFRX_MR_VBMODE_ALWAYS_LOAD \
59-
(0 << 1) /* Load sample regardles of validity bit value */
59+
(0 << 1) /* Load sample regardless of validity bit value */
6060
#define SPDIFRX_MR_VBMODE_DISCARD_IF_VB1 \
6161
(1 << 1) /* Load sample only if validity bit is 0 */
6262

@@ -519,7 +519,7 @@ static int mchp_spdifrx_cs_get(struct mchp_spdifrx_dev *dev,
519519
/* check for new data available */
520520
ret = wait_for_completion_interruptible_timeout(&ch_stat->done,
521521
msecs_to_jiffies(100));
522-
/* IP might not be started or valid stream might not be prezent */
522+
/* IP might not be started or valid stream might not be present */
523523
if (ret < 0) {
524524
dev_dbg(dev->dev, "channel status for channel %d timeout\n",
525525
channel);
@@ -571,7 +571,7 @@ static int mchp_spdifrx_subcode_ch_get(struct mchp_spdifrx_dev *dev,
571571
mchp_spdifrx_isr_blockend_en(dev);
572572
ret = wait_for_completion_interruptible_timeout(&user_data->done,
573573
msecs_to_jiffies(100));
574-
/* IP might not be started or valid stream might not be prezent */
574+
/* IP might not be started or valid stream might not be present */
575575
if (ret <= 0) {
576576
dev_dbg(dev->dev, "user data for channel %d timeout\n",
577577
channel);

sound/soc/atmel/mchp-spdiftx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
#define SPDIFTX_MR_VALID1 BIT(24)
8181
#define SPDIFTX_MR_VALID2 BIT(25)
8282

83-
/* Disable Null Frame on underrrun */
83+
/* Disable Null Frame on underrun */
8484
#define SPDIFTX_MR_DNFR_MASK GENMASK(27, 27)
8585
#define SPDIFTX_MR_DNFR_INVALID (0 << 27)
8686
#define SPDIFTX_MR_DNFR_VALID (1 << 27)

sound/soc/atmel/tse850-pcm5142.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
// IN2 +---o--+------------+--o---+ OUT2
2424
// loop2 relays
2525
//
26-
// The 'loop1' gpio pin controlls two relays, which are either in loop
26+
// The 'loop1' gpio pin controls two relays, which are either in loop
2727
// position, meaning that input and output are directly connected, or
2828
// they are in mixer position, meaning that the signal is passed through
2929
// the 'Sum' mixer. Similarly for 'loop2'.

sound/soc/codecs/Kconfig

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ config SND_SOC_ALL_CODECS
187187
imply SND_SOC_RT715_SDCA_SDW
188188
imply SND_SOC_RT1308_SDW
189189
imply SND_SOC_RT1316_SDW
190+
imply SND_SOC_SDW_MOCKUP
190191
imply SND_SOC_SGTL5000
191192
imply SND_SOC_SI476X
192193
imply SND_SOC_SIMPLE_AMPLIFIER
@@ -1287,6 +1288,23 @@ config SND_SOC_RT715_SDCA_SDW
12871288
select REGMAP_SOUNDWIRE
12881289
select REGMAP_SOUNDWIRE_MBQ
12891290

1291+
config SND_SOC_SDW_MOCKUP
1292+
tristate "SoundWire mockup codec"
1293+
depends on EXPERT
1294+
depends on SOUNDWIRE
1295+
help
1296+
This option enables a SoundWire mockup codec that does not drive the
1297+
bus, take part in the command/command protocol or generate data on a
1298+
Source port.
1299+
This option is only intended to be used for tests on a device
1300+
with a connector, in combination with a bus analyzer, or to test new
1301+
topologies that differ from the actual hardware layout.
1302+
This mockup device could be totally virtual but could also be a
1303+
real physical one with one key restriction: it is not allowed by the
1304+
SoundWire specification to be configured via a sideband mechanism and
1305+
generate audio data for capture. However, nothing prevents such a
1306+
peripheral device from snooping the bus.
1307+
12901308
#Freescale sgtl5000 codec
12911309
config SND_SOC_SGTL5000
12921310
tristate "Freescale SGTL5000 CODEC"

0 commit comments

Comments
 (0)