/openbmc/linux/Documentation/devicetree/bindings/regulator/ |
H A D | da9211.txt | 5 - compatible: "dlg,da9211" or "dlg,da9212" or "dlg,da9213" or "dlg,da9223" 7 - reg: I2C slave address, usually 0x68. 8 - interrupts: the interrupt outputs of the controller 9 - regulators: A node that houses a sub-node for each regulator within the 10 device. Each sub-node is identified using the node's name, with valid 11 values listed below. The content of each sub-node is defined by the 16 - enable-gpios: platform gpio for control of BUCKA/BUCKB. 17 - Any optional property defined in regulator.txt 18 - regulator-initial-mode and regulator-allowed-modes may be specified using 19 mode values from dt-bindings/regulator/dlg,da9211-regulator.h [all …]
|
H A D | richtek,rt4801-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/richtek,rt4801-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - ChiYuan Huang <cy_huang@richtek.com> 18 https://www.richtek.com/assets/product_file/RT4801H/DS4801H-00.pdf 23 - richtek,rt4801 28 enable-gpios: 29 description: GPIOs to use to enable DSVP/DSVN regulator. 30 The first one is ENP to enable DSVP, and second one is ENM to enable DSVN. [all …]
|
H A D | gpio-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/regulator/gpio-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Liam Girdwood <lgirdwood@gmail.com> 11 - Mark Brown <broonie@kernel.org> 18 - $ref: regulator.yaml# 22 const: regulator-gpio 24 regulator-name: true 26 enable-gpios: [all …]
|
/openbmc/linux/arch/arm/boot/dts/nxp/lpc/ |
H A D | lpc4357-ea4357-devkit.dts | 9 * Released under the terms of 3-clause BSD License 13 /dts-v1/; 18 #include "dt-bindings/input/input.h" 19 #include "dt-bindings/gpio/gpio.h" 23 compatible = "ea,lpc4357-developers-kit", "nxp,lpc4357", "nxp,lpc4350"; 33 stdout-path = &uart0; 42 compatible = "regulator-fixed"; 43 regulator-name = "3v3-supply"; 44 regulator-min-microvolt = <3300000>; 45 regulator-max-microvolt = <3300000>; [all …]
|
H A D | lpc4350-hitex-eval.dts | 9 * Released under the terms of 3-clause BSD License 13 /dts-v1/; 18 #include "dt-bindings/input/input.h" 19 #include "dt-bindings/gpio/gpio.h" 23 compatible = "hitex,lpc4350-eval-board", "nxp,lpc4350"; 33 stdout-path = &uart0; 42 compatible = "gpio-keys-polled"; 43 poll-interval = <100>; 49 gpios = <&pca_gpio 8 GPIO_ACTIVE_LOW>; 55 gpios = <&pca_gpio 9 GPIO_ACTIVE_LOW>; [all …]
|
/openbmc/linux/drivers/gpio/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 10 You only need to enable this if you also want to enable 18 int "Maximum number of GPIOs for fast path" 47 this symbol, but new drivers should use the generic gpio-regmap 55 These checks help ensure that GPIOs have been properly initialized 57 non-sleeping contexts. They can make bitbanged serial protocols 66 Say Y here to add the legacy sysfs interface for GPIOs. 78 for GPIOs. The character device allows userspace to control GPIOs 118 Enables support for the idio-16 library functions. The idio-16 library 120 ACCES IDIO-16 family such as the 104-IDIO-16 and the PCI-IDIO-16. [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/phy/ |
H A D | phy-mapphone-mdm6600.txt | 4 - compatible Must be "motorola,mapphone-mdm6600" 5 - enable-gpios GPIO to enable the USB PHY 6 - power-gpios GPIO to power on the device 7 - reset-gpios GPIO to reset the device 8 - motorola,mode-gpios Two GPIOs to configure MDM6600 USB start-up mode for 10 - motorola,cmd-gpios Three GPIOs to control the power state of the MDM6600 11 - motorola,status-gpios Three GPIOs to read the power state of the MDM6600 15 usb-phy { 16 compatible = "motorola,mapphone-mdm6600"; 17 enable-gpios = <&gpio3 31 GPIO_ACTIVE_LOW>; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/fsi/ |
H A D | fsi-master-gpio.txt | 1 Device-tree bindings for gpio-based FSI master driver 2 ----------------------------------------------------- 5 - compatible = "fsi-master-gpio"; 6 - clock-gpios = <gpio-descriptor>; : GPIO for FSI clock 7 - data-gpios = <gpio-descriptor>; : GPIO for FSI data signal 10 - enable-gpios = <gpio-descriptor>; : GPIO for enable signal 11 - trans-gpios = <gpio-descriptor>; : GPIO for voltage translator enable 12 - mux-gpios = <gpio-descriptor>; : GPIO for pin multiplexing with other 14 - no-gpio-delays; : Don't add extra delays between GPIO 21 fsi-master { [all …]
|
H A D | fsi-master-ast-cf.txt | 1 Device-tree bindings for ColdFire offloaded gpio-based FSI master driver 2 ------------------------------------------------------------------------ 5 - compatible = 6 "aspeed,ast2400-cf-fsi-master" for an AST2400 based system 8 "aspeed,ast2500-cf-fsi-master" for an AST2500 based system 10 - clock-gpios = <gpio-descriptor>; : GPIO for FSI clock 11 - data-gpios = <gpio-descriptor>; : GPIO for FSI data signal 12 - enable-gpios = <gpio-descriptor>; : GPIO for enable signal 13 - trans-gpios = <gpio-descriptor>; : GPIO for voltage translator enable 14 - mux-gpios = <gpio-descriptor>; : GPIO for pin multiplexing with other [all …]
|
/openbmc/linux/sound/soc/ |
H A D | soc-jack.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // soc-jack.c -- ALSA SoC jack handling 21 * snd_soc_jack_report - Report the current status for a jack 40 if (!jack || !jack->jack) in snd_soc_jack_report() 44 dapm = &jack->card->dapm; in snd_soc_jack_report() 46 mutex_lock(&jack->mutex); in snd_soc_jack_report() 48 jack->status &= ~mask; in snd_soc_jack_report() 49 jack->status |= status & mask; in snd_soc_jack_report() 53 list_for_each_entry(pin, &jack->pins, list) { in snd_soc_jack_report() 54 int enable = pin->mask & jack->status; in snd_soc_jack_report() local [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/auxdisplay/ |
H A D | hit,hd44780.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Geert Uytterhoeven <geert@linux-m68k.org> 15 interface, which can be used in either 4-bit or 8-bit mode. By using a 24 data-gpios: 26 GPIO pins connected to the data signal lines DB0-DB7 (8-bit mode) or 27 DB4-DB7 (4-bit mode) of the LCD Controller's bus interface. 29 - maxItems: 4 30 - maxItems: 8 [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/bluetooth/ |
H A D | qualcomm-bluetooth.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/bluetooth/qualcomm-bluetooth.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Balakrishna Godavarthi <bgodavar@codeaurora.org> 11 - Rocky Liao <rjliao@codeaurora.org> 14 This binding describes Qualcomm UART-attached bluetooth chips. 19 - qcom,qca2066-bt 20 - qcom,qca6174-bt 21 - qcom,qca9377-bt [all …]
|
/openbmc/linux/drivers/tty/serial/ |
H A D | serial_mctrl_gpio.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 29 * Opaque descriptor for modem lines controlled by GPIOs 36 * Set state of the modem control output lines via GPIOs. 38 void mctrl_gpio_set(struct mctrl_gpios *gpios, unsigned int mctrl); 41 * Get state of the modem control input lines from GPIOs. 44 unsigned int mctrl_gpio_get(struct mctrl_gpios *gpios, unsigned int *mctrl); 47 * Get state of the modem control output lines from GPIOs. 51 mctrl_gpio_get_outputs(struct mctrl_gpios *gpios, unsigned int *mctrl); 56 struct gpio_desc *mctrl_gpio_to_gpiod(struct mctrl_gpios *gpios, 60 * Request and set direction of modem control line GPIOs and set up irq [all …]
|
/openbmc/u-boot/drivers/gpio/ |
H A D | Kconfig | 8 bool "Enable Driver Model for GPIO drivers" 11 Enable driver model for GPIO access. The standard GPIO 14 particular GPIOs that they provide. The uclass interface 15 is defined in include/asm-generic/gpio.h. 18 bool "Enable GPIO hog support" 22 Enable gpio hog support 24 is a mechanism providing automatic GPIO request and config- 25 uration as part of the gpio-controller's driver probe function. 28 bool "Enable GPIO hog support in SPL" 32 Enable gpio hog support in SPL [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/display/panel/ |
H A D | jdi,lt070me05000.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Vinay Simha BN <simhavcs@gmail.com> 13 - $ref: panel-common.yaml# 19 enable-gpios: true 21 reset-gpios: true 23 vddp-supply: 25 The regulator that provides the supply voltage Power IC supply (3-5V) 27 iovcc-supply: [all …]
|
H A D | boe,himax8279d.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jerry Han <jerry.han.hq@gmail.com> 13 - $ref: panel-common.yaml# 18 - const: boe,himax8279d8p 19 - const: boe,himax8279d10p 22 enable-gpios: true 25 pp33-gpios: 29 pp18-gpios: [all …]
|
H A D | samsung,amoled-mipi-dsi.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/display/panel/samsung,amoled-mipi-dsi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Samsung AMOLED MIPI-DSI panels 10 - Hoegeun Kwon <hoegeun.kwon@samsung.com> 13 - $ref: panel-common.yaml# 15 - if: 20 - samsung,s6e3ha2 21 - samsung,s6e3hf2 [all …]
|
H A D | startek,kd070fhfid015.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Alexandre Mergnat <amergnat@baylibre.com> 13 - $ref: panel-common.yaml# 19 enable-gpios: true 21 iovcc-supply: 28 reset-gpios: true 32 power-supply: true 37 - compatible [all …]
|
/openbmc/linux/arch/arm/boot/dts/aspeed/ |
H A D | aspeed-bmc-ibm-sbp1.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 /dts-v1/; 4 #include <dt-bindings/gpio/aspeed-gpio.h> 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/leds/common.h> 8 #include <dt-bindings/i2c/i2c.h> 9 #include "aspeed-g6.dtsi" 13 compatible = "ibm,sbp1-bmc", "aspeed,ast2600"; 16 stdout-path = &uart1; [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | kirkwood-synology.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 12 pinctrl: pin-controller@10000 { 13 pmx_alarmled_12: pmx-alarmled-12 { 18 pmx_fanctrl_15: pmx-fanctrl-15 { 23 pmx_fanctrl_16: pmx-fanctrl-16 { 28 pmx_fanctrl_17: pmx-fanctrl-17 { 33 pmx_fanalarm_18: pmx-fanalarm-18 { 38 pmx_hddled_20: pmx-hddled-20 { 43 pmx_hddled_21: pmx-hddled-21 { 48 pmx_hddled_22: pmx-hddled-22 { [all …]
|
/openbmc/linux/arch/arm/boot/dts/marvell/ |
H A D | kirkwood-synology.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 12 pinctrl: pin-controller@10000 { 13 pmx_alarmled_12: pmx-alarmled-12 { 18 pmx_fanctrl_15: pmx-fanctrl-15 { 23 pmx_fanctrl_16: pmx-fanctrl-16 { 28 pmx_fanctrl_17: pmx-fanctrl-17 { 33 pmx_fanalarm_18: pmx-fanalarm-18 { 38 pmx_hddled_20: pmx-hddled-20 { 43 pmx_hddled_21: pmx-hddled-21 { 48 pmx_hddled_22: pmx-hddled-22 { [all …]
|
/openbmc/linux/drivers/staging/olpc_dcon/ |
H A D | olpc_dcon_xo_1.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright © 2006-2007 Red Hat, Inc. 6 * Copyright © 2006-2007 Advanced Micro Devices, Inc. 37 static struct gpio_desc *gpios[5]; variable 46 gpios[i] = devm_gpiod_get(&dcon->client->dev, pin[i].name, in dcon_init_xo_1() 48 if (IS_ERR(gpios[i])) { in dcon_init_xo_1() 49 ret = PTR_ERR(gpios[i]); in dcon_init_xo_1() 56 /* Turn off the event enable for GPIO7 just to be safe */ in dcon_init_xo_1() 69 dcon->curr_src = cs5535_gpio_isset(OLPC_GPIO_DCON_LOAD, GPIO_OUTPUT_VAL) in dcon_init_xo_1() 72 dcon->pending_src = dcon->curr_src; in dcon_init_xo_1() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/nfc/ |
H A D | nxp,pn544.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 14 const: nxp,pn544-i2c 22 enable-gpios: 26 firmware-gpios: 31 - compatible 32 - reg 33 - interrupts [all …]
|
/openbmc/linux/arch/arm/boot/dts/allwinner/ |
H A D | sun8i-h3-nanopi-duo2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 7 #include "sun8i-h3.dtsi" 8 #include "sunxi-common-regulators.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/input.h> 15 compatible = "friendlyarm,nanopi-duo2", "allwinner,sun8i-h3"; 22 stdout-path = "serial0:115200n8"; 26 compatible = "gpio-leds"; 28 led-0 { [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/gpio/ |
H A D | gpio-consumer-common.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/gpio/gpio-consumer-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bartosz Golaszewski <brgl@bgdev.pl> 11 - Linus Walleij <linus.walleij@linaro.org> 14 Pay attention to using proper GPIO flag (e.g. GPIO_ACTIVE_LOW) for the GPIOs 20 enable-gpios: 23 GPIO connected to the enable control pin. 25 reset-gpios: [all …]
|