Home
last modified time | relevance | path

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

1234567

/linux/Documentation/devicetree/bindings/fpga/
H A Dxlnx,fpga-slave-serial.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/fpga/xlnx,fpga-slave-serial.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Nava kishore Manne <nava.kishore.manne@amd.com>
13 Xilinx Spartan-6 and 7 Series FPGAs support a method of loading the bitstream
21 https://www.xilinx.com/support/documentation/application_notes/xapp583-fpga-configuration.pdf
24 - $ref: /schemas/spi/spi-peripheral-props.yaml#
29 - xlnx,fpga-slave-serial
31 spi-cpha: true
[all …]
H A 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>
17 Programming of ECP5 is done by writing uncompressed bitstream image in .bit
23 - lattice,sysconfig-ecp5
28 program-gpios:
34 init-gpios:
40 done-gpios:
42 A GPIO line connected to DONE (active high) pin of the device.
[all …]
/linux/Documentation/devicetree/bindings/i2c/
H A Di2c-arb-gpio-challenge.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/i2c/i2c-arb-gpio-challenge.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: GPIO-based I2C Arbitration Using a Challenge & Response Mechanism
10 - Doug Anderson <dianders@chromium.org>
11 - Peter Rosin <peda@axentia.se>
17 In many cases using GPIOs to arbitrate is not needed and a design can use the
18 standard I2C multi-master rules. Using GPIOs is generally useful in the case
30 others can see. These are all active low with pull-ups enabled. We'll
[all …]
/linux/Documentation/driver-api/gpio/
H A Dconsumer.rst8 Guidelines for GPIOs consumers
13 obtain and use GPIOs are available by including the following file::
21 - Simple compile coverage with e.g. COMPILE_TEST - it does not matter that
25 - Truly optional GPIOLIB support - where the driver does not really make use
26 of the GPIOs on certain compile-time configurations for certain systems, but
27 will use it under other compile-time configurations. In this case the
35 All the functions that work with the descriptor-based GPIO interface are
42 Obtaining and Disposing GPIOs
45 With the descriptor-based interface, GPIOs are identified with an opaque,
46 non-forgeable handler that must be obtained through a call to one of the
[all …]
/linux/arch/powerpc/boot/dts/
H A Dac14xx.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
14 #address-cells = <1>;
15 #size-cells = <1>;
26 timebase-frequency = <40000000>; /* 40 MHz (csb/4) */
27 bus-frequency = <160000000>; /* 160 MHz csb bus */
28 clock-frequency = <400000000>; /* 400 MHz ppc core */
49 compatible = "cfi-flash";
51 #address-cells = <1>;
52 #size-cells = <1>;
53 bank-width = <2>;
[all …]
/linux/drivers/gpio/
H A Dgpio-twl4030.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Access to GPIOs on TWL4030/TPS659x0 chips
5 * Copyright (C) 2006-2007 Texas Instruments, Inc.
8 * Code re-arranged and cleaned up by:
30 * The GPIO "subchip" supports 18 GPIOs which can be configured as
37 * There are also two LED pins used sometimes as output-only GPIOs.
52 /* Mask for GPIO registers when aggregated into a 32-bit integer */
66 /*----------------------------------------------------------------------*/
76 /*----------------------------------------------------------------------*/
101 /*----------------------------------------------------------------------*/
[all …]
H A Dgpiolib-of.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Copyright (c) 2007-2008 MontaVista Software, Inc.
26 #include "gpiolib-of.h"
29 * This is Linux-specific flags. By default controllers' and Linux' mapping
31 * Linux-specific in their .xlate callback. Though, 1:1 mapping is recommended.
44 * of_gpio_named_count() - Count GPIOs for a device
45 * @np: device node to count GPIOs for
48 * The function returns the count of GPIOs specified for a node.
52 * Either number of GPIOs defined in the property, or
53 * * %-EINVAL for an incorrectly formed "gpios" property, or
[all …]
/linux/sound/pci/hda/
H A Dcirrus_scodec_test.c1 // SPDX-License-Identifier: GPL-2.0-only
3 // KUnit test for the Cirrus side-codec library.
42 return !!(gpio_priv->pin_state & BIT(offset)); in cirrus_scodec_test_gpio_get()
48 return -EOPNOTSUPP; in cirrus_scodec_test_gpio_direction_out()
63 return -EOPNOTSUPP; in cirrus_scodec_test_gpio_set_config()
80 .base = -1,
89 gpio_priv = devm_kzalloc(&pdev->dev, sizeof(*gpio_priv), GFP_KERNEL); in cirrus_scodec_test_gpio_probe()
91 return -ENOMEM; in cirrus_scodec_test_gpio_probe()
94 gpio_priv->chip = cirrus_scodec_test_gpio_chip; in cirrus_scodec_test_gpio_probe()
95 ret = devm_gpiochip_add_data(&pdev->dev, &gpio_priv->chip, gpio_priv); in cirrus_scodec_test_gpio_probe()
[all …]
/linux/Documentation/firmware-guide/acpi/
H A Dgpio-properties.rst1 .. SPDX-License-Identifier: GPL-2.0
8 allows names to be given to GPIOs (and other things as well) returned
13 With _DSD we can now query GPIOs using a name instead of an integer
16 // Bluetooth device with reset and shutdown GPIOs
31 ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
34 Package () { "reset-gpios", Package () { ^BTH, 1, 1, 0 } },
35 Package () { "shutdown-gpios", Package () { ^BTH, 0, 0, 0 } },
61 In our Bluetooth example the "reset-gpios" refers to the second GpioIo()
70 +-------------+-------------+-----------------------------------------------+
74 +-------------+-------------+-----------------------------------------------+
[all …]
/linux/arch/arm/mach-s3c/
H A Dpm.h1 /* SPDX-License-Identifier: GPL-2.0 */
14 #include "pm-common.h"
40 /* per-cpu sleep functions */
66 * s3c_pm_configure_extint() - ensure pins are correctly set for IRQ
75 * samsung_pm_restore_gpios() - restore the state of the gpios after sleep.
79 * resume code has done.
84 * samsung_pm_save_gpios() - save the state of the GPIOs for restoring after sleep.
/linux/arch/arm/boot/dts/microchip/
H A Dat91-sama5d27_wlsom1_ek.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * at91-sama5d27_wlsom1_ek.dts - Device Tree file for SAMA5D27 WLSOM1 EK
9 /dts-v1/;
10 #include "at91-sama5d27_wlsom1.dtsi"
11 #include <dt-bindings/input/input.h>
15 …compatible = "microchip,sama5d27-wlsom1-ek", "microchip,sama5d27-wlsom1", "atmel,sama5d27", "atmel…
26 stdout-path = "serial0:115200n8";
29 gpio-keys {
30 compatible = "gpio-keys";
32 pinctrl-names = "default";
[all …]
H A Dat91-sama5d2_xplained.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * at91-sama5d2_xplained.dts - Device Tree file for SAMA5D2 Xplained board
8 /dts-v1/;
10 #include "sama5d2-pinfunc.h"
11 #include <dt-bindings/mfd/atmel-flexcom.h>
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/input/input.h>
14 #include <dt-bindings/regulator/active-semi,8945a-regulator.h>
18 compatible = "atmel,sama5d2-xplained", "atmel,sama5d2", "atmel,sama5";
28 stdout-path = "serial0:115200n8";
[all …]
/linux/arch/arm/mach-mvebu/
H A Dpm-board.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Board-level suspend/resume support.
5 * Copyright (C) 2014-2015 Marvell
7 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
31 /* Put 001 as value on the GPIOs */ in mvebu_armada_pm_enter()
38 /* Prepare writing 111 to the GPIOs */ in mvebu_armada_pm_enter()
82 if (!of_machine_is_compatible("marvell,axp-gp")) in mvebu_armada_pm_init()
83 return -ENODEV; in mvebu_armada_pm_init()
87 return -ENODEV; in mvebu_armada_pm_init()
93 name = kasprintf(GFP_KERNEL, "pic-pin%d", i); in mvebu_armada_pm_init()
[all …]
/linux/arch/arm/boot/dts/ti/omap/
H A Dam3874-iceboard.dts1 // SPDX-License-Identifier: GPL-2.0
12 * Copyright (c) 2019 Three-Speed Logic, Inc. <gsmecher@threespeedlogic.com>
15 /dts-v1/;
18 #include <dt-bindings/interrupt-controller/irq.h>
25 stdout-path = "serial1:115200n8";
35 compatible = "regulator-fixed";
36 regulator-name = "vmmcsd_fixed";
37 regulator-min-microvolt = <3300000>;
38 regulator-max-microvolt = <3300000>;
39 regulator-always-on;
[all …]
/linux/Documentation/admin-guide/media/
H A Dcec.rst1 .. SPDX-License-Identifier: GPL-2.0
12 - Exynos4
13 - Exynos5
14 - STIH4xx HDMI CEC
15 - V4L2 adv7511 (same HW, but a different driver from the drm adv7511)
16 - stm32
17 - Allwinner A10 (sun4i)
18 - Raspberry Pi
19 - dw-hdmi (Synopsis IP)
20 - amlogic (meson ao-cec and ao-cec-g12a)
[all …]
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6qdl-mba6.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright 2013-2021 TQ-Systems GmbH
6 * Author: Markus Niebel <Markus.Niebel@tq-group.com>
9 #include <dt-bindings/clock/imx6qdl-clock.h>
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/sound/fsl-imx-audmux.h>
18 /delete-property/ mmc2;
19 /delete-property/ mmc3;
24 stdout-path = &uart2;
[all …]
H A Dimx6q-prti6q.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
6 /dts-v1/;
8 #include "imx6qdl-prti6q.dtsi"
9 #include <dt-bindings/leds/common.h>
10 #include <dt-bindings/sound/fsl-imx-audmux.h>
21 backlight_lcd: backlight-lcd {
22 compatible = "pwm-backlight";
23 pinctrl-names = "default";
24 pinctrl-0 = <&pinctrl_backlight>;
26 brightness-levels = <0 16 64 255>;
[all …]
H A Dimx6dl-alti6p.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
7 /dts-v1/;
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/leds/common.h>
10 #include <dt-bindings/sound/fsl-imx-audmux.h>
18 stdout-path = &uart4;
21 clock_ksz8081: clock-ksz8081 {
22 compatible = "fixed-clock";
23 #clock-cells = <0>;
24 clock-frequency = <50000000>;
[all …]
/linux/arch/arm/mach-pxa/
H A Dam200epd.c2 * am200epd.c -- Platform device for AM200 EPD kit
12 * This work was made possible by help and equipment support from E-Ink
16 * on the AM200 EPD prototype kit/development kit with an E-Ink 800x600
35 #include <linux/platform_data/video-pxafb.h>
101 static int gpios[] = { LED_GPIO_PIN , STDBY_GPIO_PIN , RST_GPIO_PIN, variable
110 for (i = 0; i < ARRAY_SIZE(gpios); i++) { in am200_init_gpio_regs()
111 err = gpio_request(gpios[i], gpio_names[i]); in am200_init_gpio_regs()
113 dev_err(&am200_device->dev, "failed requesting " in am200_init_gpio_regs()
131 while (--i >= 0) in am200_init_gpio_regs()
132 gpio_free(gpios[i]); in am200_init_gpio_regs()
[all …]
/linux/Documentation/devicetree/bindings/mmc/
H A Dmmc-controller.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/mmc/mmc-controller.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Ulf Hansson <ulf.hansson@linaro.org>
25 "#address-cells":
30 "#size-cells":
37 broken-cd:
42 cd-gpios:
45 The card detection will be done using the GPIO provided.
[all …]
/linux/arch/arm/boot/dts/allwinner/
H A Dsun5i-gr8-chip-pro.dts5 * Maxime Ripard <maxime.ripard@free-electrons.com>
7 * This file is dual-licensed: you can use it either under the terms
46 /dts-v1/;
47 #include "sun5i-gr8.dtsi"
48 #include "sunxi-common-regulators.dtsi"
50 #include <dt-bindings/gpio/gpio.h>
51 #include <dt-bindings/input/input.h>
52 #include <dt-bindings/interrupt-controller/irq.h>
56 compatible = "nextthing,chip-pro", "nextthing,gr8";
67 stdout-path = "serial0:115200n8";
[all …]
/linux/drivers/hwmon/
H A Dltc4245.c1 // SPDX-License-Identifier: GPL-2.0-only
21 #include <linux/hwmon-sysfs.h>
66 int gpios[3]; member
71 * sample all GPIO's as analog voltages, a round-robin sampling method is used.
74 * LOCKING: must hold data->update_lock
79 struct i2c_client *client = data->client; in ltc4245_update_gpios()
83 /* no extra gpio support, we're basically done */ in ltc4245_update_gpios()
84 if (!data->use_extra_gpios) { in ltc4245_update_gpios()
85 data->gpios[0] = data->vregs[LTC4245_GPIOADC - 0x10]; in ltc4245_update_gpios()
91 * readings as stale by setting them to -EAGAIN in ltc4245_update_gpios()
[all …]
/linux/Documentation/devicetree/bindings/firmware/
H A Dcznic,turris-omnia-mcu.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/firmware/cznic,turris-omnia-mcu.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Marek Behún <kabel@kernel.org>
14 GPIOs, interrupts, watchdog, system power off and wakeup configuration.
18 const: cznic,turris-omnia-mcu
27 interrupt-controller: true
29 '#interrupt-cells':
38 0 - 15 0 0 - 15
[all …]
/linux/arch/arm/boot/dts/marvell/
H A Darmada-385-turris-omnia.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
5 * Copyright (C) 2016 Uwe Kleine-König <uwe@kleine-koenig.org>
8 * Schematic available at https://www.turris.cz/doc/_media/rtrom01-schema.pdf
11 /dts-v1/;
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/input/input.h>
15 #include <dt-bindings/leds/common.h>
16 #include "armada-385.dtsi"
20 compatible = "cznic,turris-omnia", "marvell,armada385", "marvell,armada380";
23 stdout-path = &uart0;
[all …]
/linux/arch/arm/boot/dts/nvidia/
H A Dtegra30-cardhu.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/input/input.h>
3 #include <dt-bindings/thermal/thermal.h>
5 #include "tegra30-cpu-opp.dtsi"
6 #include "tegra30-cpu-opp-microvolt.dtsi"
12 * A02 will have different sets of GPIOs for fixed regulator compare to
16 * use tegra30-cardhu-a02.dts, Cardhu fab version A04 and later, use
17 * tegra30-cardhu-a04.dts.
18 * The identification of board is done in two ways, by looking the sticker
20 * The sticker will have number like 600-81291-1000-002 C.3. In this 4th
[all …]

1234567