Home
last modified time | relevance | path

Searched full:gpio (Results 1 – 25 of 4565) sorted by relevance

12345678910>>...183

/linux/Documentation/devicetree/bindings/pinctrl/
H A Dqcom,pmic-gpio.yaml4 $id: http://devicetree.org/schemas/pinctrl/qcom,pmic-gpio.yaml#
7 title: Qualcomm PMIC GPIO block
13 This binding describes the GPIO block(s) found in the 8xxx series of
20 - qcom,pm2250-gpio
21 - qcom,pm660-gpio
22 - qcom,pm660l-gpio
23 - qcom,pm6125-gpio
24 - qcom,pm6150-gpio
25 - qcom,pm6150l-gpio
26 - qcom,pm6350-gpio
[all...]
H A Dmarvell,kirkwood-pinctrl.txt24 mpp0 0 gpio, nand(io2), spi(cs)
28 mpp4 4 gpio, nand(io6), uart0(rxd), ptp(clk)
32 mpp8 8 gpio, twsi0(sda), uart0(rts), uart1(rts), ptp(clk),
34 mpp9 9 gpio, twsi(sck), uart0(cts), uart1(cts), ptp(evreq),
37 mpp11 11 gpio, spi(miso), uart0(rxd), ptp(clk), ptp-1(evreq),
40 mpp13 13 gpio, sdio(cmd), uart1(txd)
41 mpp14 14 gpio, sdio(d0), uart1(rxd), mii(col)
42 mpp15 15 gpio, sdio(d1), uart0(rts), uart1(txd)
43 mpp16 16 gpio, sdio(d2), uart0(cts), uart1(rxd), mii(crs)
44 mpp17 17 gpio, sdio(d3)
[all …]
H A Dmarvell,armada-375-pinctrl.txt16 mpp0 0 gpio, dev(ad2), spi0(cs1), spi1(cs1)
17 mpp1 1 gpio, dev(ad3), spi0(mosi), spi1(mosi)
18 mpp2 2 gpio, dev(ad4), ptp(evreq), led(c0), audio(sdi)
19 mpp3 3 gpio, dev(ad5), ptp(trig), led(p3), audio(mclk)
20 mpp4 4 gpio, dev(ad6), spi0(miso), spi1(miso)
21 mpp5 5 gpio, dev(ad7), spi0(cs2), spi1(cs2)
22 mpp6 6 gpio, dev(ad0), led(p1), audio(lrclk)
23 mpp7 7 gpio, dev(ad1), ptp(clk), led(p2), audio(extclk)
24 mpp8 8 gpio, dev (bootcs), spi0(cs0), spi1(cs0)
25 mpp9 9 gpio, spi0(sck), spi1(sck), nand(we)
[all …]
H A Dmarvell,armada-xp-pinctrl.txt21 mpp0 0 gpio, ge0(txclkout), lcd(d0)
22 mpp1 1 gpio, ge0(txd0), lcd(d1)
23 mpp2 2 gpio, ge0(txd1), lcd(d2)
24 mpp3 3 gpio, ge0(txd2), lcd(d3)
25 mpp4 4 gpio, ge0(txd3), lcd(d4)
26 mpp5 5 gpio, ge0(txctl), lcd(d5)
27 mpp6 6 gpio, ge0(rxd0), lcd(d6)
28 mpp7 7 gpio, ge0(rxd1), lcd(d7)
29 mpp8 8 gpio, ge0(rxd2), lcd(d8)
30 mpp9 9 gpio, ge0(rxd3), lcd(d9)
[all …]
H A Dmarvell,orion-pinctrl.txt24 mpp0 0 pcie(rstout), pci(req2), gpio
25 mpp1 1 gpio, pci(gnt2)
26 mpp2 2 gpio, pci(req3), pci-1(pme)
27 mpp3 3 gpio, pci(gnt3)
28 mpp4 4 gpio, pci(req4)
29 mpp5 5 gpio, pci(gnt4)
30 mpp6 6 gpio, pci(req5), pci-1(clk)
31 mpp7 7 gpio, pci(gnt5), pci-1(clk)
32 mpp8 8 gpio, ge(col)
33 mpp9 9 gpio, ge(rxerr)
[all …]
H A Dmarvell,armada-38x-pinctrl.txt18 mpp0 0 gpio, ua0(rxd)
19 mpp1 1 gpio, ua0(txd)
20 mpp2 2 gpio, i2c0(sck)
21 mpp3 3 gpio, i2c0(sda)
22 mpp4 4 gpio, ge(mdc), ua1(txd), ua0(rts)
23 mpp5 5 gpio, ge(mdio), ua1(rxd), ua0(cts)
24 mpp6 6 gpio, ge0(txclkout), ge0(crs), dev(cs3)
25 mpp7 7 gpio, ge0(txd0), dev(ad9)
26 mpp8 8 gpio, ge0(txd1), dev(ad10)
27 mpp9 9 gpio, ge0(txd2), dev(ad11)
[all …]
H A Dmarvell,armada-39x-pinctrl.txt18 mpp0 0 gpio, ua0(rxd)
19 mpp1 1 gpio, ua0(txd)
20 mpp2 2 gpio, i2c0(sck)
21 mpp3 3 gpio, i2c0(sda)
22 mpp4 4 gpio, ua1(txd), ua0(rts), smi(mdc)
23 mpp5 5 gpio, ua1(rxd), ua0(cts), smi(mdio)
24 mpp6 6 gpio, dev(cs3), xsmi(mdio)
25 mpp7 7 gpio, dev(ad9), xsmi(mdc)
26 mpp8 8 gpio, dev(ad10), ptp(trig)
27 mpp9 9 gpio, dev(ad11), ptp(clk)
[all …]
/linux/drivers/gpu/drm/amd/display/dc/gpio/
H A Dgpio_base.c53 struct gpio *gpio, in dal_gpio_open() argument
56 return dal_gpio_open_ex(gpio, mode); in dal_gpio_open()
60 struct gpio *gpio, in dal_gpio_open_ex() argument
63 if (gpio->pin) { in dal_gpio_open_ex()
68 // No action if allocation failed during gpio construct in dal_gpio_open_ex()
69 if (!gpio->hw_container.ddc) { in dal_gpio_open_ex()
73 gpio->mode = mode; in dal_gpio_open_ex()
75 return dal_gpio_service_open(gpio); in dal_gpio_open_ex()
79 const struct gpio *gpio, in dal_gpio_get_value() argument
82 if (!gpio->pin) { in dal_gpio_get_value()
[all …]
/linux/drivers/gpio/
H A Dgpio-aspeed.c11 #include <linux/gpio/aspeed.h>
12 #include <linux/gpio/driver.h>
27 * These two headers aren't meant to be used by GPIO drivers. We need
32 #include <linux/gpio/consumer.h>
72 * represents disabled debouncing for the GPIO. Any other value for an element
106 * line even when the GPIO is configured as an output. Since
220 void (*reg_bit_set)(struct aspeed_gpio *gpio, unsigned int offset,
222 bool (*reg_bit_get)(struct aspeed_gpio *gpio, unsigned int offset,
224 int (*reg_bank_get)(struct aspeed_gpio *gpio, unsigned int offset,
226 void (*privilege_ctrl)(struct aspeed_gpio *gpio, unsigne
252 aspeed_gpio_g4_bank_reg(struct aspeed_gpio * gpio,const struct aspeed_gpio_bank * bank,const enum aspeed_gpio_reg reg) aspeed_gpio_g4_bank_reg() argument
338 find_bank_props(struct aspeed_gpio * gpio,unsigned int offset) find_bank_props() argument
351 have_gpio(struct aspeed_gpio * gpio,unsigned int offset) have_gpio() argument
361 have_input(struct aspeed_gpio * gpio,unsigned int offset) have_input() argument
371 have_output(struct aspeed_gpio * gpio,unsigned int offset) have_output() argument
378 aspeed_gpio_change_cmd_source(struct aspeed_gpio * gpio,unsigned int offset,int cmdsrc) aspeed_gpio_change_cmd_source() argument
384 aspeed_gpio_copro_request(struct aspeed_gpio * gpio,unsigned int offset) aspeed_gpio_copro_request() argument
393 aspeed_gpio_copro_release(struct aspeed_gpio * gpio,unsigned int offset) aspeed_gpio_copro_release() argument
400 aspeed_gpio_support_copro(struct aspeed_gpio * gpio) aspeed_gpio_support_copro() argument
408 struct aspeed_gpio *gpio = gpiochip_get_data(gc); aspeed_gpio_get() local
416 struct aspeed_gpio *gpio = gpiochip_get_data(gc); __aspeed_gpio_set() local
425 struct aspeed_gpio *gpio = gpiochip_get_data(gc); aspeed_gpio_set() local
442 struct aspeed_gpio *gpio = gpiochip_get_data(gc); aspeed_gpio_dir_in() local
461 struct aspeed_gpio *gpio = gpiochip_get_data(gc); aspeed_gpio_dir_out() local
481 struct aspeed_gpio *gpio = gpiochip_get_data(gc); aspeed_gpio_get_direction() local
498 irqd_to_aspeed_gpio_data(struct irq_data * d,struct aspeed_gpio ** gpio,int * offset) irqd_to_aspeed_gpio_data() argument
518 struct aspeed_gpio *gpio; aspeed_gpio_irq_ack() local
538 struct aspeed_gpio *gpio; aspeed_gpio_irq_set_mask() local
580 struct aspeed_gpio *gpio; aspeed_gpio_set_type() local
634 struct aspeed_gpio *gpio = gpiochip_get_data(gc); aspeed_gpio_irq_handler() local
653 struct aspeed_gpio *gpio = gpiochip_get_data(gc); aspeed_init_irq_valid_mask() local
677 struct aspeed_gpio *gpio = gpiochip_get_data(chip); aspeed_gpio_reset_tolerance() local
705 usecs_to_cycles(struct aspeed_gpio * gpio,unsigned long usecs,u32 * cycles) usecs_to_cycles() argument
729 register_allocated_timer(struct aspeed_gpio * gpio,unsigned int offset,unsigned int timer) register_allocated_timer() argument
748 unregister_allocated_timer(struct aspeed_gpio * gpio,unsigned int offset) unregister_allocated_timer() argument
767 timer_allocation_registered(struct aspeed_gpio * gpio,unsigned int offset) timer_allocation_registered() argument
774 configure_timer(struct aspeed_gpio * gpio,unsigned int offset,unsigned int timer) configure_timer() argument
787 struct aspeed_gpio *gpio = gpiochip_get_data(chip); enable_debounce() local
864 struct aspeed_gpio *gpio = gpiochip_get_data(chip); disable_debounce() local
879 struct aspeed_gpio *gpio = gpiochip_get_data(chip); set_debounce() local
940 struct aspeed_gpio *gpio = gpiochip_get_data(chip); aspeed_gpio_copro_grab_gpio() local
985 struct aspeed_gpio *gpio = gpiochip_get_data(chip); aspeed_gpio_copro_release_gpio() local
1017 struct aspeed_gpio *gpio; aspeed_gpio_irq_print_chip() local
1037 aspeed_g4_reg_bit_set(struct aspeed_gpio * gpio,unsigned int offset,const enum aspeed_gpio_reg reg,bool val) aspeed_g4_reg_bit_set() argument
1059 aspeed_g4_reg_bit_get(struct aspeed_gpio * gpio,unsigned int offset,const enum aspeed_gpio_reg reg) aspeed_g4_reg_bit_get() argument
1068 aspeed_g4_reg_bank_get(struct aspeed_gpio * gpio,unsigned int offset,const enum aspeed_gpio_reg reg) aspeed_g4_reg_bank_get() argument
1080 aspeed_g4_privilege_ctrl(struct aspeed_gpio * gpio,unsigned int offset,int cmdsrc) aspeed_g4_privilege_ctrl() argument
1092 aspeed_g4_privilege_init(struct aspeed_gpio * gpio) aspeed_g4_privilege_init() argument
1105 aspeed_g4_copro_request(struct aspeed_gpio * gpio,unsigned int offset) aspeed_g4_copro_request() argument
1126 aspeed_g4_copro_release(struct aspeed_gpio * gpio,unsigned int offset) aspeed_g4_copro_release() argument
1152 aspeed_g7_reg_bit_set(struct aspeed_gpio * gpio,unsigned int offset,const enum aspeed_gpio_reg reg,bool val) aspeed_g7_reg_bit_set() argument
1165 aspeed_g7_reg_bit_get(struct aspeed_gpio * gpio,unsigned int offset,const enum aspeed_gpio_reg reg) aspeed_g7_reg_bit_get() argument
1181 aspeed_g7_reg_bank_get(struct aspeed_gpio * gpio,unsigned int offset,const enum aspeed_gpio_reg reg) aspeed_g7_reg_bank_get() argument
1306 struct aspeed_gpio *gpio; aspeed_gpio_probe() local
[all...]
H A Dgpio-dwapb.c10 #include <linux/gpio/driver.h>
11 #include <linux/gpio/generic.h>
46 #define DWAPB_DRIVER_NAME "gpio-dwapb"
81 /* Store GPIO context across system-wide suspend/resume transitions */
102 struct dwapb_gpio *gpio; member
110 struct dwapb_gpio_port, chip)->gpio; in to_dwapb_gpio()
142 static inline u32 gpio_reg_convert(struct dwapb_gpio *gpio, unsigned int offset) in gpio_reg_convert() argument
144 if ((gpio->flags & GPIO_REG_OFFSET_MASK) == GPIO_REG_OFFSET_V2) in gpio_reg_convert()
150 static inline u32 dwapb_read(struct dwapb_gpio *gpio, unsigned int offset) in dwapb_read() argument
152 struct gpio_generic_chip *chip = &gpio in dwapb_read()
158 dwapb_write(struct dwapb_gpio * gpio,unsigned int offset,u32 val) dwapb_write() argument
167 dwapb_offs_to_port(struct dwapb_gpio * gpio,unsigned int offs) dwapb_offs_to_port() argument
181 dwapb_toggle_trigger(struct dwapb_gpio * gpio,unsigned int offs) dwapb_toggle_trigger() argument
205 struct dwapb_gpio *gpio = to_dwapb_gpio(gc); dwapb_irq_init_hw() local
219 dwapb_do_irq(struct dwapb_gpio * gpio) dwapb_do_irq() argument
241 struct dwapb_gpio *gpio = irq_desc_get_handler_data(desc); dwapb_irq_handler() local
258 struct dwapb_gpio *gpio = to_dwapb_gpio(gc); dwapb_irq_ack() local
270 struct dwapb_gpio *gpio = to_dwapb_gpio(gc); dwapb_irq_mask() local
286 struct dwapb_gpio *gpio = to_dwapb_gpio(gc); dwapb_irq_unmask() local
302 struct dwapb_gpio *gpio = to_dwapb_gpio(gc); dwapb_irq_enable() local
318 struct dwapb_gpio *gpio = to_dwapb_gpio(gc); dwapb_irq_disable() local
334 struct dwapb_gpio *gpio = to_dwapb_gpio(gc); dwapb_irq_set_type() local
381 struct dwapb_gpio *gpio = to_dwapb_gpio(gc); dwapb_irq_set_wake() local
424 struct dwapb_gpio *gpio = port->gpio; dwapb_gpio_set_debounce() local
469 dwapb_configure_irqs(struct dwapb_gpio * gpio,struct dwapb_gpio_port * port,struct dwapb_port_property * pp) dwapb_configure_irqs() argument
527 dwapb_gpio_add_port(struct dwapb_gpio * gpio,struct dwapb_port_property * pp,unsigned int offs) dwapb_gpio_add_port() argument
663 struct dwapb_gpio *gpio = data; dwapb_assert_reset() local
668 dwapb_get_reset(struct dwapb_gpio * gpio) dwapb_get_reset() argument
688 struct dwapb_gpio *gpio = data; dwapb_disable_clks() local
693 dwapb_get_clks(struct dwapb_gpio * gpio) dwapb_get_clks() argument
735 struct dwapb_gpio *gpio; dwapb_gpio_probe() local
778 struct dwapb_gpio *gpio = dev_get_drvdata(dev); dwapb_gpio_suspend() local
815 struct dwapb_gpio *gpio = dev_get_drvdata(dev); dwapb_gpio_suspend_noirq() local
847 struct dwapb_gpio *gpio = dev_get_drvdata(dev); dwapb_gpio_resume_noirq() local
862 struct dwapb_gpio *gpio = dev_get_drvdata(dev); dwapb_gpio_resume() local
[all...]
H A Dgpio-zynq.c3 * Xilinx Zynq GPIO device driver
10 #include <linux/gpio/driver.h>
20 #define DRIVER_NAME "zynq-gpio"
64 /* Register offsets for the GPIO device */
97 /* GPIO upper 16 bit mask */
118 * struct zynq_gpio - gpio device private data structure
120 * @base_addr: base address of the GPIO device
122 * @irq: interrupt for the GPIO device
138 * struct zynq_platform_data - zynq gpio platform data structure
139 * @label: string to store in gpio
164 zynq_gpio_is_zynq(struct zynq_gpio * gpio) zynq_gpio_is_zynq() argument
175 gpio_data_ro_bug(struct zynq_gpio * gpio) gpio_data_ro_bug() argument
195 zynq_gpio_get_bank_pin(unsigned int pin_num,unsigned int * bank_num,unsigned int * bank_pin_num,struct zynq_gpio * gpio) zynq_gpio_get_bank_pin() argument
230 struct zynq_gpio *gpio = gpiochip_get_data(chip); zynq_gpio_get_value() local
273 struct zynq_gpio *gpio = gpiochip_get_data(chip); zynq_gpio_set_value() local
313 struct zynq_gpio *gpio = gpiochip_get_data(chip); zynq_gpio_dir_in() local
353 struct zynq_gpio *gpio = gpiochip_get_data(chip); zynq_gpio_dir_out() local
387 struct zynq_gpio *gpio = gpiochip_get_data(chip); zynq_gpio_get_direction() local
412 struct zynq_gpio *gpio = zynq_gpio_irq_mask() local
436 struct zynq_gpio *gpio = zynq_gpio_irq_unmask() local
457 struct zynq_gpio *gpio = zynq_gpio_irq_ack() local
508 struct zynq_gpio *gpio = zynq_gpio_set_irq_type() local
573 struct zynq_gpio *gpio = zynq_gpio_set_wake() local
629 zynq_gpio_handle_bank_irq(struct zynq_gpio * gpio,unsigned int bank_num,unsigned long pending) zynq_gpio_handle_bank_irq() argument
658 struct zynq_gpio *gpio = zynq_gpio_irqhandler() local
677 zynq_gpio_save_context(struct zynq_gpio * gpio) zynq_gpio_save_context() argument
706 zynq_gpio_restore_context(struct zynq_gpio * gpio) zynq_gpio_restore_context() argument
741 struct zynq_gpio *gpio = dev_get_drvdata(dev); zynq_gpio_suspend() local
762 struct zynq_gpio *gpio = dev_get_drvdata(dev); zynq_gpio_resume() local
785 struct zynq_gpio *gpio = dev_get_drvdata(dev); zynq_gpio_runtime_suspend() local
794 struct zynq_gpio *gpio = dev_get_drvdata(dev); zynq_gpio_runtime_resume() local
907 struct zynq_gpio *gpio; zynq_gpio_probe() local
1011 struct zynq_gpio *gpio = platform_get_drvdata(pdev); zynq_gpio_remove() local
[all...]
H A Dgpio-npcm-sgpio.c3 * Nuvoton NPCM Serial GPIO Driver
10 #include <linux/gpio/driver.h>
137 static void __iomem *bank_reg(struct npcm_sgpio *gpio, in bank_reg() argument
143 return gpio->base + bank->rdata_reg; in bank_reg()
145 return gpio->base + bank->wdata_reg; in bank_reg()
147 return gpio->base + bank->event_config; in bank_reg()
149 return gpio->base + bank->event_status; in bank_reg()
152 dev_WARN(gpio->chip.parent, "Getting here is an error condition"); in bank_reg()
165 struct npcm_sgpio **gpio, in npcm_sgpio_irqd_to_data() argument
174 *gpio in npcm_sgpio_irqd_to_data()
180 npcm_sgpio_init_port(struct npcm_sgpio * gpio) npcm_sgpio_init_port() argument
206 struct npcm_sgpio *gpio = gpiochip_get_data(gc); npcm_sgpio_dir_in() local
219 struct npcm_sgpio *gpio = gpiochip_get_data(gc); npcm_sgpio_get_direction() local
229 struct npcm_sgpio *gpio = gpiochip_get_data(gc); npcm_sgpio_set() local
249 struct npcm_sgpio *gpio = gpiochip_get_data(gc); npcm_sgpio_get() local
268 npcm_sgpio_setup_enable(struct npcm_sgpio * gpio,bool enable) npcm_sgpio_setup_enable() argument
283 npcm_sgpio_setup_clk(struct npcm_sgpio * gpio,const struct npcm_clk_cfg * clk_cfg) npcm_sgpio_setup_clk() argument
310 struct npcm_sgpio *gpio = gpiochip_get_data(gc); npcm_sgpio_irq_init_valid_mask() local
320 struct npcm_sgpio *gpio; npcm_sgpio_irq_set_mask() local
357 struct npcm_sgpio *gpio; npcm_sgpio_irq_ack() local
384 struct npcm_sgpio *gpio; npcm_sgpio_set_type() local
436 struct npcm_sgpio *gpio = gpiochip_get_data(gc); npcm_sgpio_irq_handler() local
464 npcm_sgpio_setup_irqs(struct npcm_sgpio * gpio,struct platform_device * pdev) npcm_sgpio_setup_irqs() argument
501 struct npcm_sgpio *gpio; npcm_sgpio_probe() local
[all...]
H A Dgpio-tps65219.c3 * GPIO driver for TI TPS65214/TPS65215/TPS65219 PMICs
9 #include <linux/gpio/driver.h>
21 * TPS65214 GPIO mapping
22 * Linux gpio offset 0 -> GPIO (pin16) -> bit_offset 2
23 * Linux gpio offset 1 -> GPO1 (pin9 ) -> bit_offset 0
25 * TPS65215 & TPS65219 GPIO mapping
26 * Linux gpio offset 0 -> GPIO (pin16) -> bit_offset 2
27 * Linux gpio offse
39 struct tps65219_gpio *gpio = gpiochip_get_data(gc); tps65214_gpio_get_direction() local
54 struct tps65219_gpio *gpio = gpiochip_get_data(gc); tps65219_gpio_get_direction() local
69 struct tps65219_gpio *gpio = gpiochip_get_data(gc); tps65219_gpio_get() local
98 struct tps65219_gpio *gpio = gpiochip_get_data(gc); tps65219_gpio_set() local
113 struct tps65219_gpio *gpio = gpiochip_get_data(gc); tps65219_gpio_change_direction() local
145 struct tps65219_gpio *gpio = gpiochip_get_data(gc); tps65214_gpio_change_direction() local
173 struct tps65219_gpio *gpio = gpiochip_get_data(gc); tps65219_gpio_direction_input() local
189 struct tps65219_gpio *gpio = gpiochip_get_data(gc); tps65219_gpio_direction_output() local
231 struct tps65219_gpio *gpio; tps65219_gpio_probe() local
[all...]
/linux/arch/arm/boot/dts/samsung/
H A Dexynos5410-pinctrl.dtsi12 gpa0: gpa0-gpio-bank {
13 gpio-controller;
14 #gpio-cells = <2>;
20 gpa1: gpa1-gpio-bank {
21 gpio-controller;
22 #gpio-cells = <2>;
28 gpa2: gpa2-gpio-bank {
29 gpio-controller;
30 #gpio-cells = <2>;
36 gpb0: gpb0-gpio-bank {
[all …]
/linux/arch/arc/boot/dts/
H A Dabilis_tb101.dtsi37 pctl_gpio_a: pctl-gpio-a { /* GPIO bank A */
50 pctl_gpio_c: pctl-gpio-c { /* GPIO bank C */
63 pctl_gpio_e: pctl-gpio-e { /* GPIO bank E */
76 pctl_gpio_g: pctl-gpio-g { /* GPIO bank G */
83 pctl_gpio_j: pctl-gpio-j { /* GPIO bank J */
86 pctl_gpio_k: pctl-gpio-k { /* GPIO bank K */
124 pctl_gpio_l: pctl-gpio-l { /* GPIO bank L */
127 pctl_gpio_m: pctl-gpio-m { /* GPIO bank M */
141 pctl_gpio_n: pctl-gpio-n {
145 pctl_gpio_b: pctl-gpio-b {
[all …]
H A Dabilis_tb100.dtsi37 pctl_gpio_a: pctl-gpio-a { /* GPIO bank A */
50 pctl_gpio_c: pctl-gpio-c { /* GPIO bank C */
63 pctl_gpio_e: pctl-gpio-e { /* GPIO bank E */
76 pctl_gpio_g: pctl-gpio-g { /* GPIO bank G */
83 pctl_gpio_j: pctl-gpio-j { /* GPIO bank J */
86 pctl_gpio_k: pctl-gpio-k { /* GPIO bank K */
118 pctl_gpio_l: pctl-gpio-l { /* GPIO bank L */
121 pctl_gpio_m: pctl-gpio-m { /* GPIO bank M */
132 pctl_gpio_n: pctl-gpio-n {
136 pctl_gpio_b: pctl-gpio-b {
[all …]
/linux/Documentation/admin-guide/gpio/
H A Dgpio-sim.rst3 Configfs GPIO Simulator
6 The configfs GPIO Simulator (gpio-sim) provides a way to create simulated GPIO
8 using the standard GPIO character device interface as well as manipulated
14 The gpio-sim module registers a configfs subsystem called ``'gpio-sim'``. For
21 **Group:** ``/config/gpio-sim``
23 This is the top directory of the gpio-sim configfs tree.
25 **Group:** ``/config/gpio-sim/gpio-device``
27 **Attribute:** ``/config/gpio-sim/gpio-device/dev_name``
29 **Attribute:** ``/config/gpio-sim/gpio-device/live``
31 This is a directory representing a GPIO platform device. The ``'dev_name'``
[all …]
/linux/Documentation/driver-api/gpio/
H A 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
13 - ledtrig-gpio: drivers/leds/trigger/ledtrig-gpio.c will provide a LED trigger,
14 i.e. a LED will turn on/off in response to a GPIO line going high or low
15 (and that LED may in turn use the leds-gpio as per above).
17 - gpio-keys: drivers/input/keyboard/gpio_keys.c is used when your GPIO line
20 - gpio-keys-polled: drivers/input/keyboard/gpio_keys_polled.c is used when your
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
[all …]
/linux/arch/m68k/include/asm/
H A Dmcfgpio.h3 * Coldfire generic GPIO support.
11 int __mcfgpio_get_value(unsigned gpio);
12 void __mcfgpio_set_value(unsigned gpio, int value);
13 int __mcfgpio_direction_input(unsigned gpio);
14 int __mcfgpio_direction_output(unsigned gpio, int value);
15 int __mcfgpio_request(unsigned gpio);
16 void __mcfgpio_free(unsigned gpio);
19 #include <linux/gpio/legacy.h>
23 static inline int __gpio_get_value(unsigned gpio) in __gpio_get_value() argument
25 if (gpio < MCFGPIO_PIN_MAX) in __gpio_get_value()
[all …]
/linux/Documentation/devicetree/bindings/gpio/
H A Dfsl-imx-gpio.yaml4 $id: http://devicetree.org/schemas/gpio/fsl-imx-gpio.yaml#
7 title: Freescale i.MX/MXC GPIO controller
18 - fsl,imx1-gpio
19 - fsl,imx21-gpio
20 - fsl,imx31-gpio
21 - fsl,imx35-gpio
22 - fsl,imx7d-gpio
25 - fsl,imx27-gpio
26 - const: fsl,imx21-gpio
28 - const: fsl,imx35-gpio
[all …]
H A Drenesas,rcar-gpio.yaml4 $id: http://devicetree.org/schemas/gpio/renesas,rcar-gpio.yaml#
7 title: Renesas R-Car General-Purpose Input/Output Ports (GPIO)
17 - renesas,gpio-r8a7778 # R-Car M1
18 - renesas,gpio-r8a7779 # R-Car H1
19 - const: renesas,rcar-gen1-gpio # R-Car Gen1
23 - renesas,gpio-r8a7742 # RZ/G1H
24 - renesas,gpio-r8a7743 # RZ/G1M
25 - renesas,gpio-r8a7744 # RZ/G1N
26 - renesas,gpio
[all...]
H A Dgpio-ep9301.yaml4 $id: http://devicetree.org/schemas/gpio/gpio-ep9301.yaml#
7 title: EP93xx GPIO controller
17 - const: cirrus,ep9301-gpio
20 - cirrus,ep9302-gpio
21 - cirrus,ep9307-gpio
22 - cirrus,ep9312-gpio
23 - cirrus,ep9315-gpio
24 - const: cirrus,ep9301-gpio
40 gpio-controller: true
42 gpio-ranges: true
[all …]
H A Dfsl,qoriq-gpio.yaml4 $id: http://devicetree.org/schemas/gpio/fsl,qoriq-gpio.yaml#
7 title: Freescale MPC512x/MPC8xxx/QorIQ/Layerscape GPIO controller
16 - fsl,mpc5121-gpio
17 - fsl,mpc5125-gpio
18 - fsl,mpc8314-gpio
19 - fsl,mpc8349-gpio
20 - fsl,mpc8572-gpio
21 - fsl,mpc8610-gpio
22 - fsl,pq3-gpio
[all...]
/linux/drivers/gpu/drm/amd/display/include/
H A Dgpio_interface.h32 struct gpio;
36 struct gpio *gpio,
40 struct gpio *gpio,
45 const struct gpio *gpio,
50 const struct gpio *gpio,
55 const struct gpio *gpio);
59 struct gpio *gpio,
64 struct gpio *gpio);
68 struct gpio *gpio);
70 /* Get the GPIO id */
[all …]
/linux/arch/arm/boot/dts/aspeed/
H A Daspeed-bmc-facebook-yosemite4.dts6 #include <dt-bindings/gpio/aspeed-gpio.h>
74 compatible = "spi-gpio";
194 gpio@21 {
197 gpio-controller;
198 #gpio-cells = <2>;
201 gpio@22 {
204 gpio-controller;
205 #gpio-cells = <2>;
206 gpio-line-names = "SLOT1_UART_SEL0","SLOT1_UART_SEL1",
213 gpio@23 {
[all …]

12345678910>>...183