| /kernel/linux/linux-6.6/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 | imx6ul_tsc.txt | 4 - compatible: must be "fsl,imx6ul-tsc". 5 - reg: this touch controller address and the ADC2 address. 6 - interrupts: the interrupt of this touch controller and ADC2. 7 - clocks: the root clock of touch controller and ADC2. 8 - clock-names; must be "tsc" and "adc". 9 - xnur-gpio: the X- gpio this controller connect to. 10 This xnur-gpio returns to low once the finger leave the touch screen (The 14 - measure-delay-time: the value of measure delay time. 15 Before X-axis or Y-axis measurement, the screen need some time before 18 - pre-charge-time: the touch screen need some time to precharge. [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/touchscreen/ |
| D | ti-tsc-adc.txt | 1 * TI - TSC ADC (Touschscreen and analog digital converter) 5 - mfd 7 "ti,am3359-tscadc" for AM335x/AM437x SoCs 8 "ti,am654-tscadc", "ti,am3359-tscadc" for AM654 SoCs 9 - child "tsc" 10 compatible: Should be "ti,am3359-tsc". 13 ti,x-plate-resistance: X plate resistance 14 ti,coordinate-readouts: The sequencer supports a total of 16 23 ti,wire-config: Different boards could have a different order for 32 - child "adc" [all …]
|
| D | imx6ul_tsc.txt | 4 - compatible: must be "fsl,imx6ul-tsc". 5 - reg: this touch controller address and the ADC2 address. 6 - interrupts: the interrupt of this touch controller and ADC2. 7 - clocks: the root clock of touch controller and ADC2. 8 - clock-names; must be "tsc" and "adc". 9 - xnur-gpio: the X- gpio this controller connect to. 10 This xnur-gpio returns to low once the finger leave the touch screen (The 14 - measure-delay-time: the value of measure delay time. 15 Before X-axis or Y-axis measurement, the screen need some time before 18 - pre-charge-time: the touch screen need some time to precharge. [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 <mach/pxa2xx-regs.h> 28 #include "regs-rtc.h" 177 /* max1111 accepts channels from 0-3, however, in sharpsl_pm_pxa_read_max1111() 178 * it is encoded from 0-7 here in the code. in sharpsl_pm_pxa_read_max1111() [all …]
|
| D | corgi_pm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Battery and Power Management code for the Sharp SL-C7xx 12 #include <linux/delay.h> 14 #include <linux/gpio-pxa.h> 17 #include <linux/apm-emulation.h> 21 #include <asm/mach-types.h> 25 #include <mach/pxa2xx-regs.h> 101 if (sharpsl_pm.machinfo->read_devdata(SHARPSL_STATUS_ACIN)) { in corgi_should_wakeup() 102 /* charge on */ in corgi_should_wakeup() 106 /* charge off */ in corgi_should_wakeup() [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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()
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/include/linux/mfd/ |
| D | ti_am335x_tscadc.h | 7 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 94 /* Delay register */ 102 /* Charge Config */ 115 /* Charge delay */ 152 * max num cycles = open delay + (sample delay + conv time) * averaging 171 int used_cells; /* 1-2 */ 173 int tsc_cell; /* -1 if not used */ 174 int adc_cell; /* -1 if not used */ 192 struct ti_tscadc_dev **tscadc_dev = p->dev.platform_data; in ti_tscadc_dev_get()
|
| /kernel/linux/linux-5.10/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()
|
| /kernel/linux/linux-6.6/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()
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | wm8903.txt | 7 - compatible : "wlf,wm8903" 9 - reg : the I2C address of the device. 11 - gpio-controller : Indicates this device is a GPIO controller. 13 - #gpio-cells : Should be two. The first cell is the pin number and the 18 - interrupts : The interrupt line the codec is connected to. 20 - micdet-cfg : Default register value for R6 (Mic Bias). If absent, the 23 - micdet-delay : The debounce delay for microphone detection in mS. If 26 - gpio-cfg : A list of GPIO configuration register values. The list must 31 - AVDD-supply : Analog power supply regulator on the AVDD pin. 33 - CPVDD-supply : Charge pump supply regulator on the CPVDD pin. [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/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,rk817 29 '#clock-cells': 31 See <dt-bindings/clock/rockchip,rk808.h> for clock IDs. 35 clock-output-names: 39 rockchip,system-power-controller: [all …]
|
| /kernel/linux/linux-5.10/include/linux/power/ |
| D | generic-adc-battery.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 10 * struct gab_platform_data - platform_data for generic adc iio battery driver. 13 * @cal_charge: calculate charge level. 16 * @jitter_delay: delay required after the interrupt to check battery
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/ |
| D | rohm,bd70528-pmic.txt | 3 BD70528MWV is an ultra-low quiescent current general purpose, single-chip, 4 power management IC for battery-powered portable devices. The IC 5 integrates 3 ultra-low current consumption buck converters, 3 LDOs and 2 6 LED Drivers. Also included are 4 GPIOs, a real-time clock (RTC), a 32kHz 7 clock gate, high-accuracy VREF for use with an external ADC, flexible 8 dual-input power path, 10 bit SAR ADC for battery temperature monitor and 9 1S battery charger with scalable charge currents. 12 - compatible : Should be "rohm,bd70528" 13 - reg : I2C slave address. 14 - interrupts : The interrupt line the device is connected to. [all …]
|
| /kernel/linux/linux-5.10/drivers/power/supply/ |
| D | ltc2941-battery-gauge.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 #include <linux/delay.h> 25 #define LTC294X_WORK_DELAY 10 /* Update delay in seconds */ 76 int charge; /* Last charge register content */ member 84 return ((Q * (info->Qlsb / 10))) / 100; in convert_bin_to_uAh() 92 Q = (uAh * 100) / (info->Qlsb/10); in convert_uAh_to_bin() 103 msgs[0].addr = client->addr; in ltc294x_read_regs() 107 msgs[1].addr = client->addr; in ltc294x_read_regs() 112 ret = i2c_transfer(client->adapter, &msgs[0], 2); in ltc294x_read_regs() 114 dev_err(&client->dev, "ltc2941 read_reg failed!\n"); in ltc294x_read_regs() [all …]
|