| /kernel/linux/linux-6.6/drivers/gpio/ |
| D | gpio-stmpe.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2010 5 * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson 11 #include <linux/gpio/driver.h> 14 #include <linux/mfd/stmpe.h> 32 struct stmpe *stmpe; member 44 struct stmpe *stmpe = stmpe_gpio->stmpe; in stmpe_gpio_get() local 45 u8 reg = stmpe->regs[STMPE_IDX_GPMR_LSB + (offset / 8)]; in stmpe_gpio_get() 49 ret = stmpe_reg_read(stmpe, reg); in stmpe_gpio_get() 59 struct stmpe *stmpe = stmpe_gpio->stmpe; in stmpe_gpio_set() local [all …]
|
| /kernel/linux/linux-5.10/drivers/gpio/ |
| D | gpio-stmpe.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2010 5 * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson 11 #include <linux/gpio/driver.h> 14 #include <linux/mfd/stmpe.h> 32 struct stmpe *stmpe; member 44 struct stmpe *stmpe = stmpe_gpio->stmpe; in stmpe_gpio_get() local 45 u8 reg = stmpe->regs[STMPE_IDX_GPMR_LSB + (offset / 8)]; in stmpe_gpio_get() 49 ret = stmpe_reg_read(stmpe, reg); in stmpe_gpio_get() 59 struct stmpe *stmpe = stmpe_gpio->stmpe; in stmpe_gpio_set() local [all …]
|
| /kernel/linux/linux-5.10/drivers/mfd/ |
| D | stmpe.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * ST Microelectronics MFD: stmpe's driver 5 * Copyright (C) ST-Ericsson SA 2010 7 * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson 11 #include <linux/gpio.h> 24 #include "stmpe.h" 27 * struct stmpe_platform_data - STMPE platform data 31 * @autosleep: bool to enable/disable stmpe autosleep 33 * @irq_over_gpio: true if gpio is used to get irq 34 * @irq_gpio: gpio number over which irq will be requested (significant only if [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 20 necessary for using the board's GPIO and MFGPT functionality. 30 accessing the external gpio extender (LEDs & buttons) and 44 tristate "Active-semi ACT8945A" 49 Support for the ACT8945A PMIC from Active-semi. This device 50 features three step-down DC/DC converters and four low-dropout 66 sun4i-gpadc-iio and the hwmon driver iio_hwmon. 69 called sun4i-gpadc. 88 tablets etc. It has 4 DC/DC step-down regulators, 3 DC/DC step-down 119 over at91-usart-serial driver and usart-spi-driver. Only one function [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/ |
| D | st,stmpe.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mfd/st,stmpe.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: STMicroelectonics Port Expander (STMPE) 9 description: STMicroelectronics Port Expander (STMPE) is a series of slow 10 bus controllers for various expanded peripherals such as GPIO, keypad, 15 - Linus Walleij <linus.walleij@linaro.org> 18 - $ref: /schemas/spi/spi-peripheral-props.yaml# 23 - st,stmpe601 [all …]
|
| /kernel/linux/linux-6.6/drivers/input/keyboard/ |
| D | stmpe-keypad.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2010 5 * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson 15 #include <linux/mfd/stmpe.h> 17 /* These are at the same addresses in all STMPE variants */ 61 * struct stmpe_keypad_variant - model-specific attributes 63 * auto-increments on multiple read 64 * @set_pullup: whether the pins need to have their pull-ups set 90 .col_gpios = 0x000ff, /* GPIO 0 - 7 */ 91 .row_gpios = 0x0ff00, /* GPIO 8 - 15 */ [all …]
|
| /kernel/linux/linux-5.10/drivers/input/keyboard/ |
| D | stmpe-keypad.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2010 5 * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson 14 #include <linux/mfd/stmpe.h> 16 /* These are at the same addresses in all STMPE variants */ 60 * struct stmpe_keypad_variant - model-specific attributes 62 * auto-increments on multiple read 63 * @set_pullup: whether the pins need to have their pull-ups set 89 .col_gpios = 0x000ff, /* GPIO 0 - 7 */ 90 .row_gpios = 0x0ff00, /* GPIO 8 - 15 */ [all …]
|
| /kernel/linux/linux-6.6/drivers/mfd/ |
| D | stmpe.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * ST Microelectronics MFD: stmpe's driver 5 * Copyright (C) ST-Ericsson SA 2010 7 * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson 11 #include <linux/gpio/consumer.h> 23 #include "stmpe.h" 26 * struct stmpe_platform_data - STMPE platform data 30 * @autosleep: bool to enable/disable stmpe autosleep 41 static int __stmpe_enable(struct stmpe *stmpe, unsigned int blocks) in __stmpe_enable() argument 43 return stmpe->variant->enable(stmpe, blocks, true); in __stmpe_enable() [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 21 necessary for using the board's GPIO and MFGPT functionality. 31 accessing the external gpio extender (LEDs & buttons) and 45 tristate "Active-semi ACT8945A" 50 Support for the ACT8945A PMIC from Active-semi. This device 51 features three step-down DC/DC converters and four low-dropout 67 sun4i-gpadc-iio and the hwmon driver iio_hwmon. 70 called sun4i-gpadc. 101 tablets etc. It has 4 DC/DC step-down regulators, 3 DC/DC step-down 132 over at91-usart-serial driver and usart-spi-driver. Only one function [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/gpio/ |
| D | st,stmpe-gpio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/gpio/st,stmpe-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: STMicroelectonics Port Expander (STMPE) GPIO Block 10 STMicroelectronics Port Expander (STMPE) is a series of slow 11 bus controllers for various expanded peripherals such as GPIO, keypad, 14 GPIO portions of these expanders. 17 - Linus Walleij <linus.walleij@linaro.org> 21 const: st,stmpe-gpio [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/gpio/ |
| D | gpio-stmpe.txt | 1 STMPE gpio 2 ---------- 5 - compatible: "st,stmpe-gpio" 8 - st,norequest-mask: bitmask specifying which GPIOs should _not_ be requestable 11 Node name must be stmpe_gpio and should be child node of stmpe node to which it 16 compatible = "st,stmpe-gpio"; 17 st,norequest-mask = <0x20>; //gpio 5 can't be used
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | ste-nomadik-nhk15.dts | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include "ste-nomadik-stn8815.dtsi" 13 compatible = "st,nomadik-nhk-15"; 22 stmpe-i2c0 = &stmpe0; 23 stmpe-i2c1 = &stmpe1; 71 disable-sxtalo; 72 disable-mxtalo; [all …]
|
| D | socfpga_cyclone5_mcvevk.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 10 compatible = "denx,mcvevk", "altr,socfpga-cyclone5", "altr,socfpga"; 14 stmpe-i2c0 = &stmpe1; 18 stdout-path = "serial0:115200n8"; 31 phy-mode = "rgmii"; 35 &gpio0 { /* GPIO 0 ... 28 */ 39 &gpio1 { /* GPIO 29 ... 57 */ 43 &gpio2 { /* GPIO 58..66 (HLGPI 0..13 at offset 13) */ 49 clock-frequency = <100000>; 53 #address-cells = <1>; [all …]
|
| D | spear320-hmi.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 /dts-v1/; 13 compatible = "st,spear320-hmi", "st,spear320"; 14 #address-cells = <1>; 15 #size-cells = <1>; 23 st,pinmux-mode = <4>; 24 pinctrl-names = "default"; 25 pinctrl-0 = <&state_default>; 107 label = "u-boot"; 129 compatible = "gpio-keys"; [all …]
|
| D | imx6q-dmo-edmqmx6.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 12 model = "Data Modul eDM-QMX6 Board"; 13 compatible = "dmo,imx6q-edmqmx6", "fsl,imx6q"; 16 stdout-path = &uart2; 22 stmpe-i2c0 = &stmpe1; 23 stmpe-i2c1 = &stmpe2; 32 compatible = "simple-bus"; 33 #address-cells = <1>; [all …]
|
| D | ste-href-stuib.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 2012 ST-Ericsson AB 6 #include <dt-bindings/interrupt-controller/irq.h> 10 compatible = "gpio-keys"; 11 #address-cells = <1>; 12 #size-cells = <0>; 13 vdd-supply = <&ab8500_ldo_aux1_reg>; 14 pinctrl-names = "default"; 15 pinctrl-0 = <&prox_stuib_mode>, <&hall_stuib_mode>; 37 interrupt-parent = <&gpio6>; [all …]
|
| D | stm32f429-disco.dts | 2 * Copyright 2015 - Maxime Coquelin <mcoquelin.stm32@gmail.com> 4 * This file is dual-licensed: you can use it either under the terms 22 * MA 02110-1301 USA 48 /dts-v1/; 50 #include "stm32f429-pinctrl.dtsi" 51 #include <dt-bindings/input/input.h> 52 #include <dt-bindings/interrupt-controller/irq.h> 53 #include <dt-bindings/gpio/gpio.h> 56 model = "STMicroelectronics STM32F429i-DISCO board"; 57 compatible = "st,stm32f429i-disco", "st,stm32f429"; [all …]
|
| D | am5729-beagleboneai.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2014-2019 Texas Instruments Incorporated - http://www.ti.com/ 6 /dts-v1/; 9 #include "am57xx-commercial-grade.dtsi" 10 #include "dra74x-mmc-iodelay.dtsi" 11 #include "dra74-ipu-dsp-common.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 14 #include <dt-bindings/pinctrl/dra.h> 18 compatible = "beagle,am5729-beagleboneai", "ti,am5728", [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/st/ |
| D | ste-nomadik-nhk15.dts | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include "ste-nomadik-stn8815.dtsi" 13 compatible = "st,nomadik-nhk-15"; 22 stmpe-i2c0 = &stmpe0; 23 stmpe-i2c1 = &stmpe1; 71 disable-sxtalo; 72 disable-mxtalo; [all …]
|
| D | spear320-hmi.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 /dts-v1/; 13 compatible = "st,spear320-hmi", "st,spear320"; 14 #address-cells = <1>; 15 #size-cells = <1>; 23 st,pinmux-mode = <4>; 24 pinctrl-names = "default"; 25 pinctrl-0 = <&state_default>; 107 label = "u-boot"; 129 compatible = "gpio-keys"; [all …]
|
| D | ste-href-stuib.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 2012 ST-Ericsson AB 6 #include <dt-bindings/interrupt-controller/irq.h> 10 compatible = "gpio-keys"; 11 #address-cells = <1>; 12 #size-cells = <0>; 13 vdd-supply = <&ab8500_ldo_aux1_reg>; 14 pinctrl-names = "default"; 15 pinctrl-0 = <&prox_stuib_mode>, <&hall_stuib_mode>; 33 stmpe1601: port-expander@40 { [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/ |
| D | stmpe.txt | 1 * ST Microelectronics STMPE Multi-Functional Device 3 STMPE is an MFD device which may expose the following inbuilt devices: gpio, 7 - compatible : "st,stmpe[610|801|811|1600|1601|2401|2403]" 8 - reg : I2C/SPI address of the device 11 - interrupts : The interrupt outputs from the controller 12 - interrupt-controller : Marks the device node as an interrupt controller 13 - wakeup-source : Marks the input device as wakable 14 - st,autosleep-timeout : Valid entries (ms); 4, 16, 32, 64, 128, 256, 512 and 1024 15 - irq-gpio : If present, which GPIO to use for event IRQ 18 - st,sample-time : ADC conversion time in number of clock. [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/intel/socfpga/ |
| D | socfpga_cyclone5_mcvevk.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 10 compatible = "denx,mcvevk", "altr,socfpga-cyclone5", "altr,socfpga"; 14 stmpe-i2c0 = &stmpe1; 18 stdout-path = "serial0:115200n8"; 31 phy-mode = "rgmii"; 35 &gpio0 { /* GPIO 0 ... 28 */ 39 &gpio1 { /* GPIO 29 ... 57 */ 43 &gpio2 { /* GPIO 58..66 (HLGPI 0..13 at offset 13) */ 49 clock-frequency = <100000>; 53 #address-cells = <1>; [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/nxp/imx/ |
| D | imx6q-dmo-edmqmx6.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 12 model = "Data Modul eDM-QMX6 Board"; 13 compatible = "dmo,imx6q-edmqmx6", "fsl,imx6q"; 16 stdout-path = &uart2; 22 stmpe-i2c0 = &stmpe1; 23 stmpe-i2c1 = &stmpe2; 31 reg_3p3v: regulator-3p3v { 32 compatible = "regulator-fixed"; [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/ti/omap/ |
| D | am5729-beagleboneai.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2014-2019 Texas Instruments Incorporated - http://www.ti.com/ 6 /dts-v1/; 9 #include "am57xx-commercial-grade.dtsi" 10 #include "dra74x-mmc-iodelay.dtsi" 11 #include "dra74-ipu-dsp-common.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 14 #include <dt-bindings/pinctrl/dra.h> 18 compatible = "beagle,am5729-beagleboneai", "ti,am5728", [all …]
|