/linux-6.12.1/Documentation/devicetree/bindings/input/touchscreen/ |
D | ti,am3359-tsc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/touchscreen/ti,am3359-tsc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Miquel Raynal <miquel.raynal@bootlin.com> 14 const: ti,am3359-tsc 22 ti,x-plate-resistance: 26 ti,coordinate-readouts: 36 ti,wire-config: 38 wires on touchscreen. We need to provide an 8-bit number where the [all …]
|
D | fsl,imx6ul-tsc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/touchscreen/fsl,imx6ul-tsc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Haibo Chen <haibo.chen@nxp.com> 11 - Shawn Guo <shawnguo@kernel.org> 12 - Sascha Hauer <s.hauer@pengutronix.de> 16 const: fsl,imx6ul-tsc 20 - description: touch controller address 21 - description: ADC2 address [all …]
|
/linux-6.12.1/arch/arm/mach-pxa/ |
D | sharpsl_pm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Battery and Power Management code for the Sharp SL-C7xx and SL-Cxx00 6 * Copyright (c) 2004-2005 Richard Purdie 17 #include <linux/apm-emulation.h> 19 #include <linux/delay.h> 25 #include <asm/mach-types.h> 27 #include "pxa2xx-regs.h" 28 #include "regs-rtc.h" 173 /* max1111 accepts channels from 0-3, however, in sharpsl_pm_pxa_read_max1111() 174 * it is encoded from 0-7 here in the code. in sharpsl_pm_pxa_read_max1111() [all …]
|
D | spitz_pm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Battery and Power Management code for the Sharp SL-Cxx00 12 #include <linux/delay.h> 14 #include <linux/gpio-pxa.h> 17 #include <linux/apm-emulation.h> 21 #include <asm/mach-types.h> 80 /* HACK - For unknown reasons, accurate voltage readings are only made with a load 91 spitz_last_ac_status = sharpsl_pm.machinfo->read_devdata(SHARPSL_STATUS_ACIN); in spitz_presuspend() 134 int acin = sharpsl_pm.machinfo->read_devdata(SHARPSL_STATUS_ACIN); in spitz_should_wakeup() 138 /* charge on */ in spitz_should_wakeup() [all …]
|
/linux-6.12.1/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.12.1/arch/sh/boards/mach-r2d/ |
D | setup.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2002 - 2006 Atom Create Engineering Co., Ltd. 6 * Copyright (C) 2004 - 2007 Paul Mundt 15 #include <linux/sm501-regs.h> 29 .end = PA_AREA5_IO + 0x1000 + 0x10 - 0x2, 37 #ifndef CONFIG_RTS7751R2D_1 /* For R2D-1 polling is preferred */ 51 .id = -1, 61 .modalias = "rtc-r9701", 69 BUG_ON(cs != 0); /* Single Epson RTC-9701JE attached on CS0 */ in r2d_chip_select() 88 .id = -1, [all …]
|
/linux-6.12.1/include/linux/mfd/ |
D | ti_am335x_tscadc.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 77 /* Delay register */ 85 /* Charge Config */ 94 /* Charge delay */ 134 * max num cycles = open delay + (sample delay + conv time) * averaging 180 struct ti_tscadc_dev **tscadc_dev = p->dev.platform_data; in ti_tscadc_dev_get() 187 return of_device_is_compatible(tscadc->dev->of_node, in ti_adc_with_touchscreen() 188 "ti,am3359-tscadc"); in ti_adc_with_touchscreen()
|
/linux-6.12.1/Documentation/devicetree/bindings/sound/ |
D | rt5682.txt | 7 - compatible : "realtek,rt5682" or "realtek,rt5682i" 9 - reg : The I2C address of the device. 11 - AVDD-supply: phandle to the regulator supplying analog power through the 14 - MICVDD-supply: phandle to the regulator supplying power for the microphone 17 - VBAT-supply: phandle to the regulator supplying battery power through the 20 - DBVDD-supply: phandle to the regulator supplying I/O power through the DBVDD 23 - LDO1-IN-supply: phandle to the regulator supplying power to the digital core 24 and charge pump through the LDO1_IN pin. 28 - interrupts : The CODEC's interrupt output. 30 - realtek,dmic1-data-pin [all …]
|
D | wlf,wm8903.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 30 - patches@opensource.cirrus.com 39 gpio-controller: true 40 '#gpio-cells': 46 micdet-cfg: 51 micdet-delay: 54 description: The debounce delay for microphone detection in mS. 56 gpio-cfg: [all …]
|
D | realtek,rt5682s.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Derek Fang <derek.fang@realtek.com> 13 Rt5682s(ALC5682I-VS) is a rt5682i variant which supports I2C only. 16 - $ref: dai-common.yaml# 30 realtek,dmic1-data-pin: 33 - 0 # dmic1 data is not used 34 - 1 # using GPIO2 pin as dmic1 data pin 35 - 2 # using GPIO5 pin as dmic1 data pin [all …]
|
/linux-6.12.1/arch/arm/boot/dts/qcom/ |
D | qcom-msm8974pro-sony-xperia-shinano-castor.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974pro-sony-xperia-shinano-common.dtsi" 6 compatible = "sony,xperia-castor", "qcom,msm8974pro", "qcom,msm8974"; 7 chassis-type = "tablet"; 9 vreg_bl_vddio: lcd-backlight-vddio { 10 compatible = "regulator-fixed"; 11 regulator-name = "vreg_bl_vddio"; 12 regulator-min-microvolt = <3150000>; 13 regulator-max-microvolt = <3150000>; 16 enable-active-high; [all …]
|
/linux-6.12.1/drivers/gpu/drm/i915/selftests/ |
D | mock_request.c | 4 * Permission is hereby granted, free of charge, to any person obtaining a 31 mock_request(struct intel_context *ce, unsigned long delay) in mock_request() argument 35 /* NB the i915->requests slab cache is enlarged to fit mock_request */ in mock_request() 40 request->mock.delay = delay; in mock_request() 47 container_of(request->engine, typeof(*engine), base); in mock_cancel_request() 50 spin_lock_irq(&engine->hw_lock); in mock_cancel_request() 51 was_queued = !list_empty(&request->mock.link); in mock_cancel_request() 52 list_del_init(&request->mock.link); in mock_cancel_request() 53 spin_unlock_irq(&engine->hw_lock); in mock_cancel_request()
|
/linux-6.12.1/drivers/input/touchscreen/ |
D | imx6ul_tsc.c | 1 // SPDX-License-Identifier: GPL-2.0 14 #include <linux/delay.h> 111 reinit_completion(&tsc->completion); in imx6ul_adc_init() 113 adc_cfg = readl(tsc->adc_regs + REG_ADC_CFG); in imx6ul_adc_init() 118 if (tsc->average_enable) { in imx6ul_adc_init() 120 adc_cfg |= (tsc->average_select) << ADC_AVGS_SHIFT; in imx6ul_adc_init() 123 writel(adc_cfg, tsc->adc_regs + REG_ADC_CFG); in imx6ul_adc_init() 128 writel(adc_hc, tsc->adc_regs + REG_ADC_HC0); in imx6ul_adc_init() 131 adc_gc = readl(tsc->adc_regs + REG_ADC_GC); in imx6ul_adc_init() 133 if (tsc->average_enable) in imx6ul_adc_init() [all …]
|
D | ti_am335x_tsc.c | 4 * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ 26 #include <linux/delay.h> 35 #define MAX_12BIT ((1 << 12) - 1) 64 return readl(ts->mfd_tscadc->tscadc_base + reg); in titsc_readl() 70 writel(val, tsc->mfd_tscadc->tscadc_base + reg); in titsc_writel() 84 analog_line[i] = (ts_dev->config_inp[i] & 0xF0) >> 4; in titsc_config_wires() 85 wire_order[i] = ts_dev->config_inp[i] & 0x0F; in titsc_config_wires() 87 return -EINVAL; in titsc_config_wires() 89 return -EINVAL; in titsc_config_wires() 100 return -EINVAL; in titsc_config_wires() [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/mfd/ |
D | rockchip,rk817.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chris Zhong <zyw@rock-chips.com> 11 - Zhang Qing <zhangqing@rock-chips.com> 21 - rockchip,rk809 22 - rockchip,rk817 30 '#clock-cells': 32 See <dt-bindings/clock/rockchip,rk808.h> for clock IDs. 39 clock-names: [all …]
|
/linux-6.12.1/arch/arm64/boot/dts/sprd/ |
D | sc2731.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 12 spi-max-frequency = <26000000>; 14 interrupt-controller; 15 #interrupt-cells = <1>; 16 #address-cells = <1>; 17 #size-cells = <0>; 20 compatible = "sprd,sc2731-charger"; 22 monitored-battery = <&bat>; 25 led-controller@200 { 26 compatible = "sprd,sc2731-bltc"; [all …]
|
/linux-6.12.1/drivers/power/supply/ |
D | ltc2941-battery-gauge.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include <linux/devm-helpers.h> 19 #include <linux/delay.h> 26 #define LTC294X_WORK_DELAY 10 /* Update delay in seconds */ 77 int charge; /* Last charge register content */ member 85 return ((Q * (info->Qlsb / 10))) / 100; in convert_bin_to_uAh() 93 Q = (uAh * 100) / (info->Qlsb/10); in convert_uAh_to_bin() 104 msgs[0].addr = client->addr; in ltc294x_read_regs() 108 msgs[1].addr = client->addr; in ltc294x_read_regs() 113 ret = i2c_transfer(client->adapter, &msgs[0], 2); in ltc294x_read_regs() [all …]
|
D | cpcap-charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * Copyright (C) 2009-2010 Motorola, Inc. 30 #include <linux/mfd/motorola-cpcap.h> 37 * similar. Also see the Motorola Linux kernel cpcap-regbits.h. CPCAP_REG_CHRGR_1 44 #define CPCAP_REG_CRM_ICHRG_TR1 BIT(11) /* Trickle charge current */ 48 #define CPCAP_REG_CRM_VCHRG3 BIT(7) /* Charge voltage bits */ 52 #define CPCAP_REG_CRM_ICHRG3 BIT(3) /* Charge current bits */ 57 /* CPCAP_REG_CRM trickle charge voltages */ 65 * CPCAP_REG_CRM charge voltages based on the ADC channel 1 values. 88 * CPCAP_REG_CRM charge currents. These seem to match MC13783UG.pdf [all …]
|
D | rt5033_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #include <linux/devm-helpers.h> 18 #include <linux/mfd/rt5033-private.h> 45 struct regmap *regmap = charger->regmap; in rt5033_get_charger_state() 72 if (charger->otg) in rt5033_get_charger_state() 80 struct regmap *regmap = charger->regmap; in rt5033_get_charger_type() 102 struct regmap *regmap = charger->regmap; in rt5033_get_charger_current_limit() 118 struct regmap *regmap = charger->regmap; in rt5033_get_charger_const_voltage() 134 struct rt5033_charger_data *chg = &charger->chg; in rt5033_init_const_charge() 140 if (chg->const_uvolt < RT5033_CHARGER_CONST_VOLTAGE_LIMIT_MIN || in rt5033_init_const_charge() [all …]
|
D | 88pm860x_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 #include <linux/delay.h> 86 /* over-temperature on PM8606 setting */ 90 /* over-voltage protect on vchg setting mv */ 113 "battery-monitor", 121 ret = pm860x_bulk_read(info->i2c, PM8607_VCHG_MEAS1, 2, buf); in measure_vchg() 129 dev_dbg(info->dev, "%s, vchg: %d mv\n", __func__, *data); in measure_vchg() 144 pm860x_reg_write(info->i2c, PM8607_VCHG_LOWTH, data); in set_vchg_threshold() 145 dev_dbg(info->dev, "VCHG_LOWTH:%dmv, 0x%x\n", min, data); in set_vchg_threshold() 151 pm860x_reg_write(info->i2c, PM8607_VCHG_HIGHTH, data); in set_vchg_threshold() [all …]
|
/linux-6.12.1/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-dcb.c | 9 * Copyright (c) 2014-2016 Advanced Micro Devices, Inc. 34 * granted, free of charge, to any person obtaining a copy of this software 59 * Copyright (c) 2014-2016 Advanced Micro Devices, Inc. 94 * granted, free of charge, to any person obtaining a copy of this software 121 #include "xgbe-common.h" 129 ets->ets_cap = pdata->hw_feat.tc_cnt; in xgbe_dcb_ieee_getets() 131 if (pdata->ets) { in xgbe_dcb_ieee_getets() 132 ets->cbs = pdata->ets->cbs; in xgbe_dcb_ieee_getets() 133 memcpy(ets->tc_tx_bw, pdata->ets->tc_tx_bw, in xgbe_dcb_ieee_getets() 134 sizeof(ets->tc_tx_bw)); in xgbe_dcb_ieee_getets() [all …]
|
/linux-6.12.1/arch/arm/boot/dts/nxp/imx/ |
D | imx6qdl-tx6-mb7.dtsi | 2 * Copyright 2017 Lothar Waßmann <LW@KARO-electronics.de> 4 * This file is dual-licensed: you can use it either under the terms 20 * b) Permission is hereby granted, free of charge, to any person 45 turn-on-delay-ms = <35>; 46 power-supply = <®_lcd1_pwr>; 51 turn-on-delay-ms = <35>; 52 power-supply = <®_lcd1_pwr>; 55 lcd-panel { 57 pixelclk-active = <0>; 60 lvds0-panel { [all …]
|
/linux-6.12.1/sound/soc/codecs/ |
D | ak4375.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 #include <linux/delay.h> 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", [all …]
|
/linux-6.12.1/drivers/media/dvb-frontends/ |
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) 20 * @min_delay_ms: delay after tune 34 * ix2505v_attach - Attach a ix2505v tuner to the supplied frontend structure.
|
/linux-6.12.1/arch/arm/boot/dts/allwinner/ |
D | sun5i-a13.dtsi | 4 * Maxime Ripard <maxime.ripard@free-electrons.com> 6 * This file is dual-licensed: you can use it either under the terms 23 * b) Permission is hereby granted, free of charge, to any person 47 #include <dt-bindings/thermal/thermal.h> 50 thermal-zones { 51 cpu-thermal { 53 polling-delay-passive = <250>; 54 polling-delay = <1000>; 55 thermal-sensors = <&rtp>; 57 cooling-maps { [all …]
|