/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | active-semi,act8945a-charger.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/active-semi,act8945a-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Active-semi ACT8945A Charger Function 10 - Sebastian Reichel <sre@kernel.org> 13 - $ref: power-supply.yaml# 17 const: active-semi,act8945a-charger 22 active-semi,chglev-gpios: 24 description: charge current level GPIO [all …]
|
/linux/Documentation/devicetree/bindings/regulator/ |
H A D | maxim,max8952.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> 13 - $ref: regulator.yaml# 19 max8952,default-mode: 25 max8952,dvs-mode-microvolt: 35 max8952,en-gpio: 38 GPIO used to control enable status of regulator 40 max8952,ramp-speed: [all …]
|
H A D | rohm,bd71815-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/rohm,bd71815-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <mazziesaccount@gmail.com> 14 see Documentation/devicetree/bindings/mfd/rohm,bd71815-pmic.yaml. 16 The regulator controller is represented as a sub-node of the PMIC node 33 regulator-name: 37 "^((ldo|buck)[1-5]|ldolpsr|ldodvref)$": 44 regulator-name: [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | wlf,arizona.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - patches@opensource.cirrus.com 17 - $ref: /schemas/spi/spi-peripheral-props.yaml 18 - $ref: /schemas/sound/wlf,arizona.yaml# 19 - $ref: /schemas/regulator/wlf,arizona.yaml# 20 - $ref: /schemas/extcon/wlf,arizona.yaml# 21 - if: 26 - cirrus,cs47l24 [all …]
|
H A D | tps65910.txt | 4 - compatible: "ti,tps65910" or "ti,tps65911" 5 - reg: I2C slave address 6 - interrupts: the interrupt outputs of the controller 7 - #gpio-cells: number of cells to describe a GPIO, this should be 2. 8 The first cell is the GPIO number. 10 - gpio-controller: mark the device as a GPIO controller 11 - #interrupt-cells: the number of cells to describe an IRQ, this should be 2. 14 Documentation/devicetree/bindings/interrupt-controller/interrupts.txt 15 - regulators: This is the list of child nodes that specify the regulator 20 The regulator is matched with the regulator-compatible. [all …]
|
/linux/Documentation/devicetree/bindings/input/ |
H A D | rotary-encoder.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/rotary-encoder.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Frank Li <Frank.Li@nxp.com> 13 See Documentation/input/devices/rotary-encoder.rst for more information. 17 const: rotary-encoder 26 Defaults to 0 (ABS_X / REL_X) 28 rotary-encoder,steps: 33 encoder. Only relevant for absolute axis. Defaults to 24 which is a [all …]
|
H A D | gpio-decoder.txt | 1 * GPIO Decoder DT bindings 4 - compatible: should be "gpio-decoder" 5 - gpios: a spec of gpios (at least two) to be decoded to a number with 9 - decoder-max-value: Maximum possible value that can be reported by 11 - linux,axis: the input subsystem axis to map to (ABS_X/ABS_Y). 12 Defaults to 0 (ABS_X). 15 gpio-decoder0 { 16 compatible = "gpio-decoder"; 22 decoder-max-value = <9>;
|
H A D | gpio-keys.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/input/gpio-keys.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: GPIO attached keys 10 - Rob Herring <robh@kernel.org> 15 - gpio-keys 16 - gpio-keys-polled 23 poll-interval: true 26 …"^(button|event|key|switch|(button|event|key|switch)-[a-z0-9-]+|[a-z0-9-]+-(button|event|key|switc… [all …]
|
/linux/Documentation/devicetree/bindings/gpio/ |
H A D | gpio-altera.txt | 1 Altera GPIO controller bindings 4 - compatible: 5 - "altr,pio-1.0" 6 - reg: Physical base address and length of the controller's registers. 7 - #gpio-cells : Should be 2 8 - The first cell is the gpio offset number. 9 - The second cell is reserved and is currently unused. 10 - gpio-controller : Marks the device node as a GPIO controller. 11 - interrupt-controller: Mark the device node as an interrupt controller 12 - #interrupt-cells : Should be 2. The interrupt type is fixed in the hardware. [all …]
|
/linux/Documentation/devicetree/bindings/net/ |
H A D | rfkill-gpio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/rfkill-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: GPIO controlled rfkill switch 10 - Johannes Berg <johannes@sipsolutions.net> 11 - Philipp Zabel <p.zabel@pengutronix.de> 15 const: rfkill-gpio 18 description: rfkill switch name, defaults to node name 20 radio-type: [all …]
|
H A D | qca,qca7000.txt | 3 The QCA7000 is a serial-to-powerline bridge with a host interface which could 13 - compatible : Should be "qca,qca7000" 14 - reg : Should specify the SPI chip select 15 - interrupts : The first cell should specify the index of the source 18 - spi-cpha : Must be set 19 - spi-cpol : Must be set 22 - spi-max-frequency : Maximum frequency of the SPI bus the chip can operate at. 26 - qca,legacy-mode : Set the SPI data transfer of the QCA7000 to legacy mode. 30 the QCA7000 is setup via GPIO pin strapping. If the 31 property is missing the driver defaults to burst mode. [all …]
|
/linux/Documentation/devicetree/bindings/mtd/ |
H A D | gpio-control-nand.txt | 1 GPIO assisted NAND flash 3 The GPIO assisted NAND flash uses a memory mapped interface to 4 read/write the NAND commands and data and GPIO pins for the control 8 - compatible : "gpio-control-nand" 9 - reg : should specify localbus chip select and size used for the chip. The 12 - #address-cells, #size-cells : Must be present if the device has sub-nodes 14 - gpios : Specifies the GPIO pins to control the NAND device. The order of 15 GPIO references is: RDY, nCE, ALE, CLE, and nWP. nCE and nWP are optional. 18 - bank-width : Width (in bytes) of the device. If not present, the width 19 defaults to 1 byte. [all …]
|
/linux/include/linux/mfd/madera/ |
H A D | pdata.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2015-2018 Cirrus Logic 12 #include <linux/regulator/arizona-ldo1.h> 13 #include <linux/regulator/arizona-micsupp.h> 15 #include <sound/madera-pdata.h> 26 * struct madera_pdata - Configuration data for Madera devices 28 * @reset: GPIO controlling /RESET (NULL = none) 31 * @irq_flags: Mode for primary IRQ (defaults to active low) 32 * @gpio_base: Base GPIO number 33 * @gpio_configs: Array of GPIO configurations (See [all …]
|
/linux/Documentation/devicetree/bindings/net/bluetooth/ |
H A D | mediatek,bluetooth.txt | 13 - compatible: Must be 14 "mediatek,mt7663u-bluetooth": for MT7663U device 15 "mediatek,mt7668u-bluetooth": for MT7668U device 16 - vcc-supply: Main voltage regulator 18 If the pin controller on the platform can support both pinmux and GPIO 21 - pinctrl-names: Should be "default", "runtime" 22 - pinctrl-0: Should contain UART RXD low when the device is powered up to 24 - pinctrl-1: Should contain UART mode pin ctrl 27 the GPIO control still has to rely on the dedicated GPIO controller such as 30 - boot-gpios: GPIO same to the pin as UART RXD and used to keep LOW when [all …]
|
/linux/arch/arm/boot/dts/gemini/ |
H A D | gemini-rut1xx.dts | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 9 #include <dt-bindings/input/input.h> 14 #address-cells = <1>; 15 #size-cells = <1>; 24 stdout-path = &uart0; 28 compatible = "gpio-keys"; 30 button-setup { 31 debounce-interval = <100>; 32 wakeup-source; [all …]
|
/linux/drivers/leds/ |
H A D | leds-lp50xx.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Copyright (C) 2018-20 Texas Instruments Incorporated - https://www.ti.com/ 5 #include <linux/gpio/consumer.h> 17 #include <linux/led-class-multicolor.h> 73 /* LEDX_BRT registers are all 0xff for defaults */ 76 /* OUTX_CLR registers are all 0x0 for defaults */ 92 /* LEDX_BRT registers are all 0xff for defaults */ 96 /* OUTX_CLR registers are all 0x0 for defaults */ 115 /* LEDX_BRT registers are all 0xff for defaults */ 120 /* OUTX_CLR registers are all 0x0 for defaults */ [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | qcs404-evb-4000.dts | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include "qcs404-evb.dtsi" 13 compatible = "qcom,qcs404-evb-4000", "qcom,qcs404-evb", 20 snps,reset-gpio = <&tlmm 60 GPIO_ACTIVE_LOW>; 21 snps,reset-active-low; 22 snps,reset-delays-us = <0 10000 10000>; 24 pinctrl-names = "default"; 25 pinctrl-0 = <ðernet_defaults>; [all …]
|
/linux/Documentation/devicetree/bindings/i2c/ |
H A D | i2c-mux-gpio.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/i2c/i2c-mux-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: GPIO-based I2C Bus Mux 10 - Wolfram Sang <wsa@kernel.org> 15 +-----+ +-----+ 17 +------------+ +-----+ +-----+ 19 | | /--------+--------+ 20 | +------+ | +------+ child bus A, on GPIO value set to 0 [all …]
|
/linux/Documentation/devicetree/bindings/input/touchscreen/ |
H A D | ti,tsc2005.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Marek Vasut <marex@denx.de> 11 - Michael Welling <mwelling@ieee.org> 19 - ti,tsc2004 20 - ti,tsc2005 31 reset-gpios: 33 description: GPIO specifier for the controller reset line 35 spi-max-frequency: [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | wlf,wm8994.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 <krzysztof.kozlowski@linaro.org> 11 - patches@opensource.cirrus.com 25 - wlf,wm1811 26 - wlf,wm8994 27 - wlf,wm8958 36 clock-names: 39 - const: MCLK1 [all …]
|
/linux/Documentation/userspace-api/gpio/ |
H A D | sysfs.rst | 1 GPIO Sysfs Interface for Userspace 6 been moved to Documentation/ABI/obsolete/sysfs-gpio. 16 ---------------------- 19 debugfs interface, since it provides control over GPIO direction and 20 value instead of just showing a gpio state summary. Plus, it could be 24 know for example that GPIO #23 controls the write protect line used to 26 may need to temporarily remove that protection, first importing a GPIO, 27 then changing its output state, then updating the code before re-enabling 28 the write protection. In normal use, GPIO #23 would never be touched, 32 userspace GPIO can be used to determine system configuration data that [all …]
|
H A D | gpio-v2-get-line-ioctl.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 GPIO_V2_GET_LINE_IOCTL - Request a line or lines from the kernel. 25 The file descriptor of the GPIO character device returned by `open()`. 37 :ref:`gpio-v2-line-request`. 41 as possible. e.g. gpio-v2-line-get-values-ioctl.rst will read all the 53 .. _gpio-v2-get-line-config-rules: 56 ------------------- 63 and the line is requested "as-is" to allow reading of the line value 69 If none are set then the line is assumed push-pull. 81 If none are set then the event clock defaults to ``CLOCK_MONOTONIC``. [all …]
|
/linux/include/linux/mfd/arizona/ |
H A D | pdata.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 11 #include <dt-bindings/mfd/arizona.h> 12 #include <linux/regulator/arizona-ldo1.h> 13 #include <linux/regulator/arizona-micsupp.h> 36 #define ARIZONA_GPN_FN_MASK 0x007F /* GPN_FN - [6:0] */ 37 #define ARIZONA_GPN_FN_SHIFT 0 /* GPN_FN - [6:0] */ 38 #define ARIZONA_GPN_FN_WIDTH 7 /* GPN_FN - [6:0] */ 69 bool gpio; member 78 struct gpio_desc *reset; /** GPIO controlling /RESET, if any */ 89 /** Mode for primary IRQ (defaults to active low) */ [all …]
|
/linux/arch/mips/include/asm/mach-ath25/ |
H A D | ath25_platform.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * This is board-specific data that is stored in a "fixed" location in flash. 27 #define BD_RSTFACTORY 0x00000010 /* Reset factory defaults stuffed */ 41 u16 reset_config_gpio; /* Reset factory GPIO pin */ 42 u16 sys_led_gpio; /* System LED GPIO pin */
|
/linux/drivers/gpu/drm/bridge/ |
H A D | ti-tfp410.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include <linux/gpio/consumer.h> 9 #include <linux/media-bus-format.h> 56 if (dvi->next_bridge->ops & DRM_BRIDGE_OP_EDID) { in tfp410_get_modes() 57 drm_edid = drm_bridge_edid_read(dvi->next_bridge, connector); in tfp410_get_modes() 92 return drm_bridge_detect(dvi->next_bridge); in tfp410_connector_detect() 110 if (dvi->bridge.dev) in tfp410_hpd_work_func() 111 drm_helper_hpd_irq_event(dvi->bridge.dev); in tfp410_hpd_work_func() 118 mod_delayed_work(system_wq, &dvi->hpd_work, in tfp410_hpd_callback() 128 ret = drm_bridge_attach(bridge->encoder, dvi->next_bridge, bridge, in tfp410_attach() [all …]
|