/openbmc/linux/Documentation/devicetree/bindings/input/touchscreen/ |
H A D | azoteq,iqs7211.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS7210A, IQS7211A and IQS7211E trackpad and touchscreen control- 14 lers employ projected-capacitance sensing and can track two contacts. 21 - azoteq,iqs7210a 22 - azoteq,iqs7211a 23 - azoteq,iqs7211e 28 irq-gpios: [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/input/ |
H A D | iqs626a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Azoteq IQS626A Capacitive Touch Controller 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS626A is a 14-channel capacitive touch controller that features 14 additional Hall-effect and inductive sensing capabilities. 19 - $ref: touchscreen/touchscreen.yaml# 31 "#address-cells": 34 "#size-cells": [all …]
|
H A D | iqs269a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Azoteq IQS269A Capacitive Touch Controller 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS269A is an 8-channel capacitive touch controller that features 14 additional Hall-effect and inductive sensing capabilities. 28 "#address-cells": 31 "#size-cells": 34 azoteq,hall-enable: [all …]
|
H A D | azoteq,iqs7222.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: Azoteq IQS7222A/B/C/D Capacitive Touch Controller 10 - Jeff LaBundy <jeff@labundy.com> 14 capacitive touch controllers that feature additional sensing capabilities. 21 - azoteq,iqs7222a 22 - azoteq,iqs7222b 23 - azoteq,iqs7222c 24 - azoteq,iqs7222d [all …]
|
/openbmc/linux/drivers/input/mouse/ |
H A D | synaptics_i2c.c | 29 * after soft reset, we should wait for 1 ms 33 /* and after hard reset, we should wait for max 500ms */ 182 * reduce the polling rate to NO_DATA_SLEEP_MSECS 212 /* Control Polling Rate */ 215 MODULE_PARM_DESC(scan_rate, "Polling rate in times/sec. Default = 80"); 230 static inline void set_scan_rate(struct synaptics_i2c *touch, int scan_rate) in set_scan_rate() argument 232 touch->scan_ms = MSEC_PER_SEC / scan_rate; in set_scan_rate() 233 touch->scan_rate_param = scan_rate; in set_scan_rate() 279 /* set Report Rate to Device Highest (>=80) and Sleep to normal */ in synaptics_i2c_config() 311 dev_err(&client->dev, "Unable to reset device\n"); in synaptics_i2c_reset_config() [all …]
|
H A D | cyapa_gen3.c | 9 * Copyright (C) 2011-2015 Cypress Semiconductor, Inc. 10 * Copyright (C) 2011-2012 Google, Inc. 60 * Used in register 0x00, bit1-0, DeviceStatus field. 88 * bit 7 - 4: high 4 bits of x position value 89 * bit 3 - 0: high 4 bits of y position value 95 /* id range is 1 - 15. It is incremented with every new touch. */ 101 * bit 0 - 1: device status 102 * bit 3 - 2: power mode 103 * bit 6 - 4: reserved 108 * bit 7 - 4: number of fingers currently touching pad [all …]
|
H A D | cyapa.c | 9 * Copyright (C) 2011-2015 Cypress Semiconductor, Inc. 10 * Copyright (C) 2011-2012 Google, Inc. 46 if (cyapa->gen == CYAPA_GEN6 && cyapa->state == CYAPA_STATE_GEN6_BL) in cyapa_is_pip_bl_mode() 49 if (cyapa->gen == CYAPA_GEN5 && cyapa->state == CYAPA_STATE_GEN5_BL) in cyapa_is_pip_bl_mode() 57 if (cyapa->gen == CYAPA_GEN6 && cyapa->state == CYAPA_STATE_GEN6_APP) in cyapa_is_pip_app_mode() 60 if (cyapa->gen == CYAPA_GEN5 && cyapa->state == CYAPA_STATE_GEN5_APP) in cyapa_is_pip_app_mode() 71 if (cyapa->gen == CYAPA_GEN3 && in cyapa_is_bootloader_mode() 72 cyapa->state >= CYAPA_STATE_BL_BUSY && in cyapa_is_bootloader_mode() 73 cyapa->state <= CYAPA_STATE_BL_ACTIVE) in cyapa_is_bootloader_mode() 84 if (cyapa->gen == CYAPA_GEN3 && cyapa->state == CYAPA_STATE_OP) in cyapa_is_operational_mode() [all …]
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | iqs7211.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 52 * The following delay is used during instances that must wait for the open- 124 .name = "event-prox", 131 .name = "event-touch", 138 .name = "event-tap", 145 .name = "event-hold", 152 .name = "event-swipe-x-neg", 159 .name = "event-swipe-x-pos", 166 .name = "event-swipe-y-pos", 173 .name = "event-swipe-y-neg", [all …]
|
/openbmc/linux/arch/arm/boot/dts/renesas/ |
H A D | r8a7745-iwg22d-sodimm.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree Source for the iWave-RZG1E SODIMM carrier board 9 * SSI-SGTL5000 23 * amixer set "DVC Out Ramp Up Rate" "0.125 dB/64 steps" 24 * amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps" 31 /dts-v1/; 32 #include "r8a7745-iwg22m.dtsi" 33 #include <dt-bindings/pwm/pwm.h> 36 model = "iWave Systems RainboW-G22D-SODIMM board based on RZ/G1E"; 47 stdout-path = "serial3:115200n8"; [all …]
|
/openbmc/linux/sound/soc/codecs/ |
H A D | ssm2518.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Author: Lars-Peter Clausen <lars@metafoo.de> 141 static const DECLARE_TLV_DB_MINMAX_MUTE(ssm2518_vol_tlv, -7125, 2400); 142 static const DECLARE_TLV_DB_SCALE(ssm2518_compressor_tlv, -3400, 200, 0); 143 static const DECLARE_TLV_DB_SCALE(ssm2518_expander_tlv, -8100, 300, 0); 144 static const DECLARE_TLV_DB_SCALE(ssm2518_noise_gate_tlv, -9600, 300, 0); 145 static const DECLARE_TLV_DB_SCALE(ssm2518_post_drc_tlv, -2400, 300, 0); 148 0, 7, TLV_DB_SCALE_ITEM(-2200, 200, 0), 149 7, 15, TLV_DB_SCALE_ITEM(-800, 100, 0), 153 "0 ms", "0.1 ms", "0.19 ms", "0.37 ms", "0.75 ms", "1.5 ms", "3 ms", [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 | tas5086.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * - implement DAPM and input muxing 9 * - implement modulation limit 10 * - implement non-default PWM start 13 * because the registers are of unequal size, and multi-byte registers 17 * Currently, the driver does not touch any of the registers >= 0x20, so 18 * it doesn't matter because the entire map can be accessed as 8-bit 21 * routines have to be open-coded. 71 #define TAS5086_CHANNEL_VOL(X) (0x08 + (X)) /* Channel 1-6 volume */ 89 * Default TAS5086 power-up configuration [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 …]
|
/openbmc/linux/Documentation/hwmon/ |
H A D | ina2xx.rst | 10 Addresses: I2C 0x40 - 0x4f 20 Addresses: I2C 0x40 - 0x4f 30 Addresses: I2C 0x40 - 0x4f 40 Addresses: I2C 0x40 - 0x4f 50 Addresses: I2C 0x40 - 0x4f 59 ----------- 61 The INA219 is a high-side current shunt and power monitor with an I2C 75 The shunt value in micro-ohms can be set via platform data or device tree at 76 compile-time or via the shunt_resistor attribute in sysfs at run-time. Please 81 Documentation/hwmon/sysfs-interface.rst. Internally the interval is the sum of [all …]
|
/openbmc/linux/arch/arm/boot/dts/st/ |
H A D | ste-href-tvk1281618-r3.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/input/input.h> 12 compatible = "gpio-keys"; 13 #address-cells = <1>; 14 #size-cells = <0>; 15 vdd-supply = <&ab8500_ldo_aux1_reg>; 16 pinctrl-names = "default"; 17 pinctrl-0 = <&hall_tvk_mode>; 32 interrupt-parent = <&gpio2>; [all …]
|
/openbmc/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6dl-victgo.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 7 /dts-v1/; 9 #include "imx6qdl-vicut1.dtsi" 15 gpio-keys { 16 compatible = "gpio-keys"; 17 pinctrl-names = "default"; 18 pinctrl-0 = <&pinctrl_gpiokeys>; 21 key-power { 25 wakeup-source; 28 key-enter { [all …]
|
/openbmc/linux/drivers/input/misc/ |
H A D | iqs626a.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Azoteq IQS626A Capacitive Touch Controller 8 * inductive keys as well as Hall-effect switches, and one for a trackpad that 227 .name = "event-prox", 233 .name = "event-prox-alt", 240 .name = "event-touch", 246 .name = "event-touch-alt", 253 .name = "event-deep", 259 .name = "event-deep-alt", 367 .name = "ulp-0", [all …]
|
H A D | iqs7222.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Azoteq IQS7222A/B/C/D Capacitive Touch Controller 116 [IQS7222_REG_GRP_CYCLE] = "cycle-%d", 117 [IQS7222_REG_GRP_CHAN] = "channel-%d", 118 [IQS7222_REG_GRP_SLDR] = "slider-%d", 120 [IQS7222_REG_GRP_GPIO] = "gpio-%d", 150 .name = "event-prox", 155 .name = "event-touch", 162 { .name = "event-press", }, 164 .name = "event-tap", [all …]
|
H A D | iqs269a.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Azoteq IQS269A Capacitive Touch Controller 8 * inductive keys as well as Hall-effect switches, and one for each of the two 193 .name = "event-prox", 199 .name = "event-prox-alt", 206 .name = "event-touch", 212 .name = "event-touch-alt", 219 .name = "event-deep", 225 .name = "event-deep-alt", 301 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; in iqs269_ati_mode_set() [all …]
|
/openbmc/linux/drivers/input/rmi4/ |
H A D | rmi_f01.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2011-2016 Synaptics Incorporated 87 * When this bit is set, the touch controller employs a noise-filtering 93 * Sets the report rate for the device. The effect of this setting is 95 * touch sensor. 106 * struct f01_device_control - controls basic sensor functions 110 * when the touch sensor is in doze mode, in units of 10ms. 111 * @wakeup_threshold: controls the capacitance threshold at which the touch 113 * @doze_holdoff: controls how long the touch sensor waits after the last 114 * finger lifts before entering the doze state, in units of 100ms. [all …]
|
/openbmc/linux/drivers/iio/adc/ |
H A D | at91_adc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 39 #define AT91_ADC_TSAMOD_TS_ONLY_MODE (1 << 0) /* Touch Screen Only Mode */ 49 #define AT91_ADC_PRESCAL_9260 (0x3f << 8) /* Prescalar Rate Selection */ 102 #define AT91_ADC_ACR_PENDETSENS (0x3 << 0) /* pull-up resistor */ 105 #define AT91_ADC_TSMR_TSMODE (3 << 0) /* Touch Screen Mode */ 136 (st->registers->channel_base + (ch * 4)) 138 (readl_relaxed(st->reg_base + reg)) 140 (writel_relaxed(val, st->reg_base + reg)) 145 #define TOUCH_SAMPLE_PERIOD_US 2000 /* 2ms */ 149 #define TOUCH_SAMPLE_PERIOD_US_RL 10000 /* 10ms, the SoC can't keep up with 2ms */ [all …]
|
H A D | at91-sama5d2_adc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #include <linux/dma-mapping.h> 31 #include <linux/nvmem-consumer.h> 36 #include <dt-bindings/iio/adc/at91-sama5d2_adc.h> 74 /* Prescaler Rate Selection */ 110 /* Interrupt Enable Register - TS X measurement ready */ 112 /* Interrupt Enable Register - TS Y measurement ready */ 114 /* Interrupt Enable Register - TS pressure measurement ready */ 116 /* Interrupt Enable Register - Data ready */ 118 /* Interrupt Enable Register - general overrun error */ [all …]
|
/openbmc/linux/drivers/hid/ |
H A D | hid-multitouch.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (c) 2010-2012 Stephane Chatty <chatty@enac.fr> 6 * Copyright (c) 2010-2013 Benjamin Tissoires <benjamin.tissoires@gmail.com> 7 * Copyright (c) 2010-2012 Ecole Nationale de l'Aviation Civile, France 8 * Copyright (c) 2012-2013 Red Hat, Inc 10 * This code is partly based on hid-egalax.c: 16 * This code is partly based on hid-3m-pct.c: 18 * Copyright (c) 2009-2010 Stephane Chatty <chatty@enac.fr> 27 * This driver is regularly tested thanks to the test suite in hid-tools[1]. 31 * [1] https://gitlab.freedesktop.org/libevdev/hid-tools [all …]
|
/openbmc/linux/arch/arm/boot/dts/nvidia/ |
H A D | tegra20-asus-tf101.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/atmel-maxtouch.h> 5 #include <dt-bindings/input/gpio-keys.h> 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/thermal/thermal.h> 10 #include "tegra20-cpu-opp.dtsi" 11 #include "tegra20-cpu-opp-microvolt.dtsi" 16 chassis-type = "convertible"; 33 * pre-existing /chosen node to be available to insert the [all …]
|
/openbmc/linux/drivers/watchdog/ |
H A D | wdt.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * (c) Copyright 1996-1997 Alan Cox <alan@lxorguk.ukuu.org.uk>, 10 * "AS-IS" and at no charge. 71 /* You must set these - there is no sane way to probe for this board. */ 82 /* Support for the Fan Tachometer on the WDT501-P */ 86 "WDT501-P Fan Tachometer support (0=disable, default=0)"); 91 "WDT501-P Card type (500 or 501, default=500)"); 125 Rate Generator */ in wdt_start() 166 wdt_ctr_mode(1, 2); /* Re-Program CTR1 for Mode 2: in wdt_ping() 167 Rate Generator */ in wdt_ping() [all …]
|