1. 11 10月, 2016 1 次提交
    • M
      ASoC: topology: Reenable use from userspace · 7c45e3cc
      Mark Brown 提交于
      We had inserted a #error into the topology UAPI code to ensure that the
      ABI was not adopted by userspace while final review and testing was
      ongoing.  The idea was that some finishing touches would be made to the
      ABI before declaring it stable and suitable for use in production but
      this has not yet happened as more than a year later revisions to the ABI
      are still onging.
      
      The reality however is that people are shipping topology files in
      production and these ABI changes are causing practical issues for users
      and we can't break userspace.  This makes this error pointless so we
      should remove it.
      Signed-off-by: NMark Brown <broonie@kernel.org>
      Acked-by: NVinod Koul <vinod.koul@intel.com>
      7c45e3cc
  2. 23 8月, 2016 1 次提交
  3. 08 8月, 2016 1 次提交
  4. 21 4月, 2016 1 次提交
  5. 30 3月, 2016 1 次提交
    • M
      ASoC: topology: ABI - Define types for vendor tuples · e42839b0
      Mengdong Lin 提交于
      Tuples, a pair of token and value, can be used to define vendor specific
      data, for controls and widgets. This can avoid importing binary data blob
      from other files.
      
      Vendor specific tuple arrays will be embeded in the private data buffer
      of a control or widget object. To be backward compatible, union is used
      to define the tuple arrays in the existing private data ABI object
      'struct snd_soc_tplg_private'.
      
      Vendors need to make sure the token values defined by the topology conf
      file match those defined by their driver.
      
      Now supported tuple types are uuid, string, bool, byte, short and word.
      Signed-off-by: NMengdong Lin <mengdong.lin@linux.intel.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      e42839b0
  6. 16 11月, 2015 1 次提交
  7. 03 10月, 2015 8 次提交
  8. 19 8月, 2015 1 次提交
    • M
      ASoC: topology: Disable use from userspace · 8c90503b
      Mark Brown 提交于
      Since the topology API is still in sufficient flux for changes to be
      identified disable the use of the userspace ABI by adding #error
      statements to the code, ensuring that nobody relies on the headers as
      currently defined.  It is expected that this change will be reverted for
      v4.3.
      Signed-off-by: NMark Brown <broonie@kernel.org>
      8c90503b
  9. 06 8月, 2015 5 次提交
  10. 02 7月, 2015 1 次提交
  11. 04 6月, 2015 1 次提交
    • L
      ASoC: topology: Add topology UAPI header · c147c0e1
      Liam Girdwood 提交于
       The ASoC topology UAPI header defines the structures
       required to define any DSP firmware audio topology and control objects from
       userspace.
      
      The following objects are supported :-
       o kcontrols including TLV controls.
       o DAPM widgets and graph elements
       o Vendor bespoke objects.
       o Coefficient data
       o FE PCM capabilities and config.
       o BE link capabilities and config.
       o Codec <-> codec link capabilities and config.
       o Topology object manifest.
      
      The file format is simple and divided into blocks for each object type and
      each block has a header that defines it's size and type. Blocks can be in
      any order of type and can either all be in a single file or spread across
      more than one file. Blocks also have a group identifier ID so that they can
      be loaded and unloaded by ID.
      Signed-off-by: NLiam Girdwood <liam.r.girdwood@linux.intel.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      c147c0e1