/linux/Documentation/devicetree/bindings/iio/frequency/ |
H A D | adi,adf4350.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michael Hennerich <michael.hennerich@analog.com> 15 - adi,adf4350 16 - adi,adf4351 21 spi-max-frequency: 28 clock-names: 31 '#clock-cells': 34 clock-output-names: [all …]
|
/linux/sound/soc/codecs/ |
H A D | es8316.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * es8316.c -- es8316 ALSA SoC audio driver 6 * Authors: David Yang <yangxiaohua@everest-semi.com>, 21 #include <sound/soc-dapm.h> 26 /* In slave mode at single speed, the codec is documented as accepting 5 52 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(dac_vol_tlv, -9600, 50, 1); 53 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(adc_vol_tlv, -9600, 50, 1); 54 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(alc_max_gain_tlv, -650, 150, 0); 55 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(alc_min_gain_tlv, -1200, 150, 0); 58 0, 10, TLV_DB_SCALE_ITEM(-1650, 150, 0), [all …]
|
H A D | wm8903.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8903.c -- WM8903 ALSA SoC Audio driver 5 * Copyright 2008-12 Wolfson Microelectronics 6 * Copyright 2011-2012 NVIDIA, Inc. 11 * - TDM mode configuration. 41 { 4, 0x0018 }, /* R4 - Bias Control 0 */ 42 { 5, 0x0000 }, /* R5 - VMID Control 0 */ 43 { 6, 0x0000 }, /* R6 - Mic Bias Control 0 */ 44 { 8, 0x0001 }, /* R8 - Analogue DAC 0 */ 45 { 10, 0x0001 }, /* R10 - Analogue ADC 0 */ [all …]
|
H A D | es8316.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Author: David Yang <yangxiaohua@everest-semi.com> 48 /* Charge Pump Headphone driver */ 90 /* Test mode */
|
H A D | ab8500-codec.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2012 8 * for ST-Ericsson. 14 * for ST-Ericsson. 29 #include <linux/mfd/abx500/ab8500-sysctrl.h> 30 #include <linux/mfd/abx500/ab8500-codec.h> 39 #include <sound/soc-dapm.h> 42 #include "ab8500-codec.h" 56 /* Nr of FIR/IIR-coeff banks in ANC-block */ 114 /* Private data for AB8500 device-driver */ [all …]
|
H A D | cs42l52.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * cs42l52.c -- CS42L52 ALSA SoC audio driver 29 #include <sound/soc-dapm.h> 43 /* MICA mode selection Differential or Single-ended */ 46 /* MICB mode selection Differential or Single-ended */ 49 /* Charge Pump Freq. Check datasheet Pg73 */ 147 static DECLARE_TLV_DB_SCALE(hl_tlv, -10200, 50, 0); 149 static DECLARE_TLV_DB_SCALE(hpd_tlv, -9600, 50, 1); 151 static DECLARE_TLV_DB_SCALE(ipd_tlv, -9600, 100, 0); 155 static DECLARE_TLV_DB_SCALE(pga_tlv, -600, 50, 0); [all …]
|
H A D | da7218.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * da7218.c - DA7218 ALSA SoC Codec Driver 22 #include <sound/soc-dapm.h> 37 static const DECLARE_TLV_DB_SCALE(da7218_mic_gain_tlv, -600, 600, 0); 38 static const DECLARE_TLV_DB_SCALE(da7218_mixin_gain_tlv, -450, 150, 0); 39 static const DECLARE_TLV_DB_SCALE(da7218_in_dig_gain_tlv, -8325, 75, 0); 40 static const DECLARE_TLV_DB_SCALE(da7218_ags_trigger_tlv, -9000, 600, 0); 42 static const DECLARE_TLV_DB_SCALE(da7218_alc_threshold_tlv, -9450, 150, 0); 47 static const DECLARE_TLV_DB_SCALE(da7218_dmix_gain_tlv, -4200, 150, 0); 50 static const DECLARE_TLV_DB_SCALE(da7218_dgs_trigger_tlv, -9450, 150, 0); [all …]
|
H A D | wm8996.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm8996.c - WM8996 audio codec interface 5 * Copyright 2011-2 Wolfson Microelectronics PLC. 108 regcache_mark_dirty(wm8996->regmap); \ 299 static const DECLARE_TLV_DB_SCALE(sidetone_tlv, -3600, 150, 0); 300 static const DECLARE_TLV_DB_SCALE(digital_tlv, -7200, 75, 1); 301 static const DECLARE_TLV_DB_SCALE(out_digital_tlv, -1200, 150, 0); 302 static const DECLARE_TLV_DB_SCALE(out_tlv, -900, 75, 0); 303 static const DECLARE_TLV_DB_SCALE(spk_tlv, -900, 150, 0); 304 static const DECLARE_TLV_DB_SCALE(eq_tlv, -1200, 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) */ 24 #define CS42L73_CPFCHC 0x09 /* Charge Pump Freq. Class H Ctl. */ 28 #define CS42L73_XSPMMCC 0x0D /* XSP Master Mode Clocking Control. */ 30 #define CS42L73_ASPMMCC 0x0F /* ASP Master Mode Clocking Control. */ 32 #define CS42L73_VSPMMCC 0x11 /* VSP Master Mode Clocking Control. */
|
H A D | da7219.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * da7219.c - DA7219 ALSA SoC Codec Driver 13 #include <linux/clk-provider.h> 26 #include <sound/soc-dapm.h> 33 #include "da7219-aad.h" 41 static const DECLARE_TLV_DB_SCALE(da7219_mic_gain_tlv, -600, 600, 0); 42 static const DECLARE_TLV_DB_SCALE(da7219_mixin_gain_tlv, -450, 150, 0); 43 static const DECLARE_TLV_DB_SCALE(da7219_adc_dig_gain_tlv, -8325, 75, 0); 44 static const DECLARE_TLV_DB_SCALE(da7219_alc_threshold_tlv, -9450, 150, 0); 47 static const DECLARE_TLV_DB_SCALE(da7219_sidetone_gain_tlv, -4200, 300, 0); [all …]
|
H A D | da7213.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 34 /* -54dB */ 35 0x0, 0x11, TLV_DB_SCALE_ITEM(-5400, 0, 0), 36 /* -52.5dB to 15dB */ 37 0x12, 0x3f, TLV_DB_SCALE_ITEM(-5250, 150, 0) 42 /* -78dB to 12dB */ 43 0x08, 0x7f, TLV_DB_SCALE_ITEM(-7800, 75, 0) 52 static const DECLARE_TLV_DB_SCALE(mic_vol_tlv, -600, 600, 0); 53 static const DECLARE_TLV_DB_SCALE(mixin_gain_tlv, -450, 150, 0); 54 static const DECLARE_TLV_DB_SCALE(eq_gain_tlv, -1050, 150, 0); [all …]
|
/linux/Documentation/devicetree/bindings/leds/ |
H A D | leds-lp55xx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/leds-lp55xx.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jacek Anaszewski <jacek.anaszewski@gmail.com> 11 - Pavel Machek <pavel@ucw.cz> 27 - national,lp5521 28 - national,lp5523 29 - ti,lp55231 30 - ti,lp5562 [all …]
|
/linux/include/linux/iio/frequency/ |
H A D | ad9523.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 38 * struct ad9523_channel_spec - Output channel configuration 42 * @sync_ignore_en: Ignore chip-level SYNC signal. 46 * @driver_mode: Output driver mode (logic level family). 49 * @channel_divider: 10-bit channel divider. 106 * struct ad9523_platform_data - platform specific information 109 * @refa_diff_rcv_en: REFA differential/single-ended input selection. 110 * @refb_diff_rcv_en: REFB differential/single-ended input selection. 111 * @zd_in_diff_en: Zero Delay differential/single-ended input selection. 112 * @osc_in_diff_en: OSC differential/ single-ended input selection. [all …]
|
/linux/drivers/staging/fbtft/ |
H A D | fb_ssd1305.c | 1 // SPDX-License-Identifier: GPL-2.0+ 35 par->fbtftops.reset(par); in init_display() 37 if (par->gamma.curves[0] == 0) { in init_display() 38 mutex_lock(&par->gamma.lock); in init_display() 39 if (par->info->var.yres == 64) in init_display() 40 par->gamma.curves[0] = 0xCF; in init_display() 42 par->gamma.curves[0] = 0x8F; in init_display() 43 mutex_unlock(&par->gamma.lock); in init_display() 55 if (par->info->var.yres == 64) in init_display() 67 /* Charge Pump Setting */ in init_display() [all …]
|
H A D | fb_ssd1306.c | 1 // SPDX-License-Identifier: GPL-2.0+ 34 par->fbtftops.reset(par); in init_display() 36 if (par->gamma.curves[0] == 0) { in init_display() 37 mutex_lock(&par->gamma.lock); in init_display() 38 if (par->info->var.yres == 64) in init_display() 39 par->gamma.curves[0] = 0xCF; in init_display() 41 par->gamma.curves[0] = 0x8F; in init_display() 42 mutex_unlock(&par->gamma.lock); in init_display() 54 if (par->info->var.yres == 64) in init_display() 56 else if (par->info->var.yres == 48) in init_display() [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | cs42l52.txt | 5 - compatible : "cirrus,cs42l52" 7 - reg : the I2C address of the device for I2C 11 - cirrus,reset-gpio : GPIO controller's phandle and the number 14 - cirrus,chgfreq-divisor : Values used to set the Charge Pump Frequency. 21 - cirrus,mica-differential-cfg : boolean, If present, then the MICA input is configured 23 Single-ended input. Single-ended mode allows for MIC1 or MIC2 muxing for input. 25 - cirrus,micb-differential-cfg : boolean, If present, then the MICB input is configured 27 Single-ended input. Single-ended mode allows for MIC1 or MIC2 muxing for input. 29 - cirrus,micbias-lvl: Set the output voltage level on the MICBIAS Pin 42 reset-gpio = <&gpio 10 0>; [all …]
|
H A D | cs42l56.txt | 5 - compatible : "cirrus,cs42l56" 7 - reg : the I2C address of the device for I2C 9 - VA-supply, VCP-supply, VLDO-supply : power supplies for the device, 14 - cirrus,gpio-nreset : GPIO controller's phandle and the number 17 - cirrus,chgfreq-divisor : Values used to set the Charge Pump Frequency. 24 - cirrus,ain1a-ref-cfg, ain1b-ref-cfg : boolean, If present, AIN1A or AIN1B are configured 25 as a pseudo-differential input referenced to AIN1REF/AIN3A. 27 - cirrus,ain2a-ref-cfg, ain2b-ref-cfg : boolean, If present, AIN2A or AIN2B are configured 28 as a pseudo-differential input referenced to AIN2REF/AIN3B. 30 - cirrus,micbias-lvl: Set the output voltage level on the MICBIAS Pin. [all …]
|
H A D | wlf,wm8962.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: Wolfson WM8962 Ultra-Low Power Stereo CODEC 10 - patches@opensource.cirrus.com 13 - $ref: dai-common.yaml# 28 "#sound-dai-cells": 31 AVDD-supply: 34 CPVDD-supply: 35 description: Charge pump power supply. [all …]
|
/linux/Documentation/devicetree/bindings/iio/addac/ |
H A D | adi,ad74115.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Cosmin Tanislav <cosmin.tanislav@analog.com> 13 The AD74115H is a single-channel software configurable input/output 17 chip solution with an SPI interface. The device features a 16-bit ADC and a 18 14-bit DAC. 25 - adi,ad74115h 30 spi-max-frequency: 33 spi-cpol: true [all …]
|
/linux/include/linux/platform_data/ |
H A D | leds-lp55xx.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 9 * Derived from leds-lp5521.h, leds-lp5523.h 16 #include <linux/led-class-multicolor.h> 58 * @clock_mode : Input clock mode. LP55XX_CLOCK_AUTO or _INT or _EXT 76 /* Charge pump mode */
|
/linux/drivers/leds/flash/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 50 and torch mode. 63 and strobe mode. 71 Support 2 channels and torch/strobe mode. 76 will be called "leds-mt6370-flash". 93 This driver can be built as a module, it will be called "leds-qcom-flash". 115 will be called leds-rt8515. 121 This option enables support for the SGM3140 500mA Buck/Boost Charge 122 Pump LED Driver. 133 This driver can be built as a module, it will be called "leds-sy7802". [all …]
|
/linux/drivers/media/dvb-frontends/ |
H A D | cx24123.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Conexant cx24123/cx24109 - DVB QPSK Satellite demod/tuner driver 7 * Support for KWorld DVB-S 100 by Vadim Catana <skystar@moldova.cc> 9 * Support for CX24123/CX24113-NIM by Patrick Boettcher <pb@linuxtv.org> 26 "(1-9, default:off)."); 197 {0x0d, 0x7f}, /* Force driver to shift until the maximum (+-10 MHz) */ 198 {0x0e, 0x03}, /* Default non-inverted, FEC 3/4 (default) */ 205 {0x21, 0x15}, /* Tuner burst mode, word length = 0x15 */ 210 {0x2c, 0x00}, /* DiSEqC Message (0x2c - 0x31) */ 217 {0x33, 0x00}, /* Interrupts off (0x33 - 0x34) */ [all …]
|
/linux/drivers/media/tuners/ |
H A D | tda18250_priv.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 57 #define R2C_PS1 0x2c /* power saving mode byte 1 */ 58 #define R2D_PS2 0x2d /* power saving mode byte 2 */ 59 #define R2E_PS3 0x2e /* power saving mode byte 3 */ 83 #define R46_CPUMP 0x46 /* charge pump */
|
/linux/drivers/leds/ |
H A D | leds-lp5521.c | 1 // SPDX-License-Identifier: GPL-2.0-only 19 #include <linux/platform_data/leds-lp55xx.h> 23 #include "leds-lp55xx-common.h" 60 #define LP5521_PWRSAVE_EN 0x20 /* 1 = Power save mode */ 61 #define LP5521_CP_MODE_MASK 0x18 /* Charge pump mode */ 78 /* operation mode change needs to be longer than 153 us */ in lp5521_wait_opmode_done() 112 * current reg. This is dummy read is required on some platforms - in lp5521_post_init_device() 114 * LP5521_REG_ENABLE register will not have any effect - strange! in lp5521_post_init_device() 118 dev_err(&chip->cl->dev, "error in resetting chip\n"); in lp5521_post_init_device() 122 dev_err(&chip->cl->dev, in lp5521_post_init_device() [all …]
|
/linux/drivers/usb/gadget/udc/ |
H A D | pxa27x_udc.h | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Intel PXA27x on-chip full speed USB device controller 28 #define UDCOTGICR 0x0018 /* UDC On-The-Go interrupt control */ 36 #define UDCCR_OEN (1 << 31) /* On-the-Go Enable */ 37 #define UDCCR_AALTHNP (1 << 30) /* A-device Alternate Host Negotiation 39 #define UDCCR_AHNP (1 << 29) /* A-device Host Negotiation Protocol 41 #define UDCCR_BHNP (1 << 28) /* B-device Host Negotiation Protocol 43 #define UDCCR_DWRE (1 << 16) /* Device Remote Wake-up Enable */ 60 #define UDCICR1_IECC (1 << 31) /* IntEn - Configuration Change */ 61 #define UDCICR1_IESOF (1 << 30) /* IntEn - Start of Frame */ [all …]
|