Home
last modified time | relevance | path

Searched +full:trig +full:- +full:gpios (Results 1 – 16 of 16) sorted by relevance

/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#
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
22 https://www.maxbotix.com/documents/LV-MaxSonar-EZ_Datasheet.pdf
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dspear1310-evb.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
8 /dts-v1/;
13 compatible = "st,spear1310-evb", "st,spear1310";
14 #address-cells = <1>;
15 #size-cells = <1>;
23 pinctrl-names = "default";
24 pinctrl-0 = <&state_default>;
63 smi-pmx {
127 label = "u-boot";
149 compatible = "gpio-keys";
[all …]
Dlpc3250-phy3250.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * PHYTEC phyCORE-LPC3250 board
5 * Copyright (C) 2015-2019 Vladimir Zapolskiy <vz@mleia.com>
9 /dts-v1/;
13 model = "PHYTEC phyCORE-LPC3250 board based on NXP LPC3250";
22 compatible = "gpio-leds";
25 gpios = <&gpio 5 1 0>; /* GPO_P3 1, GPIO 80, active high */
26 default-state = "off";
30 gpios = <&gpio 5 14 0>; /* GPO_P3 14, GPIO 93, active high */
31 linux,default-trigger = "heartbeat";
[all …]
Dspear1340-evb.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
8 /dts-v1/;
13 compatible = "st,spear1340-evb", "st,spear1340";
14 #address-cells = <1>;
15 #size-cells = <1>;
23 pinctrl-names = "default";
24 pinctrl-0 = <&state_default>;
47 spdif-in {
51 spdif-out {
59 smi-pmx {
[all …]
Dqcom-apq8060-dragonboard.dts23 #include <dt-bindings/input/input.h>
24 #include <dt-bindings/gpio/gpio.h>
25 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
26 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h>
27 #include "qcom-msm8660.dtsi"
31 compatible = "qcom,apq8060-dragonboard", "qcom,msm8660";
38 stdout-path = "serial0:115200n8";
42 compatible = "simple-bus";
45 vph: regulator-fixed {
46 compatible = "regulator-fixed";
[all …]
/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-msic.c1 // SPDX-License-Identifier: GPL-2.0
52 * MSIC has 24 gpios, 16 low voltage (1.2-1.8v) and 8 high voltage (3v).
53 * Both the high and low voltage gpios are divided in two banks.
54 * GPIOs are numbered with GPIO0LV0 as gpio_base in the following order:
64 return -EINVAL; in msic_gpio_to_ireg()
67 return INTEL_MSIC_GPIO0LV0CTLI - offset; in msic_gpio_to_ireg()
69 return INTEL_MSIC_GPIO1LV0CTLI - offset + 8; in msic_gpio_to_ireg()
71 return INTEL_MSIC_GPIO0HV0CTLI - offset + 16; in msic_gpio_to_ireg()
73 return INTEL_MSIC_GPIO1HV0CTLI - offset + 20; in msic_gpio_to_ireg()
79 return -EINVAL; in msic_gpio_to_oreg()
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/amd/
Damd-overdrive.dts1 // SPDX-License-Identifier: GPL-2.0
8 /dts-v1/;
10 /include/ "amd-seattle-soc.dtsi"
14 compatible = "amd,seattle-overdrive", "amd,seattle";
17 stdout-path = &serial0;
48 compatible = "mmc-spi-slot";
50 spi-max-frequency = <20000000>;
51 voltage-ranges = <3200 3400>;
52 gpios = <&gpio0 7 0>;
53 interrupt-parent = <&gpio0>;
[all …]
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-bus-iio-trigger-sysfs3 Contact: linux-iio@vger.kernel.org
5 This file is provided by the iio-trig-sysfs stand-alone trigger
10 are not applicable. For example no RTC or spare GPIOs.
15 Contact: linux-iio@vger.kernel.org
24 Contact: linux-iio@vger.kernel.org
26 This attribute is provided by the iio-trig-sysfs stand-alone
35 Contact: linux-iio@vger.kernel.org
/kernel/linux/linux-5.10/drivers/iio/proximity/
Dsrf04.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * SRF04: ultrasonic sensor for distance measuring by using GPIOs
5 * Copyright (c) 2017 Andreas Klinger <ak@it-klinger.de>
8 * https://www.robot-electronics.co.uk/htm/srf04tech.htm
12 * +---+
14 * trig: --+ +------------------------------------------------------
16 * |<->|
19 * ultra +-+ +-+ +-+
21 * burst: ---------+ +-+ +-+ +-----------------------------------------
23 * ultra . +-+ +-+ +-+
[all …]
Dsx9500.c1 // SPDX-License-Identifier: GPL-2.0-only
77 #define SX9500_CHAN_MASK GENMASK(SX9500_NUM_CHANNELS - 1, 0)
82 struct iio_trigger *trig; member
171 regmap_reg_range(SX9500_REG_IRQ_MSK + 1, SX9500_REG_PROX_CTRL0 - 1),
172 regmap_reg_range(SX9500_REG_PROX_CTRL8 + 1, SX9500_REG_SENSOR_SEL - 1),
173 regmap_reg_range(SX9500_REG_OFFSET_LSB + 1, SX9500_REG_RESET - 1),
212 return regmap_update_bits(data->regmap, reg, bitmask, bitmask); in sx9500_inc_users()
218 (*counter)--; in sx9500_dec_users()
223 return regmap_update_bits(data->regmap, reg, bitmask, 0); in sx9500_dec_users()
228 return sx9500_inc_users(data, &data->channel_users[chan], in sx9500_inc_chan_users()
[all …]
/kernel/linux/linux-5.10/drivers/iio/adc/
Dad7606.h1 /* SPDX-License-Identifier: GPL-2.0 */
42 * struct ad7606_chip_info - chip specific information
62 * struct ad7606_state - driver instance specific data
78 * @lock protect sensor state from concurrent accesses to GPIOs
80 * @gpio_reset GPIO descriptor for device hard-reset
82 * @gpio_standby GPIO descriptor for stand-by signal (STBY),
83 * controls power-down mode of device
88 * @trig The IIO trigger associated with the device.
115 struct iio_trigger *trig; member
121 * 16 * 16-bit samples + 64-bit timestamp
[all …]
Dad7266.c1 // SPDX-License-Identifier: GPL-2.0-only
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()
102 if (st->fixed_addr) in ad7266_select_input()
[all …]
Dti-ads7950.c1 // SPDX-License-Identifier: GPL-2.0
12 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/
36 * Device tree users encode that via the vref-supply regulator.
54 (((val) >> (dec)) & ((1 << (bits)) - 1))
61 (TI_ADS7950_MAN_CMD(TI_ADS7950_CR_WRITE | st->cmd_settings_bitmask))
64 (TI_ADS7950_GPIO_CMD(st->gpio_cmd_settings_bitmask))
84 * [0-3] GPIO signal
95 * [0-3] GPIO direction
96 * [4-6] Different GPIO alarm mode configurations
100 * [10-11] N/A
[all …]
/kernel/linux/linux-5.10/drivers/pinctrl/mvebu/
Dpinctrl-armada-xp.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 * both have 67 MPP pins (more GPIOs and address lines for the memory
26 #include "pinctrl-mvebu.h"
129 MPP_VAR_FUNCTION(0x3, "ptp", "trig", V_MV78230_PLUS),
177 MPP_VAR_FUNCTION(0x1, "ptp", "trig", V_MV78230_PLUS),
189 MPP_VAR_FUNCTION(0x4, "lcd", "ref-clk", V_MV78230_PLUS)),
235 MPP_VAR_FUNCTION(0x4, "lcd", "vga-hsync", V_MV78230_PLUS),
243 MPP_VAR_FUNCTION(0x4, "lcd", "vga-vsync", V_MV78230_PLUS),
480 .compatible = "marvell,mv78230-pinctrl",
[all …]
/kernel/linux/linux-5.10/drivers/nfc/pn544/
Di2c.c1 // SPDX-License-Identifier: GPL-2.0-only
10 #include <linux/crc-ccitt.h>
134 #define PN544_FW_I2C_WRITE_DATA_MAX_LEN MIN((PN544_FW_I2C_MAX_PAYLOAD -\
138 #define PN544_FW_SECURE_CHUNK_WRITE_DATA_MAX_LEN (PN544_FW_I2C_MAX_PAYLOAD -\
185 16, 1, (skb)->data, (skb)->len, 0); \
194 nfc_info(&phy->i2c_dev->dev, "Detecting nfc_en polarity\n"); in pn544_hci_i2c_platform_init()
197 gpiod_set_value_cansleep(phy->gpiod_fw, 0); in pn544_hci_i2c_platform_init()
200 phy->en_polarity = polarity; in pn544_hci_i2c_platform_init()
202 while (retry--) { in pn544_hci_i2c_platform_init()
204 gpiod_set_value_cansleep(phy->gpiod_en, !phy->en_polarity); in pn544_hci_i2c_platform_init()
[all …]
/kernel/linux/linux-5.10/drivers/spi/
Dspi-pl022.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2008-2012 ST-Ericsson AB
11 * linux-2.6.17-rc3-mm1/drivers/spi/pxa2xx_spi.c
31 #include <linux/dma-mapping.h>
93 * SSP Control Register 0 - SSP_CR0
111 * SSP Control Register 0 - SSP_CR1
131 * SSP Status Register - SSP_SR
140 * SSP Clock Prescale Register - SSP_CPSR
145 * SSP Interrupt Mask Set/Clear Register - SSP_IMSC
153 * SSP Raw Interrupt Status Register - SSP_RIS
[all …]