1. 17 Sep, 2020 6 commits
  2. 11 Sep, 2020 14 commits
  3. 10 Sep, 2020 11 commits
  4. 09 Sep, 2020 6 commits
  5. 08 Sep, 2020 3 commits
    • Mark Brown's avatar
      Merge series "ASoC: qcom: common: Parse auxiliary devices from device tree"... · bc442e47
      Mark Brown authored
      Merge series "ASoC: qcom: common: Parse auxiliary devices from device tree" from Stephan Gerhold <stephan@gerhold.net>:
      
      In some cases we need to probe additional audio components that do
      not appear as part of the DAI links specified in the device tree.
      Examples for this are auxiliary devices such as analog amplifiers
      or codecs.
      
      The ASoC core provides a way to probe these components by adding
      them to snd_soc_card->aux_dev.
      
      This patch set allows specifying them in the device tree through
      a new "aux-devs" property.
      
      v1: https://lore.kernel.org/linux-arm-msm/20200819091533.2334-1-stephan@gerhold.net/
      Changes in v2:
        - Fix value type in device tree bindings:
          aux-devs should be array of phandles without any arguments, so change
          <phandles with arguments> -> <array of phandles>
      
      Stephan Gerhold (2):
        ASoC: dt-bindings: qcom: Document "aux-devs" property
        ASoC: qcom: common: Parse auxiliary devices from device tree
      
       .../devicetree/bindings/sound/qcom,apq8016-sbc.txt        | 7 +++++++
       Documentation/devicetree/bindings/sound/qcom,apq8096.txt  | 8 ++++++++
       Documentation/devicetree/bindings/sound/qcom,sdm845.txt   | 8 ++++++++
       sound/soc/qcom/common.c                                   | 4 ++++
       4 files changed, 27 insertions(+)
      
      --
      2.28.0
      bc442e47
    • Yu Kuai's avatar
      ASoC: fsl: imx-es8328: add missing put_device() call in imx_es8328_probe() · e525db7e
      Yu Kuai authored
      if of_find_device_by_node() succeed, imx_es8328_probe() doesn't have
      a corresponding put_device(). Thus add a jump target to fix the exception
      handling for this function implementation.
      
      Fixes: 7e7292db ("ASoC: fsl: add imx-es8328 machine driver")
      Signed-off-by: default avatarYu Kuai <yukuai3@huawei.com>
      Link: https://lore.kernel.org/r/20200825130224.1488694-1-yukuai3@huawei.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      e525db7e
    • Stephan Gerhold's avatar
      ASoC: qcom: common: Parse auxiliary devices from device tree · 1b839d3e
      Stephan Gerhold authored
      In some cases we need to probe additional audio components that do
      not appear as part of the DAI links specified in the device tree.
      Examples for this are auxiliary devices such as analog amplifiers
      or codecs.
      
      The ASoC core provides a way to probe these components by adding
      them to snd_soc_card->aux_dev. We can use the snd_soc_of_parse_aux_devs()
      function to parse them from the device tree.
      
      As an example for this, some MSM8916 smartphones have an analog
      speaker amplifier connected to the HPHR output. With the new property
      this can be modelled as follows:
      
      	speaker-amp: audio-amplifier {
      		compatible = "simple-audio-amplifier";
      		enable-gpios = <&msmgpio 114 GPIO_ACTIVE_HIGH>;
      		sound-name-prefix = "Speaker Amp";
      	};
      
      	&sound {
      		aux-devs = <&speaker_amp>;
      		audio-routing = "Speaker Amp IN", "HPHR";
      	};
      
      Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
      Signed-off-by: default avatarStephan Gerhold <stephan@gerhold.net>
      Link: https://lore.kernel.org/r/20200826095141.94017-3-stephan@gerhold.netSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      1b839d3e