kernel: bump 5.10 to 5.10.103
[openwrt/staging/mkresin.git] / target / linux / at91 / patches-5.10 / 150-ASoC-mchp-i2s-mcc-Add-compatible-for-SAMA7G5.patch
1 From d6493e6f1c42f7ad350ea25e11f0e71fc32e6116 Mon Sep 17 00:00:00 2001
2 From: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
3 Date: Mon, 1 Mar 2021 19:09:00 +0200
4 Subject: [PATCH 150/247] ASoC: mchp-i2s-mcc: Add compatible for SAMA7G5
5
6 Microchip's new SAMA7G5 includes an updated I2S-MCC compatible with the
7 previous version found on SAM9X60. The new controller includes 8 (4 * 2)
8 input and output data pins for up to 8 channels for I2S and Left-Justified
9 formats.
10
11 Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
12 Link: https://lore.kernel.org/r/20210301170905.835091-3-codrin.ciubotariu@microchip.com
13 Signed-off-by: Mark Brown <broonie@kernel.org>
14 ---
15 sound/soc/atmel/Kconfig | 3 +++
16 sound/soc/atmel/mchp-i2s-mcc.c | 3 +++
17 2 files changed, 6 insertions(+)
18
19 --- a/sound/soc/atmel/Kconfig
20 +++ b/sound/soc/atmel/Kconfig
21 @@ -126,10 +126,13 @@ config SND_MCHP_SOC_I2S_MCC
22 Say Y or M if you want to add support for I2S Multi-Channel ASoC
23 driver on the following Microchip platforms:
24 - sam9x60
25 + - sama7g5
26
27 The I2SMCC complies with the Inter-IC Sound (I2S) bus specification
28 and supports a Time Division Multiplexed (TDM) interface with
29 external multi-channel audio codecs.
30 + Starting with sama7g5, I2S and Left-Justified multi-channel is
31 + supported by using multiple data pins, output and input, without TDM.
32
33 config SND_MCHP_SOC_SPDIFTX
34 tristate "Microchip ASoC driver for boards using S/PDIF TX"
35 --- a/sound/soc/atmel/mchp-i2s-mcc.c
36 +++ b/sound/soc/atmel/mchp-i2s-mcc.c
37 @@ -873,6 +873,9 @@ static const struct of_device_id mchp_i2
38 {
39 .compatible = "microchip,sam9x60-i2smcc",
40 },
41 + {
42 + .compatible = "microchip,sama7g5-i2smcc",
43 + },
44 { /* sentinel */ }
45 };
46 MODULE_DEVICE_TABLE(of, mchp_i2s_mcc_dt_ids);