1. 16 2月, 2018 1 次提交
  2. 10 1月, 2018 1 次提交
  3. 05 1月, 2018 2 次提交
  4. 06 12月, 2017 2 次提交
  5. 11 11月, 2017 1 次提交
    • A
      ASoC: rt5514: work around link error · c5630877
      Arnd Bergmann 提交于
      The main rt5514 driver optionally calls into the SPI back-end to load
      the firmware. This causes a link error when one driver selects rt5514
      as built-in and another driver selects rt5514-spi as a loadable module:
      
      sound/soc/codecs/rt5514.o: In function `rt5514_dsp_voice_wake_up_put':
      rt5514.c:(.text+0xac8): undefined reference to `rt5514_spi_burst_write'
      
      As a workaround, this adds another silent symbol, to force rt5514-spi
      to be built-in for that configuration. I'm not overly happy with
      that solution, but couldn't come up with anything better. Using
      'IS_REACHABLE()' would break the case that relies on the loadable
      module, and all other ideas would result in more complexity.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      c5630877
  6. 02 11月, 2017 1 次提交
    • G
      License cleanup: add SPDX GPL-2.0 license identifier to files with no license · b2441318
      Greg Kroah-Hartman 提交于
      Many source files in the tree are missing licensing information, which
      makes it harder for compliance tools to determine the correct license.
      
      By default all files without license information are under the default
      license of the kernel, which is GPL version 2.
      
      Update the files which contain no license information with the 'GPL-2.0'
      SPDX license identifier.  The SPDX identifier is a legally binding
      shorthand, which can be used instead of the full boiler plate text.
      
      This patch is based on work done by Thomas Gleixner and Kate Stewart and
      Philippe Ombredanne.
      
      How this work was done:
      
      Patches were generated and checked against linux-4.14-rc6 for a subset of
      the use cases:
       - file had no licensing information it it.
       - file was a */uapi/* one with no licensing information in it,
       - file was a */uapi/* one with existing licensing information,
      
      Further patches will be generated in subsequent months to fix up cases
      where non-standard license headers were used, and references to license
      had to be inferred by heuristics based on keywords.
      
      The analysis to determine which SPDX License Identifier to be applied to
      a file was done in a spreadsheet of side by side results from of the
      output of two independent scanners (ScanCode & Windriver) producing SPDX
      tag:value files created by Philippe Ombredanne.  Philippe prepared the
      base worksheet, and did an initial spot review of a few 1000 files.
      
      The 4.13 kernel was the starting point of the analysis with 60,537 files
      assessed.  Kate Stewart did a file by file comparison of the scanner
      results in the spreadsheet to determine which SPDX license identifier(s)
      to be applied to the file. She confirmed any determination that was not
      immediately clear with lawyers working with the Linux Foundation.
      
      Criteria used to select files for SPDX license identifier tagging was:
       - Files considered eligible had to be source code files.
       - Make and config files were included as candidates if they contained >5
         lines of source
       - File already had some variant of a license header in it (even if <5
         lines).
      
      All documentation files were explicitly excluded.
      
      The following heuristics were used to determine which SPDX license
      identifiers to apply.
      
       - when both scanners couldn't find any license traces, file was
         considered to have no license information in it, and the top level
         COPYING file license applied.
      
         For non */uapi/* files that summary was:
      
         SPDX license identifier                            # files
         ---------------------------------------------------|-------
         GPL-2.0                                              11139
      
         and resulted in the first patch in this series.
      
         If that file was a */uapi/* path one, it was "GPL-2.0 WITH
         Linux-syscall-note" otherwise it was "GPL-2.0".  Results of that was:
      
         SPDX license identifier                            # files
         ---------------------------------------------------|-------
         GPL-2.0 WITH Linux-syscall-note                        930
      
         and resulted in the second patch in this series.
      
       - if a file had some form of licensing information in it, and was one
         of the */uapi/* ones, it was denoted with the Linux-syscall-note if
         any GPL family license was found in the file or had no licensing in
         it (per prior point).  Results summary:
      
         SPDX license identifier                            # files
         ---------------------------------------------------|------
         GPL-2.0 WITH Linux-syscall-note                       270
         GPL-2.0+ WITH Linux-syscall-note                      169
         ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause)    21
         ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)    17
         LGPL-2.1+ WITH Linux-syscall-note                      15
         GPL-1.0+ WITH Linux-syscall-note                       14
         ((GPL-2.0+ WITH Linux-syscall-note) OR BSD-3-Clause)    5
         LGPL-2.0+ WITH Linux-syscall-note                       4
         LGPL-2.1 WITH Linux-syscall-note                        3
         ((GPL-2.0 WITH Linux-syscall-note) OR MIT)              3
         ((GPL-2.0 WITH Linux-syscall-note) AND MIT)             1
      
         and that resulted in the third patch in this series.
      
       - when the two scanners agreed on the detected license(s), that became
         the concluded license(s).
      
       - when there was disagreement between the two scanners (one detected a
         license but the other didn't, or they both detected different
         licenses) a manual inspection of the file occurred.
      
       - In most cases a manual inspection of the information in the file
         resulted in a clear resolution of the license that should apply (and
         which scanner probably needed to revisit its heuristics).
      
       - When it was not immediately clear, the license identifier was
         confirmed with lawyers working with the Linux Foundation.
      
       - If there was any question as to the appropriate license identifier,
         the file was flagged for further research and to be revisited later
         in time.
      
      In total, over 70 hours of logged manual review was done on the
      spreadsheet to determine the SPDX license identifiers to apply to the
      source files by Kate, Philippe, Thomas and, in some cases, confirmation
      by lawyers working with the Linux Foundation.
      
      Kate also obtained a third independent scan of the 4.13 code base from
      FOSSology, and compared selected files where the other two scanners
      disagreed against that SPDX file, to see if there was new insights.  The
      Windriver scanner is based on an older version of FOSSology in part, so
      they are related.
      
      Thomas did random spot checks in about 500 files from the spreadsheets
      for the uapi headers and agreed with SPDX license identifier in the
      files he inspected. For the non-uapi files Thomas did random spot checks
      in about 15000 files.
      
      In initial set of patches against 4.14-rc6, 3 files were found to have
      copy/paste license identifier errors, and have been fixed to reflect the
      correct identifier.
      
      Additionally Philippe spent 10 hours this week doing a detailed manual
      inspection and review of the 12,461 patched files from the initial patch
      version early this week with:
       - a full scancode scan run, collecting the matched texts, detected
         license ids and scores
       - reviewing anything where there was a license detected (about 500+
         files) to ensure that the applied SPDX license was correct
       - reviewing anything where there was no detection but the patch license
         was not GPL-2.0 WITH Linux-syscall-note to ensure that the applied
         SPDX license was correct
      
      This produced a worksheet with 20 files needing minor correction.  This
      worksheet was then exported into 3 different .csv files for the
      different types of files to be modified.
      
      These .csv files were then reviewed by Greg.  Thomas wrote a script to
      parse the csv files and add the proper SPDX tag to the file, in the
      format that the file expected.  This script was further refined by Greg
      based on the output to detect more types of files automatically and to
      distinguish between header and source .c files (which need different
      comment types.)  Finally Greg ran the script using the .csv files to
      generate the patches.
      Reviewed-by: NKate Stewart <kstewart@linuxfoundation.org>
      Reviewed-by: NPhilippe Ombredanne <pombredanne@nexb.com>
      Reviewed-by: NThomas Gleixner <tglx@linutronix.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      b2441318
  7. 01 9月, 2017 4 次提交
  8. 28 7月, 2017 1 次提交
  9. 18 7月, 2017 1 次提交
  10. 23 6月, 2017 1 次提交
  11. 14 6月, 2017 1 次提交
    • D
      ASoC: add es8316 codec driver · b8b88b70
      Daniel Drake 提交于
      Add a codec driver for the Everest ES8316, based on code provided by
      David Yang from Everest Semi.
      
      I limited the functionality to items where the vendor code was clear,
      and things that can be tested on the Weibu F3C (Intel Cherry Trail).
      As a result the initial implementation only supports running in slave
      mode at single speed (up to 48kHz sample rate) using I2S. HPD is not
      supported.
      Signed-off-by: NDavid Yang <yangxiaohua@everest-semi.com>
      [drake@endlessm.com: significant cleanups and simplifications,
                           remove dead/unclear code]
      Signed-off-by: NDaniel Drake <drake@endlessm.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      b8b88b70
  12. 26 4月, 2017 1 次提交
  13. 07 4月, 2017 1 次提交
  14. 07 3月, 2017 2 次提交
  15. 06 3月, 2017 1 次提交
  16. 04 2月, 2017 1 次提交
  17. 15 12月, 2016 1 次提交
  18. 14 11月, 2016 1 次提交
  19. 09 11月, 2016 1 次提交
  20. 25 10月, 2016 2 次提交
  21. 21 10月, 2016 1 次提交
  22. 25 9月, 2016 1 次提交
  23. 14 9月, 2016 1 次提交
  24. 23 8月, 2016 1 次提交
  25. 30 6月, 2016 1 次提交
    • S
      ASoC: max98504: Add max98504 speaker amplifier driver · 4c5d1469
      Sylwester Nawrocki 提交于
      This patch adds driver for the MAX98504 speaker amplifier.  The MAX98504
      is a high efficiency mono class D amplifier that features an integrated
      boost converter with voltage and current sensing ADCs for Dynamic Speaker
      Management.
      This driver does not include support for the I2S DAI, as we wouldn't be
      able  to test such code in a hardware configuration where the amplifier
      has only wired the analogue input.
      Signed-off-by: NInha Song <ideal.song@samsung.com>
      [k.kozlowski: rebased on 4.1]
      Signed-off-by: NKrzysztof Kozlowski <k.kozlowski@samsung.com>
      [s.nawrocki: removed unused macro definitions, rewrote regulator supply
       related parts, rewrote regmap configuration code, added support for speaker
       enable and global chip enable through DAPM, rewritten as component driver,
       added PDM DAI definition and TDM callbacks for PDM channels configuration]
      Signed-off-by: NSylwester Nawrocki <s.nawrocki@samsung.com>
      --
      Changes since v2:
       - added parsing of the VBAT brownout DT properties,
       - removed MAX98504_REG_SPEAKER_SOURCE_SELECT register initialization,
       - removed unused macro definitions.
      
      Changes since v1:
       - none.
      
      Changes since initial version:
       - added regulator supply handling,
       - added DAPM widges for speaker source selection,
       - added PDM DAI definition and TDM callbacks for setting up active
         PDM Tx channels and I/V sense ADC data mapping,
       - removed all optional DT properties, added regulator supply properties
         in the DT binding.
      Signed-off-by: NMark Brown <broonie@kernel.org>
      4c5d1469
  26. 28 6月, 2016 1 次提交
  27. 10 6月, 2016 1 次提交
    • L
      ASoC: adau: Factor out shared PLL configuration code · 0eadaa9c
      Lars-Peter Clausen 提交于
      Multiple devices from the ADAU family share the same PLL structure and
      configuration register layout. Introduce a new helper module that can be
      used to calculated the PLL configuration registers based on a specified
      input frequency and the desired output frequency of the PLL.
      
      The ADAU1761/ADAU1781 and ADAU1373 drivers are updated to make use of this
      new helper module. But future drivers for additional devices from the ADAU
      family are also expected to make use of it.
      
      In anticipation of sharing more infrastructure code between different
      devices from the ADAU family the new module is called adau-utils.
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      0eadaa9c
  28. 07 6月, 2016 1 次提交
    • O
      ASoC: rt5514: add rt5514 SPI driver · 6eebf35b
      Oder Chiou 提交于
      The device has multiple control interfaces, I2C and SPI. The I2C interface
      mainly controls the register settings of codec. The SPI interface is in
      order to provide the high speed transmission of data. For example, high
      bandwidth memory read/write of DSP. The patch adds the rt5514 SPI driver
      for loading the firmware of DSP and retrieving the voice data from DSP
      after the system is waked up by specific voice.
      Signed-off-by: NOder Chiou <oder_chiou@realtek.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      6eebf35b
  29. 02 6月, 2016 1 次提交
  30. 30 5月, 2016 2 次提交
  31. 13 5月, 2016 1 次提交
  32. 29 4月, 2016 1 次提交