linux-stable/drivers/soundwire
Pierre-Louis Bossart 49ea07d33d soundwire: intel/cadence: fix startup sequence
Multiple changes squashed in single patch to avoid tick-tock effect
and avoid breaking compilation/bisect

1. Per the hardware documentation, all changes to MCP_CONFIG,
MCP_CONTROL, MCP_CMDCTRL and MCP_PHYCTRL need to be validated with a
self-clearing write to MCP_CONFIG_UPDATE. Add a helper and do the
update when the CONFIG is changed.

2. Move interrupt enable after interrupt handler registration

3. Add a new helper to start the hardware bus reset with maximum duration
to make sure the Slave(s) correctly detect the reset pattern and to
ensure electrical conflicts can be resolved.

4. flush command FIFOs

Better error handling will be provided after interrupt disable is
provided in follow-up patches.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20191022235448.17586-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2019-10-24 17:22:01 +05:30
..
bus.c soundwire: core: add device tree support for slave devices 2019-09-04 13:12:31 +05:30
bus.h soundwire: core: add device tree support for slave devices 2019-09-04 13:12:31 +05:30
bus_type.c soundwire: add debugfs support 2019-08-23 12:01:02 +05:30
cadence_master.c soundwire: intel/cadence: fix startup sequence 2019-10-24 17:22:01 +05:30
cadence_master.h soundwire: intel/cadence: fix startup sequence 2019-10-24 17:22:01 +05:30
debugfs.c soundwire: add debugfs support 2019-08-23 12:01:02 +05:30
intel.c soundwire: intel/cadence: fix startup sequence 2019-10-24 17:22:01 +05:30
intel.h soundwire: fix typo in comments 2019-05-27 10:53:00 +05:30
intel_init.c soundwire: intel: use correct header for io calls 2019-10-22 10:03:08 +05:30
Kconfig soundwire: intel: remove X86 dependency 2019-10-16 10:36:29 +05:30
Makefile soundwire updates for v5.4-rc1 2019-09-22 10:52:23 -07:00
mipi_disco.c soundwire: mipi_disco: Switch to use fwnode_property_count_uXX() 2019-08-02 17:15:13 +05:30
slave.c soundwire: core: add device tree support for slave devices 2019-09-04 13:12:31 +05:30
stream.c soundwire: stream: make stream name a const pointer 2019-09-04 14:57:28 +05:30