Merge tag 'asoc-v5.19' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie...
authorTakashi Iwai <tiwai@suse.de>
Mon, 23 May 2022 14:03:04 +0000 (16:03 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 23 May 2022 14:03:04 +0000 (16:03 +0200)
ASoC: Updates for v5.19

This is quite a big update, partly due to the addition of some larger
drivers (more of which is to follow since at least the AVS driver is
still a work in progress) and partly due to Charles' work sorting out
our handling of endianness.  As has been the case recently it's much
more about drivers than the core.

 - Overhaul of endianness specification for data formats, avoiding
   needless restrictions due to CODECs.
 - Initial stages of Intel AVS driver merge.
 - Introduction of v4 IPC mechanism for SOF.
 - TDM mode support for AK4613.
 - Support for Analog Devices ADAU1361, Cirrus Logic CS35L45, Maxim
   MAX98396, MediaTek MT8186, NXP i.MX8 micfil and SAI interfaces,
   nVidia Tegra186 ASRC, and Texas Instruments TAS2764 and TAS2780

1  2 
MAINTAINERS
include/sound/cs35l41.h
sound/soc/codecs/cs35l41-i2c.c
sound/soc/codecs/cs35l41-lib.c
sound/soc/codecs/cs35l41.c

diff --cc MAINTAINERS
Simple merge
  
  #define CS35L41_MAX_CACHE_REG         36
  #define CS35L41_OTP_SIZE_WORDS                32
- #define CS35L41_NUM_OTP_ELEM          100
  
 -#define CS35L41_VALID_PDATA           0x80000000
  #define CS35L41_NUM_SUPPLIES            2
  
  #define CS35L41_SCLK_MSTR_MASK                0x10
Simple merge
Simple merge
@@@ -1025,12 -1113,14 +1025,14 @@@ static const struct snd_soc_component_d
        .controls = cs35l41_aud_controls,
        .num_controls = ARRAY_SIZE(cs35l41_aud_controls),
        .set_sysclk = cs35l41_component_set_sysclk,
+       .endianness = 1,
  };
  
 -static int cs35l41_handle_pdata(struct device *dev, struct cs35l41_platform_data *pdata)
 +static int cs35l41_handle_pdata(struct device *dev, struct cs35l41_hw_cfg *hw_cfg)
  {
 -      struct cs35l41_irq_cfg *irq_gpio1_config = &pdata->irq_config1;
 -      struct cs35l41_irq_cfg *irq_gpio2_config = &pdata->irq_config2;
 +      struct cs35l41_gpio_cfg *gpio1 = &hw_cfg->gpio1;
 +      struct cs35l41_gpio_cfg *gpio2 = &hw_cfg->gpio2;
        unsigned int val;
        int ret;