1. 27 Jan, 2023 12 commits
  2. 26 Jan, 2023 7 commits
  3. 25 Jan, 2023 9 commits
  4. 23 Jan, 2023 3 commits
  5. 20 Jan, 2023 2 commits
  6. 19 Jan, 2023 1 commit
    • Mark Brown's avatar
      ASoC: mediatek: Add support for MT8188 SoC · 8dc08c82
      Mark Brown authored
      Merge series from Trevor Wu <trevor.wu@mediatek.com>:
      
      This series of patches adds support for Mediatek AFE of MT8188 SoC.
      Patches are based on broonie tree "for-next" branch.
      
      Changes since v4:
        - refine etdm dai driver based on reviewer's suggestions
        - refine dt-binding files based on reviewer's suggestions
      
      Changes since v3:
        - replace apll_ck with apll to sync with the relationship in CCF
        - add mtk-soundcard-driver.c to support codec parsing
        - drop mclk-always-on-rates support in mt8188-dai-etdm.c
        - refine dt-binding files based on reviewer's suggestions
      
      Changes since v2:
        - drop CLK_IGNORE_UNUSED flag
        - include bitfield.h to reslove the issue reported by kernel test robot
        - rename mt8188-afe-pcm.yaml to mt8188-afe.yaml
        - refine dt-binding files based on reviewer's suggestions
      
      Changes since v1:
        - remove bus protection functions in case of unmerged dependency problem
        - replace some bit operation macro with FIELD_PREP
        - simplify register control by regmap_set_bits and regmap_clear_bits
        - fix dt-binding errors
        - rename compatible string for recognition
      
      Trevor Wu (13):
        ASoC: mediatek: common: add SMC ops and SMC CMD
        ASoC: mediatek: mt8188: add common header
        ASoC: mediatek: mt8188: support audsys clock
        ASoC: mediatek: mt8188: support adda in platform driver
        ASoC: mediatek: mt8188: support etdm in platform driver
        ASoC: mediatek: mt8188: support pcmif in platform driver
        ASoC: mediatek: mt8188: support audio clock control
        ASoC: mediatek: mt8188: add platform driver
        ASoC: mediatek: mt8188: add control for timing select
        ASoC: dt-bindings: mediatek,mt8188-afe: add audio afe document
        ASoC: mediatek: common: add soundcard driver common code
        ASoC: mediatek: mt8188: add machine driver with mt6359
        ASoC: dt-bindings: mediatek,mt8188-mt6359: add mt8188-mt6359 document
      
       .../bindings/sound/mediatek,mt8188-afe.yaml   |  208 +
       .../sound/mediatek,mt8188-mt6359.yaml         |   97 +
       sound/soc/mediatek/Kconfig                    |   23 +
       sound/soc/mediatek/Makefile                   |    1 +
       sound/soc/mediatek/common/Makefile            |    2 +-
       sound/soc/mediatek/common/mtk-base-afe.h      |   19 +
       .../mediatek/common/mtk-soundcard-driver.c    |   79 +
       .../mediatek/common/mtk-soundcard-driver.h    |   14 +
       sound/soc/mediatek/mt8188/Makefile            |   15 +
       sound/soc/mediatek/mt8188/mt8188-afe-clk.c    |  658 ++++
       sound/soc/mediatek/mt8188/mt8188-afe-clk.h    |  115 +
       sound/soc/mediatek/mt8188/mt8188-afe-common.h |  151 +
       sound/soc/mediatek/mt8188/mt8188-afe-pcm.c    | 3359 +++++++++++++++++
       sound/soc/mediatek/mt8188/mt8188-audsys-clk.c |  205 +
       sound/soc/mediatek/mt8188/mt8188-audsys-clk.h |   15 +
       .../soc/mediatek/mt8188/mt8188-audsys-clkid.h |   83 +
       sound/soc/mediatek/mt8188/mt8188-dai-adda.c   |  632 ++++
       sound/soc/mediatek/mt8188/mt8188-dai-etdm.c   | 2588 +++++++++++++
       sound/soc/mediatek/mt8188/mt8188-dai-pcm.c    |  367 ++
       sound/soc/mediatek/mt8188/mt8188-mt6359.c     |  785 ++++
       sound/soc/mediatek/mt8188/mt8188-reg.h        | 3180 ++++++++++++++++
       21 files changed, 12595 insertions(+), 1 deletion(-)
       create mode 100644 Documentation/devicetree/bindings/sound/mediatek,mt8188-afe.yaml
       create mode 100644 Documentation/devicetree/bindings/sound/mediatek,mt8188-mt6359.yaml
       create mode 100644 sound/soc/mediatek/common/mtk-soundcard-driver.c
       create mode 100644 sound/soc/mediatek/common/mtk-soundcard-driver.h
       create mode 100644 sound/soc/mediatek/mt8188/Makefile
       create mode 100644 sound/soc/mediatek/mt8188/mt8188-afe-clk.c
       create mode 100644 sound/soc/mediatek/mt8188/mt8188-afe-clk.h
       create mode 100644 sound/soc/mediatek/mt8188/mt8188-afe-common.h
       create mode 100644 sound/soc/mediatek/mt8188/mt8188-afe-pcm.c
       create mode 100644 sound/soc/mediatek/mt8188/mt8188-audsys-clk.c
       create mode 100644 sound/soc/mediatek/mt8188/mt8188-audsys-clk.h
       create mode 100644 sound/soc/mediatek/mt8188/mt8188-audsys-clkid.h
       create mode 100644 sound/soc/mediatek/mt8188/mt8188-dai-adda.c
       create mode 100644 sound/soc/mediatek/mt8188/mt8188-dai-etdm.c
       create mode 100644 sound/soc/mediatek/mt8188/mt8188-dai-pcm.c
       create mode 100644 sound/soc/mediatek/mt8188/mt8188-mt6359.c
       create mode 100644 sound/soc/mediatek/mt8188/mt8188-reg.h
      
      --
      2.18.0
      8dc08c82
  7. 18 Jan, 2023 6 commits
    • Mark Brown's avatar
      Add support to compress API to ipc_msg_data / · ae7c40bc
      Mark Brown authored
      Merge series from Daniel Baluta <daniel.baluta@oss.nxp.com>:
      
      This patch series adds compress API support to ipc_msg_data /
      set_stream_data_offset callbacks.
      
      Changes since v1:
      	- fixed reviewed-by list (+Peter, -Pierre). Since github had
      	  some glitches I added the reviews received manually in the
                commits.
      	- Github PR link: https://github.com/thesofproject/linux/pull/4133
      
      Daniel Baluta (4):
        ASoC: SOF: Prepare ipc_msg_data to be used with compress API
        ASoC: SOF: Prepare set_stream_data_offset for compress API
        ASoC: SOF: Add support for compress API for stream data/offset
        ASoC: SOF: compress: Set compress data offset
      
       sound/soc/sof/amd/acp-ipc.c            |  8 ++--
       sound/soc/sof/amd/acp.h                |  5 ++-
       sound/soc/sof/compress.c               |  9 +++++
       sound/soc/sof/intel/hda-ipc.c          |  8 ++--
       sound/soc/sof/intel/hda.h              |  4 +-
       sound/soc/sof/ipc3-pcm.c               |  3 +-
       sound/soc/sof/ipc3.c                   |  4 +-
       sound/soc/sof/mediatek/mt8186/mt8186.c |  2 +-
       sound/soc/sof/mediatek/mt8195/mt8195.c |  2 +-
       sound/soc/sof/ops.h                    |  8 ++--
       sound/soc/sof/sof-priv.h               | 11 ++++--
       sound/soc/sof/stream-ipc.c             | 53 +++++++++++++++++++-------
       12 files changed, 81 insertions(+), 36 deletions(-)
      
      --
      2.25.1
      ae7c40bc
    • Mark Brown's avatar
      ASoC: Merge up 6.2 fixes · 309d4014
      Mark Brown authored
      To resolve a conflict and support further development.
      309d4014
    • Mark Brown's avatar
      ASoC: SOF: sof-audio: Fixes for widget prepare and · c1619ea2
      Mark Brown authored
      Merge series from Peter Ujfalusi <peter.ujfalusi@linux.intel.com>:
      
      This series contains one fix (first patch) followed by a nice to have safety
      belts in case we get a widget from topology which is not handled by SOF and will
      not have corresponding swidget associated with.
      c1619ea2
    • Mark Brown's avatar
      ASoC: samsung: fsd: audio support for FSD SoC · 24b401f3
      Mark Brown authored
      Merge series from Padmanabhan Rajanbabu <p.rajanbabu@samsung.com>:
      
      This patch series enables audio support on FSD SoC.
      
      Changes in v4:
      1. Rebased and addressed review comments provided for v3.
      
      Changes in v3:
      1. Addressed all the review comments provided for v2 patch.
      2. Fixed compilation warnings reported by kernel test robot.
      
      Changes in v2:
      1. New compatible added in Exynos I2S driver for FSD platform.
      2. Added Fixup support for Exynos I2S CPU DAI.
      3. Migration of manual PSR, OPCLK configuration to Exynos CPU DAI driver as
      fixup.
      4. Migrated from dedicated sound card to simple audio card.
      5. Support added for tlv320aic3x-i2c codec on FSD platform.
      
      Changes in v1:
      1. Add TDM support on samsung I2S interface.
      2. Allow sound card to directly configure I2S prescaler divider instead of
      calculating it from frame clock.
      3. The sound card support for FSD SoC which utilizes samsung I2S interface
      as CPU DAI.
      
      Padmanabhan Rajanbabu (5):
        ASoC: dt-bindings: Add FSD I2S controller bindings
        ASoC: samsung: i2s: add support for FSD I2S
        arm64: dts: fsd: Add I2S DAI node for Tesla FSD
        arm64: dts: fsd: Add codec node for Tesla FSD
        arm64: dts: fsd: Add sound card node for Tesla FSD
      
       .../bindings/sound/samsung-i2s.yaml           |  8 +++
       arch/arm64/boot/dts/tesla/fsd-evb.dts         | 53 +++++++++++++++++++
       arch/arm64/boot/dts/tesla/fsd-pinctrl.dtsi    | 14 +++++
       arch/arm64/boot/dts/tesla/fsd.dtsi            | 34 ++++++++++++
       sound/soc/samsung/i2s-regs.h                  |  1 +
       sound/soc/samsung/i2s.c                       | 53 +++++++++++++++++++
       6 files changed, 163 insertions(+)
      
      --
      2.17.1
      24b401f3
    • Faiz Abbas's avatar
      ASoC: dt-bindings: simple-card: Document simple-audio-card,plat · e7e2b92e
      Faiz Abbas authored
      The simple card driver already has support for a simple-audio-card,plat
      property but its not reflected in the documentation. Add documentation
      for this plat property.
      Signed-off-by: default avatarFaiz Abbas <faiz.abbas@arm.com>
      Acked-by: default avatarRob Herring <robh@kernel.org>
      Link: https://lore.kernel.org/r/20230117061808.18422-1-faiz.abbas@arm.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      e7e2b92e
    • Bard Liao's avatar
      ASoC: SOF: keep prepare/unprepare widgets in sink path · cc755b43
      Bard Liao authored
      The existing code return when a widget doesn't need to
      prepare/unprepare. This will prevent widgets in the sink path from being
      prepared/unprepared.
      
      Cc: <stable@vger.kernel.org> # 6.1
      Link: https://github.com/thesofproject/linux/issues/4021Signed-off-by: default avatarBard Liao <yung-chuan.liao@linux.intel.com>
      Reviewed-by: default avatarRanjani Sridharan <ranjani.sridharan@linux.intel.com>
      Reviewed-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
      Reviewed-by: default avatarRander Wang <rander.wang@intel.com>
      Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
      Link: https://lore.kernel.org/r/20230118101255.29139-4-peter.ujfalusi@linux.intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      cc755b43