Home
last modified time | relevance | path

Searched refs:GPIO (Results 1 – 25 of 802) sorted by relevance

12345678910>>...33

/linux-6.12.1/drivers/pinctrl/
Dpinctrl-xway.c115 MFP_XWAY(GPIO0, GPIO, EXIN, MII, TDM),
116 MFP_XWAY(GPIO1, GPIO, STP, DFE, EBU),
117 MFP_XWAY(GPIO2, GPIO, STP, DFE, EPHY),
118 MFP_XWAY(GPIO3, GPIO, STP, EPHY, EBU),
119 MFP_XWAY(GPIO4, GPIO, GPT, EPHY, MII),
120 MFP_XWAY(GPIO5, GPIO, MII, ASC, GPT),
121 MFP_XWAY(GPIO6, GPIO, MII, ASC, EXIN),
122 MFP_XWAY(GPIO7, GPIO, SPI, MII, JTAG),
123 MFP_XWAY(GPIO8, GPIO, SPI, MII, JTAG),
124 MFP_XWAY(GPIO9, GPIO, SPI, MII, JTAG),
[all …]
Dpinctrl-lpc18xx.c240 LPC_P(0,0, GPIO, SSP1, ENET, SGPIO, R, R, I2S0_TX_WS,I2S1, 0, ND);
241 LPC_P(0,1, GPIO, SSP1,ENET_ALT,SGPIO, R, R, ENET, I2S1, 0, ND);
242 LPC_P(1,0, GPIO, CTIN, EMC, R, R, SSP0, SGPIO, R, 0, ND);
243 LPC_P(1,1, GPIO, CTOUT, EMC, SGPIO, R, SSP0, R, R, 0, ND);
244 LPC_P(1,2, GPIO, CTOUT, EMC, SGPIO, R, SSP0, R, R, 0, ND);
245 LPC_P(1,3, GPIO, CTOUT, SGPIO, EMC, USB0, SSP1, R, SDMMC, 0, ND);
246 LPC_P(1,4, GPIO, CTOUT, SGPIO, EMC, USB0, SSP1, R, SDMMC, 0, ND);
247 LPC_P(1,5, GPIO, CTOUT, R, EMC, USB0, SSP1, SGPIO, SDMMC, 0, ND);
248 LPC_P(1,6, GPIO, CTIN, R, EMC, R, R, SGPIO, SDMMC, 0, ND);
249 LPC_P(1,7, GPIO, UART1, CTOUT, EMC, USB0, R, R, R, 0, ND);
[all …]
Dpinctrl-falcon.c107 MFP_FALCON(GPIO0, RST, GPIO, NONE, NONE),
108 MFP_FALCON(GPIO1, GPIO, GPIO, NONE, NONE),
109 MFP_FALCON(GPIO2, GPIO, GPIO, NONE, NONE),
110 MFP_FALCON(GPIO3, GPIO, GPIO, NONE, NONE),
111 MFP_FALCON(GPIO4, NTR, GPIO, NONE, NONE),
112 MFP_FALCON(GPIO5, NTR, GPIO, PPS, NONE),
113 MFP_FALCON(GPIO6, RST, GPIO, NONE, NONE),
114 MFP_FALCON(GPIO7, MDIO, GPIO, NONE, NONE),
115 MFP_FALCON(GPIO8, MDIO, GPIO, NONE, NONE),
116 MFP_FALCON(GPIO9, LED, GPIO, NONE, NONE),
[all …]
Dpinctrl-k210.c182 K210_PC_DEFAULT(GPIO),
227 K210_FUNC(GPIOHS0, GPIO),
228 K210_FUNC(GPIOHS1, GPIO),
229 K210_FUNC(GPIOHS2, GPIO),
230 K210_FUNC(GPIOHS3, GPIO),
231 K210_FUNC(GPIOHS4, GPIO),
232 K210_FUNC(GPIOHS5, GPIO),
233 K210_FUNC(GPIOHS6, GPIO),
234 K210_FUNC(GPIOHS7, GPIO),
235 K210_FUNC(GPIOHS8, GPIO),
[all …]
DKconfig35 bool "AMD GPIO pin control"
44 The driver for memory mapped GPIO functionality on AMD platforms
47 for GPIO use.
53 tristate "Apple SoC GPIO pin controller driver"
62 This is the driver for the GPIO controller found on Apple ARM SoCs,
80 tristate "Pinctrl and GPIO driver for ams AS3722 PMIC"
85 AS3722 device supports the configuration of GPIO pins for different
87 open drain configuration for the GPIO pins of AS3722 devices. It also
88 supports the GPIO functionality through gpiolib.
117 tristate "X-Powers AXP209 PMIC pinctrl and GPIO Support"
[all …]
/linux-6.12.1/drivers/gpio/
DKconfig3 # GPIO infrastructure and drivers
7 bool "GPIO Support"
9 This enables GPIO support through the generic GPIO library.
11 one or more of the GPIO drivers below.
51 bool "Debug GPIO calls"
54 Say Y here to add some extra checks and diagnostics to GPIO calls.
68 This ABI is deprecated. If you want to use GPIO from userspace,
81 Only say N if you are sure that the GPIO character device is not
87 bool "Support GPIO ABI Version 1"
91 Say Y here to support version 1 of the GPIO CDEV ABI.
[all …]
DTODO1 This is a place for planning the ongoing long-term work in the GPIO
5 GPIO descriptors
7 Starting with commit 79a9becda894 the GPIO subsystem embarked on a journey
8 to move away from the global GPIO numberspace and toward a descriptor-based
9 approach. This means that GPIO consumers, drivers and machine descriptions
10 ideally have no use or idea of the global GPIO numberspace that has/was
11 used in the inception of the GPIO subsystem.
16 The underlying motivation for this is that the GPIO numberspace has become
23 Linux GPIO number as those descriptions are external to the Linux kernel
24 and treat GPIO lines as abstract entities.
[all …]
/linux-6.12.1/drivers/pinctrl/bcm/
DKconfig18 framework. GPIO is provided by a separate GPIO driver.
21 tristate "Broadcom BCM2835 GPIO (with PINCONF) driver"
30 Say Y here to enable the Broadcom BCM2835 GPIO driver.
56 bool "Broadcom BCM6318 GPIO driver"
62 Say Y here to enable the Broadcom BCM6318 GPIO driver.
65 bool "Broadcom BCM6328 GPIO driver"
71 Say Y here to enable the Broadcom BCM6328 GPIO driver.
74 bool "Broadcom BCM6358 GPIO driver"
80 Say Y here to enable the Broadcom BCM6358 GPIO driver.
83 bool "Broadcom BCM6362 GPIO driver"
[all …]
/linux-6.12.1/Documentation/admin-guide/gpio/
Dgpio-aggregator.rst3 GPIO Aggregator
6 The GPIO Aggregator provides a mechanism to aggregate GPIOs, and expose them as
13 GPIO controllers are exported to userspace using /dev/gpiochip* character
15 system permissions, on an all-or-nothing basis: either a GPIO controller is
18 The GPIO Aggregator provides access control for a set of one or more GPIOs, by
22 grab the full GPIO controller, and no longer needs to care about which GPIOs to
25 Aggregated GPIO controllers are instantiated and destroyed by writing to
31 Userspace may ask the kernel to instantiate an aggregated GPIO
42 is a GPIO line name,
45 is a GPIO chip label, and
[all …]
Dgpio-virtuser.rst3 Virtual GPIO Consumer
6 The virtual GPIO Consumer module allows users to instantiate virtual devices
10 A virtual consumer uses the driver-facing GPIO APIs and allows to cover it with
14 Creating GPIO consumers
35 This is a directory representing a GPIO consumer device.
46 Creating GPIO lookup tables
53 The ``'con_id'`` directory represents a single GPIO lookup and its value maps
57 Users can assign a number of GPIOs to each lookup. Each GPIO is a sub-directory
72 This is a group describing a single GPIO in the ``con_id-gpios`` property.
78 The ``'key'`` attribute represents either the name of the chip this GPIO
[all …]
/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-driver-chromeos-acpi67 What: /sys/bus/platform/devices/GGL0001:*/GPIO.X/GPIO.0
68 /sys/bus/platform/devices/GOOG0016:*/GPIO.X/GPIO.0
72 Returns type of the GPIO signal for the Chrome OS specific
73 GPIO assignments (integer).
79 256 to 511 Debug header GPIO 0 to GPIO 255.
82 What: /sys/bus/platform/devices/GGL0001:*/GPIO.X/GPIO.1
83 /sys/bus/platform/devices/GOOG0016:*/GPIO.X/GPIO.1
87 Returns signal attributes of the GPIO signal (integer bitfield).
94 What: /sys/bus/platform/devices/GGL0001:*/GPIO.X/GPIO.2
95 /sys/bus/platform/devices/GOOG0016:*/GPIO.X/GPIO.2
[all …]
/linux-6.12.1/arch/arm64/boot/dts/bitmain/
Dbm1880-sophon-edge.dts12 * GPIO name legend: proper name = the GPIO line is used as GPIO
15 * "[PER]" = pin is muxed for [peripheral] (not GPIO)
29 * lines i.e. "[FOO]", the GPIO named lines "GPIO-A" thru "GPIO-L"
30 * are the only ones actually used for GPIO.
56 "GPIO-A", /* GPIO0, LSEC pin 23 */
57 "GPIO-C", /* GPIO1, LSEC pin 25 */
59 "GPIO-E", /* GPIO3, LSEC pin 27 */
63 "GPIO-G", /* GPIO7, LSEC pin 29 */
112 "GPIO-I", /* GPIO50, LSEC pin 31 */
113 "GPIO-K", /* GPIO51, LSEC pin 33 */
[all …]
/linux-6.12.1/arch/arm/boot/dts/hisilicon/
Dhi3620-hi4511.dts71 0x008 0x0 /* GPIO -- eFUSE_DOUT */
95 0x0f8 0x1 /* GPIO (IOMG61) */
96 0x0fc 0x1 /* GPIO (IOMG62) */
107 0x104 0x1 /* GPIO (IOMG96) */
108 0x108 0x1 /* GPIO (IOMG64) */
119 0x160 0x1 /* GPIO (IOMG85) */
120 0x164 0x1 /* GPIO (IOMG86) */
132 0x168 0x1 /* GPIO (IOMG87) */
133 0x16c 0x1 /* GPIO (IOMG88) */
134 0x170 0x1 /* GPIO (IOMG93) */
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/gpio/
Dgpio.txt1 Specifying GPIO information for devices
7 GPIO properties should be named "[<name>-]gpios", with <name> being the purpose
8 of this GPIO for the device. While a non-existent <name> is considered valid
10 for new bindings. Also, GPIO properties named "[<name>-]gpio" are valid and old
14 GPIO properties can contain one or more GPIO phandles, but only in exceptional
23 The following example could be used to describe GPIO pins used as device enable
38 a local offset to the GPIO line and the second cell represent consumer flags,
57 GPIO pin number, and GPIO flags as accepted by the "qe_pio_e" gpio-controller.
83 1.1) GPIO specifier best practices
86 A gpio-specifier should contain a flag indicating the GPIO polarity; active-
[all …]
Dnxp,lpc1850-gpio.txt1 NXP LPC18xx/43xx GPIO controller Device Tree Bindings
6 - reg : List of addresses and lengths of the GPIO controller
10 - clocks : Phandle and clock specifier pair for GPIO controller
11 - resets : Phandle and reset specifier pair for GPIO controller
12 - gpio-controller : Marks the device node as a GPIO controller
14 - The first cell is the GPIO line number
19 0..9 range, for GPIO pin interrupts it is equal
21 GPIO pin configuration, 8 is for GPIO GROUP0
22 interrupt, 9 is for GPIO GROUP1 interrupt
26 - gpio-ranges : Mapping between GPIO and pinctrl
D8xxx_gpio.txt1 GPIO controllers on MPC8xxx SoCs
3 This is for the non-QE/CPM/GUTs GPIO controllers as found on
6 Every GPIO controller node must have #gpio-cells property defined,
8 See bindings/gpio/gpio.txt for details of how to specify GPIO
11 The GPIO module usually is connected to the SoC's internal interrupt
13 interrupt client nodes section) for details how to specify this GPIO
16 The GPIO module may serve as another interrupt controller (cascaded to
28 - interrupts: Interrupt mapping for GPIO IRQ.
29 - gpio-controller: Marks the port as GPIO controller.
32 - interrupt-controller: Empty boolean property which marks the GPIO
[all …]
Dgpio-twl4030.txt1 twl4030 GPIO controller bindings
5 - "ti,twl4030-gpio" for twl4030 GPIO controller
9 - gpio-controller : Marks the device node as a GPIO controller.
12 The first cell is the GPIO number.
15 - ti,debounce : if n-th bit is set, debounces GPIO-n
16 - ti,mmc-cd : if n-th bit is set, GPIO-n controls VMMC(n+1)
17 - ti,pullups : if n-th bit is set, set a pullup on GPIO-n
18 - ti,pulldowns : if n-th bit is set, set a pulldown on GPIO-n
/linux-6.12.1/Documentation/driver-api/gpio/
Ddriver.rst2 GPIO Driver Interface
5 This document serves as a guide for writers of GPIO chip drivers.
7 Each GPIO controller driver needs to include the following header, which defines
8 the structures used to define a GPIO driver::
16 A GPIO chip handles one or more GPIO lines. To be considered a GPIO chip, the
18 line is not general purpose, it is not GPIO and should not be handled by a
19 GPIO chip. The use case is the indicative: certain lines in a system may be
20 called GPIO but serve a very particular purpose thus not meeting the criteria
22 GPIO and should therefore still be handled by a GPIO chip driver.
24 Inside a GPIO driver, individual GPIO lines are identified by their hardware
[all …]
Ddrivers-on-gpio.rst2 Subsystem drivers using GPIO
5 Note that standard kernel drivers exist for common GPIO tasks and will provide
10 - leds-gpio: drivers/leds/leds-gpio.c will handle LEDs connected to GPIO
14 i.e. a LED will turn on/off in response to a GPIO line going high or low
17 - gpio-keys: drivers/input/keyboard/gpio_keys.c is used when your GPIO line
21 GPIO line cannot generate interrupts, so it needs to be periodically polled
26 mouse cable and connect the wires to GPIO lines or solder a mouse connector
30 an external speaker connected to a GPIO line. (If the beep is controlled by
33 - pwm-gpio: drivers/pwm/pwm-gpio.c is used to toggle a GPIO with a high
34 resolution timer producing a PWM waveform on the GPIO line, as well as
[all …]
Dboard.rst2 GPIO Mappings
7 All platforms can enable the GPIO library, but if the platform strictly
8 requires GPIO functionality to be present, it needs to select GPIOLIB from its
16 exact way to do it depends on the GPIO controller providing the GPIOs, see the
38 "led" function, and GPIO 1 as the "power" GPIO::
48 The led GPIOs will be active high, while the power GPIO will be active low (i.e.
52 the <function>-prefix of the GPIO suffixes ("gpios" or "gpio", automatically
56 Internally, the GPIO subsystem prefixes the GPIO suffix ("gpios" or "gpio")
94 For more information about the ACPI GPIO bindings see
112 - key is either the label of the gpiod_chip instance providing the GPIO, or
[all …]
/linux-6.12.1/arch/arm/boot/dts/nxp/imx/
Dimx6ull-dhcom-pdk2.dts30 enable-gpios = <&gpio5 8 GPIO_ACTIVE_HIGH>; /* GPIO G */
39 gpios = <&gpio5 0 GPIO_ACTIVE_LOW>; /* GPIO A */
40 label = "TA1-GPIO-A";
46 gpios = <&gpio5 1 GPIO_ACTIVE_LOW>; /* GPIO B */
47 label = "TA2-GPIO-B";
53 gpios = <&gpio5 2 GPIO_ACTIVE_LOW>; /* GPIO C */
54 label = "TA3-GPIO-C";
60 gpios = <&gpio5 3 GPIO_ACTIVE_LOW>; /* GPIO D */
61 label = "TA4-GPIO-D";
71 * Disable PDK2 LED5, because GPIO E is
[all …]
/linux-6.12.1/arch/arm64/boot/dts/hisilicon/
Dhi3798cv200-poplar.dts108 gpio-line-names = "GPIO-E", "",
110 "", "GPIO-F",
111 "", "GPIO-J";
116 gpio-line-names = "GPIO-H", "GPIO-I",
117 "GPIO-L", "GPIO-G",
118 "GPIO-K", "",
126 "GPIO-C", "",
127 "", "GPIO-B";
134 "", "GPIO-D",
142 "", "GPIO-A",
/linux-6.12.1/drivers/pinctrl/intel/
DKconfig7 bool "Intel Baytrail GPIO pin control"
10 driver for memory mapped GPIO functionality on Intel Baytrail
18 tristate "Intel Cherryview/Braswell pinctrl and GPIO driver"
25 tristate "Intel Lynxpoint pinctrl and GPIO driver"
41 tristate "Intel pinctrl and GPIO platform driver"
52 tristate "Intel Alder Lake pinctrl and GPIO driver"
59 tristate "Intel Broxton pinctrl and GPIO driver"
66 tristate "Intel Cannon Lake PCH pinctrl and GPIO driver"
73 tristate "Intel Cedar Fork pinctrl and GPIO driver"
80 tristate "Intel Denverton pinctrl and GPIO driver"
[all …]
/linux-6.12.1/Documentation/firmware-guide/acpi/
Dgpio-properties.rst4 _DSD Device Properties Related to GPIO
10 the corresponding GPIO, which is pretty error prone (it depends on
40 The format of the supported GPIO property is::
52 If 1, the GPIO is marked as active_low.
56 it to 1 marks the GPIO as active low.
62 resource, second pin in that resource with the GPIO number of 31.
109 ^GPIO, 19, 0, 0, // chip select 0: GPIO
111 ^GPIO, 20, 0, 0, // chip select 2: GPIO
115 Note, that historically ACPI has no means of the GPIO polarity and thus
117 to avoid a chain of negations, the GPIO polarity is considered being
[all …]
/linux-6.12.1/arch/arm64/boot/dts/qcom/
Dqrb5165-rb5.dts1154 "GPIO-MM",
1155 "GPIO-NN",
1156 "GPIO-OO",
1157 "GPIO-PP",
1158 "GPIO-A",
1159 "GPIO-C",
1160 "GPIO-E",
1161 "GPIO-D",
1164 "GPIO-TT", /* GPIO_10 */
1168 "GPIO-X",
[all …]

12345678910>>...33