lkml.org 
[lkml]   [2018]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] ASoC: add sound-name-prefix property
Date
This patchset add support in ASoC to pick up name prefix from the
component nodes when the component does not match the configuration
table provided to the card.

The need for this feature came from the platform I'm working on
(Amlogic A113). On this platform, the card is made of several instances
of each components. It relies heavily on prefixes to describe the
routing between these components.

The proposed solution benefits every other DT based sound cards, such as
the simple card family. It allows to express the routing easily even when
the card uses several instances of the same component, or different
components with the same sink/source names (Playback, Capture,
Output, etc ...)

Jerome Brunet (2):
ASoC: add DT documentation for the sound-name-prefix property
ASoC: allow soc-core to pick up name prefixes from component nodes

.../devicetree/bindings/sound/name-prefix.txt | 24 +++++++++++++++++++
sound/soc/soc-core.c | 28 ++++++++++++++++++----
2 files changed, 47 insertions(+), 5 deletions(-)
create mode 100644 Documentation/devicetree/bindings/sound/name-prefix.txt

--
2.14.4

\
 
 \ /
  Last update: 2018-07-15 22:06    [W:0.082 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site