]> git.baikalelectronics.ru Git - kernel.git/commit
Merge series "ASoC: qcom: common: Parse auxiliary devices from device tree" from...
authorMark Brown <broonie@kernel.org>
Tue, 8 Sep 2020 14:50:13 +0000 (15:50 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 8 Sep 2020 14:50:13 +0000 (15:50 +0100)
commitbc2c68d93d49462e1c47dcd4186b1e869a45e117
tree1001436fb3a62a494d41dddf469bcccad3a2f50d
parentf17f595fd139f90b52ec8069d17ecf4494ede3b3
parent84dcf1c4e6c35e4af0ab183b93e4c719e5aeabf9
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