/linux/sound/soc/codecs/ |
H A D | tlv320adcx140.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/ 40 "ti,gpo-config-1", 41 "ti,gpo-config-2", 42 "ti,gpo-config-3", 43 "ti,gpo-config-4", 162 /* Digital Volume control. From -100 to 27 dB in 0.5 dB steps */ 163 static DECLARE_TLV_DB_SCALE(dig_vol_tlv, -10050, 50, 0); 168 /* DRE Level. From -12 dB to -66 dB in 1 dB steps */ 169 static DECLARE_TLV_DB_SCALE(dre_thresh_tlv, -6600, 100, 0); [all …]
|
H A D | cs42l73.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 15 /* I2C Address: 1001010[R/W] - 10010100 = 0x94(Write); 10010101 = 0x95(Read) */ 41 #define CS42L73_HLADVOL 0x1A /* HP/Line A Out Digital Vol. */ 42 #define CS42L73_HLBDVOL 0x1B /* HP/Line B Out Digital Vol. */ 43 #define CS42L73_SPKDVOL 0x1C /* Spkphone Out [A] Digital Vol. */ 45 #define CS42L73_HPAAVOL 0x1E /* HP A Analog Volume. */ 46 #define CS42L73_HPBAVOL 0x1F /* HP B Analog Volume. */ 47 #define CS42L73_LOAAVOL 0x20 /* Line Out A Analog Volume. */ 48 #define CS42L73_LOBAVOL 0x21 /* Line Out B Analog Volume. */ 190 /* Analog Softramp */ [all …]
|
/linux/drivers/phy/amlogic/ |
H A D | phy-meson-axg-pcie.c | 1 // SPDX-License-Identifier: GPL-2.0 14 #include <dt-bindings/phy/phy.h> 30 struct phy *analog; member 47 ret = phy_power_on(priv->analog); in phy_axg_pcie_power_on() 51 regmap_update_bits(priv->regmap, MESON_PCIE_REG0, in phy_axg_pcie_power_on() 61 ret = phy_power_off(priv->analog); in phy_axg_pcie_power_off() 65 regmap_update_bits(priv->regmap, MESON_PCIE_REG0, in phy_axg_pcie_power_off() 75 ret = phy_init(priv->analog); in phy_axg_pcie_init() 79 regmap_write(priv->regmap, MESON_PCIE_REG0, MESON_PCIE_PHY_INIT); in phy_axg_pcie_init() 80 return reset_control_reset(priv->reset); in phy_axg_pcie_init() [all …]
|
H A D | phy-meson-axg-mipi-dphy.c | 1 // SPDX-License-Identifier: GPL-2.0 130 /* wait time to MIPI DIS analog ready. */ 139 /* when in RxULPS check state, after the logic enable the analog, 147 /* tMBIAS, after send power up signals to analog, 148 * how long we should wait for analog powered up. 161 * if the TX side out of ULPS state. 172 struct phy *analog; member 188 ret = phy_init(priv->analog); in phy_meson_axg_mipi_dphy_init() 192 ret = reset_control_reset(priv->reset); in phy_meson_axg_mipi_dphy_init() 205 ret = phy_mipi_dphy_config_validate(&opts->mipi_dphy); in phy_meson_axg_mipi_dphy_configure() [all …]
|
/linux/drivers/gpu/drm/sti/ |
H A D | NOTES | 2 --------------------------- 4 - The High Quality Video Display Processor (HQVDP) gets video frames from a 7 - The Compositor is a multiplane, dual-mixer (Main & Aux) digital processor. It 9 - The graphics planes are internally processed by the Generic Display 11 - The video plug (VID) connects to the HQVDP output. 12 - The cursor handles ... a cursor. 13 - The TV OUT pre-formats (convert, clip, round) the compositor output data 14 - The HDMI / DVO / HD Analog / SD analog IP builds the video signals 15 - DVO (Digital Video Output) handles a 24bits parallel signal 16 - The HD analog signal is typically driven by a YCbCr cable, supporting up to [all …]
|
/linux/Documentation/sound/hd-audio/ |
H A D | controls.rst | 2 HD-Audio Codec-Specific Mixer Controls 6 This file explains the codec-specific mixer controls. 9 -------------- 12 This is an enum control to change the surround-channel setup, 16 jack-retasking of multi-I/O jacks. 18 Auto-Mute Mode 19 This is an enum control to change the auto-mute behavior of the 20 headphone and line-out jacks. If built-in speakers and headphone 21 and/or line-out jacks are available on a machine, this controls 23 When there are only either headphones or line-out jacks, it gives [all …]
|
/linux/drivers/media/usb/au0828/ |
H A D | au0828-cards.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 #include "au0828-cards.h" 12 #include "media/v4l2-common.h" 16 /* Because the HVR-950q shares an i2s bus between the cs5340 and the in hvr950q_cs5340_audio() 26 * WARNING: There's a quirks table at sound/usb/quirks-table.h 33 .tuner_type = -1U, 119 switch (dev->boardnr) { in au0828_tuner_callback() 126 /* Drive the tuner into reset and out */ in au0828_tuner_callback() 134 return -EINVAL; in au0828_tuner_callback() 147 dev->board.tuner_type = tv.tuner_type; in hauppauge_eeprom() [all …]
|
/linux/sound/soc/intel/boards/ |
H A D | sof_board_helpers.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include "../common/soc-intel-quirks.h" 15 struct sof_card_private *ctx = snd_soc_card_get_drvdata(rtd->card); in hdmi_init() 18 ctx->hdmi.hdmi_comp = dai->component; in hdmi_init() 27 if (!ctx->hdmi_num) in sof_intel_board_card_late_probe() 30 if (!ctx->hdmi.idisp_codec) in sof_intel_board_card_late_probe() 33 if (!ctx->hdmi.hdmi_comp) in sof_intel_board_card_late_probe() 34 return -EINVAL; in sof_intel_board_card_late_probe() 36 return hda_dsp_hdmi_build_controls(card, ctx->hdmi.hdmi_comp); in sof_intel_board_card_late_probe() 53 struct snd_soc_card *card = rtd->card; in dmic_init() [all …]
|
/linux/Documentation/devicetree/bindings/iio/adc/ |
H A D | adi,ad4000.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Analog Devices AD4000 and similar Analog to Digital Converters 10 - Marcelo Schmitt <marcelo.schmitt@analog.com> 13 Analog Devices AD4000 family of Analog to Digital Converters with SPI support. 15 https://www.analog.com/media/en/technical-documentation/data-sheets/ad4000-4004-4008.pdf 16 https://www.analog.com/media/en/technical-documentation/data-sheets/ad4001-4005.pdf 17 https://www.analog.com/media/en/technical-documentation/data-sheets/ad4002-4006-4010.pdf 18 https://www.analog.com/media/en/technical-documentation/data-sheets/ad4003-4007-4011.pdf [all …]
|
/linux/sound/pci/aw2/ |
H A D | aw2-tsl.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Jean-Christian Hassler <jhassler@free.fr> 6 * Copyright 1998 Emagic Soft- und Hardware GmbH 37 /* WS0, SD4, TSL1 - Analog/ digital in */ 38 /* WS1, SD0, TSL1 - Analog out #1, digital out */ 39 /* WS2, SD2, TSL1 - Analog out #2 */ 40 /* WS3, SD1, TSL2 - Analog out #3 */ 41 /* WS4, SD3, TSL2 - Analog out #4 */ 47 /* SD4: <_ADC-L_>-------<_ADC-R_>-------< */ 48 /* WS0: _______________/---------------\_ */ [all …]
|
/linux/Documentation/devicetree/bindings/media/i2c/ |
H A D | rda,rda5807.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Paul Cercueil <paul@crapouillou.net> 15 - rda,rda5807 21 power-supply: true 31 rda,analog-out: 32 description: Enable analog audio output. 35 rda,i2s-out: 39 rda,lna-microamp: [all …]
|
/linux/sound/pci/ice1712/ |
H A D | juli.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 25 unsigned int analog:1; member 36 * supplied by external clock provided by Xilinx array and MK73-1 PLL frequency 42 * ice1724+ak4114-based cards, detects spdif input rate correctly. 46 * Juli uses the remaining three stereo-channels of its DAC to optionally 47 * monitor analog input, digital input, and digital output. The corresponding 120 * Initial setup of the conversion array GPIO <-> rate 163 * If SPDIF capture and slaved to SPDIF-IN, setting runtime rate 169 struct juli_spec *spec = ice->spec; in juli_spdif_in_open() 170 struct snd_pcm_runtime *runtime = substream->runtime; in juli_spdif_in_open() [all …]
|
H A D | phase.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 * Audio controller: VIA Envy24HT-S (slightly trimmed down Envy24HT, 4in/4out) 12 * Analog chip: AK4524 (partially via Philip's 74HCT125) 13 * Digital receiver: CS8414-CS (supported in this release) 18 * - CS directly from GPIO 10 19 * - CCLK via 74HCT125's gate #4 from GPIO 4 20 * - CDTI via 74HCT125's gate #2 from GPIO 5 26 * Audio controller: VIA Envy24HT (full untrimmed version, 4in/8out) 27 * Analog chip: WM8770 (8 channel 192k DAC, 2 channel 96k ADC) 28 * Digital receiver: CS8414-CS (supported in this release) [all …]
|
/linux/drivers/media/pci/cx23885/ |
H A D | cx23885-cards.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 14 #include <media/drv-intf/cx25840.h> 19 #include "netup-eeprom.h" 20 #include "netup-init.h" 21 #include "altera-ci.h" 24 #include "cx23888-ir.h" 29 "NetUP Dual DVB-T/C CI card revision"); 35 "\t\t\tHVR-1250 (reported safe)\n" 41 /* ------------------------------------------------------------------ */ 64 .name = "Hauppauge WinTV-HVR1800lp", [all …]
|
/linux/sound/soc/sunxi/ |
H A D | sun50i-codec-analog.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * This driver supports the analog controls for the internal codec 6 * Copyright (C) 2016 Chen-Yu Tsai <wens@csie.org> 10 * Based on sun8i-codec-analog.c 22 #include <sound/soc-dapm.h> 25 #include "sun8i-adda-pr-regmap.h" 27 /* Codec analog control register offsets and bit fields */ 178 -450, 150, 0); 184 static const DECLARE_TLV_DB_SCALE(sun50i_codec_hp_vol_scale, -6300, 100, 1); 188 2, 31, TLV_DB_SCALE_ITEM(-4350, 150, 0), [all …]
|
H A D | sun8i-codec-analog.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * This driver supports the analog controls for the internal codec 6 * Copyright 2016 Chen-Yu Tsai <wens@csie.org> 17 #include <sound/soc-dapm.h> 20 #include "sun8i-adda-pr-regmap.h" 22 /* Codec analog control register offsets and bit fields */ 197 -450, 150, 0); 204 /* Mixer pre-gain */ 316 static const DECLARE_TLV_DB_SCALE(sun8i_codec_hp_vol_scale, -6300, 100, 1); 346 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in sun8i_headphone_amp_event() [all …]
|
H A D | sun4i-codec.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2015 Maxime Ripard <maxime.ripard@free-electrons.com> 7 * Copyright 2016 Chen-Yu Tsai <wens@csie.org> 49 /* Codec DAC side analog signal controls */ 88 /* Codec ADC side analog signal controls */ 122 * have been moved around to accommodate extra analog controls. 167 /* Microphone, line out and phone out controls */ 204 /* Analog performance tuning controls */ 288 regmap_field_set_bits(scodec->reg_dac_fifoc, in sun4i_codec_start_playback() 292 regmap_field_set_bits(scodec->reg_dac_fifoc, in sun4i_codec_start_playback() [all …]
|
/linux/Documentation/devicetree/bindings/hwmon/ |
H A D | adi,ltc2947.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Analog Devices LTC2947 high precision power and energy monitor 10 - Nuno Sá <nuno.sa@analog.com> 13 Analog Devices LTC2947 high precision power and energy monitor over SPI or I2C. 15 https://www.analog.com/media/en/technical-documentation/data-sheets/LTC2947.pdf 20 - adi,ltc2947 33 adi,accumulator-ctl-pol: 41 $ref: /schemas/types.yaml#/definitions/uint32-array [all …]
|
/linux/sound/pci/ca0106/ |
H A D | ca0106_mixer.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (c) 2004 James Courtier-Dutton <James@superbug.demon.co.uk> 12 * Removed noise from Center/LFE channel when in Analog mode. 67 if (emu->spdif_enable) { in ca0106_spdif_enable() 73 val = inl(emu->port + CA0106_GPIO) & ~0x101; in ca0106_spdif_enable() 74 outl(val, emu->port + CA0106_GPIO); in ca0106_spdif_enable() 77 /* Analog */ in ca0106_spdif_enable() 82 val = inl(emu->port + CA0106_GPIO) | 0x101; in ca0106_spdif_enable() 83 outl(val, emu->port + CA0106_GPIO); in ca0106_spdif_enable() 89 unsigned int val = emu->capture_source; in ca0106_set_capture_source() [all …]
|
/linux/Documentation/sound/cards/ |
H A D | maya44.rst | 8 keep here as reference -- tiwai 18 Development is carried out by Rainer Zimmermann (mail@lightshed.de). 22 …tunately it has turned out difficult to get detailed programming information, so I (Rainer Zimmerm… 24 This is the first testing version of the Maya44 driver released to the alsa-devel mailing list (Feb… 29 - playback and capture at all sampling rates 30 - input/output level 31 - crossmixing 32 - line/mic switch 33 - phantom power switch 34 - analogue monitor a.k.a bypass [all …]
|
H A D | cmipci.rst | 2 Brief Notes on C-Media 8338/8738/8768/8770 Driver 8 Front/Rear Multi-channel Playback 9 --------------------------------- 13 DACs, both streams are handled independently unlike the 4/6ch multi- 22 - The first DAC supports U8 and S16LE formats, while the second DAC 24 - The second DAC supports only two channel stereo. 51 control switch in the driver "Line-In As Rear", which you can change 52 via alsamixer or somewhat else. When this switch is on, line-in jack 60 4/6 Multi-Channel Playback 61 -------------------------- [all …]
|
/linux/Documentation/hwmon/ |
H A D | adm9240.rst | 6 * Analog Devices ADM9240 10 Addresses scanned: I2C 0x2c - 0x2f 12 Datasheet: Publicly available at the Analog Devices website 14 http://www.analog.com/UploadedFiles/Data_Sheets/79857778ADM9240_0.pdf 20 Addresses scanned: I2C 0x2c - 0x2f 24 http://pdfserv.maxim-ic.com/en/ds/DS1780.pdf 30 Addresses scanned: I2C 0x2c - 0x2f 37 - Frodo Looijaard <frodol@dds.nl>, 38 - Philip Edelbrock <phil@netroedge.com>, 39 - Michiel Rook <michiel@grendelproject.nl>, [all …]
|
/linux/sound/soc/kirkwood/ |
H A D | armada-370-db.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 15 #include <linux/platform_data/asoc-kirkwood.h> 46 SND_SOC_DAPM_HP("Out Jack", NULL), 51 { "Out Jack", NULL, "HPL" }, 52 { "Out Jack", NULL, "HPR" }, 57 SND_SOC_DAILINK_DEFS(analog, 59 DAILINK_COMP_ARRAY(COMP_CODEC(NULL, "cs42l51-hifi")), 64 DAILINK_COMP_ARRAY(COMP_CODEC(NULL, "dit-hifi")), 69 DAILINK_COMP_ARRAY(COMP_CODEC(NULL, "dir-hifi")), [all …]
|
/linux/drivers/iio/adc/ |
H A D | adi-axi-adc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Analog Devices Generic AXI ADC IP core 4 * Link: https://wiki.analog.com/resources/fpga/docs/axi_adc_ip 6 * Copyright 2012-2020 Analog Devices Inc. 23 #include <linux/fpga/adi-axi-common.h> 26 #include <linux/iio/buffer-dmaengine.h> 32 * https://wiki.analog.com/resources/fpga/docs/axi_adc_ip#register_map 64 /* out of sync */ 66 /* spurious out of sync */ 96 guard(mutex)(&st->lock); in axi_adc_enable() [all …]
|
/linux/Documentation/input/ |
H A D | gamepad.rst | 1 --------------------------- 3 --------------------------- 11 having user-space deal with different button-mappings for each gamepad, this 25 | <===DP===> |SE| |ST| (W) -|- (E) | | 35 D-Pad Left Right Action Pad 43 - Action-Pad 44 4 buttons in diamonds-shape (on the right side). The buttons are 47 - D-Pad (Direction-pad) 49 - Menu-Pad 50 Different constellations, but most-times 2 buttons: SELECT - START [all …]
|