Home
last modified time | relevance | path

Searched full:stmpe (Results 1 – 25 of 26) sorted by relevance

12

/linux/include/linux/mfd/
H A Dstmpe.h53 * obtained by indexing stmpe->regs with one of the following.
103 * struct stmpe - STMPE MFD structure
113 * @variant: the detected STMPE model number
116 * @irq: irq number for stmpe
122 struct stmpe { struct
148 extern int stmpe_reg_write(struct stmpe *stmpe, u8 reg, u8 data); argument
149 extern int stmpe_reg_read(struct stmpe *stmpe, u8 reg);
150 extern int stmpe_block_read(struct stmpe *stmpe, u8 reg, u8 length,
152 extern int stmpe_block_write(struct stmpe *stmpe, u8 reg, u8 length,
154 extern int stmpe_set_bits(struct stmpe *stmpe, u8 reg, u8 mask, u8 val);
[all …]
/linux/drivers/input/touchscreen/
H A Dstmpe-ts.c23 #include <linux/mfd/stmpe.h>
46 #define STMPE_TS_NAME "stmpe-ts"
51 * @stmpe: pointer back to STMPE MFD container
73 struct stmpe *stmpe; member
85 static int __stmpe_reset_fifo(struct stmpe *stmpe) in __stmpe_reset_fifo() argument
89 ret = stmpe_set_bits(stmpe, STMPE_REG_FIFO_STA, in __stmpe_reset_fifo()
94 return stmpe_set_bits(stmpe, STMPE_REG_FIFO_STA, in __stmpe_reset_fifo()
106 int_sta = stmpe_reg_read(ts->stmpe, STMPE_REG_INT_STA); in stmpe_work()
117 int_sta = stmpe_reg_read(ts->stmpe, STMPE_REG_INT_STA); in stmpe_work()
122 __stmpe_reset_fifo(ts->stmpe); in stmpe_work()
[all …]
/linux/drivers/input/keyboard/
H A Dstmpe-keypad.c15 #include <linux/mfd/stmpe.h>
17 /* These are at the same addresses in all STMPE variants */
116 * struct stmpe_keypad - STMPE keypad state container
117 * @stmpe: pointer to parent STMPE device
119 * @variant: STMPE variant
130 struct stmpe *stmpe; member
144 struct stmpe *stmpe = keypad->stmpe; in stmpe_keypad_read_data() local
149 return stmpe_block_read(stmpe, STMPE_KPC_DATA_BYTE0, in stmpe_keypad_read_data()
153 ret = stmpe_reg_read(stmpe, STMPE_KPC_DATA_BYTE0 + i); in stmpe_keypad_read_data()
200 struct stmpe *stmpe = keypad->stmpe; in stmpe_keypad_altfunc_init() local
[all …]
/linux/drivers/mfd/
H A Dstmpe.h13 #include <linux/mfd/stmpe.h>
73 int (*enable)(struct stmpe *stmpe, unsigned int blocks, bool enable);
74 int (*get_altfunc)(struct stmpe *stmpe, enum stmpe_block block);
75 int (*enable_autosleep)(struct stmpe *stmpe, int autosleep_timeout);
92 int (*read_byte)(struct stmpe *stmpe, u8 reg);
93 int (*write_byte)(struct stmpe *stmpe, u8 reg, u8 val);
94 int (*read_block)(struct stmpe *stmpe, u8 reg, u8 len, u8 *values);
95 int (*write_block)(struct stmpe *stmpe, u8 reg, u8 len,
97 void (*init)(struct stmpe *stmpe);
101 void stmpe_remove(struct stmpe *stmpe);
/linux/Documentation/devicetree/bindings/mfd/
H A Dst,stmpe.yaml4 $id: http://devicetree.org/schemas/mfd/st,stmpe.yaml#
7 title: STMicroelectonics Port Expander (STMPE)
9 description: STMicroelectronics Port Expander (STMPE) is a series of slow
85 $ref: /schemas/iio/adc/st,stmpe-adc.yaml#
89 $ref: /schemas/gpio/st,stmpe-gpio.yaml#
99 const: st,stmpe-keypad
125 const: st,stmpe-pwm
138 const: st,stmpe-ts
223 compatible = "st,stmpe-gpio";
232 compatible = "st,stmpe-keypad";
[all …]
/linux/Documentation/devicetree/bindings/iio/adc/
H A Dst,stmpe-adc.yaml4 $id: http://devicetree.org/schemas/iio/adc/st,stmpe-adc.yaml#
7 title: ADC on an STMPE multifunction device.
13 This ADC forms part of an ST microelectronics STMPE multifunction device .
14 The ADC is shared with the STMPE touchscreen. As a result some ADC related
16 The node should be a child node of the stmpe node to which it belongs.
20 const: st,stmpe-adc
39 compatible = "st,stmpe-adc";
/linux/Documentation/devicetree/bindings/pwm/
H A Dst,stmpe-pwm.txt1 == ST STMPE PWM controller ==
3 This is a PWM block embedded in the ST Microelectronics STMPE
5 subdevices of the STMPE MFD device.
9 - "st,stmpe-pwm"
16 compatible = "st,stmpe-pwm";
/linux/Documentation/devicetree/bindings/gpio/
H A Dst,stmpe-gpio.yaml4 $id: http://devicetree.org/schemas/gpio/st,stmpe-gpio.yaml#
7 title: STMicroelectonics Port Expander (STMPE) GPIO Block
10 STMicroelectronics Port Expander (STMPE) is a series of slow
21 const: st,stmpe-gpio
/linux/arch/arm/boot/dts/st/
H A Dste-nomadik-nhk15.dts22 stmpe-i2c0 = &stmpe0;
23 stmpe-i2c1 = &stmpe1;
112 compatible = "st,stmpe-gpio";
121 compatible = "st,stmpe-keypad";
143 compatible = "st,stmpe-pwm";
157 compatible = "st,stmpe-gpio";
H A Dspear320-hmi.dts243 stmpegpio: stmpe-gpio {
244 compatible = "st,stmpe-gpio";
252 compatible = "stmpe,ts";
H A Dste-href-stuib.dtsi47 compatible = "st,stmpe-keypad";
131 stmpe {
H A Dstm32f429-disco.dts132 compatible = "st,stmpe-ts";
149 compatible = "st,stmpe-adc";
H A Dspear1340-evb.dts325 compatible = "st,stmpe-gpio";
476 compatible = "st,stmpe-ts";
H A Dspear1310-evb.dts367 compatible = "st,stmpe-ts";
H A Dstm32429i-eval.dts228 compatible = "st,stmpe-gpio";
H A Dstm32mp157c-phycore-stm32mp15-som.dtsi190 compatible = "st,stmpe-ts";
/linux/arch/arm/boot/dts/ti/omap/
H A Dam5729-beagleboneai.dts426 compatible = "st,stmpe-adc";
438 compatible = "st,stmpe-ts";
455 compatible = "st,stmpe-gpio";
459 compatible = "st,stmpe-pwm";
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6ul-isiot.dtsi135 stmpe: touchscreen { label
136 compatible = "st,stmpe-ts";
H A Dimx6qdl-phytec-pbab01.dtsi122 stmpe@41 {
/linux/arch/arm/boot/dts/nxp/ls/
H A Dls1021a-tqmls1021a-mbls1021a.dts301 compatible = "st,stmpe-gpio";
315 compatible = "st,stmpe-ts";
/linux/drivers/gpio/
H A Dgpio-it87.c10 * gpio-stmpe.c by Rabin Vincent
/linux/arch/arm/boot/dts/nvidia/
H A Dtegra30-colibri.dtsi878 compatible = "st,stmpe-adc";
883 compatible = "st,stmpe-ts";
H A Dtegra30-apalis.dtsi996 compatible = "st,stmpe-adc";
1002 compatible = "st,stmpe-ts";
H A Dtegra30-apalis-v1.1.dtsi1013 compatible = "st,stmpe-adc";
1019 compatible = "st,stmpe-ts";
/linux/arch/arm/boot/dts/samsung/
H A Dexynos4412-p4note.dtsi203 compatible = "st,stmpe-adc";
942 stmpe_adc_irq: stmpe-adc-irq-pins {

12