/openbmc/u-boot/arch/arm/dts/ |
H A D | s5pc110-pinctrl.dtsi | 3 * U-Boot additions to enable a generic Exynos GPIO driver 13 gpio-controller; 14 #gpio-cells = <2>; 18 gpio-controller; 19 #gpio-cells = <2>; 23 gpio-controller; 24 #gpio-cells = <2>; 28 gpio-controller; 29 #gpio-cells = <2>; 33 gpio-controller; [all …]
|
H A D | s5pc100-pinctrl.dtsi | 3 * U-Boot additions to enable a generic Exynos GPIO driver 11 gpio-controller; 12 #gpio-cells = <2>; 16 gpio-controller; 17 #gpio-cells = <2>; 21 gpio-controller; 22 #gpio-cells = <2>; 26 gpio-controller; 27 #gpio-cells = <2>; 31 gpio-controller; [all …]
|
H A D | exynos5250-pinctrl.dtsi | 18 gpio-controller; 19 #gpio-cells = <2>; 26 gpio-controller; 27 #gpio-cells = <2>; 34 gpio-controller; 35 #gpio-cells = <2>; 42 gpio-controller; 43 #gpio-cells = <2>; 50 gpio-controller; 51 #gpio-cells = <2>; [all …]
|
H A D | exynos4x12-pinctrl.dtsi | 18 gpio-controller; 19 #gpio-cells = <2>; 26 gpio-controller; 27 #gpio-cells = <2>; 34 gpio-controller; 35 #gpio-cells = <2>; 42 gpio-controller; 43 #gpio-cells = <2>; 50 gpio-controller; 51 #gpio-cells = <2>; [all …]
|
H A D | exynos4210-pinctrl.dtsi | 20 gpio-controller; 21 #gpio-cells = <2>; 28 gpio-controller; 29 #gpio-cells = <2>; 36 gpio-controller; 37 #gpio-cells = <2>; 44 gpio-controller; 45 #gpio-cells = <2>; 52 gpio-controller; 53 #gpio-cells = <2>; [all …]
|
H A D | exynos54xx-pinctrl.dtsi | 20 gpio-controller; 21 #gpio-cells = <2>; 28 gpio-controller; 29 #gpio-cells = <2>; 39 gpio-controller; 40 #gpio-cells = <2>; 50 gpio-controller; 51 #gpio-cells = <2>; 58 gpio-controller; 59 #gpio-cells = <2>; [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/gpio/ |
D | gpio_base.c |
|
/openbmc/u-boot/doc/device-tree-bindings/gpio/ |
H A D | gpio.txt | 1 Specifying GPIO information for devices 8 properties, each containing a 'gpio-list': 10 gpio-list ::= <single-gpio> [gpio-list] 11 single-gpio ::= <gpio-phandle> <gpio-specifier> 12 gpio-phandle : phandle to gpio controller node 13 gpio-specifier : Array of #gpio-cells specifying specific gpio 16 GPIO properties should be named "[<name>-]gpios", with <name> being the purpose 17 of this GPIO for the device. While a non-existent <name> is considered valid 21 GPIO properties can contain one or more GPIO phandles, but only in exceptional 30 The following example could be used to describe GPIO pins used as device enable [all …]
|
/openbmc/u-boot/drivers/gpio/ |
H A D | adi_gpio2.c | 12 #include <asm/gpio.h> 20 static void gpio_error(unsigned gpio) in gpio_error() argument 22 printf("adi_gpio2: GPIO %d wasn't requested!\n", gpio); in gpio_error() 56 static DECLARE_RESERVED_MAP(gpio, GPIO_BANK_NUM); 59 inline int check_gpio(unsigned gpio) in check_gpio() argument 62 if (gpio == GPIO_PB15 || gpio == GPIO_PC14 || gpio == GPIO_PC15 || in check_gpio() 63 gpio == GPIO_PH14 || gpio == GPIO_PH15 || in check_gpio() 64 gpio == GPIO_PJ14 || gpio == GPIO_PJ15) in check_gpio() 67 if (gpio >= MAX_GPIOS) in check_gpio() 72 static void port_setup(unsigned gpio, unsigned short usage) in port_setup() argument [all …]
|
H A D | tegra_gpio.c | 3 * NVIDIA Tegra20 GPIO handling. 21 #include <asm/gpio.h> 23 #include <dt-bindings/gpio/gpio.h> 42 /* Return config of pin 'gpio' as GPIO (1) or SFIO (0) */ 43 static int get_config(unsigned gpio) in get_config() argument 46 struct gpio_ctlr_bank *bank = &ctlr->gpio_bank[GPIO_BANK(gpio)]; in get_config() 50 u = readl(&bank->gpio_config[GPIO_PORT(gpio)]); in get_config() 51 type = (u >> GPIO_BIT(gpio)) & 1; in get_config() 54 GPIO_FULLPORT(gpio), GPIO_BIT(gpio), type ? "GPIO" : "SFPIO"); in get_config() 59 /* Config pin 'gpio' as GPIO or SFIO, based on 'type' */ [all …]
|
H A D | Kconfig | 2 # GPIO infrastructure and drivers 5 menu "GPIO Support" 8 bool "Enable Driver Model for GPIO drivers" 11 Enable driver model for GPIO access. The standard GPIO 13 the GPIO uclass. Drivers provide methods to query the 15 is defined in include/asm-generic/gpio.h. 18 bool "Enable GPIO hog support" 22 Enable gpio hog support 23 The GPIO chip may contain GPIO hog definitions. GPIO hogging 24 is a mechanism providing automatic GPIO request and config- [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/ |
D | marvell,kirkwood-pinctrl.txt |
|
D | marvell,armada-375-pinctrl.txt |
|
D | marvell,armada-37xx-pinctrl.txt |
|
D | marvell,armada-xp-pinctrl.txt |
|
D | marvell,orion-pinctrl.txt |
|
/openbmc/linux/drivers/gpu/drm/amd/display/include/ |
D | gpio_interface.h |
|
/openbmc/linux/arch/arc/boot/dts/ |
D | abilis_tb100.dtsi |
|
D | abilis_tb101.dtsi |
|
/openbmc/u-boot/doc/device-tree-bindings/pinctrl/ |
H A D | marvell,armada-37xx-pinctrl.txt | 1 * Marvell Armada 37xx SoC pin and GPIO controller 3 Each Armada 37xx SoC comes with two pin and GPIO controllers, one for the 6 GPIO and pin controller: 21 - reg: The first set of registers is for pinctrl/GPIO and the second 23 - interrupts: list of interrupts used by the GPIO 29 - functions jtag, gpio 33 - functions sdio, gpio 37 - functions emmc, gpio 41 - functions pwm, gpio 45 - functions pwm, gpio [all …]
|
/openbmc/linux/arch/arm/boot/dts/samsung/ |
D | exynos5410-pinctrl.dtsi |
|
/openbmc/linux/Documentation/admin-guide/gpio/ |
D | gpio-sim.rst |
|
/openbmc/qemu/tests/qtest/ |
H A D | npcm7xx_gpio-test.c | 2 * QTest testcase for the Nuvoton NPCM7xx GPIO modules. 21 #define GPIO(x) (0xf0010000 + (x) * 0x1000) macro 24 /* GPIO registers */ 58 if (readl(GPIO(n) + GP_N_TLOCK1) != 0) { in gpio_unlock() 59 writel(GPIO(n) + GP_N_TLOCK2, 0xc0de1248); in gpio_unlock() 60 writel(GPIO(n) + GP_N_TLOCK1, 0xc0defa73); in gpio_unlock() 64 /* Restore the GPIO controller to a sensible default state. */ 69 writel(GPIO(n) + GP_N_EVEN, 0x00000000); in gpio_reset() 70 writel(GPIO(n) + GP_N_EVST, 0xffffffff); in gpio_reset() 71 writel(GPIO(n) + GP_N_POL, 0x00000000); in gpio_reset() [all …]
|
/openbmc/witherspoon-pfault-analysis/ |
H A D | gpio.hpp | 5 #include <linux/gpio.h> 12 namespace gpio namespace 22 * If the GPIO is an input or output 40 * Represents a GPIO. 42 * Currently supports reading a GPIO. 46 class GPIO class 49 GPIO() = delete; 50 GPIO(const GPIO&) = delete; 51 GPIO(GPIO&&) = default; 52 GPIO& operator=(const GPIO&) = delete; [all …]
|
/openbmc/phosphor-power/ |
H A D | gpio.hpp | 5 #include <linux/gpio.h> 12 namespace gpio namespace 22 * If the GPIO is an input or output 40 * Represents a GPIO. 42 * Currently supports reading a GPIO. 46 class GPIO class 49 GPIO() = delete; 50 GPIO(const GPIO&) = delete; 51 GPIO(GPIO&&) = default; 52 GPIO& operator=(const GPIO&) = delete; [all …]
|