/linux-6.3-rc2/Documentation/translations/zh_CN/driver-api/gpio/ |
A D | legacy.rst | 15 传统GPIO接口 24 什么是GPIO? 33 非专用引脚都可配置为 GPIO,且大多数芯片都最少有一些 GPIO。 56 - 大部分 GPIO 可以在持有自旋锁时访问,但是通常由串行总线扩展的 GPIO 64 GPIO 公约 102 标识一组 GPIO 控制器,64-79标识另一类 GPIO 控制器,且在一个含有 104 使用编号2000-2063来标识一个 I2C 接口的 GPIO 扩展器中的 GPIO。 144 如果这个 GPIO 编码不存在,或者特定的 GPIO 不能用于那种模式,则方向 259 任何须将 GPIO 信号导向适当引脚的引脚复用硬件的编程应该发生在 GPIO 261 任何输出 GPIO 值的设置之后。这样可使从引脚特殊功能到 GPIO 的转换 [all …]
|
/linux-6.3-rc2/Documentation/translations/zh_TW/ |
A D | gpio.txt | 27 GPIO 接口 35 什麼是GPIO? 44 非專用引腳都可配置爲 GPIO,且大多數晶片都最少有一些 GPIO。 67 - 大部分 GPIO 可以在持有自旋鎖時訪問,但是通常由串行總線擴展的 GPIO 75 GPIO 公約 112 標識一組 GPIO 控制器,64-79標識另一類 GPIO 控制器,且在一個含有 153 如果這個 GPIO 編碼不存在,或者特定的 GPIO 不能用於那種模式,則方向 265 任何須將 GPIO 信號導向適當引腳的引腳復用硬體的編程應該發生在 GPIO 267 任何輸出 GPIO 值的設置之後。這樣可使從引腳特殊功能到 GPIO 的轉換 268 不會在引腳產生毛刺波形。有時當用一個 GPIO 實現其信號驅動一個非 GPIO [all …]
|
/linux-6.3-rc2/drivers/pinctrl/ |
A D | pinctrl-xway.c | 116 MFP_XWAY(GPIO0, GPIO, EXIN, NONE, TDM), 119 MFP_XWAY(GPIO3, GPIO, CGU, NONE, PCI), 120 MFP_XWAY(GPIO4, GPIO, STP, NONE, ASC), 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), 127 MFP_XWAY(GPIO11, GPIO, ASC, PCI, SPI), 137 MFP_XWAY(GPIO21, GPIO, PCI, EBU, GPT), 139 MFP_XWAY(GPIO23, GPIO, EBU, PCI, STP), [all …]
|
A D | pinctrl-lpc18xx.c | 240 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 …]
|
A D | pinctrl-falcon.c | 109 MFP_FALCON(GPIO1, GPIO, GPIO, NONE, NONE), 110 MFP_FALCON(GPIO2, GPIO, GPIO, NONE, NONE), 111 MFP_FALCON(GPIO3, GPIO, GPIO, NONE, NONE), 125 MFP_FALCON(GPIO34, SPI, GPIO, NONE, NONE), 126 MFP_FALCON(GPIO35, SPI, GPIO, NONE, NONE), 127 MFP_FALCON(GPIO36, SPI, GPIO, NONE, NONE), 128 MFP_FALCON(GPIO37, SPI, GPIO, NONE, NONE), 129 MFP_FALCON(GPIO38, SPI, GPIO, NONE, NONE), 130 MFP_FALCON(GPIO39, I2C, GPIO, NONE, NONE), 135 MFP_FALCON(GPIO44, SLIC, GPIO, PCM, ASC), [all …]
|
/linux-6.3-rc2/drivers/gpio/ |
A D | Kconfig | 15 bool "GPIO Support" 17 This enables GPIO support through the generic GPIO library. 243 GPIO block. 774 This ps-mode pin GPIO driver is based on GPIO framework. PS_MODE 888 tristate "Diamond Systems GPIO-MM GPIO support" 894 Enables GPIO support for the Diamond Systems GPIO-MM and GPIO-MM-12. 1014 GPIO driver for Maxim MAX7300 I2C-based GPIO expander. 1499 GPIO card. For more information on how to build a GPIO card 1616 GPIO driver for Maxim MAX7301 SPI-based GPIO expander. 1634 GPIO driver for EXAR XRA1403 16-bit SPI-based GPIO expander. [all …]
|
A D | TODO | 1 This is a place for planning the ongoing long-term work in the GPIO 5 GPIO descriptors 11 used in the inception of the GPIO subsystem. 24 and treat GPIO lines as abstract entities. 26 The runtime-assigned GPIO numberspace (what you get if you assign the GPIO 44 implicitly does not use global GPIO numbers. 107 Generic MMIO GPIO 116 dry-code conversions to MMIO GPIO for maintainers to test 120 0..n in some register to drive GPIO lines 127 Generic regmap GPIO [all …]
|
/linux-6.3-rc2/drivers/pinctrl/bcm/ |
A D | Kconfig | 18 framework. GPIO is provided by a separate GPIO driver. 56 bool "Broadcom BCM6318 GPIO driver" 65 bool "Broadcom BCM6328 GPIO driver" 74 bool "Broadcom BCM6358 GPIO driver" 123 GPIO controller (ASIU), the chipCommonG GPIO controller (CCM), and 124 the always-ON GPIO controller (CRMU/AON). All 3 GPIO controllers are 128 GPIO, the ChipcommonB GPIO. Later controller is supported by this 131 The Broadcom NS2 has two GPIO controller including the CRMU GPIO, 138 these pins are muxed to GPIO. 189 these pins are muxed to GPIO. [all …]
|
/linux-6.3-rc2/Documentation/admin-guide/gpio/ |
A D | gpio-aggregator.rst | 3 GPIO Aggregator 42 is a GPIO line name, 45 is a GPIO chip label, and 48 is a comma-separated list of GPIO offsets and/or 49 GPIO offset ranges denoted by dashes. 51 Example: Instantiate a new GPIO aggregator by aggregating GPIO 52 line 19 of "e6052000.gpio" and GPIO lines 20-21 of 60 Userspace may ask the kernel to destroy an aggregated GPIO 64 Example: Destroy the previously-created aggregated GPIO 72 Generic GPIO Driver [all …]
|
/linux-6.3-rc2/arch/arm/boot/dts/ |
A D | hi3620-hi4511.dts | 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) */ 144 0x0b4 0x1 /* GPIO (IOMG45) */ [all …]
|
A D | imx6ull-dhcom-pdk2.dts | 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 92 * Disable PDK2 LED7, because GPIO H is [all …]
|
/linux-6.3-rc2/arch/arm64/boot/dts/bitmain/ |
A D | bm1880-sophon-edge.dts | 12 * GPIO name legend: proper name = the GPIO line is used as 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 */ 124 "GPIO-B", /* GPIO62, LSEC pin 24 */ [all …]
|
/linux-6.3-rc2/Documentation/devicetree/bindings/input/ |
A 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.3-rc2/Documentation/devicetree/bindings/gpio/ |
A D | gpio.txt | 1 Specifying GPIO information for devices 14 GPIO properties can contain one or more GPIO phandles, but only in exceptional 57 GPIO pin number, and GPIO flags as accepted by the "qe_pio_e" gpio-controller. 83 1.1) GPIO specifier best practices 124 responsible for correctly interpreting (inverting) the GPIO signal at the GPIO 134 Some system-on-chips (SoCs) use the concept of GPIO banks. A GPIO bank is an 185 The GPIO chip may contain GPIO hog definitions. GPIO hogging is a mechanism 189 Each GPIO hog definition is represented as a child node of the GPIO controller. 192 - gpios: Store the GPIO information (id, flags, ...) for each GPIO to 250 The GPIO controller offset pertains to the GPIO controller node containing the [all …]
|
A 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
|
A 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
|
A 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 …]
|
/linux-6.3-rc2/Documentation/driver-api/gpio/ |
A D | driver.rst | 2 GPIO Driver Interface 16 A GPIO chip handles one or more GPIO lines. To be considered a GPIO chip, the 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 38 number in the integer GPIO namespace so that it can be used with the legacy GPIO 49 2000-2063 to identify GPIO lines in a bank of I2C GPIO expanders. 112 description needs to provide "GPIO ranges" mapping the GPIO line offsets to pin 257 It is custom that GPIO drivers (GPIO chips) are also providing interrupts, 309 Cascaded GPIO irqchips 367 - NESTED THREADED GPIO IRQCHIPS: these are off-chip GPIO expanders and any [all …]
|
A D | legacy.rst | 2 Legacy GPIO Interfaces 11 What is a GPIO? 58 GPIO conventions 150 of a GPIO implicitly requests that GPIO (see below) if it has not been 162 Spinlock-Safe GPIO access 174 /* GPIO OUTPUT */ 189 calls to access the GPIO value in cases where the GPIO number (and for 284 GPIO signal to the appropriate pin should occur within a GPIO driver's 287 pin's special function to GPIO. This is sometimes required when using a GPIO 593 an I2C-based GPIO, its probe() routine should only be called after that GPIO [all …]
|
A D | board.rst | 2 GPIO Mappings 11 corresponding GPIO). 44 "led" function, and GPIO 1 as the "power" GPIO:: 62 Internally, the GPIO subsystem prefixes the GPIO suffix ("gpios" or "gpio") 119 the GPIO line name 121 to indicate that key is a GPIO line name 126 * GPIO_ACTIVE_HIGH - GPIO line is active high 127 * GPIO_ACTIVE_LOW - GPIO line is active low 130 * GPIO_PERSISTENT - GPIO line is persistent during 178 mapping and is thus transparent to GPIO consumers. [all …]
|
A 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 30 an external speaker connected to a GPIO line. 37 the system by pulling a GPIO line and will register a restart handler so 41 system down by pulling a GPIO line and will register a pm_power_off() 46 (off/on) that uses a GPIO, and integrated with the clock subsystem. 61 a GPIO line, integrating with the W1 subsystem and handling devices on [all …]
|
/linux-6.3-rc2/Documentation/driver-api/hte/ |
A 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.3-rc2/Documentation/ABI/testing/ |
A 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.3-rc2/arch/arm64/boot/dts/qcom/ |
A D | qrb5165-rb5.dts | 1038 "GPIO-A", 1039 "GPIO-C", 1040 "GPIO-E", 1041 "GPIO-D", 1048 "GPIO-X", 1059 "GPIO-Z", 1080 "GPIO-F", 1100 "GPIO-G", 1126 "GPIO-K", 1127 "GPIO-I", [all …]
|
/linux-6.3-rc2/arch/arm64/boot/dts/hisilicon/ |
A 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",
|