/linux-6.1.9/Documentation/translations/zh_CN/driver-api/gpio/ |
D | legacy.rst | 15 传统GPIO接口 18 本文档概述了Linux下的GPIO访问公约。 24 什么是GPIO? 26 "通用输入/输出口"(GPIO)是一个灵活的由软件控制的数字信号。他们可 28 比较熟悉。每个GPIO 都代表一个连接到特定引脚或球栅阵列(BGA)封装中 29 “球珠”的一个位。电路板原理图显示了 GPIO 与外部硬件的连接关系。 32 片上系统 (SOC) 处理器对 GPIO 有很大的依赖。在某些情况下,每个 33 非专用引脚都可配置为 GPIO,且大多数芯片都最少有一些 GPIO。 34 可编程逻辑器件(类似 FPGA) 可以方便地提供 GPIO。像电源管理和 36 匮乏的 SOC。同时还有通过 I2C 或 SPI 串行总线连接的“GPIO扩展器” [all …]
|
/linux-6.1.9/Documentation/translations/zh_TW/ |
D | gpio.txt | 27 GPIO 接口 29 本文檔提供了一個在Linux下訪問GPIO的公約概述。 35 什麼是GPIO? 37 "通用輸入/輸出口"(GPIO)是一個靈活的由軟體控制的數位訊號。他們可 39 比較熟悉。每個GPIO 都代表一個連接到特定引腳或球柵陣列(BGA)封裝中 40 「球珠」的一個位。電路板原理圖顯示了 GPIO 與外部硬體的連接關係。 43 片上系統 (SOC) 處理器對 GPIO 有很大的依賴。在某些情況下,每個 44 非專用引腳都可配置爲 GPIO,且大多數晶片都最少有一些 GPIO。 45 可編程邏輯器件(類似 FPGA) 可以方便地提供 GPIO。像電源管理和 47 匱乏的 SOC。同時還有通過 I2C 或 SPI 串行總線連接的「GPIO擴展器」 [all …]
|
/linux-6.1.9/drivers/pinctrl/ |
D | pinctrl-xway.c | 116 MFP_XWAY(GPIO0, GPIO, EXIN, NONE, TDM), 117 MFP_XWAY(GPIO1, GPIO, EXIN, NONE, NONE), 118 MFP_XWAY(GPIO2, GPIO, CGU, EXIN, GPHY), 119 MFP_XWAY(GPIO3, GPIO, CGU, NONE, PCI), 120 MFP_XWAY(GPIO4, GPIO, STP, NONE, ASC), 121 MFP_XWAY(GPIO5, GPIO, STP, GPHY, NONE), 122 MFP_XWAY(GPIO6, GPIO, STP, GPT, ASC), 123 MFP_XWAY(GPIO7, GPIO, CGU, PCI, GPHY), 124 MFP_XWAY(GPIO8, GPIO, CGU, NMI, NONE), 125 MFP_XWAY(GPIO9, GPIO, ASC, SPI, EXIN), [all …]
|
D | pinctrl-lpc18xx.c | 238 LPC_P(0,0, GPIO, SSP1, ENET, SGPIO, R, R, I2S0_TX_WS,I2S1, 0, ND); 239 LPC_P(0,1, GPIO, SSP1,ENET_ALT,SGPIO, R, R, ENET, I2S1, 0, ND); 240 LPC_P(1,0, GPIO, CTIN, EMC, R, R, SSP0, SGPIO, R, 0, ND); 241 LPC_P(1,1, GPIO, CTOUT, EMC, SGPIO, R, SSP0, R, R, 0, ND); 242 LPC_P(1,2, GPIO, CTOUT, EMC, SGPIO, R, SSP0, R, R, 0, ND); 243 LPC_P(1,3, GPIO, CTOUT, SGPIO, EMC, USB0, SSP1, R, SDMMC, 0, ND); 244 LPC_P(1,4, GPIO, CTOUT, SGPIO, EMC, USB0, SSP1, R, SDMMC, 0, ND); 245 LPC_P(1,5, GPIO, CTOUT, R, EMC, USB0, SSP1, SGPIO, SDMMC, 0, ND); 246 LPC_P(1,6, GPIO, CTIN, R, EMC, R, R, SGPIO, SDMMC, 0, ND); 247 LPC_P(1,7, GPIO, UART1, CTOUT, EMC, USB0, R, R, R, 0, ND); [all …]
|
D | pinctrl-falcon.c | 107 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 …]
|
/linux-6.1.9/drivers/gpio/ |
D | Kconfig | 3 # GPIO infrastructure and drivers 15 bool "GPIO Support" 17 This enables GPIO support through the generic GPIO library. 19 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 …]
|
D | TODO | 1 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.1.9/drivers/pinctrl/bcm/ |
D | Kconfig | 18 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.1.9/Documentation/admin-guide/gpio/ |
D | gpio-aggregator.rst | 3 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 …]
|
/linux-6.1.9/arch/arm/boot/dts/ |
D | hi3620-hi4511.dts | 71 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.1.9/arch/arm64/boot/dts/bitmain/ |
D | bm1880-sophon-edge.dts | 12 * 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.1.9/Documentation/devicetree/bindings/input/ |
D | gpio-mouse.txt | 1 Device-Tree bindings for GPIO attached mice 3 This simply uses standard GPIO handles to define a simple mouse connected 4 to 5-7 GPIO lines. 9 - up-gpios: GPIO line phandle to the line indicating "up" 10 - down-gpios: GPIO line phandle to the line indicating "down" 11 - left-gpios: GPIO line phandle to the line indicating "left" 12 - right-gpios: GPIO line phandle to the line indicating "right" 15 - button-left-gpios: GPIO line handle to the left mouse button 16 - button-middle-gpios: GPIO line handle to the middle mouse button 17 - button-right-gpios: GPIO line handle to the right mouse button
|
/linux-6.1.9/Documentation/devicetree/bindings/gpio/ |
D | gpio.txt | 1 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 …]
|
D | nxp,lpc1850-gpio.txt | 1 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
|
D | intel,ixp4xx-gpio.txt | 1 Intel IXP4xx XScale Networking Processors GPIO 3 This GPIO controller is found in the Intel IXP4xx processors. 4 It supports 16 GPIO lines. 6 The interrupt portions of the GPIO controller is hierarchical: 7 the synchronous edge detector is part of the GPIO block, but the 10 the first 12 GPIO lines to 12 system interrupts. 12 The remaining 4 GPIO lines can not be used for receiving 15 The interrupt parent of this GPIO controller must be the 23 - gpio-controller : marks this as a GPIO controller
|
D | 8xxx_gpio.txt | 1 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 …]
|
D | nvidia,tegra186-gpio.yaml | 7 title: NVIDIA Tegra GPIO Controller (Tegra186 and later) 14 Tegra186 contains two GPIO controllers; a main controller and an "AON" 20 The Tegra186 GPIO controller allows software to set the IO direction of, 21 and read/write the value of, numerous GPIO signals. Routing of GPIO signals 26 GPIO register set. These registers exist in a single contiguous block 28 features available, varies between the different GPIO controllers. 31 Code that wishes to configure access to the GPIO registers needs access 33 GPIO data does not need access to these registers. 35 b) GPIO registers, which allow manipulation of the GPIO signals. In some 36 GPIO controllers, these registers are exposed via multiple "physical [all …]
|
/linux-6.1.9/Documentation/driver-api/gpio/ |
D | driver.rst | 2 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 …]
|
D | legacy.rst | 2 Legacy GPIO Interfaces 5 This provides an overview of GPIO access conventions on Linux. 11 What is a GPIO? 13 A "General Purpose Input/Output" (GPIO) is a flexible software-controlled 15 to Linux developers working with embedded and custom hardware. Each GPIO 22 non-dedicated pin can be configured as a GPIO; and most chips have at least 26 also "GPIO Expander" chips that connect using the I2C or SPI serial busses. 27 Most PC southbridges have a few dozen GPIO-capable pins (with only the BIOS 39 cases (to support bidirectional signaling). GPIO controllers may have 46 - Usually a GPIO will be configurable as either input or output, as needed [all …]
|
D | board.rst | 2 GPIO Mappings 8 description of the deprecated integer-based GPIO interface please refer to 11 corresponding GPIO). 13 All platforms can enable the GPIO library, but if the platform strictly 14 requires GPIO functionality to be present, it needs to select GPIOLIB from its 22 exact way to do it depends on the GPIO controller providing the GPIOs, see the 44 "led" function, and GPIO 1 as the "power" GPIO:: 54 The led GPIOs will be active high, while the power GPIO will be active low (i.e. 58 the <function>-prefix of the GPIO suffixes ("gpios" or "gpio", automatically 62 Internally, the GPIO subsystem prefixes the GPIO suffix ("gpios" or "gpio") [all …]
|
D | drivers-on-gpio.rst | 2 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. 34 HDMI connector. It will provide a better userspace sysfs interface than GPIO. 37 the system by pulling a GPIO line and will register a restart handler so [all …]
|
/linux-6.1.9/Documentation/driver-api/hte/ |
D | tegra194-hte.rst | 9 (Generic Timestamping Engine) instances: 1) GPIO GTE and 2) LIC 15 GPIO GTE 18 This GTE instance timestamps GPIO in real time. For that to happen GPIO 19 needs to be configured as input. The always on (AON) GPIO controller instance 20 supports timestamping GPIOs in real time and it has 39 GPIO lines. The GPIO GTE 21 and AON GPIO controller are tightly coupled as it requires very specific bits 22 to be set in GPIO config register before GPIO GTE can be used, for that GPIOLIB 23 adds two optional APIs as below. The GPIO GTE code supports both kernel 45 The provider source code of both IRQ and GPIO GTE instances is located at 48 and GPIO GTE.
|
/linux-6.1.9/Documentation/ABI/testing/ |
D | sysfs-driver-chromeos-acpi | 61 What: /sys/bus/platform/devices/GGL0001:*/GPIO.X/GPIO.0 65 Returns type of the GPIO signal for the Chrome OS specific 66 GPIO assignments (integer). 72 256 to 511 Debug header GPIO 0 to GPIO 255. 75 What: /sys/bus/platform/devices/GGL0001:*/GPIO.X/GPIO.1 79 Returns signal attributes of the GPIO signal (integer bitfield). 86 What: /sys/bus/platform/devices/GGL0001:*/GPIO.X/GPIO.2 90 Returns the GPIO number on the specified GPIO 93 What: /sys/bus/platform/devices/GGL0001:*/GPIO.X/GPIO.3 97 Returns name of the GPIO controller.
|
/linux-6.1.9/arch/arm64/boot/dts/qcom/ |
D | qrb5165-rb5.dts | 1032 "GPIO-MM", 1033 "GPIO-NN", 1034 "GPIO-OO", 1035 "GPIO-PP", 1036 "GPIO-A", 1037 "GPIO-C", 1038 "GPIO-E", 1039 "GPIO-D", 1042 "GPIO-TT", /* GPIO_10 */ 1046 "GPIO-X", [all …]
|
/linux-6.1.9/arch/arm64/boot/dts/hisilicon/ |
D | hi3798cv200-poplar.dts | 108 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",
|