| /linux/include/linux/mfd/ |
| H A D | stmpe.h | 53 * 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 D | stmpe-ts.c | 23 #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 D | stmpe-keypad.c | 15 #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 D | stmpe.h | 13 #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 D | st,stmpe.yaml | 4 $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 D | st,stmpe-adc.yaml | 4 $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 D | st,stmpe-pwm.txt | 1 == 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 D | st,stmpe-gpio.yaml | 4 $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 D | ste-nomadik-nhk15.dts | 22 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 D | spear320-hmi.dts | 243 stmpegpio: stmpe-gpio { 244 compatible = "st,stmpe-gpio"; 252 compatible = "stmpe,ts";
|
| H A D | ste-href-stuib.dtsi | 47 compatible = "st,stmpe-keypad"; 131 stmpe {
|
| H A D | stm32f429-disco.dts | 132 compatible = "st,stmpe-ts"; 149 compatible = "st,stmpe-adc";
|
| H A D | spear1340-evb.dts | 325 compatible = "st,stmpe-gpio"; 476 compatible = "st,stmpe-ts";
|
| H A D | spear1310-evb.dts | 367 compatible = "st,stmpe-ts";
|
| H A D | stm32429i-eval.dts | 228 compatible = "st,stmpe-gpio";
|
| H A D | stm32mp157c-phycore-stm32mp15-som.dtsi | 190 compatible = "st,stmpe-ts";
|
| /linux/arch/arm/boot/dts/ti/omap/ |
| H A D | am5729-beagleboneai.dts | 426 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 D | imx6ul-isiot.dtsi | 135 stmpe: touchscreen { label 136 compatible = "st,stmpe-ts";
|
| H A D | imx6qdl-phytec-pbab01.dtsi | 122 stmpe@41 {
|
| /linux/arch/arm/boot/dts/nxp/ls/ |
| H A D | ls1021a-tqmls1021a-mbls1021a.dts | 301 compatible = "st,stmpe-gpio"; 315 compatible = "st,stmpe-ts";
|
| /linux/drivers/gpio/ |
| H A D | gpio-it87.c | 10 * gpio-stmpe.c by Rabin Vincent
|
| /linux/arch/arm/boot/dts/nvidia/ |
| H A D | tegra30-colibri.dtsi | 878 compatible = "st,stmpe-adc"; 883 compatible = "st,stmpe-ts";
|
| H A D | tegra30-apalis.dtsi | 996 compatible = "st,stmpe-adc"; 1002 compatible = "st,stmpe-ts";
|
| H A D | tegra30-apalis-v1.1.dtsi | 1013 compatible = "st,stmpe-adc"; 1019 compatible = "st,stmpe-ts";
|
| /linux/arch/arm/boot/dts/samsung/ |
| H A D | exynos4412-p4note.dtsi | 203 compatible = "st,stmpe-adc"; 942 stmpe_adc_irq: stmpe-adc-irq-pins {
|