Revision 8e37395c3a5dceff62a5010ebbbc107f4145935c authored by Linus Torvalds on 20 October 2021, 16:13:22 UTC, committed by Linus Torvalds on 20 October 2021, 16:13:22 UTC
Pull sound fixes from Takashi Iwai:
 "Again it became bigger than wished, unfortunately, as this contains
  quite a few ASoC fixes that came up a bit late. It also includes yet
  more HD- and USB-audio quirks: I decided to merge them now, as those
  are for stable, and we'll need them sooner or later.

  Although the volumes are a bit high, all changes are device-specific
  (and reasonably small) fixes, so it should be safe for the late rc"

* tag 'sound-5.15-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
  ALSA: usb-audio: Fix microphone sound on Jieli webcam.
  ALSA: hda/realtek: Fixes HP Spectre x360 15-eb1xxx speakers
  ALSA: usb-audio: Provide quirk for Sennheiser GSP670 Headset
  ALSA: hda/realtek: Add quirk for Clevo PC50HS
  ALSA: usb-audio: add Schiit Hel device to quirk table
  ASoC: wm8960: Fix clock configuration on slave mode
  ASoC: cs42l42: Ensure 0dB full scale volume is used for headsets
  ASoC: soc-core: fix null-ptr-deref in snd_soc_del_component_unlocked()
  ASoC: codec: wcd938x: Add irq config support
  ASoC: DAPM: Fix missing kctl change notifications
  ASoC: Intel: bytcht_es8316: Utilize dev_err_probe() to avoid log saturation
  ASoC: Intel: bytcht_es8316: Switch to use gpiod_get_optional()
  ASoC: Intel: bytcht_es8316: Use temporary variable for struct device
  ASoC: Intel: bytcht_es8316: Get platform data via dev_get_platdata()
  ASoC: wcd938x: Fix jack detection issue
  ASoC: nau8824: Fix headphone vs headset, button-press detection no longer working
  ASoC: cs4341: Add SPI device ID table
  ASoC: pcm179x: Add missing entries SPI to device ID table
  ASoC: fsl_xcvr: Fix channel swap issue with ARC
  ASoC: pcm512x: Mend accesses to the I2S_1 and I2S_2 registers
2 parent s 6da52de + 2966492
Raw File
ads7828.rst
Kernel driver ads7828
=====================

Supported chips:

  * Texas Instruments/Burr-Brown ADS7828

    Prefix: 'ads7828'

    Datasheet: Publicly available at the Texas Instruments website:

	       http://focus.ti.com/lit/ds/symlink/ads7828.pdf

  * Texas Instruments ADS7830

    Prefix: 'ads7830'

    Datasheet: Publicly available at the Texas Instruments website:

	       http://focus.ti.com/lit/ds/symlink/ads7830.pdf

Authors:
	- Steve Hardy <shardy@redhat.com>
	- Vivien Didelot <vivien.didelot@savoirfairelinux.com>
	- Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>

Platform data
-------------

The ads7828 driver accepts an optional ads7828_platform_data structure (defined
in include/linux/platform_data/ads7828.h). The structure fields are:

* diff_input: (bool) Differential operation
    set to true for differential mode, false for default single ended mode.

* ext_vref: (bool) External reference
    set to true if it operates with an external reference, false for default
    internal reference.

* vref_mv: (unsigned int) Voltage reference
    if using an external reference, set this to the reference voltage in mV,
    otherwise it will default to the internal value (2500mV). This value will be
    bounded with limits accepted by the chip, described in the datasheet.

 If no structure is provided, the configuration defaults to single ended
 operation and internal voltage reference (2.5V).

Description
-----------

This driver implements support for the Texas Instruments ADS7828 and ADS7830.

The ADS7828 device is a 12-bit 8-channel A/D converter, while the ADS7830 does
8-bit sampling.

It can operate in single ended mode (8 +ve inputs) or in differential mode,
where 4 differential pairs can be measured.

The chip also has the facility to use an external voltage reference.  This
may be required if your hardware supplies the ADS7828 from a 5V supply, see
the datasheet for more details.

There is no reliable way to identify this chip, so the driver will not scan
some addresses to try to auto-detect it. That means that you will have to
statically declare the device in the platform support code.
back to top