/linux/include/linux/platform_data/ |
H A D | adp8860.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 6 * Copyright 2009-2010 Analog Devices Inc. 103 u8 bl_fade_in; /* Backlight Fade-In Timer */ 104 u8 bl_fade_out; /* Backlight Fade-Out Timer */ 105 u8 bl_fade_law; /* fade-on/fade-off transfer characteristic */ 130 u8 led_fade_in; /* LED Fade-In Timer */ 131 u8 led_fade_out; /* LED Fade-Out Timer */ 132 u8 led_fade_law; /* fade-on/fade-off transfer characteristic */ 137 * charge pump to switch to lower gains. NOT AVAILABLE on ADP8860 138 * 1 = the charge pump doesn't switch down in gain until all LEDs are 0. [all …]
|
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> 76 /* Charge pump mode */
|
/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> 50 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(dac_vol_tlv, -9600, 50, 1); 51 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(adc_vol_tlv, -9600, 50, 1); 52 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(alc_max_gain_tlv, -650, 150, 0); 53 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(alc_min_gain_tlv, -1200, 150, 0); 56 0, 10, TLV_DB_SCALE_ITEM(-1650, 150, 0), 57 11, 11, TLV_DB_SCALE_ITEM(-150, 0, 0), [all …]
|
H A D | max9850.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * max9850.c -- codec driver for max9850 53 0x18, 0x1f, TLV_DB_SCALE_ITEM(-7450, 400, 0), 54 0x20, 0x33, TLV_DB_SCALE_ITEM(-4150, 200, 0), 55 0x34, 0x37, TLV_DB_SCALE_ITEM(-150, 100, 0), 70 SND_SOC_DAPM_SUPPLY("Charge Pump 1", MAX9850_ENABLE, 4, 0, NULL, 0), 71 SND_SOC_DAPM_SUPPLY("Charge Pump 2", MAX9850_ENABLE, 5, 0, NULL, 0), 105 {"Output Mixer", NULL, "Charge Pump 1"}, 106 {"Output Mixer", NULL, "Charge Pump 2"}, 115 struct snd_soc_component *component = dai->component; in max9850_hw_params() [all …]
|
H A D | rk817_codec.c | 1 // SPDX-License-Identifier: GPL-2.0 32 * I don't have another implementation to compare from the Rockchip sources. Hard-coding for now. 45 if (rk817->mic_in_differential) { in rk817_init() 57 /* Set resistor value and charge pump current for PLL. */ in rk817_set_component_pll() 61 /* Set the PLL pre-divide value (values not documented). */ in rk817_set_component_pll() 73 * 0db~-95db, 0.375db/step, for example: 75 * 0xff: -95dB 78 static const DECLARE_TLV_DB_MINMAX(rk817_vol_tlv, -9500, 0); 82 * 27db~-18db, 3db/step, for example: 83 * 0x0: -18dB [all …]
|
H A D | wm8961.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8961.c -- WM8961 ALSA SoC Audio driver 5 * Copyright 2009-10 Wolfson Microelectronics, plc 10 * - ALC 33 { 0, 0x009F }, /* R0 - Left Input volume */ 34 { 1, 0x009F }, /* R1 - Right Input volume */ 35 { 2, 0x0000 }, /* R2 - LOUT1 volume */ 36 { 3, 0x0000 }, /* R3 - ROUT1 volume */ 37 { 4, 0x0020 }, /* R4 - Clocking1 */ 38 { 5, 0x0008 }, /* R5 - ADC & DAC Control 1 */ [all …]
|
H A D | ak4375.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 22 #define PMCP1 BIT(0) /* Charge Pump 1: LDO1 and DAC */ 23 #define PMCP2 BIT(1) /* Charge Pump 2: Class-G HP Amp */ 118 * from -12.5 to 3 dB in 0.5 dB steps (mute instead of -12.5 dB) 120 static DECLARE_TLV_DB_SCALE(dac_tlv, -1250, 50, 0); 123 * HP-Amp Analog volume control: 124 * from -4.2 to 6 dB in 2 dB steps (mute instead of -4.2 dB) 126 static DECLARE_TLV_DB_SCALE(hpg_tlv, -4200, 20, 0); 132 "+-VDD Operation", 133 "+-1/2VDD Operation" [all …]
|
/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/Documentation/devicetree/bindings/leds/ |
H A D | leds-sgm3140.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/leds-sgm3140.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: SGMICRO SGM3140 500mA Buck/Boost Charge Pump LED Driver 10 - Luca Weiss <luca@z3ntu.xyz> 13 The SGM3140 is a current-regulated charge pump which can regulate two current 17 http://www.sg-micro.com/uploads/soft/20190626/1561535688.pdf 22 - ocs,ocp8110 23 - richtek,rt5033-led [all …]
|
H A D | silergy,sy7802.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: Silergy SY7802 1800mA Boost Charge Pump LED Driver 10 - André Apitzsch <git@apitzsch.eu> 13 The SY7802 is a current-regulated charge pump which can regulate two current 16 The SY7802 is a high-current synchronous boost converter with 2-channel 22 - silergy,sy7802 27 enable-gpios: 31 flash-gpios: [all …]
|
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. 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. 113 * @refa_cmos_neg_inp_en: REFA single-ended neg./pos. input enable. [all …]
|
/linux/drivers/phy/socionext/ |
H A D | phy-uniphier-usb3ss.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * phy-uniphier-usb3ss.c - SS-PHY driver for Socionext UniPhier USB3 controller 4 * Copyright 2015-2018 Socionext Inc. 34 #define CDR_CPD_TRIM PHY_F(7, 3, 0) /* RxPLL charge pump current */ 35 #define CDR_CPF_TRIM PHY_F(8, 3, 0) /* RxPLL charge pump current 2 */ 36 #define TX_PLL_TRIM PHY_F(9, 3, 0) /* TxPLL charge pump current */ 73 writel(data, priv->base + SSPHY_TESTI); in uniphier_u3ssphy_testio_write() 74 readl(priv->base + SSPHY_TESTO); in uniphier_u3ssphy_testio_write() 75 readl(priv->base + SSPHY_TESTO); in uniphier_u3ssphy_testio_write() 82 u8 field_mask = GENMASK(p->field.msb, p->field.lsb); in uniphier_u3ssphy_set_param() [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/mfd/ |
H A D | cirrus,madera.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: Cirrus Logic Madera class audio CODECs Multi-Functional Device 10 - patches@opensource.cirrus.com 23 - $ref: /schemas/pinctrl/cirrus,madera.yaml# 24 - $ref: /schemas/regulator/wlf,arizona.yaml# 25 - $ref: /schemas/sound/cirrus,madera.yaml# 26 - if: 31 - cirrus,cs47l85 [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | cs42l73.txt | 5 - compatible : "cirrus,cs42l73" 7 - reg : the I2C address of the device for I2C 11 - reset_gpio : a GPIO spec for the reset pin. 12 - chgfreq : Charge Pump Frequency values 0x00-0x0F
|
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 …]
|
/linux/include/sound/ |
H A D | cs42l52.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * linux/sound/cs42l52.h -- Platform data for CS42L52 16 /* MICA mode selection Differential or Single-ended */ 19 /* MICB mode selection Differential or Single-ended */ 22 /* Charge Pump Freq. Check datasheet Pg73 */
|
H A D | cs42l56.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * linux/sound/cs42l56.h -- Platform data for CS42L56 19 /* Analog Input 1A Reference 0=Single 1=Pseudo-Differential */ 22 /* Analog Input 2A Reference 0=Single 1=Pseudo-Differential */ 25 /* Analog Input 1B Reference 0=Single 1=Pseudo-Differential */ 28 /* Analog Input 2B Reference 0=Single 1=Pseudo-Differential */ 31 /* Charge Pump Freq. Check datasheet Pg62 */
|
/linux/Documentation/devicetree/bindings/extcon/ |
H A D | extcon-max3355.txt | 2 ------------------------------------- 4 MAX3355 integrates a charge pump and comparators to enable a system with an 5 integrated USB OTG dual-role transceiver to function as a USB OTG dual-role 9 - compatible: should be "maxim,max3355"; 10 - maxim,shdn-gpios: should contain a phandle and GPIO specifier for the GPIO pin 12 - id-gpios: should contain a phandle and GPIO specifier for the GPIO pin 17 usb-otg { 19 maxim,shdn-gpios = <&gpio2 4 GPIO_ACTIVE_LOW>; 20 id-gpios = <&gpio5 31 GPIO_ACTIVE_HIGH>;
|
/linux/include/media/ |
H A D | tuner-types.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 * enum param_type - type of the tuner pameters 27 * struct tuner_range - define the frequencies supported by the tuner 54 * struct tuner_params - Parameters to be used to setup the tuner. Those 55 * are used by drivers/media/tuners/tuner-types.c in 57 * the parameters are for tuners based on tda9887 IF-PLL 58 * multi-standard analog TV/Radio demodulator, with is 65 * @cb_first_if_lower_freq: Many Philips-based tuners have a comment in 70 * charge pump action, it is recommended to 73 * Unnecessary charge pump action will result [all …]
|
/linux/drivers/media/dvb-frontends/ |
H A D | ix2505v.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Driver for Sharp IX2505V (marked B0017) DVB-S silicon tuner 15 * struct ix2505v_config - ix2505 attachment configuration 18 * @tuner_gain: Baseband AMP gain control 0/1=0dB(default) 2=-2bB 3=-4dB 19 * @tuner_chargepump: Charge pump output +/- 0=120 1=260 2=555 3=1200(default) 34 * ix2505v_attach - Attach a ix2505v tuner to the supplied frontend structure.
|
/linux/drivers/gpu/drm/panel/ |
H A D | panel-raydium-rm68200.c | 1 // SPDX-License-Identifier: GPL-2.0 30 #define MCS_STBCTR 0x12 /* TE1 Output Setting Zig-Zag Connection */ 37 #define MCS_BT2CTR 0x2B /* DDVDL Charge Pump Control */ 38 #define MCS_BT3CTR 0x2F /* VGH Charge Pump Control */ 39 #define MCS_BT4CTR 0x34 /* VGL Charge Pump Control */ 45 /* CMD2 P2 commands (GOA Timing Control) - no description in datasheet */ 105 struct mipi_dsi_device *dsi = to_mipi_dsi_device(ctx->dev); in rm68200_dcs_write_buf() 110 dev_err_ratelimited(ctx->dev, "MIPI DSI DCS write buffer failed: %d\n", err); in rm68200_dcs_write_buf() 115 struct mipi_dsi_device *dsi = to_mipi_dsi_device(ctx->dev); in rm68200_dcs_write_cmd() 120 dev_err_ratelimited(ctx->dev, "MIPI DSI DCS write failed: %d\n", err); in rm68200_dcs_write_cmd() [all …]
|