/openbmc/linux/drivers/platform/x86/ |
H A D | touchscreen_dmi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Touchscreen driver DMI based configuration code 21 /* The EFI embedded-fw code expects this to be the first member! */ 30 PROPERTY_ENTRY_U32("touchscreen-size-x", 1850), 31 PROPERTY_ENTRY_U32("touchscreen-size-y", 1280), 32 PROPERTY_ENTRY_BOOL("touchscreen-inverted-y"), 33 PROPERTY_ENTRY_BOOL("touchscreen-swapped-x-y"), 34 PROPERTY_ENTRY_U32("silead,max-fingers", 10), 35 PROPERTY_ENTRY_BOOL("silead,home-button"), 36 PROPERTY_ENTRY_STRING("firmware-name", "gsl1680-archos-101-cesium-educ.fw"), [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/input/touchscreen/ |
H A D | ads7846.txt | 7 Documentation/devicetree/bindings/spi/spi-bus.txt 23 vcc-supply A regulator node for the supply voltage. 28 ti,vref-delay-usecs vref supply delay in usecs, 0 for 30 ti,vref-mv The VREF voltage, in millivolts (u16). 33 ti,keep-vref-on set to keep vref on for differential 35 ti,settle-delay-usec Settling time of the analog signals; 37 on the X/Y drivers. If set to non-zero, 41 ti,penirq-recheck-delay-usecs If set to non-zero, after samples are 47 ti,x-plate-ohms Resistance of the X-plate, 49 ti,y-plate-ohms Resistance of the Y-plate, [all …]
|
H A D | touchscreen.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/input/touchscreen/touchscreen.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Common touchscreen 10 - Dmitry Torokhov <dmitry.torokhov@gmail.com> 14 description: If this touchscreen is integrally connected to a panel, this 16 that the touchscreen should be power sequenced together with the panel 20 touchscreen-min-x: 21 description: minimum x coordinate reported [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# 7 title: Generic resistive touchscreen ADC 10 - Oleksij Rempel <o.rempel@pengutronix.de> 13 Generic ADC based resistive touchscreen controller 18 - $ref: touchscreen.yaml# 22 const: resistive-adc-touch 24 io-channels: [all …]
|
H A D | colibri-vf50-ts.txt | 1 * Toradex Colibri VF50 Touchscreen driver 4 - compatible must be toradex,vf50-touchscreen 5 - io-channels: adc channels being used by the Colibri VF50 module 6 IIO ADC for Y-, X-, Y+, X+ connections 7 - xp-gpios: FET gate driver for input of X+ 8 - xm-gpios: FET gate driver for input of X- 9 - yp-gpios: FET gate driver for input of Y+ 10 - ym-gpios: FET gate driver for input of Y- 11 - interrupts: pen irq interrupt for touch detection, signal from X plate 12 - pinctrl-names: "idle", "default" [all …]
|
/openbmc/linux/drivers/input/ |
H A D | touchscreen.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Generic helper functions for touchscreens and other two-dimensional 12 #include <linux/input/touchscreen.h> 35 int min, int max, int fuzz) in touchscreen_set_params() argument 39 if (!test_bit(axis, dev->absbit)) { in touchscreen_set_params() 40 dev_warn(&dev->dev, in touchscreen_set_params() 46 absinfo = &dev->absinfo[axis]; in touchscreen_set_params() 47 absinfo->minimum = min; in touchscreen_set_params() 48 absinfo->maximum = max; in touchscreen_set_params() 49 absinfo->fuzz = fuzz; in touchscreen_set_params() [all …]
|
/openbmc/linux/drivers/input/rmi4/ |
H A D | rmi_2d_sensor.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2011-2016 Synaptics Incorporated 16 #define RMI_2D_REL_POS_MIN -128 26 struct rmi_2d_axis_alignment *axis_align = &sensor->axis_align; in rmi_2d_sensor_abs_process() 29 if (obj->type == RMI_2D_OBJECT_NONE) in rmi_2d_sensor_abs_process() 32 if (axis_align->flip_x) in rmi_2d_sensor_abs_process() 33 obj->x = sensor->max_x - obj->x; in rmi_2d_sensor_abs_process() 35 if (axis_align->flip_y) in rmi_2d_sensor_abs_process() 36 obj->y = sensor->max_y - obj->y; in rmi_2d_sensor_abs_process() 38 if (axis_align->swap_axes) in rmi_2d_sensor_abs_process() [all …]
|
/openbmc/linux/arch/arm/boot/dts/ti/omap/ |
H A D | am3517-som.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Based on am3517-evm.dts 11 cpu0-supply = <&vdd_core_reg>; 16 compatible = "regulator-fixed"; 17 regulator-name = "wl1271_buf"; 18 regulator-min-microvolt = <1800000>; 19 regulator-max-microvolt = <1800000>; 20 pinctrl-names = "default"; 21 pinctrl-0 = <&wl12xx_buffer_pins>; 23 regulator-always-on; [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | am3517-som.dtsi | 4 * Based on am3517-evm.dts 14 cpu0-supply = <&vdd_core_reg>; 19 compatible = "regulator-fixed"; 20 regulator-name = "wl1271_buf"; 21 regulator-min-microvolt = <1800000>; 22 regulator-max-microvolt = <1800000>; 23 pinctrl-names = "default"; 24 pinctrl-0 = <&wl12xx_buffer_pins>; 26 regulator-always-on; 27 vin-supply = <&vdd_1v8_reg>; [all …]
|
H A D | sun4i-a10-pov-protab2-ips9.dts | 4 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 44 #include "sun4i-a10.dtsi" 45 #include "sunxi-common-regulators.dtsi" 46 #include <dt-bindings/gpio/gpio.h> 47 #include <dt-bindings/input/input.h> 48 #include <dt-bindings/interrupt-controller/irq.h> 49 #include <dt-bindings/pwm/pwm.h> 52 model = "Point of View Protab2-IPS9"; 53 compatible = "pov,protab2-ips9", "allwinner,sun4i-a10"; [all …]
|
H A D | sun8i-reference-design-tablet.dtsi | 4 * This file is dual-licensed: you can use it either under the terms 42 #include "sunxi-reference-design-tablet.dtsi" 44 #include <dt-bindings/pwm/pwm.h> 52 compatible = "pwm-backlight"; 54 brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>; 55 default-brightness-level = <8>; 56 enable-gpios = <&pio 7 6 GPIO_ACTIVE_HIGH>; /* PH6 */ 60 stdout-path = "serial0:115200n8"; 70 clock-frequency = <400000>; 72 touchscreen: touchscreen@0 { label [all …]
|
/openbmc/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6qdl-skov-cpu-revc.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 touchscreen { 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>; [all …]
|
H A D | imx6q-var-dt6customboard.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Support for Variscite DART-MX6 Carrier-board 9 /dts-v1/; 12 #include "imx6qdl-var-dart.dtsi" 13 #include <dt-bindings/input/linux-event-codes.h> 16 model = "Variscite DART-MX6 Carrier-board"; 20 compatible = "pwm-backlight"; 22 brightness-levels = <0 4 8 16 32 64 128 248>; 23 default-brightness-level = <7>; 27 gpio-keys { [all …]
|
H A D | imx6qdl-zii-rdu2.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 * Copyright (C) 2016-2017 Zodiac Inflight Innovations 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/sound/fsl-imx-audmux.h> 11 stdout-path = &uart1; 15 mdio-gpio0 = &mdio1; 20 compatible = "virtual,mdio-gpio"; 21 #address-cells = <1>; 22 #size-cells = <0>; 23 pinctrl-names = "default"; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | da9052-i2c.txt | 4 - compatible : Should be "dlg,da9052", "dlg,da9053-aa", 5 "dlg,da9053-ab", or "dlg,da9053-bb" 8 - dlg,tsi-as-adc : Boolean, if set the X+, X-, Y+, Y- touchscreen 11 - tsiref-supply: Phandle to the regulator, which provides the reference 13 touchscreen pins are used for ADC purposes. 15 Sub-nodes: 16 - regulators : Contain the regulator nodes. The DA9052/53 regulators are 42 compatible = "dlg,da9053-aa"; 47 regulator-min-microvolt = <500000>; 48 regulator-max-microvolt = <2075000>; [all …]
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | resistive-adc-touch.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * ADC generic resistive touchscreen (GRTS) 13 #include <linux/input/touchscreen.h> 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 44 * @prop: touchscreen properties struct 45 * @ch_map: map of channels that are defined for the touchscreen 62 unsigned int x, y, press = 0; in grts_cb() local 64 x = touch_info[st->ch_map[GRTS_CH_X]]; in grts_cb() [all …]
|
/openbmc/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8mm-var-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 10 model = "Variscite VAR-SOM-MX8MM module"; 11 compatible = "variscite,var-som-mx8mm", "fsl,imx8mm"; 14 stdout-path = &uart4; 22 reg_eth_phy: regulator-eth-phy { 23 compatible = "regulator-fixed"; 24 pinctrl-names = "default"; 25 pinctrl-0 = <&pinctrl_reg_eth_phy>; 26 regulator-name = "eth_phy_pwr"; 27 regulator-min-microvolt = <3300000>; [all …]
|
H A D | imx8mn-var-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 * Copyright 2019-2020 Variscite Ltd. 11 model = "Variscite VAR-SOM-MX8MN module"; 12 compatible = "variscite,var-som-mx8mn", "fsl,imx8mn"; 15 stdout-path = &uart4; 23 reg_eth_phy: regulator-eth-phy { 24 compatible = "regulator-fixed"; 25 pinctrl-names = "default"; 26 pinctrl-0 = <&pinctrl_reg_eth_phy>; 27 regulator-name = "eth_phy_pwr"; [all …]
|
/openbmc/linux/arch/arm/boot/dts/allwinner/ |
H A D | sun4i-a10-pov-protab2-ips9.dts | 4 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 44 #include "sun4i-a10.dtsi" 45 #include "sunxi-common-regulators.dtsi" 46 #include <dt-bindings/gpio/gpio.h> 47 #include <dt-bindings/input/input.h> 48 #include <dt-bindings/interrupt-controller/irq.h> 49 #include <dt-bindings/pwm/pwm.h> 52 model = "Point of View Protab2-IPS9"; 53 compatible = "pov,protab2-ips9", "allwinner,sun4i-a10"; [all …]
|
H A D | sun8i-reference-design-tablet.dtsi | 4 * This file is dual-licensed: you can use it either under the terms 42 #include "sunxi-reference-design-tablet.dtsi" 44 #include <dt-bindings/pwm/pwm.h> 52 compatible = "pwm-backlight"; 54 brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>; 55 default-brightness-level = <8>; 56 enable-gpios = <&pio 7 6 GPIO_ACTIVE_HIGH>; /* PH6 */ 57 power-supply = <®_dc1sw>; 61 stdout-path = "serial0:115200n8"; 71 clock-frequency = <400000>; [all …]
|
H A D | sun4i-a10-inet1.dts | 4 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 44 #include "sun4i-a10.dtsi" 45 #include "sunxi-common-regulators.dtsi" 46 #include <dt-bindings/gpio/gpio.h> 47 #include <dt-bindings/input/input.h> 48 #include <dt-bindings/interrupt-controller/irq.h> 49 #include <dt-bindings/pwm/pwm.h> 52 model = "iNet-1"; 53 compatible = "inet-tek,inet1", "allwinner,sun4i-a10"; [all …]
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
H A D | msm8916-samsung-a3u-eur.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-samsung-a2015-common.dtsi" 9 compatible = "samsung,a3u-eur", "qcom,msm8916"; 10 chassis-type = "handset"; 12 reg_panel_vdd3: regulator-panel-vdd3 { 13 compatible = "regulator-fixed"; 14 regulator-name = "panel_vdd3"; 15 regulator-min-microvolt = <1800000>; 16 regulator-max-microvolt = <1800000>; [all …]
|
H A D | msm8916-gplus-fl8005a.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-pm8916.dtsi" 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/leds/common.h> 14 chassis-type = "tablet"; 23 stdout-path = "serial0"; 26 flash-led-controller { 27 /* Actually qcom,leds-gpio-flash */ [all …]
|
H A D | sdm450-motorola-ali.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 5 /dts-v1/; 11 /delete-node/ &qseecom_mem; 16 chassis-type = "handset"; 17 qcom,msm-id = <338 0>; 18 qcom,board-id = <0x43 0xc200>; 20 gpio-keys { 21 compatible = "gpio-keys"; 23 key-volume-up { 30 reserved-memory { [all …]
|
H A D | sdm632-fairphone-fp3.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 5 /dts-v1/; 7 #include <dt-bindings/leds/common.h> 15 chassis-type = "handset"; 16 qcom,msm-id = <349 0>; 17 qcom,board-id = <8 0x10000>; 26 stdout-path = "serial0:115200n8"; 29 gpio-keys { 30 compatible = "gpio-keys"; 32 key-volume-up { [all …]
|