/linux/Documentation/hwmon/ |
H A D | mc13783-adc.rst | 1 Kernel driver mc13783-adc 10 Datasheet: https://www.nxp.com/docs/en/data-sheet/MC13783.pdf 16 Datasheet: https://www.nxp.com/docs/en/data-sheet/MC13892.pdf 22 - Sascha Hauer <s.hauer@pengutronix.de> 23 - Luotao Fu <l.fu@pengutronix.de> 26 ----------- 29 Among other things they contain a 10-bit A/D converter. The converter has 16 42 - MC13783: 47 0 Battery Voltage (BATT) 2.50 - 4.65V -2.40V 48 1 Battery Current (BATT - BATTISNS) -50 - 50 mV x20 [all …]
|
/linux/Documentation/devicetree/bindings/input/touchscreen/ |
H A D | touchscreen.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Dmitry Torokhov <dmitry.torokhov@gmail.com> 20 touchscreen-min-x: 25 touchscreen-min-y: 26 description: minimum y coordinate reported 30 touchscreen-size-x: 34 touchscreen-size-y: 35 description: vertical resolution of touchscreen (maximum y coordinate reported + 1) [all …]
|
H A D | ti,ads7843.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Alexander Stein <alexander.stein@ew.tq-group.com> 11 - Dmitry Torokhov <dmitry.torokhov@gmail.com> 12 - Marek Vasut <marex@denx.de> 21 - ti,ads7843 22 - ti,ads7845 23 - ti,ads7846 24 - ti,ads7873 [all …]
|
H A D | bu21029.txt | 4 - compatible : must be "rohm,bu21029" 5 - reg : i2c device address of the chip (0x40 or 0x41) 6 - interrupt-parent : the phandle for the gpio controller 7 - interrupts : (gpio) interrupt to which the chip is connected 8 - rohm,x-plate-ohms : x-plate resistance in Ohm 11 - reset-gpios : gpio pin to reset the chip (active low) 12 - touchscreen-size-x : horizontal resolution of touchscreen (in pixels) 13 - touchscreen-size-y : vertical resolution of touchscreen (in pixels) 14 - touchscreen-max-pressure: maximum pressure value 15 - vdd-supply : power supply for the controller [all …]
|
H A D | ti,tsc2005.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Marek Vasut <marex@denx.de> 11 - Michael Welling <mwelling@ieee.org> 19 - ti,tsc2004 20 - ti,tsc2005 31 reset-gpios: 35 spi-max-frequency: 39 ti,x-plate-ohms: [all …]
|
H A D | resistive-adc-touch.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/touchscreen/resistive-adc-touch.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Oleksij Rempel <o.rempel@pengutronix.de> 18 - $ref: touchscreen.yaml# 22 const: resistive-adc-touch 24 io-channels: 27 - description: x 28 - description: y [all …]
|
H A D | adi,ad7879.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: Analog Devices AD7879(-1)/AD7889(-1) touchscreen interface (SPI/I2C) 10 - Frank Li <Frank.Li@nxp.com> 16 for I2C slave, use "adi,ad7879-1" 18 - adi,ad7879 19 - adi,ad7879-1 27 touchscreen-max-pressure: 31 adi,resistance-plate-x: [all …]
|
H A D | tsc2007.txt | 4 - compatible: must be "ti,tsc2007". 5 - reg: I2C address of the chip. 6 - ti,x-plate-ohms: X-plate resistance in ohms. 9 - gpios: the interrupt gpio the chip is connected to (through the penirq pin). 12 - interrupts: (gpio) interrupt to which the chip is connected 14 - ti,max-rt: maximum pressure. 15 - ti,fuzzx: specifies the absolute input fuzz x value. 16 If set, it will permit noise in the data up to +- the value given to the fuzz 18 - ti,fuzzy: specifies the absolute input fuzz y value. 19 - ti,fuzzz: specifies the absolute input fuzz z value. [all …]
|
H A 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: 23 description: X plate resistance 26 ti,coordinate-readouts: 30 X, 5 for Y and 2 for Z (always). This utilises 12 of the 16 software steps [all …]
|
/linux/drivers/mfd/ |
H A D | ucb1x00-ts.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Touchscreen driver for UCB1x00-based touchscreens 8 * 21-Jan-2002 <jco@ict.es> : 34 #include <asm/mach-types.h> 54 static inline void ucb1x00_ts_evt_add(struct ucb1x00_ts *ts, u16 pressure, u16 x, u16 y) in ucb1x00_ts_evt_add() argument 56 struct input_dev *idev = ts->idev; in ucb1x00_ts_evt_add() 59 input_report_abs(idev, ABS_Y, y); in ucb1x00_ts_evt_add() 67 struct input_dev *idev = ts->idev; in ucb1x00_ts_event_release() 79 ucb1x00_reg_write(ts->ucb, UCB_TS_CR, in ucb1x00_ts_mode_int() 92 ucb1x00_io_write(ts->ucb, COLLIE_TC35143_GPIO_TBL_CHK, 0); in ucb1x00_ts_read_pressure() [all …]
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx53-sk-imx53-atm0700d4.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 5 /dts-v1/; 7 #include <dt-bindings/pwm/pwm.h> 8 #include "imx53-sk-imx53.dts" 11 panel: panel-rgb { 12 compatible = "powertip,ph800480t013-idf02"; 21 compatible = "spi-gpio"; 22 #address-cells = <0x1>; 23 #size-cells = <0x0>; 25 num-chipselects = <1>; [all …]
|
H A D | imx6qdl-skov-cpu-revc.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 compatible = "resistive-adc-touch"; 8 io-channels = <&adc_ts 1>, <&adc_ts 3>, <&adc_ts 4>, <&adc_ts 5>; 9 io-channel-names = "y", "z1", "z2", "x"; 10 touchscreen-min-pressure = <65000>; 11 touchscreen-inverted-y; 12 touchscreen-swapped-x-y; 13 touchscreen-x-plate-ohms = <300>; 14 touchscreen-y-plate-ohms = <800>; 19 pinctrl-names = "default"; [all …]
|
H A D | imx7d-pico-hobbit.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 #include "imx7d-pico.dtsi" 8 model = "TechNexion PICO-IMX7D Board using Hobbit baseboard"; 9 compatible = "technexion,imx7d-pico-hobbit", "fsl,imx7d"; 12 compatible = "gpio-leds"; 13 pinctrl-names = "default"; 14 pinctrl-0 = <&pinctrl_gpio_leds>; 17 label = "gpio-led"; 23 compatible = "simple-audio-card"; 24 simple-audio-card,name = "imx7-sgtl5000"; [all …]
|
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 …]
|
H A D | imx6dl-plym2m.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 7 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/leds/common.h> 17 stdout-path = &uart4; 21 compatible = "pwm-backlight"; 23 brightness-levels = <0 1000>; 24 num-interpolated-steps = <20>; 25 default-brightness-level = <19>; 26 power-supply = <®_12v0>; [all …]
|
H A D | imx6dl-prtvt7.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 /dts-v1/; 8 #include "imx6qdl-prti6q.dtsi" 9 #include <dt-bindings/display/sdtv-standards.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/sound/fsl-imx-audmux.h> 23 backlight_lcd: backlight-lcd { 24 compatible = "pwm-backlight"; 26 brightness-levels = <0 20 81 248 1000>; [all …]
|
/linux/drivers/input/touchscreen/ |
H A D | resistive-adc-touch.c | 1 // SPDX-License-Identifier: GPL-2.0 21 #define DRIVER_NAME "resistive-adc-touch" 37 * struct grts_state - generic resistive touch screen information struct 38 * @x_plate_ohms: resistance of the X plate 62 unsigned int x, y, press = 0; in grts_cb() local 64 x = touch_info[st->ch_map[GRTS_CH_X]]; in grts_cb() 65 y = touch_info[st->ch_map[GRTS_CH_Y]]; in grts_cb() 67 if (st->ch_map[GRTS_CH_PRESSURE] < GRTS_MAX_CHANNELS) { in grts_cb() 68 press = touch_info[st->ch_map[GRTS_CH_PRESSURE]]; in grts_cb() 69 } else if (st->ch_map[GRTS_CH_Z1] < GRTS_MAX_CHANNELS) { in grts_cb() [all …]
|
H A D | tsc2007_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * - ads7846.c 12 * - corgi_ts.c 13 * Copyright (C) 2004-2005 Richard Purdie 14 * - omap_ts.[hc], ads7846.h, ts_osk.c 36 data = i2c_smbus_read_word_data(tsc->client, cmd); in tsc2007_xfer() 38 dev_err(&tsc->client->dev, "i2c io error: %d\n", data); in tsc2007_xfer() 44 * Where DataLow has [D11-D4], DataHigh has [D3-D0 << 4 | Dummy 4bit]. in tsc2007_xfer() 48 dev_dbg(&tsc->client->dev, "data: 0x%x, val: 0x%x\n", data, val); in tsc2007_xfer() 55 /* y- still on; turn on only y+ (and ADC) */ in tsc2007_read_values() [all …]
|
H A D | ti_am335x_tsc.c | 4 * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ 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() 103 ts_dev->bit_xp = bit_cfg; in titsc_config_wires() [all …]
|
H A D | ad7879.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2008-2010 Michael Hennerich, Analog Devices Inc. 13 * - corgi_ts.c 14 * Copyright (C) 2004-2005 Richard Purdie 15 * - omap_ts.[hc], ads7846.h, ts_osk.c 19 * - ad7877.c 20 * Copyright (C) 2006-2008 Analog Devices Inc. 67 #define AD7879_SER (1 << 9) /* non-differential */ 103 #define MAX_12BIT ((1<<12)-1) 116 bool disabled; /* P: input->mutex */ [all …]
|
/linux/arch/arm/boot/dts/microchip/ |
H A D | at91sam9261ek.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * at91sam9261ek.dts - Device Tree file for Atmel at91sam9261 reference board 5 * Copyright (C) 2013 Jean-Jacques Hiblot <jjhiblot@traphandler.com> 7 /dts-v1/; 16 stdout-path = "serial0:115200n8"; 25 clock-frequency = <32768>; 29 clock-frequency = <18432000>; 40 atmel,power-control-gpio = <&pioA 12 GPIO_ACTIVE_LOW>; 44 bits-per-pixel = <16>; 45 atmel,lcdcon-backlight; [all …]
|
/linux/arch/arm/boot/dts/ti/omap/ |
H A D | omap3-panel-sharp-ls037v7dw01.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 * at minimum the GPIO enable-gpios for display, and 7 * gpios for gpio-backlight. 16 compatible = "gpio-backlight"; 17 default-on; 21 lcd_3v3: regulator-lcd-3v3 { 22 compatible = "regulator-fixed"; 23 regulator-name = "lcd_3v3"; 24 regulator-min-microvolt = <3300000>; 25 regulator-max-microvolt = <3300000>; [all …]
|
H A D | omap3-devkit8000-lcd-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include "omap3-devkit8000-common.dtsi" 15 compatible = "panel-dpi"; 18 enable-gpios = <&twl_gpio 18 GPIO_ACTIVE_HIGH>; 22 remote-endpoint = <&dpi_lcd_out>; 30 #address-cells = <1>; 31 #size-cells = <0>; 34 remote-endpoint = <&lcd_in>; 35 data-lines = <24>; 41 regulator-min-microvolt = <1800000>; [all …]
|
H A D | omap3-overo-common-lcd43.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 11 dss_dpi_pins: dss-dpi-pins { 12 pinctrl-single,pins = < 44 lte430_pins: lte430-pins { 45 pinctrl-single,pins = < 50 backlight_pins: backlight-pins { 51 pinctrl-single,pins = < 56 mcspi1_pins: mcspi1-pins { 57 pinctrl-single,pins = < 65 ads7846_pins: ads7846-pins { [all …]
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8mp-skov-revb-lt6.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 /dts-v1/; 5 #include "imx8mp-skov-reva.dtsi" 8 model = "SKOV IMX8MP CPU revB - LT6"; 9 compatible = "skov,imx8mp-skov-revb-lt6", "fsl,imx8mp"; 12 compatible = "resistive-adc-touch"; 13 io-channels = <&adc_ts 1>, <&adc_ts 3>, <&adc_ts 4>, <&adc_ts 5>; 14 io-channel-names = "y", "z1", "z2", "x"; 15 touchscreen-min-pressure = <65000>; 16 touchscreen-inverted-y; [all …]
|