/linux/Documentation/devicetree/bindings/iio/adc/ |
H A D | adi,ad7606.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michael Hennerich <michael.hennerich@analog.com> 14 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7605-4.pdf 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-4 [all …]
|
H A D | adi,ad7091r5.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Analog Devices AD7091R-2/-4/-5/-8 Multi-Channel 12-Bit ADCs 10 - Michael Hennerich <michael.hennerich@analog.com> 11 - Marcelo Schmitt <marcelo.schmitt@analog.com> 14 Analog Devices AD7091R5 4-Channel 12-Bit ADC supporting I2C interface 15 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7091r-5.pdf 16 Analog Devices AD7091R-2/AD7091R-4/AD7091R-8 2-/4-/8-Channel 12-Bit ADCs 18 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7091R-2_7091R-4_7091R-8.pdf [all …]
|
/linux/Documentation/devicetree/bindings/leds/ |
H A D | richtek,rt8515.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linus.walleij@linaro.org> 22 enf-gpios: 26 ent-gpios: 30 richtek,rfs-ohms: 35 for the property flash-max-microamp to work, the RFS resistor 36 defines the range of the dimmer setting (brightness) of the 39 richtek,rts-ohms: [all …]
|
/linux/Documentation/devicetree/bindings/input/touchscreen/ |
H A D | edt-ft5x06.yaml | 1 # 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 18 - Dmitry Torokhov <dmitry.torokhov@gmail.com> 21 - $ref: touchscreen.yaml# 22 - if: 27 - evervision,ev-ft5726 31 offset-x: true [all …]
|
/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3566-anbernic-rg353x.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/linux-event-codes.h> 7 #include <dt-bindings/pinctrl/rockchip.h> 8 #include "rk3566-anbernic-rgxx3.dtsi" 11 adc-joystick { 12 compatible = "adc-joystick"; 13 io-channels = <&adc_mux 0>, 17 pinctrl-0 = <&joy_mux_en>; [all …]
|
H A D | rk3566-anbernic-rg503.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/linux-event-codes.h> 7 #include <dt-bindings/pinctrl/rockchip.h> 8 #include "rk3566-anbernic-rgxx3.dtsi" 20 adc-joystick { 21 compatible = "adc-joystick"; 22 io-channels = <&adc_mux 0>, 26 pinctrl-0 = <&joy_mux_en>; [all …]
|
H A D | rk3326-odroid-go3.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 9 #include "rk3326-odroid-go.dtsi" 12 model = "ODROID-GO Super"; 13 compatible = "hardkernel,rk3326-odroid-go3", "rockchip,rk3326"; 15 joystick_mux_controller: mux-controller { 16 compatible = "gpio-mux"; 18 #mux-control-cells = <0>; 20 mux-gpios = <&gpio3 RK_PB3 GPIO_ACTIVE_LOW>, 24 joystick_mux: adc-mux { [all …]
|
H A D | rk3588s-gameforce-ace.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/linux-event-codes.h> 7 #include <dt-bindings/leds/common.h> 8 #include <dt-bindings/pinctrl/rockchip.h> 9 #include <dt-bindings/pwm/pwm.h> 10 #include <dt-bindings/thermal/thermal.h> 11 #include <dt-bindings/usb/pd.h> 16 chassis-type = "handset"; [all …]
|
H A D | rk3566-powkiddy-rk2023.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/linux-event-codes.h> 7 #include <dt-bindings/leds/common.h> 8 #include <dt-bindings/pinctrl/rockchip.h> 9 #include <dt-bindings/soc/rockchip,vop2.h> 13 chassis-type = "handset"; 21 adc-joystick { 22 compatible = "adc-joystick"; [all …]
|
H A D | rk3566-powkiddy-x55.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/linux-event-codes.h> 7 #include <dt-bindings/leds/common.h> 8 #include <dt-bindings/pinctrl/rockchip.h> 9 #include <dt-bindings/soc/rockchip,vop2.h> 14 chassis-type = "handset"; 25 stdout-path = "serial2:1500000n8"; 28 adc_joystick: adc-joystick { [all …]
|
/linux/Documentation/devicetree/bindings/gpio/ |
H A D | gpio.txt | 4 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 …]
|
/linux/Documentation/devicetree/bindings/firmware/ |
H A D | intel,ixp4xx-network-processing-engine.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/firmware/intel,ixp4xx-network-processing-engine.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Linus Walleij <linus.walleij@linaro.org> 24 - items: 25 - const: intel,ixp4xx-network-processing-engine 29 - description: NPE0 (NPE-A) register range 30 - description: NPE1 (NPE-B) register range 31 - description: NPE2 (NPE-C) register range [all …]
|
/linux/drivers/pinctrl/renesas/ |
H A D | gpio.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright (C) 2009 - 2012 Paul Mundt 40 return chip->pfc; in gpio_to_pfc() 47 int idx = sh_pfc_get_pin_index(chip->pfc, offset); in gpio_get_data_reg() 48 struct sh_pfc_gpio_pin *gpio_pin = &chip->pins[idx]; in gpio_get_data_reg() 50 *reg = &chip->regs[gpio_pin->dreg]; in gpio_get_data_reg() 51 *bit = gpio_pin->dbit; in gpio_get_data_reg() 57 phys_addr_t address = dreg->reg; in gpio_read_data_reg() 58 void __iomem *mem = address - chip->mem->phys + chip->mem->virt; in gpio_read_data_reg() 60 return sh_pfc_read_raw_reg(mem, dreg->reg_width); in gpio_read_data_reg() [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | axentia,tse850-pcm5142.txt | 1 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 …]
|
/linux/arch/arm64/boot/dts/allwinner/ |
H A D | sun50i-h700-anbernic-rg35xx-h.dts | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 7 #include "sun50i-h700-anbernic-rg35xx-plus.dts" 11 compatible = "anbernic,rg35xx-h", "allwinner,sun50i-h700"; 13 adc-joystick { 14 compatible = "adc-joystick"; 15 io-channels = <&adc_mux 0>, 19 pinctrl-0 = <&joy_mux_pin>; 20 pinctrl-names = "default"; 21 poll-interval = <60>; 22 #address-cells = <1>; [all …]
|
/linux/Documentation/devicetree/bindings/iio/dac/ |
H A D | adi,ad5766.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Nuno Sá <nuno.sa@analog.com> 16 https://www.analog.com/media/en/technical-documentation/data-sheets/ad5766-5767.pdf 21 - adi,ad5766 22 - adi,ad5767 24 output-range-microvolts: 25 $ref: /schemas/types.yaml#/definitions/int32-array 27 description: Select converter output range. [all …]
|
H A D | adi,ad5758.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michael Hennerich <Michael.Hennerich@analog.com> 19 spi-cpha: true 21 adi,dc-dc-mode: 25 Mode of operation of the dc-to-dc converter 32 In this mode, the VDPC+ voltage is user-programmable to a fixed level 47 adi,range-microvolt: 49 Voltage output range specified as <minimum, maximum> [all …]
|
H A D | adi,ad5770r.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Alexandru Tachici <alexandru.tachici@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 …]
|
/linux/include/linux/gpio/ |
H A D | driver.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 #include <linux/pinctrl/pinconf-generic.h> 48 * struct gpio_irq_chip - GPIO interrupt controller 78 * If non-NULL, will be set as the parent of this GPIO interrupt 90 * hardware IRQs correspond to the GPIO index 0..ngpio-1 (see the 98 * HWIRQ, return -EINVAL, but also make sure to fill in @valid_mask and 113 * &gpiochip_populate_parent_fwspec_twocell will be used. A four-cell 270 * bits from 0..(ngpios-1) set to "1" as in valid. The callback can 281 * If not %NULL, holds bitmask of GPIOs which are valid to be included 323 * struct gpio_chip - abstract a GPIO controller [all …]
|
/linux/drivers/gpio/ |
H A D | gpiolib-of.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (c) 2007-2008 MontaVista Software, Inc. 26 #include "gpiolib-of.h" 29 * This is Linux-specific flags. By default controllers' and Linux' mapping 31 * Linux-specific in their .xlate callback. Though, 1:1 mapping is recommended. 44 * of_gpio_named_count() - Count GPIOs for a device 45 * @np: device node to count GPIOs for 48 * The function returns the count of GPIOs specified for a node. 52 * Either number of GPIOs defined in the property, or 53 * * %-EINVAL for an incorrectly formed "gpios" property, or [all …]
|
/linux/drivers/iio/adc/ |
H A D | ad7266.c | 1 // SPDX-License-Identifier: GPL-2.0-only 35 enum ad7266_range range; member 38 struct gpio_desc *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() 84 struct iio_dev *indio_dev = pf->indio_dev; in ad7266_trigger_handler() 88 ret = spi_read(st->spi, st->data.sample, 4); in ad7266_trigger_handler() 90 iio_push_to_buffers_with_timestamp(indio_dev, &st->data, in ad7266_trigger_handler() 91 pf->timestamp); in ad7266_trigger_handler() 94 iio_trigger_notify_done(indio_dev->trig); in ad7266_trigger_handler() [all …]
|
/linux/Documentation/devicetree/bindings/misc/ |
H A D | ifm-csi.txt | 4 - 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 …]
|
/linux/Documentation/devicetree/bindings/iio/pressure/ |
H A D | honeywell,mprls0025pa.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Andreas Klinger <ak@it-klinger.de> 11 - Petre Rodan <petre.rodan@subdimension.ro> 20 differ in the pressure range, unit and transfer function. 26 the pressure values can be specified manually via honeywell,pmin-pascal and 27 honeywell,pmax-pascal. 28 The minimal range value stands for the minimum pressure and the maximum value 29 also for the maximum pressure with linear relation inside the range. [all …]
|
/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-g12b-odroid-go-ultra.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-g12b-s922x.dtsi" 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/gpio/meson-g12a-gpio.h> 12 #include <dt-bindings/sound/meson-g12a-toacodec.h> 13 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 16 compatible = "hardkernel,odroid-go-ultra", "amlogic,s922x", "amlogic,g12b"; 17 model = "Hardkernel ODROID-GO-Ultra"; [all …]
|
/linux/Documentation/devicetree/bindings/pci/ |
H A D | hisilicon,kirin-pcie.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/pci/hisilicon,kirin-pcie.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Xiaowei Song <songxiaowei@hisilicon.com> 11 - Binghui Wang <wangbinghui@hisilicon.com> 17 Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml. 20 - $ref: /schemas/pci/snps,dw-pcie.yaml# 26 - hisilicon,kirin960-pcie 27 - hisilicon,kirin970-pcie [all …]
|