Home
last modified time | relevance | path

Searched +full:tsc2046e +full:- +full:adc (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/Documentation/devicetree/bindings/iio/adc/
H A Dti,tsc2046.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/ti,tsc2046.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Oleksij Rempel <o.rempel@pengutronix.de>
13 TSC2046 is a touch screen controller with 8 channels ADC.
18 - ti,tsc2046e-adc
26 vref-supply:
29 "#io-channel-cells":
32 '#address-cells':
[all …]
/openbmc/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6qdl-skov-cpu-revc.dtsi1 // 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 Dimx6dl-victgo.dts1 // 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 Dimx6dl-plym2m.dts1 // 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 = <&reg_12v0>;
[all …]
H A Dimx6dl-prtvt7.dts1 // 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 …]
/openbmc/linux/drivers/iio/adc/
H A Dti-tsc2046.c1 // SPDX-License-Identifier: GPL-2.0
3 * Texas Instruments TSC2046 SPI ADC driver
28 * - rate limiting:
30 * - hrtimer:
59 * The mode bit sets the resolution of the ADC. With this bit low, the next
60 * conversion has 12-bit resolution, whereas with this bit high, the next
61 * conversion has 8-bit resolution. This driver is optimized for 12-bit mode.
67 * SER/DFR - The SER/DFR bit controls the reference mode, either single-ended
74 * auto-wake/suspend mode. In most case this bits should stay zero.
230 bit_count = DIV_ROUND_UP(time * NSEC_PER_USEC, priv->time_per_bit_ns); in tsc2046_adc_time_to_count()
[all …]