• Mark Brown's avatar
    Merge series "soundwire/ASoC: add mockup codec support" from Bard Liao... · eb14ecca
    Mark Brown authored
    Merge series "soundwire/ASoC: add mockup codec support" from Bard Liao <yung-chuan.liao@linux.intel.com>:
    
    Adding mockup SoundWire codec is useful to debug driver/topology changes
    without having any actual device connected.
    
    Bard Liao (2):
      soundwire: stream: don't abort bank switch on Command_Ignored/-ENODATA
      soundwire: stream: don't program mockup device ports
    
    Pierre-Louis Bossart (8):
      ASoC: codecs: add SoundWire mockup device support
      ASoC: soc-acpi: cnl: add table for SoundWire mockup devices
      ASoC: soc-acpi: tgl: add table for SoundWire mockup devices
      ASoC: Intel: boards: sof_sdw: add SoundWire mockup codecs for tests
      soundwire: add flag to ignore all command/control for mockup devices
      soundwire: bus: squelch error returned by mockup devices
      soundwire: cadence: add debugfs interface for PDI loopbacks
      soundwire: cadence: override PDI configurations to create loopback
    
     drivers/soundwire/bus.c                       |  10 +-
     drivers/soundwire/cadence_master.c            | 174 ++++++++--
     drivers/soundwire/cadence_master.h            |   3 +
     drivers/soundwire/stream.c                    |   5 +-
     include/linux/soundwire/sdw.h                 |   3 +
     sound/soc/codecs/Kconfig                      |  18 +
     sound/soc/codecs/Makefile                     |   2 +
     sound/soc/codecs/sdw-mockup.c                 | 312 ++++++++++++++++++
     sound/soc/intel/boards/Kconfig                |   1 +
     sound/soc/intel/boards/sof_sdw.c              |  41 +++
     sound/soc/intel/common/Makefile               |   3 +-
     .../intel/common/soc-acpi-intel-cnl-match.c   |  15 +
     .../common/soc-acpi-intel-sdw-mockup-match.c  | 166 ++++++++++
     .../common/soc-acpi-intel-sdw-mockup-match.h  |  17 +
     .../intel/common/soc-acpi-intel-tgl-match.c   |  23 ++
     15 files changed, 754 insertions(+), 39 deletions(-)
     create mode 100644 sound/soc/codecs/sdw-mockup.c
     create mode 100644 sound/soc/intel/common/soc-acpi-intel-sdw-mockup-match.c
     create mode 100644 sound/soc/intel/common/soc-acpi-intel-sdw-mockup-match.h
    
    base-commit: e73f0f0e
    
    --
    2.17.1
    eb14ecca
Kconfig 41.9 KB