Home
last modified time | relevance | path

Searched +full:program +full:- +full:gpios (Results 1 – 25 of 179) sorted by relevance

12345678

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/fpga/
Dlattice,sysconfig.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Vladimir Georgiev <v.georgiev@metrotek.ru>
23 - lattice,sysconfig-ecp5
28 program-gpios:
34 init-gpios:
40 done-gpios:
47 - compatible
48 - reg
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/nxp/imx/
Dimx53-ard.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
7 /dts-v1/;
8 #include <dt-bindings/input/input.h>
13 compatible = "fsl,imx53-ard", "fsl,imx53";
20 eim-cs1@f4000000 {
21 #address-cells = <1>;
22 #size-cells = <1>;
23 compatible = "fsl,eim-bus", "simple-bus";
30 phy-mode = "mii";
31 interrupt-parent = <&gpio2>;
[all …]
Dimx6qdl-sabreauto.dtsi1 // SPDX-License-Identifier: GPL-2.0+
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
11 stdout-path = &uart4;
20 compatible = "gpio-leds";
21 pinctrl-names = "default";
22 pinctrl-0 = <&pinctrl_gpio_leds>;
24 led-user {
26 gpios = <&gpio5 15 GPIO_ACTIVE_HIGH>;
30 gpio-keys {
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dimx53-ard.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
7 /dts-v1/;
8 #include <dt-bindings/input/input.h>
13 compatible = "fsl,imx53-ard", "fsl,imx53";
20 eim-cs1@f4000000 {
21 #address-cells = <1>;
22 #size-cells = <1>;
23 compatible = "fsl,eim-bus", "simple-bus";
30 phy-mode = "mii";
31 interrupt-parent = <&gpio2>;
[all …]
Dbcm21664-garnet.dts4 * This program is free software; you can redistribute it and/or
8 * This program is distributed "as is" WITHOUT ANY WARRANTY of any
14 /dts-v1/;
16 #include <dt-bindings/gpio/gpio.h>
22 compatible = "brcm,bcm21664-garnet", "brcm,bcm21664";
34 max-frequency = <48000000>;
39 non-removable;
40 max-frequency = <48000000>;
45 max-frequency = <48000000>;
46 cd-gpios = <&gpio 91 GPIO_ACTIVE_LOW>;
[all …]
Dorion5x-netgear-wnr854t.dts5 * License version 2. This program is licensed "as is" without any
9 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
13 #include "orion5x-mv88f5181.dtsi"
16 model = "Netgear WNR854-t";
17 compatible = "netgear,wnr854t", "marvell,orion5x-88f5181",
29 stdout-path = "serial0:115200n8";
38 gpio-keys {
39 compatible = "gpio-keys";
[all …]
Dimx6qdl-sabreauto.dtsi1 // SPDX-License-Identifier: GPL-2.0+
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
11 stdout-path = &uart4;
20 compatible = "gpio-leds";
21 pinctrl-names = "default";
22 pinctrl-0 = <&pinctrl_gpio_leds>;
26 gpios = <&gpio5 15 GPIO_ACTIVE_HIGH>;
30 gpio-keys {
31 compatible = "gpio-keys";
[all …]
Dorion5x-rd88f5182-nas.dts2 * Copyright (C) 2014 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
5 * License version 2. This program is licensed "as is" without any
9 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include "orion5x-mv88f5182.dtsi"
16 compatible = "marvell,rd-88f5182-nas", "marvell,orion5x-88f5182", "marvell,orion5x";
25 stdout-path = &uart0;
35 gpio-leds {
36 compatible = "gpio-leds";
37 pinctrl-0 = <&pmx_debug_led>;
[all …]
Dorion5x-maxtor-shared-storage-2.dts2 * Copyright (C) 2014 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 * License version 2. This program is licensed "as is" without any
10 /dts-v1/;
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/input/input.h>
14 #include <dt-bindings/interrupt-controller/irq.h>
15 #include "orion5x-mv88f5182.dtsi"
19 compatible = "maxtor,shared-storage-2", "marvell,orion5x-88f5182", "marvell,orion5x";
28 stdout-path = &uart0;
37 gpio-keys {
[all …]
Dbcm28155-ap.dts4 * This program is free software; you can redistribute it and/or
8 * This program is distributed "as is" WITHOUT ANY WARRANTY of any
14 /dts-v1/;
16 #include <dt-bindings/gpio/gpio.h>
22 compatible = "brcm,bcm28155-ap", "brcm,bcm11351";
35 clock-frequency = <400000>;
40 clock-frequency = <400000>;
45 clock-frequency = <400000>;
50 clock-frequency = <100000>;
58 non-removable;
[all …]
Dorion5x-lacie-d2-network.dts2 * Copyright (C) 2014 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 * License version 2. This program is licensed "as is" without any
10 /dts-v1/;
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/input/input.h>
14 #include <dt-bindings/interrupt-controller/irq.h>
15 #include "orion5x-mv88f5182.dtsi"
19 compatible = "lacie,d2-network", "marvell,orion5x-88f5182", "marvell,orion5x";
28 stdout-path = &uart0;
37 gpio-keys {
[all …]
/kernel/linux/linux-5.10/drivers/input/misc/
Dgpio_decoder.c2 * Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/
4 * This program is free software; you can redistribute it and/or
8 * This program is distributed "as is" WITHOUT ANY WARRANTY of any
34 struct gpio_descs *gpios = decoder->input_gpios; in gpio_decoder_get_gpios_state() local
38 for (i = 0; i < gpios->ndescs; i++) { in gpio_decoder_get_gpios_state()
39 val = gpiod_get_value_cansleep(gpios->desc[i]); in gpio_decoder_get_gpios_state()
41 dev_err(decoder->dev, in gpio_decoder_get_gpios_state()
43 desc_to_gpio(gpios->desc[i]), val); in gpio_decoder_get_gpios_state()
60 if (state >= 0 && state != decoder->last_stable) { in gpio_decoder_poll_gpios()
61 input_report_abs(input, decoder->axis, state); in gpio_decoder_poll_gpios()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/gpio/
Dgpio.txt4 1) gpios property
5 -----------------
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
9 for compatibility reasons (resolving to the "gpios" property), it is not allowed
10 for new bindings. Also, GPIO properties named "[<name>-]gpio" are valid and old
15 cases should they contain more than one. If your device uses several GPIOs with
17 meaningful name. The only case where an array of GPIOs is accepted is when
18 several GPIOs serve the same function (e.g. a parallel data line).
20 The exact purpose of each gpios property must be documented in the device tree
[all …]
Dspear_spics.txt10 Chipselects can be controlled by software by turning them as GPIOs. SPEAr
17 * compatible: should be defined as "st,spear-spics-gpio"
19 * st-spics,peripcfg-reg: peripheral configuration register offset
20 * st-spics,sw-enable-bit: bit offset to enable sw control
21 * st-spics,cs-value-bit: bit offset to drive chipselect low or high
22 * st-spics,cs-enable-mask: chip select number bit mask
23 * st-spics,cs-enable-shift: chip select number program offset
24 * gpio-controller: Marks the device node as gpio controller
25 * #gpio-cells: should be 1 and will mention chip select number
30 -------
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/gpio/
Dgpio.txt4 1) gpios property
5 -----------------
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
9 for compatibility reasons (resolving to the "gpios" property), it is not allowed
10 for new bindings. Also, GPIO properties named "[<name>-]gpio" are valid and old
15 cases should they contain more than one. If your device uses several GPIOs with
17 meaningful name. The only case where an array of GPIOs is accepted is when
18 several GPIOs serve the same function (e.g. a parallel data line).
20 The exact purpose of each gpios property must be documented in the device tree
[all …]
Dspear_spics.txt10 Chipselects can be controlled by software by turning them as GPIOs. SPEAr
17 * compatible: should be defined as "st,spear-spics-gpio"
19 * st-spics,peripcfg-reg: peripheral configuration register offset
20 * st-spics,sw-enable-bit: bit offset to enable sw control
21 * st-spics,cs-value-bit: bit offset to drive chipselect low or high
22 * st-spics,cs-enable-mask: chip select number bit mask
23 * st-spics,cs-enable-shift: chip select number program offset
24 * gpio-controller: Marks the device node as gpio controller
25 * #gpio-cells: should be 1 and will mention chip select number
30 -------
[all …]
/kernel/linux/linux-5.10/include/linux/mfd/
Dtps65010.h7 * This program is free software; you can redistribute it and/or modify it
24 * with this program; if not, write to the Free Software Foundation, Inc.,
32 * ----------------------------------------------------------------------------
34 * ----------------------------------------------------------------------------
107 * ----------------------------------------------------------------------------
109 * ----------------------------------------------------------------------------
125 * ----------------------------------------------------------------------------
127 * ----------------------------------------------------------------------------
131 * 0 mA -- DON'T DRAW (might supply power instead)
132 * 100 mA -- usb unit load (slowest charge rate)
[all …]
/kernel/linux/linux-6.6/include/linux/mfd/
Dtps65010.h7 * This program is free software; you can redistribute it and/or modify it
24 * with this program; if not, write to the Free Software Foundation, Inc.,
34 * ----------------------------------------------------------------------------
36 * ----------------------------------------------------------------------------
109 * ----------------------------------------------------------------------------
111 * ----------------------------------------------------------------------------
127 * ----------------------------------------------------------------------------
129 * ----------------------------------------------------------------------------
133 * 0 mA -- DON'T DRAW (might supply power instead)
134 * 100 mA -- usb unit load (slowest charge rate)
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/
Dsmsc911x.txt1 * Smart Mixed-Signal Connectivity (SMSC) LAN911x/912x Controller
4 - compatible : Should be "smsc,lan<model>", "smsc,lan9115"
5 - reg : Address and length of the io space for SMSC LAN
6 - interrupts : one or two interrupt specifiers
7 - The first interrupt is the SMSC LAN interrupt line
8 - The second interrupt (if present) is the PME (power
11 - phy-mode : See ethernet.txt file in the same directory
14 - reg-shift : Specify the quantity to shift the register offsets by
15 - reg-io-width : Specify the size (in bytes) of the IO accesses that
18 - smsc,irq-active-high : Indicates the IRQ polarity is active-high
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-mvebu/
Dpm-board.c2 * Board-level suspend/resume support.
4 * Copyright (C) 2014-2015 Marvell
6 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 * License version 2. This program is licensed "as is" without any
34 /* Put 001 as value on the GPIOs */ in mvebu_armada_pm_enter()
41 /* Prepare writing 111 to the GPIOs */ in mvebu_armada_pm_enter()
85 if (!of_machine_is_compatible("marvell,axp-gp")) in mvebu_armada_pm_init()
86 return -ENODEV; in mvebu_armada_pm_init()
90 return -ENODEV; in mvebu_armada_pm_init()
96 pic_gpios[i] = of_get_named_gpio(np, "ctrl-gpios", i); in mvebu_armada_pm_init()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/dsa/
Dmarvell.txt2 ---------------------------------------
4 WARNING: This binding is currently unstable. Do not program it into a
18 - "marvell,mv88e6085" : Switch has base address 0x10. Use with models:
22 - "marvell,mv88e6190" : Switch has base address 0x00. Use with models:
24 - "marvell,mv88e6250" : Switch has base address 0x08 or 0x18. Use with model:
28 - compatible : Should be one of "marvell,mv88e6085",
31 - reg : Address on the MII bus for the switch.
35 - reset-gpios : Should be a gpio specifier for a reset line
36 - interrupts : Interrupt from the switch
37 - interrupt-controller : Indicates the switch is itself an interrupt
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/dsa/
Dmarvell.txt2 ---------------------------------------
4 WARNING: This binding is currently unstable. Do not program it into a
18 - "marvell,mv88e6085" : Switch has base address 0x10. Use with models:
22 - "marvell,mv88e6190" : Switch has base address 0x00. Use with models:
24 - "marvell,mv88e6250" : Switch has base address 0x08 or 0x18. Use with model:
28 - compatible : Should be one of "marvell,mv88e6085",
31 - reg : Address on the MII bus for the switch.
35 - reset-gpios : Should be a gpio specifier for a reset line
36 - interrupts : Interrupt from the switch
37 - interrupt-controller : Indicates the switch is itself an interrupt
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/
Dsmsc,lan9115.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Smart Mixed-Signal Connectivity (SMSC) LAN911x/912x Controller
10 - Shawn Guo <shawnguo@kernel.org>
13 - $ref: ethernet-controller.yaml#
18 - const: smsc,lan9115
19 - items:
20 - enum:
21 - smsc,lan89218
[all …]
/kernel/linux/linux-6.6/arch/arm/mach-omap1/
Dboard-osk.c2 * linux/arch/arm/mach-omap1/board-osk.c
8 * This program is free software; you can redistribute it and/or modify it
25 * with this program; if not, write to the Free Software Foundation, Inc.,
44 #include <linux/platform_data/gpio-omap.h>
46 #include <linux/soc/ti/omap1-io.h>
48 #include <asm/mach-types.h>
59 /* Name of the GPIO chip used by the OMAP for GPIOs 0..15 */
60 #define OMAP_GPIO_LABEL "gpio-0-15"
65 /* TPS65010 has four GPIOs. nPG and LED2 can be treated like GPIOs with
66 * alternate pin configurations for hardware-controlled blinking.
[all …]
/kernel/linux/linux-5.10/drivers/bus/
Dts-nbus.c2 * NBUS driver for TS-4600 based boards
4 * Copyright (c) 2016 - Savoir-faire Linux
8 * License version 2. This program is licensed "as is" without any
11 * This driver implements a GPIOs bit-banged bus, called the NBUS by Technologic
13 * TS-4600 SoM.
24 #include <linux/ts-nbus.h>
43 * request all gpios required by the bus.
48 ts_nbus->data = devm_gpiod_get_array(&pdev->dev, "ts,data", in ts_nbus_init_pdata()
50 if (IS_ERR(ts_nbus->data)) { in ts_nbus_init_pdata()
51 dev_err(&pdev->dev, "failed to retrieve ts,data-gpio from dts\n"); in ts_nbus_init_pdata()
[all …]

12345678