18 Sep, 2020

1 commit

  • This algorithm computes bus parameters like clock frequency, frame
    shape and port transport parameters based on active stream(s) running
    on the bus.

    Developers can also implement their own .compute_params() callback for
    specific resource management algorithm, and set if before calling
    sdw_add_bus_master()

    Credits: this patch is based on an earlier internal contribution by
    Vinod Koul, Sanyog Kale, Shreyas Nc and Hardik Shah. All hard-coded
    values were removed from the initial contribution to use BIOS
    information instead.

    Signed-off-by: Bard Liao
    Acked-by: Jaroslav Kysela
    Link: https://lore.kernel.org/r/20200908131520.5712-1-yung-chuan.liao@linux.intel.com
    Signed-off-by: Vinod Koul

    Bard Liao
     

07 Sep, 2020

1 commit


14 Jan, 2020

1 commit

  • Qualcomm SoundWire Master controller is present in most Qualcomm SoCs
    either integrated as part of WCD audio codecs via slimbus or
    as part of SOC I/O.

    This patchset adds support to a very basic controller which has been
    tested with WCD934x SoundWire controller connected to WSA881x smart
    speaker amplifiers.

    Signed-off-by: Srinivas Kandagatla
    Link: https://lore.kernel.org/r/20200113132153.27239-3-srinivas.kandagatla@linaro.org
    Signed-off-by: Vinod Koul

    Srinivas Kandagatla
     

11 Nov, 2019

1 commit


16 Oct, 2019

1 commit

  • This is not needed and may generate unmet dependencies when
    COMPILE_TEST is used for SOF.

    ACPI is required, and should be tested when selecting this option.

    Signed-off-by: Pierre-Louis Bossart
    Link: https://lore.kernel.org/r/20190916185739.32184-3-pierre-louis.bossart@linux.intel.com
    Signed-off-by: Vinod Koul

    Pierre-Louis Bossart
     

15 Oct, 2019

2 commits

  • Now devicetree is supported for probing soundwire as well.

    On platforms built with !ACPI !OF (ie s390x) the device still cannot be
    probed and gives a build warning.

    Cc: stable@vger.kernel.org
    Fixes: a2e484585ad3 ("soundwire: core: add device tree support for slave devices")
    Signed-off-by: Michal Suchanek
    Link: https://lore.kernel.org/r/0b89b4ea16a93f523105c81a2f718b0cd7ec66f2.1570097621.git.msuchanek@suse.de
    Signed-off-by: Vinod Koul

    Michal Suchanek
     
  • The device cannot be probed on !ACPI and gives this warning:

    drivers/soundwire/slave.c:16:12: warning: ‘sdw_slave_add’ defined but
    not used [-Wunused-function]
    static int sdw_slave_add(struct sdw_bus *bus,
    ^~~~~~~~~~~~~

    Cc: stable@vger.kernel.org
    Fixes: 7c3cd189b86d ("soundwire: Add Master registration")
    Signed-off-by: Michal Suchanek
    Link: https://lore.kernel.org/r/bd685232ea511251eeb9554172f1524eabf9a46e.1570097621.git.msuchanek@suse.de
    Signed-off-by: Vinod Koul

    Michal Suchanek
     

09 Aug, 2019

1 commit

  • The existing code has a mixed select/depend usage which makes no sense.

    config SOUNDWIRE_BUS
    tristate
    select REGMAP_SOUNDWIRE

    config REGMAP_SOUNDWIRE
    tristate
    depends on SOUNDWIRE_BUS

    Let's remove one layer of Kconfig definitions and align with the
    solutions used by all other serial links.

    Signed-off-by: Pierre-Louis Bossart
    Link: https://lore.kernel.org/r/20190718230215.18675-1-pierre-louis.bossart@linux.intel.com
    Signed-off-by: Vinod Koul

    Pierre-Louis Bossart
     

21 May, 2019

1 commit


02 May, 2019

2 commits


12 May, 2018

1 commit


10 Jan, 2018

1 commit


19 Dec, 2017

3 commits

  • Some Intel platforms have SoundWire Master, so add Intel SoundWire
    Master driver which uses Cadence module. This patch adds probe and
    initialization routines for Intel Master driver.

    Signed-off-by: Hardik T Shah
    Signed-off-by: Sanyog Kale
    Reviewed-by: Philippe Ombredanne
    Acked-By: Pierre-Louis Bossart
    Reviewed-by: Takashi Iwai
    Signed-off-by: Vinod Koul
    Signed-off-by: Greg Kroah-Hartman

    Vinod Koul
     
  • Cadence IP implements SoundWire Master. Add base cadence library
    initialization and interrupt handling

    Signed-off-by: Hardik T Shah
    Signed-off-by: Sanyog Kale
    Reviewed-by: Philippe Ombredanne
    Acked-By: Pierre-Louis Bossart
    Reviewed-by: Takashi Iwai
    Signed-off-by: Vinod Koul
    Signed-off-by: Greg Kroah-Hartman

    Vinod Koul
     
  • This adds the base SoundWire bus type, bus and driver registration.
    along with changes to module device table for new SoundWire
    device type.

    Signed-off-by: Sanyog Kale
    Reviewed-by: Philippe Ombredanne
    Acked-By: Pierre-Louis Bossart
    Reviewed-by: Takashi Iwai
    Acked-by: Greg Kroah-Hartman
    Signed-off-by: Vinod Koul
    Signed-off-by: Greg Kroah-Hartman

    Vinod Koul