Home
last modified time | relevance | path

Searched +full:chip +full:- +full:enable +full:- +full:gpios (Results 1 – 25 of 606) sorted by relevance

12345678910>>...25

/kernel/linux/linux-6.6/drivers/gpio/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
10 You only need to enable this if you also want to enable
18 int "Maximum number of GPIOs for fast path"
47 this symbol, but new drivers should use the generic gpio-regmap
55 These checks help ensure that GPIOs have been properly initialized
57 non-sleeping contexts. They can make bitbanged serial protocols
66 Say Y here to add the legacy sysfs interface for GPIOs.
78 for GPIOs. The character device allows userspace to control GPIOs
118 Enables support for the idio-16 library functions. The idio-16 library
120 ACCES IDIO-16 family such as the 104-IDIO-16 and the PCI-IDIO-16.
[all …]
Dgpiolib-of.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Copyright (c) 2007-2008 MontaVista Software, Inc.
26 #include "gpiolib-of.h"
29 * This is Linux-specific flags. By default controllers' and Linux' mapping
31 * Linux-specific in their .xlate callback. Though, 1:1 mapping is recommended.
44 * of_gpio_named_count() - Count GPIOs for a device
45 * @np: device node to count GPIOs for
48 * The function returns the count of GPIOs specified for a node.
50 * Number of gpios defined in property,
51 * -EINVAL for an incorrectly formed gpios property, or
[all …]
Dgpio-winbond.c1 // SPDX-License-Identifier: GPL-2.0+
24 /* global chip registers */
132 unsigned long gpios; member
145 return -EBUSY; in winbond_sio_enter()
149 * in order for chip to enter the "Extended Function Mode" in winbond_sio_enter()
206 * struct winbond_gpio_port_conflict - possibly conflicting device information
209 * is located (or WB_SIO_DEV_NONE - don't select any
226 * struct winbond_gpio_info - information about a particular GPIO port (device)
229 * @enablereg: port enable bit register number
230 * @enablebit: index of a port enable bit
[all …]
Dgpio-mpc5200.c1 // SPDX-License-Identifier: GPL-2.0-only
11 #include <linux/gpio/legacy-of-mm-gpiochip.h>
29 * GPIO LIB API implementation for wakeup GPIOs.
31 * There's a maximum of 8 wakeup GPIOs. Which of these are available
34 * 0 -> GPIO_WKUP_7
35 * 1 -> GPIO_WKUP_6
36 * 2 -> PSC6_1
37 * 3 -> PSC6_0
38 * 4 -> ETH_17
39 * 5 -> PSC3_9
[all …]
Dgpio-davinci.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (c) 2006-2007 David Brownell
22 #include <linux/platform_data/gpio-davinci.h>
45 #define BINTEN 0x8 /* GPIO Interrupt Per-Bank Enable Register */
52 struct davinci_gpio_controller *chip; member
57 struct gpio_chip chip; member
84 /*--------------------------------------------------------------------------*/
86 /* board setup code *MUST* setup pinmux and enable the GPIO clock. */
87 static inline int __davinci_direction(struct gpio_chip *chip, in __davinci_direction() argument
90 struct davinci_gpio_controller *d = gpiochip_get_data(chip); in __davinci_direction()
[all …]
/kernel/linux/linux-5.10/drivers/gpio/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
18 You only need to enable this, if you also want to enable
26 int "Maximum number of GPIOs for fast path"
55 These checks help ensure that GPIOs have been properly initialized
57 non-sleeping contexts. They can make bitbanged serial protocols
65 Say Y here to add the legacy sysfs interface for GPIOs.
77 for GPIOs. The character device allows userspace to control GPIOs
115 tristate "GPIO driver for 74xx-ICs with MMIO access"
119 Say yes here to support GPIO functionality for 74xx-compatible ICs
135 If driver is built as a module it will be called gpio-altera.
[all …]
Dgpio-winbond.c1 // SPDX-License-Identifier: GPL-2.0+
24 /* global chip registers */
132 unsigned long gpios; member
145 return -EBUSY; in winbond_sio_enter()
149 * in order for chip to enter the "Extended Function Mode" in winbond_sio_enter()
206 * struct winbond_gpio_port_conflict - possibly conflicting device information
209 * is located (or WB_SIO_DEV_NONE - don't select any
226 * struct winbond_gpio_info - information about a particular GPIO port (device)
229 * @enablereg: port enable bit register number
230 * @enablebit: index of a port enable bit
[all …]
Dgpiolib-of.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Copyright (c) 2007-2008 MontaVista Software, Inc.
24 #include "gpiolib-of.h"
27 * of_gpio_spi_cs_get_count() - special GPIO counting for SPI
33 * established "cs-gpios" for chip selects but instead rely on
34 * "gpios" for the chip select lines. If we detect this, we redirect
35 * the counting of "cs-gpios" to count "gpios" transparent to the
40 struct device_node *np = dev->of_node; in of_gpio_spi_cs_get_count()
48 !of_device_is_compatible(np, "ibm,ppc4xx-spi")) in of_gpio_spi_cs_get_count()
50 return of_gpio_named_count(np, "gpios"); in of_gpio_spi_cs_get_count()
[all …]
Dgpio-mpc5200.c1 // SPDX-License-Identifier: GPL-2.0-only
29 * GPIO LIB API implementation for wakeup GPIOs.
31 * There's a maximum of 8 wakeup GPIOs. Which of these are available
34 * 0 -> GPIO_WKUP_7
35 * 1 -> GPIO_WKUP_6
36 * 2 -> PSC6_1
37 * 3 -> PSC6_0
38 * 4 -> ETH_17
39 * 5 -> PSC3_9
40 * 6 -> PSC2_4
[all …]
Dgpio-davinci.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (c) 2006-2007 David Brownell
22 #include <linux/platform_data/gpio-davinci.h>
26 #include <asm-generic/gpio.h>
46 #define BINTEN 0x8 /* GPIO Interrupt Per-Bank Enable Register */
53 struct davinci_gpio_controller *chip; member
58 struct gpio_chip chip; member
83 /*--------------------------------------------------------------------------*/
85 /* board setup code *MUST* setup pinmux and enable the GPIO clock. */
86 static inline int __davinci_direction(struct gpio_chip *chip, in __davinci_direction() argument
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/media/i2c/
Dov5645.txt1 * Omnivision 1/4-Inch 5Mp CMOS Digital Image Sensor
3 The Omnivision OV5645 is a 1/4-Inch CMOS active pixel digital image sensor with
8 - compatible: Value should be "ovti,ov5645".
9 - clocks: Reference to the xclk clock.
10 - clock-names: Should be "xclk".
11 - clock-frequency: Frequency of the xclk clock.
12 - enable-gpios: Chip enable GPIO. Polarity is GPIO_ACTIVE_HIGH. This corresponds
14 - reset-gpios: Chip reset GPIO. Polarity is GPIO_ACTIVE_LOW. This corresponds to
16 - vdddo-supply: Chip digital IO regulator.
17 - vdda-supply: Chip analog regulator.
[all …]
Dov7251.txt1 * Omnivision 1/7.5-Inch B&W VGA CMOS Digital Image Sensor
3 The Omnivision OV7251 is a 1/7.5-Inch CMOS active pixel digital image sensor
8 - compatible: Value should be "ovti,ov7251".
9 - clocks: Reference to the xclk clock.
10 - clock-names: Should be "xclk".
11 - clock-frequency: Frequency of the xclk clock.
12 - enable-gpios: Chip enable GPIO. Polarity is GPIO_ACTIVE_HIGH. This corresponds
14 - vdddo-supply: Chip digital IO regulator.
15 - vdda-supply: Chip analog regulator.
16 - vddd-supply: Chip digital core regulator.
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/touchscreen/
Dpixcir_i2c_ts.txt4 - compatible: must be "pixcir,pixcir_ts" or "pixcir,pixcir_tangoc"
5 - reg: I2C address of the chip
6 - interrupts: interrupt to which the chip is connected
7 - attb-gpio: GPIO connected to the ATTB line of the chip
8 - touchscreen-size-x: horizontal resolution of touchscreen (in pixels)
9 - touchscreen-size-y: vertical resolution of touchscreen (in pixels)
12 - reset-gpios: GPIO connected to the RESET line of the chip
13 - enable-gpios: GPIO connected to the ENABLE line of the chip
14 - wake-gpios: GPIO connected to the WAKE line of the chip
25 attb-gpio = <&gpf 2 0 2>;
[all …]
Dmelfas_mip4.txt4 - compatible: must be "melfas,mip4_ts"
5 - reg: I2C slave address of the chip (0x48 or 0x34)
6 - interrupts: interrupt to which the chip is connected
9 - ce-gpios: GPIO connected to the CE (chip enable) pin of the chip
16 interrupt-parent = <&gpio>;
18 ce-gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/frequency/
Dadi,adf4377.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Antoniu Miclaus <antoniu.miclaus@analog.com>
11 - Dragos Bogdan <dragos.bogdan@analog.com>
14 The ADF4377 is a high performance, ultralow jitter, dual output integer-N
24 - adi,adf4377
25 - adi,adf4378
30 spi-max-frequency:
36 clock-names:
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/nfc/
Dnxp-nci.txt4 - compatible: Should be "nxp,nxp-nci-i2c".
5 - clock-frequency: I²C work frequency.
6 - reg: address on the bus
7 - interrupts: GPIO interrupt to which the chip is connected
8 - enable-gpios: Output GPIO pin used for enabling/disabling the chip
9 - firmware-gpios: Output GPIO pin used to enter firmware download mode
12 - pinctrl-names: Contains only one value - "default".
13 - pintctrl-0: Specifies the pin control groups used for this controller.
15 Example (for ARM-based BeagleBone with NPC100 NFC controller on I2C2):
22 compatible = "nxp,nxp-nci-i2c";
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/media/i2c/
Dsony,imx214.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Sony 1/3.06-Inch 13.13MP CMOS Digital Image Sensor
10 - Ricardo Ribalda <ribalda@kernel.org>
13 The Sony IMX214 is a 1/3.06-inch CMOS active pixel digital image sensor with
15 interface. Image data is sent through MIPI CSI-2, through 2 or 4 lanes at a
19 - $ref: ../video-interface-devices.yaml#
27 - 0x10
28 - 0x1a
[all …]
/kernel/linux/linux-6.6/drivers/video/fbdev/via/
Dvia-gpio.c1 // SPDX-License-Identifier: GPL-2.0-only
12 #include <linux/via-core.h>
14 #include "via-gpio.h"
17 * The ports we know about. Note that the port-25 gpios are not
30 .vg_name = "VGPIO0", /* Guess - not in datasheet */
70 * This structure controls the active GPIOs, which may be a subset
84 static void via_gpio_set(struct gpio_chip *chip, unsigned int nr, in via_gpio_set() argument
87 struct viafb_gpio_cfg *cfg = gpiochip_get_data(chip); in via_gpio_set()
92 spin_lock_irqsave(&cfg->vdev->reg_lock, flags); in via_gpio_set()
93 gpio = cfg->active_gpios[nr]; in via_gpio_set()
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/via/
Dvia-gpio.c1 // SPDX-License-Identifier: GPL-2.0-only
11 #include <linux/via-core.h>
12 #include <linux/via-gpio.h>
16 * The ports we know about. Note that the port-25 gpios are not
29 .vg_name = "VGPIO0", /* Guess - not in datasheet */
69 * This structure controls the active GPIOs, which may be a subset
83 static void via_gpio_set(struct gpio_chip *chip, unsigned int nr, in via_gpio_set() argument
86 struct viafb_gpio_cfg *cfg = gpiochip_get_data(chip); in via_gpio_set()
91 spin_lock_irqsave(&cfg->vdev->reg_lock, flags); in via_gpio_set()
92 gpio = cfg->active_gpios[nr]; in via_gpio_set()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/gpio/
Dspear_spics.txt10 Chipselects can be controlled by software by turning them as GPIOs. SPEAr
17 * compatible: should be defined as "st,spear-spics-gpio"
19 * st-spics,peripcfg-reg: peripheral configuration register offset
20 * st-spics,sw-enable-bit: bit offset to enable sw control
21 * st-spics,cs-value-bit: bit offset to drive chipselect low or high
22 * st-spics,cs-enable-mask: chip select number bit mask
23 * st-spics,cs-enable-shift: chip select number program offset
24 * gpio-controller: Marks the device node as gpio controller
25 * #gpio-cells: should be 1 and will mention chip select number
30 -------
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/gpio/
Dspear_spics.txt10 Chipselects can be controlled by software by turning them as GPIOs. SPEAr
17 * compatible: should be defined as "st,spear-spics-gpio"
19 * st-spics,peripcfg-reg: peripheral configuration register offset
20 * st-spics,sw-enable-bit: bit offset to enable sw control
21 * st-spics,cs-value-bit: bit offset to drive chipselect low or high
22 * st-spics,cs-enable-mask: chip select number bit mask
23 * st-spics,cs-enable-shift: chip select number program offset
24 * gpio-controller: Marks the device node as gpio controller
25 * #gpio-cells: should be 1 and will mention chip select number
30 -------
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/regulator/
Drichtek,rt6245-regulator.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/regulator/richtek,rt6245-regulator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - ChiYuan Huang <cy_huang@richtek.com>
13 The RT6245 is a high-performance, synchronous step-down converter
18 - $ref: regulator.yaml#
23 - richtek,rt6245
28 enable-gpios:
30 A connection of the chip 'enable' gpio line. If not provided,
[all …]
Drichtek,rtmv20-regulator.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/regulator/richtek,rtmv20-regulator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - ChiYuan Huang <cy_huang@richtek.com>
14 It is used to drive laser diode. There're two signals for chip controls
15 (Enable/Fail), Enable pin to turn chip on, and Fail pin as fault indication.
27 wakeup-source: true
32 enable-gpios:
33 description: A connection of the 'enable' gpio line.
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/touchscreen/
Dmelfas_mip4.txt4 - compatible: must be "melfas,mip4_ts"
5 - reg: I2C slave address of the chip (0x48 or 0x34)
6 - interrupts: interrupt to which the chip is connected
9 - ce-gpios: GPIO connected to the CE (chip enable) pin of the chip
16 interrupt-parent = <&gpio>;
18 ce-gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/
Dnuvoton,nau8315.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NAU8315/NAU8318 Mono Class-D Amplifier
10 - David Lin <CTLIN0@nuvoton.com>
13 - $ref: dai-common.yaml#
18 - nuvoton,nau8315
19 - nuvoton,nau8318
21 '#sound-dai-cells':
24 enable-gpios:
[all …]

12345678910>>...25