/linux-6.14.4/include/linux/platform_data/ |
D | adp8860.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 6 * Copyright 2009-2010 Analog Devices Inc. 86 * Blacklight current 0..30mA 91 * L2 comparator current 0..1106uA 96 * L3 comparator current 0..138uA 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 */ 123 * Independent Current Sinks / LEDS 130 u8 led_fade_in; /* LED Fade-In Timer */ [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/iio/frequency/ |
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 <[email protected]> 15 - adi,adf4350 16 - adi,adf4351 21 spi-max-frequency: 28 clock-names: 31 '#clock-cells': 34 clock-output-names: [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/leds/ |
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 <[email protected]> 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 17 high side current sources. Each channel is able to deliver 900mA current. 22 - silergy,sy7802 27 enable-gpios: [all …]
|
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 <[email protected]> 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 …]
|
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 <[email protected]> 11 - Pavel Machek <[email protected]> 27 - national,lp5521 28 - national,lp5523 29 - ti,lp55231 30 - ti,lp5562 [all …]
|
/linux-6.14.4/sound/soc/codecs/ |
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> 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), 59 11, 11, TLV_DB_SCALE_ITEM(-150, 0, 0), [all …]
|
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 …]
|
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 …]
|
D | cs42l52.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * cs42l52.c -- CS42L52 ALSA SoC audio driver 28 #include <sound/soc-dapm.h> 130 static DECLARE_TLV_DB_SCALE(hl_tlv, -10200, 50, 0); 132 static DECLARE_TLV_DB_SCALE(hpd_tlv, -9600, 50, 1); 134 static DECLARE_TLV_DB_SCALE(ipd_tlv, -9600, 100, 0); 138 static DECLARE_TLV_DB_SCALE(pga_tlv, -600, 50, 0); 140 static DECLARE_TLV_DB_SCALE(pass_tlv, -6000, 50, 0); 142 static DECLARE_TLV_DB_SCALE(mix_tlv, -5150, 50, 0); 144 static DECLARE_TLV_DB_SCALE(beep_tlv, -56, 200, 0); [all …]
|
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 …]
|
/linux-6.14.4/include/linux/iio/frequency/ |
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-6.14.4/drivers/phy/socionext/ |
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-6.14.4/Documentation/devicetree/bindings/iio/addac/ |
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 <[email protected]> 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-6.14.4/drivers/leds/flash/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 62 Independent current sources supply for each flash LED support torch 76 will be called "leds-mt6370-flash". 88 scale current. It also supports connecting two channels' output together 89 to supply one LED component to achieve current up to 2 A. In such case, 90 the total LED current will be split symmetrically on each channel and 93 This driver can be built as a module, it will be called "leds-qcom-flash". 102 RT4505 includes torch and flash functions with programmable current. 115 will be called leds-rt8515. 121 This option enables support for the SGM3140 500mA Buck/Boost Charge [all …]
|
/linux-6.14.4/drivers/leds/ |
D | leds-lp8864.c | 1 // SPDX-License-Identifier: GPL-2.0-only 32 "Vin under-voltage fault", 33 "Vin over-voltage fault", 34 "Vdd under-voltage fault", 35 "Vin over-current fault", 36 "Missing charge pump fault", 37 "Charge pump fault", 46 "Boost over-current fault", 90 ret = regmap_read(led->regmap, LP8864_SUPPLY_STATUS, &val); in lp8864_fault_check() 97 dev_warn(&led->client->dev, "%s\n", lp8864_supply_status_msg[i]); in lp8864_fault_check() [all …]
|
D | leds-lp5569.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 #include <linux/platform_data/leds-lp55xx.h> 18 #include <dt-bindings/leds/leds-lp55xx.h> 20 #include "leds-lp55xx-common.h" 142 chip->engine_idx = i; in lp5569_init_program_engine() 147 pattern[i - 1][j]); in lp5569_init_program_engine() 161 dev_err(&chip->cl->dev, in lp5569_init_program_engine() 164 ret = -EINVAL; in lp5569_init_program_engine() 178 val |= FIELD_PREP(LP5569_CP_MODE_MASK, chip->pdata->charge_pump_mode); in lp5569_post_init_device() 183 if (chip->pdata->clock_mode == LP55XX_CLOCK_INT) { in lp5569_post_init_device() [all …]
|
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" 44 /* Base register to set LED current */ 61 #define LP5521_CP_MODE_MASK 0x18 /* Charge pump mode */ 70 /* default R channel current register value */ 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-6.14.4/drivers/i2c/busses/ |
D | i2c-cht-wc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Copyright (C) 2011 - 2014 Intel Corporation. All rights reserved. 62 mutex_lock(&adap->adap_lock); in cht_wc_i2c_adap_thread_handler() 65 ret = regmap_read(adap->regmap, CHT_WC_EXTCHGRIRQ, ®); in cht_wc_i2c_adap_thread_handler() 67 dev_err(&adap->adapter.dev, "Error reading extchgrirq reg\n"); in cht_wc_i2c_adap_thread_handler() 68 mutex_unlock(&adap->adap_lock); in cht_wc_i2c_adap_thread_handler() 72 reg &= ~adap->irq_mask; in cht_wc_i2c_adap_thread_handler() 75 ret = regmap_read(adap->regmap, CHT_WC_I2C_RDDATA, &adap->read_data); in cht_wc_i2c_adap_thread_handler() 77 adap->io_error = true; in cht_wc_i2c_adap_thread_handler() 81 * handling the previous ones our irq will re-trigger when we're done. in cht_wc_i2c_adap_thread_handler() [all …]
|
/linux-6.14.4/drivers/gpu/drm/tiny/ |
D | repaper.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * DRM driver for Pervasive Displays RePaper branded e-ink panels 5 * Copyright 2013-2017 Pervasive Displays, Inc. 52 enum repaper_stage { /* Image pixel -> Display pixel */ 53 REPAPER_COMPENSATE, /* B -> W, W -> B (Current Image) */ 54 REPAPER_WHITE, /* B -> N, W -> W (Current Image) */ 55 REPAPER_INVERSE, /* B -> N, W -> B (New Image) */ 56 REPAPER_NORMAL /* B -> B, W -> W (New Image) */ 112 return -ENOMEM; in repaper_spi_transfer() 122 ret = -ENOMEM; in repaper_spi_transfer() [all …]
|
/linux-6.14.4/include/media/ |
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 72 * frequency and the current channel frequency. [all …]
|
/linux-6.14.4/drivers/gpu/drm/panel/ |
D | panel-raydium-rm68200.c | 1 // SPDX-License-Identifier: GPL-2.0 30 #define MCS_STBCTR 0x12 /* TE1 Output Setting Zig-Zag Connection */ 31 #define MCS_SGOPCTR 0x16 /* Source Bias Current */ 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() [all …]
|
/linux-6.14.4/drivers/media/dvb-frontends/ |
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 <[email protected]> 9 * Support for CX24123/CX24113-NIM by Patrick Boettcher <[email protected]> 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) */ 210 {0x2c, 0x00}, /* DiSEqC Message (0x2c - 0x31) */ 217 {0x33, 0x00}, /* Interrupts off (0x33 - 0x34) */ 229 {0x67, 0x83}, /* Non-DCII symbol clock */ [all …]
|
/linux-6.14.4/drivers/media/pci/mantis/ |
D | mantis_vp2033.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 Mantis VP-2033 driver 25 #define MANTIS_MODEL_NAME "VP-2033" 26 #define MANTIS_DEV_TYPE "DVB-C" 40 struct i2c_adapter *adapter = &mantis->adapter; in read_pwm() 58 struct dtv_frontend_properties *p = &fe->dtv_property_cache; in tda1002x_cu1216_tuner_set() 59 struct mantis_pci *mantis = fe->dvb->priv; in tda1002x_cu1216_tuner_set() 60 struct i2c_adapter *adapter = &mantis->adapter; in tda1002x_cu1216_tuner_set() 69 u32 div = (p->frequency + CU1216_IF + TUNER_MUL / 2) / TUNER_MUL; in tda1002x_cu1216_tuner_set() 74 buf[3] = (p->frequency < 150000000 ? 0x01 : in tda1002x_cu1216_tuner_set() [all …]
|
D | mantis_vp2040.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 Mantis VP-2040 driver 25 #define MANTIS_MODEL_NAME "VP-2040" 26 #define MANTIS_DEV_TYPE "DVB-C" 40 struct dtv_frontend_properties *p = &fe->dtv_property_cache; in tda1002x_cu1216_tuner_set() 41 struct mantis_pci *mantis = fe->dvb->priv; in tda1002x_cu1216_tuner_set() 42 struct i2c_adapter *adapter = &mantis->adapter; in tda1002x_cu1216_tuner_set() 51 u32 div = (p->frequency + CU1216_IF + TUNER_MUL / 2) / TUNER_MUL; in tda1002x_cu1216_tuner_set() 56 buf[3] = (p->frequency < 150000000 ? 0x01 : in tda1002x_cu1216_tuner_set() 57 p->frequency < 445000000 ? 0x02 : 0x04); in tda1002x_cu1216_tuner_set() [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/sound/ |
D | cirrus,cs42l42.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - [email protected] 13 The CS42L42 is a low-power audio codec designed for portable applications. 14 It provides a high-dynamic range, stereo DAC for audio playback and a mono 15 high-dynamic-range ADC for audio capture. There is an integrated headset 21 - cirrus,cs42l42 22 - cirrus,cs42l83 29 VP-supply: [all …]
|