1. 21 Jan, 2021 4 commits
    • Kuninori Morimoto's avatar
      ASoC: sync parameter naming : rate / sample_bits · f14654dd
      Kuninori Morimoto authored
      snd_pcm_runtime / snd_soc_dai / snd_soc_dai_driver / snd_soc_dai_link
      have related parameter which is similar but not same naming.
      
      	struct snd_pcm_runtime {
      		...
      (A)		unsigned int rate;
      		...
      (B)		unsigned int sample_bits;
      		...
      	};
      
      	struct snd_soc_dai {
      		...
      (A)		unsigned int rate;
      (B)		unsigned int sample_bits;
      		...
      	};
      
      	struct snd_soc_dai_driver {
      		...
      (A)		unsigned int symmetric_rates:1;
      (B)		unsigned int symmetric_samplebits:1;
      		...
      	};
      
      	struct snd_soc_dai_link {
      		...
      (A)		unsigned int symmetric_rates:1;
      (B)		unsigned int symmetric_samplebits:1;
      		...
      	};
      
      Because it is similar but not same naming rule,
      code can be verbose / can't share macro.
      
      This patch sync naming rule for framework.
      	- xxx_rates;
      	+ xxx_rate;
      
      	- xxx_samplebits;
      	+ xxx_sample_bits;
      
      old name will be removed if all drivers were switched
      to new naming rule.
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Link: https://lore.kernel.org/r/87wnweolj6.wl-kuninori.morimoto.gx@renesas.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      f14654dd
    • Kuninori Morimoto's avatar
      ASoC: soc-pcm: revert soc_pcm_apply_symmetry() · 80f454e2
      Kuninori Morimoto authored
      commit a39748d0 ("ASoC: soc-pcm: cleanup soc_pcm_apply_symmetry()")
      was applied by miscommunication.
      To more cleanup code, and to be easy review, this patch reverts it.
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Link: https://lore.kernel.org/r/87y2guoljm.wl-kuninori.morimoto.gx@renesas.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      80f454e2
    • Mark Brown's avatar
      Merge series "ASoC: mediatek: mt8192-mt6359: support DP audio" from Tzung-Bi... · 879a67e3
      Mark Brown authored
      Merge series "ASoC: mediatek: mt8192-mt6359: support DP audio" from Tzung-Bi Shih <tzungbi@google.com>:
      
      The 1st and 2nd patches refactor the machine driver.
      
      The 3rd patch changes the platform driver to support TDM 8 channel output.
      
      The 4th patch adds an optional DT property.
      
      The 5th patch makes the machine driver support DP audio if the optional DT
      property is specified.
      
      Tzung-Bi Shih (5):
        ASoC: mediatek: mt8192-mt6359: move headset_jack to card specific data
        ASoC: mediatek: mt8192-mt6359: simplify mt8192_rt5682_init
        ASoC: mediatek: mt8192: change mclk_multiple of TDM from 128 to 512
        ASoC: dt-bindings: mt8192-mt6359: add hdmi-codec property
        ASoC: mediatek: mt8192-mt6359: support audio over DP
      
       .../sound/mt8192-mt6359-rt1015-rt5682.yaml    |  5 ++
       sound/soc/mediatek/mt8192/mt8192-dai-tdm.c    |  2 +-
       .../mt8192/mt8192-mt6359-rt1015-rt5682.c      | 54 ++++++++++++++++---
       3 files changed, 52 insertions(+), 9 deletions(-)
      
      --
      2.30.0.284.gd98b1dd5eaa7-goog
      879a67e3
    • Mark Brown's avatar
      Merge series "ASoC: remove obsolete drivers" from Arnd Bergmann <arnd@kernel.org> · 55331b55
      Mark Brown authored
      Arnd Bergmann <arnd@arndb.de>:
      
      From: Arnd Bergmann <arnd@arndb.de>
      
      A few Arm platforms are getting removed in v5.12, this removes
      the corresponding sound drivers.
      
      Link: https://lore.kernel.org/linux-arm-kernel/20210120124812.2800027-1-arnd@kernel.org/T/
      
      Arnd Bergmann (2):
        ASoC: remove sirf prima/atlas drivers
        ASoC: remove zte zx drivers
      
       .../bindings/sound/sirf-audio-codec.txt       |  17 -
       .../devicetree/bindings/sound/sirf-usp.txt    |  27 -
       .../devicetree/bindings/sound/zte,tdm.txt     |  30 -
       .../bindings/sound/zte,zx-aud96p22.txt        |  24 -
       .../devicetree/bindings/sound/zte,zx-i2s.txt  |  45 --
       .../bindings/sound/zte,zx-spdif.txt           |  27 -
       sound/soc/Kconfig                             |   2 -
       sound/soc/Makefile                            |   2 -
       sound/soc/codecs/Makefile                     |   4 -
       sound/soc/codecs/sirf-audio-codec.c           | 575 ------------------
       sound/soc/codecs/zx_aud96p22.c                | 401 ------------
       sound/soc/sirf/Kconfig                        |  21 -
       sound/soc/sirf/Makefile                       |   8 -
       sound/soc/sirf/sirf-audio-port.c              |  86 ---
       sound/soc/sirf/sirf-audio.c                   | 160 -----
       sound/soc/sirf/sirf-usp.c                     | 435 -------------
       sound/soc/sirf/sirf-usp.h                     | 292 ---------
       sound/soc/zte/Kconfig                         |  26 -
       sound/soc/zte/Makefile                        |   4 -
       sound/soc/zte/zx-i2s.c                        | 452 --------------
       sound/soc/zte/zx-spdif.c                      | 363 -----------
       sound/soc/zte/zx-tdm.c                        | 458 --------------
       22 files changed, 3459 deletions(-)
       delete mode 100644 Documentation/devicetree/bindings/sound/sirf-audio-codec.txt
       delete mode 100644 Documentation/devicetree/bindings/sound/sirf-usp.txt
       delete mode 100644 Documentation/devicetree/bindings/sound/zte,tdm.txt
       delete mode 100644 Documentation/devicetree/bindings/sound/zte,zx-aud96p22.txt
       delete mode 100644 Documentation/devicetree/bindings/sound/zte,zx-i2s.txt
       delete mode 100644 Documentation/devicetree/bindings/sound/zte,zx-spdif.txt
       delete mode 100644 sound/soc/codecs/sirf-audio-codec.c
       delete mode 100644 sound/soc/codecs/zx_aud96p22.c
       delete mode 100644 sound/soc/sirf/Kconfig
       delete mode 100644 sound/soc/sirf/Makefile
       delete mode 100644 sound/soc/sirf/sirf-audio-port.c
       delete mode 100644 sound/soc/sirf/sirf-audio.c
       delete mode 100644 sound/soc/sirf/sirf-usp.c
       delete mode 100644 sound/soc/sirf/sirf-usp.h
       delete mode 100644 sound/soc/zte/Kconfig
       delete mode 100644 sound/soc/zte/Makefile
       delete mode 100644 sound/soc/zte/zx-i2s.c
       delete mode 100644 sound/soc/zte/zx-spdif.c
       delete mode 100644 sound/soc/zte/zx-tdm.c
      
      --
      2.29.2
      55331b55
  2. 20 Jan, 2021 13 commits
  3. 19 Jan, 2021 11 commits
  4. 18 Jan, 2021 3 commits
  5. 15 Jan, 2021 7 commits
  6. 13 Jan, 2021 2 commits