Home
last modified time | relevance | path

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

12345678910>>...19

/kernel/linux/linux-4.19/Documentation/devicetree/bindings/gpio/
Dgpio.txt4 1) gpios property
5 -----------------
7 Nodes that makes use of GPIOs should specify them using one or more
8 properties, each containing a 'gpio-list':
10 gpio-list ::= <single-gpio> [gpio-list]
11 single-gpio ::= <gpio-phandle> <gpio-specifier>
12 gpio-phandle : phandle to gpio controller node
13 gpio-specifier : Array of #gpio-cells specifying specific gpio
16 GPIO properties should be named "[<name>-]gpios", with <name> being the purpose
17 of this GPIO for the device. While a non-existent <name> is considered valid
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/adc/
Dadi,ad7606.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Beniamin Bia <beniamin.bia@analog.com>
11 - Stefan Popa <stefan.popa@analog.com>
15 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7606_7606-6_7606-4.pdf
16 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7606B.pdf
17 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7616.pdf
22 - adi,ad7605-4
23 - adi,ad7606-8
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/input/touchscreen/
Dedt-ft5x06.txt1 FocalTech EDT-FT5x06 Polytouch driver
18 - compatible: "edt,edt-ft5206"
19 or: "edt,edt-ft5306"
20 or: "edt,edt-ft5406"
21 or: "edt,edt-ft5506"
24 - reg: I2C slave address of the chip (0x38)
25 - interrupts: interrupt specification for the touchdetect
29 - reset-gpios: GPIO specification for the RESET input
30 - wake-gpios: GPIO specification for the WAKE input
32 - pinctrl-names: should be "default"
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/gpio/
Dgpio.txt4 1) gpios property
5 -----------------
7 GPIO properties should be named "[<name>-]gpios", with <name> being the purpose
8 of this GPIO for the device. While a non-existent <name> is considered valid
9 for compatibility reasons (resolving to the "gpios" property), it is not allowed
10 for new bindings. Also, GPIO properties named "[<name>-]gpio" are valid and old
15 cases should they contain more than one. If your device uses several GPIOs with
17 meaningful name. The only case where an array of GPIOs is accepted is when
18 several GPIOs serve the same function (e.g. a parallel data line).
20 The exact purpose of each gpios property must be documented in the device tree
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/touchscreen/
Dedt-ft5x06.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/input/touchscreen/edt-ft5x06.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: FocalTech EDT-FT5x06 Polytouch Bindings
18 - Dmitry Torokhov <dmitry.torokhov@gmail.com>
21 - $ref: touchscreen.yaml#
22 - if:
27 - evervision,ev-ft5726
31 offset-x: true
[all …]
/kernel/linux/linux-4.19/drivers/iio/adc/
Dad7266.c6 * Licensed under the GPL-2.
35 enum ad7266_range range; member
38 struct gpio gpios[3]; member
55 return spi_read(st->spi, &st->data.sample[0], 2); in ad7266_wakeup()
61 return spi_read(st->spi, &st->data.sample[0], 1); in ad7266_powerdown()
86 struct iio_dev *indio_dev = pf->indio_dev; in ad7266_trigger_handler()
90 ret = spi_read(st->spi, st->data.sample, 4); in ad7266_trigger_handler()
92 iio_push_to_buffers_with_timestamp(indio_dev, &st->data, in ad7266_trigger_handler()
93 pf->timestamp); in ad7266_trigger_handler()
96 iio_trigger_notify_done(indio_dev->trig); in ad7266_trigger_handler()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Daxentia,tse850-pcm5142.txt1 Devicetree bindings for the Axentia TSE-850 audio complex
4 - compatible: "axentia,tse850-pcm5142"
5 - axentia,cpu-dai: The phandle of the cpu dai.
6 - axentia,audio-codec: The phandle of the PCM5142 codec.
7 - axentia,add-gpios: gpio specifier that controls the mixer.
8 - axentia,loop1-gpios: gpio specifier that controls loop relays on channel 1.
9 - axentia,loop2-gpios: gpio specifier that controls loop relays on channel 2.
10 - axentia,ana-supply: Regulator that supplies the output amplifier. Must
11 support voltages in the 2V - 20V range, in 1V steps.
13 The schematics explaining the gpios are as follows:
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/sound/
Daxentia,tse850-pcm5142.txt1 Devicetree bindings for the Axentia TSE-850 audio complex
4 - compatible: "axentia,tse850-pcm5142"
5 - axentia,cpu-dai: The phandle of the cpu dai.
6 - axentia,audio-codec: The phandle of the PCM5142 codec.
7 - axentia,add-gpios: gpio specifier that controls the mixer.
8 - axentia,loop1-gpios: gpio specifier that controls loop relays on channel 1.
9 - axentia,loop2-gpios: gpio specifier that controls loop relays on channel 2.
10 - axentia,ana-supply: Regulator that supplies the output amplifier. Must
11 support voltages in the 2V - 20V range, in 1V steps.
13 The schematics explaining the gpios are as follows:
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/dac/
Dad5758.txt4 - compatible: Must be "adi,ad5758"
5 - reg: SPI chip select number for the device
6 - spi-max-frequency: Max SPI frequency to use (< 50000000)
7 - spi-cpha: is the only mode that is supported
11 - adi,dc-dc-mode: Mode of operation of the dc-to-dc converter
19 In this mode, the VDPC+ voltage is user-programmable to
36 - adi,range-microvolt: Voltage output range
38 * <0 5000000>: 0 V to 5 V voltage range
39 * <0 10000000>: 0 V to 10 V voltage range
40 * <(-5000000) 5000000>: ±5 V voltage range
[all …]
Dadi,ad5770r.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Mircea Caprioru <mircea.caprioru@analog.com>
16 https://www.analog.com/media/en/technical-documentation/data-sheets/AD5770R.pdf
21 - adi,ad5770r
26 avdd-supply:
31 iovdd-supply:
35 vref-supply:
41 adi,external-resistor:
[all …]
/kernel/linux/linux-5.10/drivers/pinctrl/renesas/
Dgpio.c1 // SPDX-License-Identifier: GPL-2.0
6 * Copyright (C) 2009 - 2012 Paul Mundt
41 return chip->pfc; in gpio_to_pfc()
48 int idx = sh_pfc_get_pin_index(chip->pfc, offset); in gpio_get_data_reg()
49 struct sh_pfc_gpio_pin *gpio_pin = &chip->pins[idx]; in gpio_get_data_reg()
51 *reg = &chip->regs[gpio_pin->dreg]; in gpio_get_data_reg()
52 *bit = gpio_pin->dbit; in gpio_get_data_reg()
58 phys_addr_t address = dreg->reg; in gpio_read_data_reg()
59 void __iomem *mem = address - chip->mem->phys + chip->mem->virt; in gpio_read_data_reg()
61 return sh_pfc_read_raw_reg(mem, dreg->reg_width); in gpio_read_data_reg()
[all …]
/kernel/linux/linux-4.19/drivers/pinctrl/sh-pfc/
Dgpio.c5 * Copyright (C) 2009 - 2012 Paul Mundt
44 return chip->pfc; in gpio_to_pfc()
51 int idx = sh_pfc_get_pin_index(chip->pfc, offset); in gpio_get_data_reg()
52 struct sh_pfc_gpio_pin *gpio_pin = &chip->pins[idx]; in gpio_get_data_reg()
54 *reg = &chip->regs[gpio_pin->dreg]; in gpio_get_data_reg()
55 *bit = gpio_pin->dbit; in gpio_get_data_reg()
61 phys_addr_t address = dreg->reg; in gpio_read_data_reg()
62 void __iomem *mem = address - chip->mem->phys + chip->mem->virt; in gpio_read_data_reg()
64 return sh_pfc_read_raw_reg(mem, dreg->reg_width); in gpio_read_data_reg()
70 phys_addr_t address = dreg->reg; in gpio_write_data_reg()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/misc/
Difm-csi.txt4 - compatible: "ifm,o2d-csi"
5 - reg: specifies sensor chip select number and associated address range
6 - interrupts: external interrupt line number and interrupt sense mode
8 - gpios: three gpio-specifiers for "capture", "reset" and "master enable"
9 GPIOs (strictly in this order).
10 - ifm,csi-clk-handle: the phandle to a node in the DT describing the sensor
12 - ifm,csi-addr-bus-width: address bus width (valid values are 16, 24, 25)
13 - ifm,csi-data-bus-width: data bus width (valid values are 8 and 16)
14 - ifm,csi-wait-cycles: sensor bus wait cycles
17 - ifm,csi-byte-swap: if this property is present, the byte swapping on
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/misc/
Difm-csi.txt4 - compatible: "ifm,o2d-csi"
5 - reg: specifies sensor chip select number and associated address range
6 - interrupts: external interrupt line number and interrupt sense mode
8 - gpios: three gpio-specifiers for "capture", "reset" and "master enable"
9 GPIOs (strictly in this order).
10 - ifm,csi-clk-handle: the phandle to a node in the DT describing the sensor
12 - ifm,csi-addr-bus-width: address bus width (valid values are 16, 24, 25)
13 - ifm,csi-data-bus-width: data bus width (valid values are 8 and 16)
14 - ifm,csi-wait-cycles: sensor bus wait cycles
17 - ifm,csi-byte-swap: if this property is present, the byte swapping on
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pci/
Dintel-gw-pcie.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pci/intel-gw-pcie.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Dilip Kota <eswara.kota@linux.intel.com>
16 const: intel,lgm-pcie
18 - compatible
23 - const: intel,lgm-pcie
24 - const: snps,dw-pcie
29 "#address-cells":
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/iio/proximity/
Ddevantech-srf04.txt1 * Devantech SRF04 ultrasonic range finder
2 Bit-banging driver using two GPIOs
5 - compatible: Should be "devantech,srf04"
7 - trig-gpios: Definition of the GPIO for the triggering (output)
11 - echo-gpios: Definition of the GPIO for the echo (input)
26 trig-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
27 echo-gpios = <&gpio2 6 GPIO_ACTIVE_HIGH>;
/kernel/linux/linux-5.10/include/linux/gpio/
Ddriver.h1 /* SPDX-License-Identifier: GPL-2.0 */
12 #include <linux/pinctrl/pinconf-generic.h>
29 * struct gpio_irq_chip - GPIO interrupt controller
66 * If non-NULL, will be set as the parent of this GPIO interrupt
78 * hardware IRQs correspond to the GPIO index 0..ngpio-1 (see the
86 * HWIRQ, return -EINVAL, but also make sure to fill in @valid_mask and
101 * &gpiochip_populate_parent_fwspec_twocell will be used. A four-cell
219 * bits from 0..(ngpios-1) set to "1" as in valid. The callback can
230 * If not %NULL holds bitmask of GPIOs which are valid to be included
272 * struct gpio_chip - abstract a GPIO controller
[all …]
/kernel/linux/linux-5.10/drivers/staging/mt7621-pci/
Dmediatek,mt7621-pci.txt4 - compatible: "mediatek,mt7621-pci"
5 - device_type: Must be "pci"
6 - reg: Base addresses and lengths of the PCIe subsys and root ports.
7 - bus-range: Range of bus numbers associated with this controller.
8 - #address-cells: Address representation for root ports (must be 3)
9 - pinctrl-names : The pin control state names.
10 - pinctrl-0: The "default" pinctrl state.
11 - #size-cells: Size representation for root ports (must be 2)
12 - ranges: Ranges for the PCI memory and I/O regions.
13 - #interrupt-cells: Must be 1
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/leds/backlight/
Dpwm-backlight.txt1 pwm-backlight bindings
4 - compatible: "pwm-backlight"
5 - pwms: OF device-tree PWM specification (see PWM binding[0])
6 - power-supply: regulator for supply voltage
9 - pwm-names: a list of names for the PWM devices specified in the
11 - enable-gpios: contains a single GPIO specifier for the GPIO which enables
13 - post-pwm-on-delay-ms: Delay in ms between setting an initial (non-zero) PWM
15 - pwm-off-delay-ms: Delay in ms between disabling the backlight using GPIO
17 - brightness-levels: Array of distinct brightness levels. Typically these
18 are in the range from 0 to 255, but any range starting at
[all …]
/kernel/linux/linux-4.19/include/linux/gpio/
Ddriver.h1 /* SPDX-License-Identifier: GPL-2.0 */
12 #include <linux/pinctrl/pinconf-generic.h>
25 * struct gpio_irq_chip - GPIO interrupt controller
136 * If not %NULL holds bitmask of GPIOs which are valid to be included
157 * struct gpio_chip - abstract a GPIO controller
159 * number or the name of the SoC IP-block implementing it.
161 * @parent: optional parent device providing the GPIOs
162 * @owner: helps prevent removal of modules exporting active GPIOs
163 * @request: optional hook for chip-specific activation, such as
165 * @free: optional hook for chip-specific deactivation, such as
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/
Dmax8998.txt1 * Maxim MAX8998, National/TI LP3974 multi-function device
3 The Maxim MAX8998 is a multi-function device which includes voltage/current
5 other sub-blocks. It is interfaced using an I2C interface. Each sub-block
8 PMIC sub-block
9 --------------
11 The PMIC sub-block contains a number of voltage and current regulators,
17 - compatible: Should be one of the following:
18 - "maxim,max8998" for Maxim MAX8998
19 - "national,lp3974" or "ti,lp3974" for National/TI LP3974.
20 - reg: Specifies the i2c slave address of the pmic block. It should be 0x66.
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/mfd/
Dmax8998.txt1 * Maxim MAX8998, National/TI LP3974 multi-function device
3 The Maxim MAX8998 is a multi-function device which includes voltage/current
5 other sub-blocks. It is interfaced using an I2C interface. Each sub-block
8 PMIC sub-block
9 --------------
11 The PMIC sub-block contains a number of voltage and current regulators,
17 - compatible: Should be one of the following:
18 - "maxim,max8998" for Maxim MAX8998
19 - "national,lp3974" or "ti,lp3974" for National/TI LP3974.
20 - reg: Specifies the i2c slave address of the pmic block. It should be 0x66.
[all …]
/kernel/linux/linux-5.10/drivers/iio/adc/
Dad7266.c1 // SPDX-License-Identifier: GPL-2.0-only
34 enum ad7266_range range; member
37 struct gpio_desc *gpios[3]; member
54 return spi_read(st->spi, &st->data.sample[0], 2); in ad7266_wakeup()
60 return spi_read(st->spi, &st->data.sample[0], 1); in ad7266_powerdown()
83 struct iio_dev *indio_dev = pf->indio_dev; in ad7266_trigger_handler()
87 ret = spi_read(st->spi, st->data.sample, 4); in ad7266_trigger_handler()
89 iio_push_to_buffers_with_timestamp(indio_dev, &st->data, in ad7266_trigger_handler()
90 pf->timestamp); in ad7266_trigger_handler()
93 iio_trigger_notify_done(indio_dev->trig); in ad7266_trigger_handler()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/leds/backlight/
Dpwm-backlight.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/leds/backlight/pwm-backlight.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: pwm-backlight bindings
10 - Lee Jones <lee.jones@linaro.org>
11 - Daniel Thompson <daniel.thompson@linaro.org>
12 - Jingoo Han <jingoohan1@gmail.com>
16 const: pwm-backlight
21 pwm-names: true
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/proximity/
Ddevantech-srf04.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/iio/proximity/devantech-srf04.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Devantech SRF04 and Maxbotix mb1000 ultrasonic range finder
10 - Andreas Klinger <ak@it-klinger.de>
13 Bit-banging driver using two GPIOs:
14 - trigger-gpio is raised by the driver to start sending out an ultrasonic
16 - echo-gpio is held high by the sensor after sending ultrasonic burst
20 https://www.robot-electronics.co.uk/htm/srf04tech.htm
[all …]

12345678910>>...19