/openbmc/linux/include/dt-bindings/sound/ |
H A D | cs35l45.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * cs35l45.h -- CS35L45 ALSA SoC audio driver DT bindings header 12 * cirrus,asp-sdout-hiz-ctrl 14 * TX_HIZ_UNUSED: TX pin high-impedance during unused slots. 15 * TX_HIZ_DISABLED: TX pin high-impedance when all channels disabled. 21 * Optional GPIOX Sub-nodes: 22 * The cs35l45 node can have up to three "cirrus,gpio-ctrlX" ('X' = [1,2,3]) 23 * sub-nodes for configuring the GPIO pins. 25 * - gpio-dir : GPIO pin direction. Valid only when 'gpio-ctrl' 30 * - gpio-lvl : GPIO level. Valid only when 'gpio-ctrl' is 1 and 'gpio-dir' is 0. [all …]
|
/openbmc/linux/drivers/mux/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 22 be called mux-adg792a. 32 be called mux-adgs1408. 35 tristate "GPIO-controlled Multiplexer" 38 GPIO-controlled Multiplexer controller. 41 of gpio pins. For N pins, there will be 2^N possible multiplexer 42 states. The GPIO pins can be connected (by the hardware) to several 46 be called mux-gpio. 49 tristate "MMIO/Regmap register bitfield-controlled Multiplexer" 52 MMIO/Regmap register bitfield-controlled Multiplexer controller. [all …]
|
H A D | gpio.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * GPIO-controlled multiplexer driver 12 #include <linux/gpio/consumer.h> 25 struct mux_gpio *mux_gpio = mux_chip_priv(mux->chip); in mux_gpio_set() 31 gpiod_set_array_value_cansleep(mux_gpio->gpios->ndescs, in mux_gpio_set() 32 mux_gpio->gpios->desc, in mux_gpio_set() 33 mux_gpio->gpios->info, values); in mux_gpio_set() 43 { .compatible = "gpio-mux", }, 50 struct device *dev = &pdev->dev; in mux_gpio_probe() 66 mux_chip->ops = &mux_gpio_ops; in mux_gpio_probe() [all …]
|
/openbmc/linux/drivers/leds/trigger/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 15 This allows LEDs to be controlled by a programmable timer 18 For more details read Documentation/leds/leds-class.rst. 23 tristate "LED One-shot Trigger" 25 This allows LEDs to blink in one-shot pulses with parameters 26 controlled via sysfs. It's useful to notify the user on 39 This allows LEDs to be controlled by disk activity. 46 This allows LEDs to be controlled by MTD activity. 52 This allows LEDs to be controlled by a CPU load average. 53 The flash frequency is a hyperbolic function of the 1-minute [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | cirrus,cs35l45.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Ricardo Rivera-Matos <rriveram@opensource.cirrus.com> 11 - Richard Fitzgerald <rf@opensource.cirrus.com> 18 - $ref: dai-common.yaml# 23 - cirrus,cs35l45 28 '#sound-dai-cells': 31 reset-gpios: 34 vdd-a-supply: [all …]
|
/openbmc/u-boot/drivers/pinctrl/ |
H A D | Kconfig | 19 This provides Linux-compatible device tree interface for the pinctrl 24 If this option is disabled (it is the only possible choice for non-DT 27 It is totally up to the implementation of each low-level driver. 40 If you need to handle vendor-specific DT properties, you can disable 53 The driver is typically controlled by the device tree. 66 This option is an SPL-variant of the PINCTRL option. 75 This option is an SPL-variant of the PINCTRL_FULL option. 83 This option is an SPL-variant of the PINCTRL_GENERIC option. 91 This option is an SPL-variant of the PINMUX option. 96 to adjust pin multiplexing in SPL in order to boot into U-Boot, [all …]
|
/openbmc/linux/drivers/i2c/muxes/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 10 tristate "GPIO-based I2C arbitration" 17 a GPIO. 20 will be called i2c-arb-gpio-challenge. 23 tristate "GPIO-based I2C multiplexer" 27 GPIO based I2C multiplexer. This driver provides access to 28 I2C busses connected through a MUX, which is controlled 29 through GPIO pins. 32 will be called i2c-mux-gpio. 41 I2C busses connected through a MUX, which in turn is controlled [all …]
|
/openbmc/linux/drivers/pinctrl/nomadik/ |
H A D | pinctrl-ab8500.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2012 5 * Author: Patrice Chotard <patrice.chotard@stericsson.com> for ST-Ericsson. 13 #include "pinctrl-abx500.h" 15 /* All the pins that can be used for GPIO and some other functions */ 61 /* indicates the highest GPIO number */ 65 * The names of the pins are denoted by GPIO number and ball name, even 66 * though they can be used for other things than GPIO, this is the first 116 * Maps local GPIO offsets to local pin numbers 311 AB8500_FUNC_GROUPS(gpio, "gpio1_a_1", "gpio2_a_1", "gpio3_a_1", "gpio4_a_1", [all …]
|
H A D | pinctrl-ab8505.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2012 5 * Author: Patrice Chotard <patrice.chotard@stericsson.com> for ST-Ericsson. 13 #include "pinctrl-abx500.h" 15 /* All the pins that can be used for GPIO and some other functions */ 43 /* indicates the higher GPIO number */ 47 * The names of the pins are denoted by GPIO number and ball name, even 48 * though they can be used for other things than GPIO, this is the first 80 * Maps local GPIO offsets to local pin numbers 197 AB8505_FUNC_GROUPS(gpio, "gpio1_a_1", "gpio2_a_1", "gpio3_a_1", [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/leds/ |
H A D | leds-bcm6328.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/leds/leds-bcm6328.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Álvaro Fernández Rojas <noltari@gmail.com> 16 controller), which can either be controlled by software (exporting the 74x164 17 as spi-gpio. See 18 Documentation/devicetree/bindings/gpio/fairchild,74hc595.yaml), or by hardware 20 Some of these Serial LEDs are hardware controlled (e.g. ethernet LEDs) and 21 exporting the 74x164 as spi-gpio prevents those LEDs to be hardware [all …]
|
/openbmc/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6qdl-dhcom-drc02.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 8 stdout-path = "serial0:115200n8"; 25 * NOTE: On DRC02, the RS485_RX_En is controlled by a separate 26 * GPIO line, however the i.MX6 UART driver assumes RX happens 30 rs485-rx-en-hog { 31 gpio-hog; 32 gpios = <18 0>; /* GPIO Q */ 33 line-name = "rs485-rx-en"; 34 output-low; 39 gpio-line-names = [all …]
|
/openbmc/u-boot/doc/device-tree-bindings/leds/ |
H A D | leds-bcm6328.txt | 6 controller), which can either be controlled by software (exporting the 74x164 7 as spi-gpio. See Documentation/devicetree/bindings/gpio/gpio-74x164.txt), or 9 Some of these Serial LEDs are hardware controlled (e.g. ethernet LEDs) and 10 exporting the 74x164 as spi-gpio prevents those LEDs to be hardware 11 controlled, so the only chance to keep them working is by using this driver. 14 - compatible : should be "brcm,bcm6328-leds". 15 - #address-cells : must be 1. 16 - #size-cells : must be 0. 17 - reg : BCM6328 LED controller address and size. 20 - brcm,serial-leds : Boolean, enables Serial LEDs. [all …]
|
/openbmc/linux/drivers/net/mdio/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 20 loadable module or built-in. 58 tristate "APM X-Gene SoC MDIO bus controller" 62 APM X-Gene SoC's. 72 third revision of the ASPEED MDIO register interface - the first two 109 tristate "GPIO lib-based bitbanged MDIO buses" 113 Supports GPIO lib-based MDIO busses. 116 will be called mdio-gpio. 177 IPQ40xx, IPQ60xx, IPQ807x and IPQ50xx series Soc-s. 193 layout. It's regmap-based so that it can be used on integrated, [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/regulator/ |
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# 7 title: GPIO controlled regulators 10 - Liam Girdwood <lgirdwood@gmail.com> 11 - Mark Brown <broonie@kernel.org> 18 - $ref: regulator.yaml# 22 const: regulator-gpio 24 regulator-name: true [all …]
|
H A D | tps65090.txt | 4 - compatible: "ti,tps65090" 5 - reg: I2C slave address 6 - interrupts: the interrupt outputs of the controller 7 - regulators: A node that houses a sub-node for each regulator within the 8 device. Each sub-node is identified using the node's name, with valid 9 values listed below. The content of each sub-node is defined by the 11 dcdc[1-3], fet[1-7] and ldo[1-2] respectively. 12 - vsys[1-3]-supply: The input supply for DCDC[1-3] respectively. 13 - infet[1-7]-supply: The input supply for FET[1-7] respectively. 14 - vsys-l[1-2]-supply: The input supply for LDO[1-2] respectively. [all …]
|
/openbmc/u-boot/doc/device-tree-bindings/regulator/ |
H A D | tps65090.txt | 4 - compatible: "ti,tps65090" 5 - reg: I2C slave address 6 - interrupts: the interrupt outputs of the controller 7 - regulators: A node that houses a sub-node for each regulator within the 8 device. Each sub-node is identified using the node's name, with valid 9 values listed below. The content of each sub-node is defined by the 11 dcdc[1-3], fet[1-7] and ldo[1-2] respectively. 12 - vsys[1-3]-supply: The input supply for DCDC[1-3] respectively. 13 - infet[1-7]-supply: The input supply for FET[1-7] respectively. 14 - vsys-l[1-2]-supply: The input supply for LDO[1-2] respectively. [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/media/i2c/ |
H A D | maxim,max9286.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Jacopo Mondi <jacopo+renesas@jmondi.org> 12 - Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> 13 - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> 14 - Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> 18 Serial Links (GMSL) and outputs them on a CSI-2 D-PHY port using up to 4 data 28 '#address-cells': 31 '#size-cells': [all …]
|
/openbmc/linux/include/linux/regulator/ |
H A D | max8973-regulator.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * max8973-regulator.h -- MAXIM 8973 regulator 5 * Interface for regulator driver for MAXIM 8973 DC-DC step-down 38 * struct max8973_regulator_platform_data - max8973 regulator platform data. 51 * @enable_gpio: Enable GPIO. If EN pin is controlled through GPIO from host 52 * then GPIO number can be provided. If no GPIO controlled then 53 * it should be -1. 54 * @dvs_gpio: GPIO for dvs. It should be -1 if this is tied with fixed logic.
|
/openbmc/linux/Documentation/i2c/muxes/ |
H A D | i2c-mux-gpio.rst | 2 Kernel driver i2c-mux-gpio 8 ----------- 10 i2c-mux-gpio is an i2c mux driver providing access to I2C bus segments 11 from a master I2C bus and a hardware MUX controlled through GPIO pins. 15 ---------- ---------- Bus segment 1 - - - - - 16 | | SCL/SDA | |-------------- | | 17 | |------------| | 19 | Linux | GPIO 1..N | MUX |--------------- Devices 20 | |------------| | | | 22 | | | |---------------| | [all …]
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-stp-xway.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #include <linux/gpio/driver.h> 85 u8 groups; /* we can drive 1-3 groups of 8bit each */ 95 * xway_stp_get() - gpio_chip->get - get gpios. 97 * @gpio: GPIO signal number. 101 static int xway_stp_get(struct gpio_chip *gc, unsigned int gpio) in xway_stp_get() argument 105 return (xway_stp_r32(chip->virt, XWAY_STP_CPU0) & BIT(gpio)); in xway_stp_get() 109 * xway_stp_set() - gpio_chip->set - set gpios. 111 * @gpio: GPIO signal number. 116 static void xway_stp_set(struct gpio_chip *gc, unsigned gpio, int val) in xway_stp_set() argument [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | as3722.txt | 4 ------------------- 5 - compatible: Must be "ams,as3722". 6 - reg: I2C device address. 7 - interrupt-controller: AS3722 has internal interrupt controller which takes the 8 interrupt request from internal sub-blocks like RTC, regulators, GPIOs as well 10 - #interrupt-cells: Should be set to 2 for IRQ number and flags. 12 of AS3722 are defined at dt-bindings/mfd/as3722.h 14 interrupts.txt, using dt-bindings/irq. 17 -------------------- 18 - ams,enable-internal-int-pullup: Boolean property, to enable internal pullup on [all …]
|
H A D | mscc,ocelot.yaml | 1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause */ 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Ocelot Externally-Controlled Ethernet Switch 10 - Colin Foster <colin.foster@in-advantage.com> 15 the option to be controlled externally via external interfaces like SPI or 18 The switch family is a multi-port networking switch that supports many 20 external GPIO expanders. 25 - mscc,vsc7512 30 "#address-cells": [all …]
|
H A D | samsung,s5m8767.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> 17 and current regulators, RTC, clock outputs and other sub-blocks. 21 const: samsung,s5m8767-pmic 39 s5m8767,pmic-buck2-dvs-voltage: 40 $ref: /schemas/types.yaml#/definitions/uint32-array 44 A set of 8 voltage values in micro-volt (uV) units for buck2 when 45 changing voltage using gpio dvs. [all …]
|
H A D | rohm,bd9576-pmic.yaml | 1 # 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/linux/Documentation/devicetree/bindings/net/ |
H A D | mdio-mux-gpio.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/net/mdio-mux-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Properties for an MDIO bus multiplexer/switch controlled by GPIO pins. 10 - Andrew Lunn <andrew@lunn.ch> 13 This is a special case of a MDIO bus multiplexer. One or more GPIO 17 - $ref: /schemas/net/mdio-mux.yaml# 21 const: mdio-mux-gpio 30 - compatible [all …]
|