1. 22 Aug, 2023 4 commits
    • Peter Ujfalusi's avatar
      ASoC: SOF: ipc4-topology: Add module parameter to ignore the CPC value · 26ef47e5
      Peter Ujfalusi authored
      Add a new module parameter ipc4_ignore_cpc which can be used to force the
      kernel to ignore the queried CPC value for all firmware modules and use 0
      instead.
      
      The CPC lookup is still done to report missing configurations and the
      debug print is going to be different to be explicit that the CPC is ignored
      and what was the value we would have used.
      
      The CPC value is sent to the firmware with the MOD_INIT_INSTANCE message
      and it is used by the firmware as a parameter for clock scaling.
      
      The flag is intended to be used only when there is a need to validate the
      firmware behavior regarding to clock scaling since the 0 CPC value will
      force the DSP to run in full speed, disabling the scaling and provides
      additional counter point to rule out clock management related issues.
      Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
      Reviewed-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
      Reviewed-by: default avatarRanjani Sridharan <ranjani.sridharan@linux.intel.com>
      Reviewed-by: default avatarKai Vehmanen <kai.vehmanen@linux.intel.com>
      Link: https://lore.kernel.org/r/20230822065419.24374-1-peter.ujfalusi@linux.intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      26ef47e5
    • Kuninori Morimoto's avatar
      ASoC: pxa: merge DAI call back functions into ops · 2cbd5304
      Kuninori Morimoto authored
      ALSA SoC merges DAI call backs into .ops.
      This patch merge these into one.
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Closes: https://lore.kernel.org/oe-kbuild-all/202308151142.hoM5o9LV-lkp@intel.com/
      Fixes: 446b31e8 ("ASoC: soc-dai.h: remove unused call back functions")
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Link: https://lore.kernel.org/r/878ra3ubid.wl-kuninori.morimoto.gx@renesas.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      2cbd5304
    • Mark Brown's avatar
      ASoC: SOF: ipc4-topology: Fixes for pipelines with SRC · 4244cf39
      Mark Brown authored
      Merge series from Peter Ujfalusi <peter.ujfalusi@linux.intel.com>:
      
      The SRC component in a pipeline provides flexibility on the sampling
      rate which was not handled previously.  This series will improve the
      kernel side with the needed logic to be able to deal with the SRC type
      of components in pipelines.
      4244cf39
    • Mark Brown's avatar
      Add cs42l43 PC focused SoundWire CODEC · 0bbe0649
      Mark Brown authored
      Merge series from Charles Keepax <ckeepax@opensource.cirrus.com>:
      
      This patch chain adds support for the Cirrus Logic cs42l43 PC focused
      SoundWire CODEC. The chain is currently based of Lee's for-mfd-next
      branch.
      
      This series is mostly just a resend keeping pace with the kernel under
      it, except for a minor fixup in the ASoC stuff.
      
      Thanks,
      Charles
      
      Charles Keepax (4):
        dt-bindings: mfd: cirrus,cs42l43: Add initial DT binding
        mfd: cs42l43: Add support for cs42l43 core driver
        pinctrl: cs42l43: Add support for the cs42l43
        ASoC: cs42l43: Add support for the cs42l43
      
      Lucas Tanure (2):
        soundwire: bus: Allow SoundWire peripherals to register IRQ handlers
        spi: cs42l43: Add SPI controller support
      
       .../bindings/sound/cirrus,cs42l43.yaml        |  313 +++
       MAINTAINERS                                   |    4 +
       drivers/mfd/Kconfig                           |   23 +
       drivers/mfd/Makefile                          |    3 +
       drivers/mfd/cs42l43-i2c.c                     |   98 +
       drivers/mfd/cs42l43-sdw.c                     |  239 ++
       drivers/mfd/cs42l43.c                         | 1188 +++++++++
       drivers/mfd/cs42l43.h                         |   28 +
       drivers/pinctrl/cirrus/Kconfig                |   11 +
       drivers/pinctrl/cirrus/Makefile               |    2 +
       drivers/pinctrl/cirrus/pinctrl-cs42l43.c      |  609 +++++
       drivers/soundwire/bus.c                       |   32 +
       drivers/soundwire/bus_type.c                  |   12 +
       drivers/spi/Kconfig                           |    7 +
       drivers/spi/Makefile                          |    1 +
       drivers/spi/spi-cs42l43.c                     |  284 ++
       include/linux/mfd/cs42l43-regs.h              | 1184 +++++++++
       include/linux/mfd/cs42l43.h                   |  102 +
       include/linux/soundwire/sdw.h                 |    9 +
       include/sound/cs42l43.h                       |   17 +
       sound/soc/codecs/Kconfig                      |   16 +
       sound/soc/codecs/Makefile                     |    4 +
       sound/soc/codecs/cs42l43-jack.c               |  946 +++++++
       sound/soc/codecs/cs42l43-sdw.c                |   74 +
       sound/soc/codecs/cs42l43.c                    | 2278 +++++++++++++++++
       sound/soc/codecs/cs42l43.h                    |  131 +
       26 files changed, 7615 insertions(+)
       create mode 100644 Documentation/devicetree/bindings/sound/cirrus,cs42l43.yaml
       create mode 100644 drivers/mfd/cs42l43-i2c.c
       create mode 100644 drivers/mfd/cs42l43-sdw.c
       create mode 100644 drivers/mfd/cs42l43.c
       create mode 100644 drivers/mfd/cs42l43.h
       create mode 100644 drivers/pinctrl/cirrus/pinctrl-cs42l43.c
       create mode 100644 drivers/spi/spi-cs42l43.c
       create mode 100644 include/linux/mfd/cs42l43-regs.h
       create mode 100644 include/linux/mfd/cs42l43.h
       create mode 100644 include/sound/cs42l43.h
       create mode 100644 sound/soc/codecs/cs42l43-jack.c
       create mode 100644 sound/soc/codecs/cs42l43-sdw.c
       create mode 100644 sound/soc/codecs/cs42l43.c
       create mode 100644 sound/soc/codecs/cs42l43.h
      
      --
      2.30.2
      0bbe0649
  2. 21 Aug, 2023 8 commits
  3. 18 Aug, 2023 4 commits
  4. 17 Aug, 2023 21 commits
  5. 16 Aug, 2023 3 commits