Home
last modified time | relevance | path

Searched +full:stmpe +full:- +full:gpio (Results 1 – 25 of 42) sorted by relevance

12

/openbmc/linux/drivers/gpio/
H A Dgpio-stmpe.c1 // 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 …]
H A Dgpio-it87.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * GPIO interface for IT87xx Super I/O chips
9 * gpio-it8761e.c by Denis Turischev
10 * gpio-stmpe.c by Rabin Vincent
22 #include <linux/gpio/driver.h>
41 #define GPIO 0x07 macro
49 * struct it87_gpio - it87-specific GPIO chip
52 * @io_base: base address for gpio ports
83 return -EBUSY; in superio_enter()
155 spin_lock(&it87_gpio->lock); in it87_gpio_request()
[all …]
H A DMakefile1 # SPDX-License-Identifier: GPL-2.0
2 # generic gpio support: platform drivers, dedicated expander chips, etc
4 ccflags-$(CONFIG_DEBUG_GPIO) += -DDEBUG
6 obj-$(CONFIG_GPIOLIB) += gpiolib.o
7 obj-$(CONFIG_GPIOLIB) += gpiolib-devres.o
8 obj-$(CONFIG_GPIOLIB) += gpiolib-legacy.o
9 obj-$(CONFIG_OF_GPIO) += gpiolib-of.o
10 obj-$(CONFIG_GPIO_CDEV) += gpiolib-cdev.o
11 obj-$(CONFIG_GPIO_SYSFS) += gpiolib-sysfs.o
12 obj-$(CONFIG_GPIO_ACPI) += gpiolib-acpi.o
[all …]
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A Dst,stmpe.yaml1 # 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 …]
/openbmc/linux/drivers/input/keyboard/
H A Dstmpe-keypad.c1 // 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 …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
24 board-specific setup logic must also provide a configuration data
38 be called adp5520-keys.
51 module will be called adp5588-keys.
61 module will be called adp5589-keys.
126 Say Y here if you have a PA-RISC machine and want to use an AT or
128 PA-RISC keyboards.
138 built-in keyboard (as opposed to an external keyboard).
152 in the left-hand column will be interpreted as the corresponding key
153 in the right-hand column.
[all …]
/openbmc/linux/drivers/mfd/
H A Dstmpe.c1 // 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 …]
H A DKconfig1 # 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 …]
H A DMakefile1 # SPDX-License-Identifier: GPL-2.0
6 88pm860x-objs := 88pm860x-core.o 88pm860x-i2c.o
7 obj-$(CONFIG_MFD_88PM860X) += 88pm860x.o
8 obj-$(CONFIG_MFD_88PM800) += 88pm800.o 88pm80x.o
9 obj-$(CONFIG_MFD_88PM805) += 88pm805.o 88pm80x.o
10 obj-$(CONFIG_MFD_ACT8945A) += act8945a.o
11 obj-$(CONFIG_MFD_SM501) += sm501.o
12 obj-$(CONFIG_ARCH_BCM2835) += bcm2835-pm.o
13 obj-$(CONFIG_MFD_BCM590XX) += bcm590xx.o
14 obj-$(CONFIG_MFD_BD9571MWV) += bd9571mwv.o
[all …]
/openbmc/linux/Documentation/devicetree/bindings/gpio/
H A Dst,stmpe-gpio.yaml1 # 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 …]
/openbmc/linux/arch/arm/boot/dts/st/
H A Dste-nomadik-nhk15.dts1 // 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 …]
H A Dspear320-hmi.dts1 // 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 …]
H A Dste-href-stuib.dtsi1 // 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 …]
H A Dstm32f429-disco.dts2 * 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 …]
H A Dspear1340-evb.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
8 /dts-v1/;
13 compatible = "st,spear1340-evb", "st,spear1340";
14 #address-cells = <1>;
15 #size-cells = <1>;
23 pinctrl-names = "default";
24 pinctrl-0 = <&state_default>;
47 spdif-in {
51 spdif-out {
59 smi-pmx {
[all …]
H A Dstm32429i-eval.dts2 * 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/gpio/gpio.h>
53 #include <dt-bindings/media/video-interfaces.h>
56 model = "STMicroelectronics STM32429i-EVAL board";
57 compatible = "st,stm32429i-eval", "st,stm32f429";
[all …]
H A Dspear1310-evb.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
8 /dts-v1/;
13 compatible = "st,spear1310-evb", "st,spear1310";
14 #address-cells = <1>;
15 #size-cells = <1>;
23 pinctrl-names = "default";
24 pinctrl-0 = <&state_default>;
39 gpio {
63 smi-pmx {
127 label = "u-boot";
[all …]
/openbmc/linux/arch/arm/boot/dts/intel/socfpga/
H A Dsocfpga_cyclone5_mcvevk.dts1 // 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 …]
/openbmc/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6q-dmo-edmqmx6.dts1 // 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 …]
H A Dimx6ul-phytec-segin-peb-av-02.dtsi1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
9 backlight_lcd: backlight-lcd {
10 compatible = "pwm-backlight";
11 brightness-levels = <0 4 8 16 32 64 128 255>;
12 default-brightness-level = <5>;
13 power-supply = <&reg_backlight_en>;
18 lcd_panel: lcd-panel {
25 remote-endpoint = <&lcdif_parallel_out>;
30 reg_backlight_en: regulator-backlight-en {
31 compatible = "regulator-fixed";
[all …]
H A Dimx6qdl-phytec-mira.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
14 compatible = "pwm-backlight";
15 brightness-levels = <0 4 8 16 32 64 128 255>;
16 default-brightness-level = <7>;
17 power-supply = <&reg_backlight>;
23 compatible = "gpio-leds";
24 pinctrl-names = "default";
25 pinctrl-0 = <&pinctrl_gpioleds>;
28 led-red {
29 label = "phyboard-mira:red";
[all …]
H A Dimx6ul-isiot.dtsi1 // SPDX-License-Identifier: GPL-2.0 OR X11
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/input/input.h>
18 stdout-path = &uart1;
22 compatible = "pwm-backlight";
24 brightness-levels = < 0 1 2 3 4 5 6 7 8 9
35 default-brightness-level = <100>;
38 reg_1p8v: regulator-1p8v {
39 compatible = "regulator-fixed";
40 regulator-name = "1P8V";
[all …]
/openbmc/linux/arch/arm/boot/dts/ti/omap/
H A Dam5729-beagleboneai.dts1 // 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 …]
/openbmc/linux/arch/arm/boot/dts/nxp/ls/
H A Dls1021a-tqmls1021a-mbls1021a.dts1 // SPDX-License-Identifier: (GPL-2.0-or-later OR X11)
3 * Copyright 2013-2014 Freescale Semiconductor, Inc.
4 * Copyright 2018-2023 TQ-Systems GmbH <linux@ew.tq-group.com>,
5 * D-82229 Seefeld, Germany.
9 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/linux-event-codes.h>
13 #include <dt-bindings/leds/common.h>
14 #include <dt-bindings/leds/leds-pca9532.h>
15 #include <dt-bindings/net/ti-dp83867.h>
[all …]
/openbmc/u-boot/arch/arm/dts/
H A Dstm32429i-eval.dts1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2015, STMicroelectronics - All Rights Reserved
7 /dts-v1/;
9 #include "stm32f429-pinctrl.dtsi"
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/gpio/gpio.h>
14 model = "STMicroelectronics STM32429i-EVAL board";
15 compatible = "st,stm32429i-eval", "st,stm32f429";
19 stdout-path = "serial0:115200n8";
31 clk_ext_camera: clk-ext-camera {
[all …]

12