Home
last modified time | relevance | path

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

12345678910

/openbmc/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 …]
/openbmc/u-boot/Documentation/devicetree/bindings/misc/
H A Dgdsys,iocon_fpga.txt8 - compatible: must be "gdsys,iocon_fpga"
9 - reset-gpios: List of GPIOs controlling the FPGA's reset
10 - done-gpios: List of GPIOs notifying whether the FPGA's reconfiguration is
11 done
17 reset-gpios = <&PPCPCA 26 0>;
18 done-gpios = <&GPIO_VB0 19 0>;
H A Dgdsys,iocpu_fpga.txt8 - compatible: must be "gdsys,iocpu_fpga"
9 - reset-gpios: List of GPIOs controlling the FPGA's reset
10 - done-gpios: List of GPIOs notifying whether the FPGA's reconfiguration is
11 done
17 reset-gpios = <&PPCPCA 26 0>;
18 done-gpios = <&GPIO_VB0 19 0>;
/openbmc/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 …]
/openbmc/openbmc/meta-google/recipes-google/gpio/gpio-ctrl/
H A Dlib.sh8 # http://www.apache.org/licenses/LICENSE-2.0
18 [ -n "${gpio_ctrl_init-}" ] && return
20 # Map names of GPIOs to GPIO number
22 declare -A GPIO_NAMES_TO_SCM=(
31 # named GPIOs
32 shopt -s nullglob
33 for conf in /usr/share/gpio-ctrl/conf.d/*.sh; do
36 done
38 declare -A gpio_sysfs_lookup_cache=()
39 declare -A gpio_lookup_cache=()
[all …]
/openbmc/linux/Documentation/driver-api/gpio/
H A Dconsumer.rst6 it describes the new descriptor-based interface. For a description of the
7 deprecated integer-based GPIO interface please refer to legacy.rst.
10 Guidelines for GPIOs consumers
15 obtain and use GPIOs are available by including the following file::
23 - Simple compile coverage with e.g. COMPILE_TEST - it does not matter that
27 - Truly optional GPIOLIB support - where the driver does not really make use
28 of the GPIOs on certain compile-time configurations for certain systems, but
29 will use it under other compile-time configurations. In this case the
33 All the functions that work with the descriptor-based GPIO interface are
40 Obtaining and Disposing GPIOs
[all …]
H A Dlegacy.rst13 A "General Purpose Input/Output" (GPIO) is a flexible software-controlled
18 which GPIOs. Drivers can be written generically, so that board setup code
21 System-on-Chip (SOC) processors heavily rely on GPIOs. In some cases, every
22 non-dedicated pin can be configured as a GPIO; and most chips have at least
24 provide GPIOs; multifunction chips like power managers, and audio codecs
27 Most PC southbridges have a few dozen GPIO-capable pins (with only the BIOS
30 The exact capabilities of GPIOs vary between systems. Common options:
32 - Output values are writable (high=1, low=0). Some chips also have
34 value might be driven ... supporting "wire-OR" and similar schemes
37 - Input values are likewise readable (1, 0). Some chips support readback
[all …]
/openbmc/openbmc/meta-hpe/meta-rl300-g11/recipes-hpe/power-sequencing/files/
H A Dgpios-manager.sh2 # File which is managing GPIOS when detected. First parameter is which GPIOs that switched
7 …busctl set-property xyz.openbmc_project.Chassis.Gpios /xyz/openbmc_project/chassis/gpios xyz.openb…
8 smproStatus=$(lsmod | grep smpro-mfd)
12 # We need to wait for the SoC to be ready to communicate - We just received the PGOOD signal
26 max_retry=$(( max_retry - 1))
29 done
34 i2ctransfer -y 3 w4@0x40 0x34 0xbf 0x00 0xe8
35 i2ctransfer -y 3 w2@0x40 0x34 0xa7 r1
38 i2ctransfer -y 3 w4@0x40 0x34 0xbf 0x00 0xe8
39 i2ctransfer -y 3 w2@0x40 0x34 0xa7 r1
[all …]
/openbmc/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 …]
/openbmc/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 Dgpio-davinci.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (c) 2006-2007 David Brownell
22 #include <linux/platform_data/gpio-davinci.h>
45 #define BINTEN 0x8 /* GPIO Interrupt Per-Bank Enable Register */
84 /*--------------------------------------------------------------------------*/
97 g = d->regs[bank]; in __davinci_direction()
98 spin_lock_irqsave(&d->lock, flags); in __davinci_direction()
99 temp = readl_relaxed(&g->dir); in __davinci_direction()
102 writel_relaxed(mask, value ? &g->set_data : &g->clr_data); in __davinci_direction()
106 writel_relaxed(temp, &g->dir); in __davinci_direction()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A Drohm,bd9576-pmic.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/mfd/rohm,bd9576-pmic.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Matti Vaittinen <mazziesaccount@gmail.com>
14 powering the R-Car series processors.
21 - rohm,bd9576
22 - rohm,bd9573
32 rohm,vout1-en-low:
35 controlled by a GPIO. This is dictated by state of vout1-en pin during
[all …]
/openbmc/openbmc/meta-ingrasys/meta-zaius/recipes-phosphor/chassis/vcs-control/
H A Dzaius_vcs.sh1 #!/bin/bash -e
3 # This script assumes that the UCD is controlling VCS rails as GPIOs 5 and 6.
4 # Also assumes that those GPIOs are already enabled.
13 until [ $i -ge $ucd_retries ]; do
16 done
18 if [ $i -eq $ucd_retries ]; then exit $ret; fi
25 retry i2cget -f -y $ucd_bus $ucd_addr "$1" b
32 retry i2cset -f -y $ucd_bus $ucd_addr "$1" "$2" b
37 echo -e "\tSetting UCD GPIO 5 to $1"
41 echo -e "\tSetting UCD GPIO 6 to $1"
[all …]
/openbmc/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 …]
/openbmc/docs/designs/
H A Ddevice-tree-gpio-naming.md12 subsystem. The replacement is a "descriptor-based" character device interface.
17 libgpiod provides a feature where you can access gpios by a name given to them
25 specific field used to name the GPIOs in the DTS is `gpio-line-names`. This
26 [patch][3] shows an example of naming the GPIOs for a system.
28 GPIOs are used for arbitrary things. It's pretty hard to have a coherent naming
29 scheme in the face of a universe of potential use-cases.
37 - Ensure common function GPIOs within OpenBMC use the same naming convention
44 for all common GPIOs.
46 This list below includes all common GPIOs within OpenBMC. Any OpenBMC system
47 which provides one of the below GPIOs must name it as listed in this document.
[all …]
/openbmc/docs/development/
H A Dadd-new-system.md19 - Review background about Yocto and BitBake
20 - Creating a new system layer
21 - Populating this new layer
22 - Building the new system and testing in QEMU
23 - Adding configs for sensors, LEDs, inventories, etc.
32 Yocto has a concept of hierarchical layers. When you build a Yocto-based
35 defined within OpenBMC can be found with the meta-\* directories in OpenBMC
50 build of an OpenBMC distribution can take hours. Once that first build is done
57 [page](https://github.com/openbmc/openbmc/blob/master/README.md#2-download-the-source)
58 for the Romulus system (steps 2-4).
[all …]
/openbmc/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 */
68 * s3c_pm_configure_extint() - ensure pins are correctly set for IRQ
77 * samsung_pm_restore_gpios() - restore the state of the gpios after sleep.
81 * resume code has done.
86 * samsung_pm_save_gpios() - save the state of the GPIOs for restoring after sleep.
/openbmc/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 …]
/openbmc/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 …]
/openbmc/witherspoon-pfault-analysis/power-sequencer/
H A Ducd90160.hpp43 * @param[in] instance - the device instance number
44 * @param[in] bus - D-Bus bus object
69 * @param[in] callout - the GPU callout string
76 * @param[in] callout - the GPU callout string
83 * @param[in] callout - The MEM callout string
91 * @param[in] path - device path, like
92 * /sys/devices/.../i2c-11/11-0064
94 * @return fs::path - The gpiochip path, like
107 * @return bool - true if an error log was created
118 * @param[in] polling - If this is running while polling for errors,
[all …]
/openbmc/phosphor-power/power-sequencer/
H A Ducd90160.hpp43 * @param[in] instance - the device instance number
44 * @param[in] bus - D-Bus bus object
69 * @param[in] callout - the GPU callout string
76 * @param[in] callout - the GPU callout string
83 * @param[in] callout - The MEM callout string
91 * @param[in] path - device path, like
92 * /sys/devices/.../i2c-11/11-0064
94 * @return fs::path - The gpiochip path, like
107 * @return bool - true if an error log was created
118 * @param[in] polling - If this is running while polling for errors,
[all …]
/openbmc/openbmc/meta-facebook/meta-bletchley/recipes-bletchley/motor-ctrl/files/
H A Dmotor-init1 #!/bin/bash -e
10 # shellcheck source=meta-facebook/meta-bletchley/recipes-bletchley/plat-tools/files/bletchley-commo…
11 source /usr/libexec/bletchley-common-functions
26 if [ ! -d "$PWM_PATH" ];then
29 if [ -d "$PWM_PATH" ];then
53 echo "Init GPIOs:"
64 done
67 if [[ "$1" =~ ^(sled[1-6]{1})$ ]]; then
82 #Init gpios
92 if [ "$INIT_POS" -eq 1 ];then
[all …]
/openbmc/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 …]
/openbmc/witherspoon-pfault-analysis/
H A Dgpio.hpp31 * The possible values - low or high
59 * @param[in] device - the GPIO device file
60 * @param[in] gpio - the GPIO number
61 * @param[in] direction - the GPIO direction
70 * Requests the GPIO line if it hasn't been done already.
72 * @return Value - the GPIO value
79 * Requests the GPIO line if it hasn't been done already.
81 * @param[in] Value - the value to set
89 * @param[in] defaultValue - The default value, required for
90 * output GPIOs only.

12345678910