Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/proximity/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/gpio/
H A 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 …]
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/iio/proximity/
H A 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 …]
H A 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 …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/amd/
H A 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 …]
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A 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
/OK3568_Linux_fs/kernel/drivers/iio/adc/
H A 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 …]
H A 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 …]
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/pinctrl/mvebu/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/nfc/pn544/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/spi/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/media/i2c/
H A Dov8858.c1 // SPDX-License-Identifier: GPL-2.0
30 #include <linux/rk-camera-module.h>
32 #include <media/v4l2-async.h>
33 #include <media/media-entity.h>
34 #include <media/v4l2-common.h>
35 #include <media/v4l2-ctrls.h>
36 #include <media/v4l2-device.h>
37 #include <media/v4l2-event.h>
38 #include <media/v4l2-fwnode.h>
39 #include <media/v4l2-image-sizes.h>
[all …]
/OK3568_Linux_fs/buildroot/output/OK3568/target/usr/lib/modules/5.10.160/
H A Dmodules.builtin.modinfo
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/
H A Dd11.h2 * Chip-specific hardware definitions for
14 * <<Broadcom-WL-IPTag/Proprietary:>>
70 #define TX_AC_BE_FIFO 1 /**< Access Category Best-Effort TX FIFO */
82 #define TX_TRIG_BE_FIFO 7 /**< Access Category Best-Effort TX FIFO */
102 /** Trig TX FIFO numbers */
183 /* Select MAC_SMPL_CPTR debug data that is placed in pc<7:1> & ifs_gpio_out<8:0> GPIOs */
239 #define MI_ATIMWINEND (1 << 5) /**< end of ATIM-window (IBSS) */
242 #define MI_NSPECGEN_1 (1 << 8) /**< non-specific gen-stat bits that are set by PSM */
247 #define MI_GP0 (1 << 13) /**< General-purpose timer0 */
248 #define MI_GP1 (1 << 14) /**< General-purpose timer1 */
[all …]
/OK3568_Linux_fs/external/rkwifibt/bin/arm/
HDwl ... d dbm, %d mW Override is %s -o -d -q -m Error: Missing ...
/OK3568_Linux_fs/kernel/android/
H A Dabi_gki_aarch64.xml1 <abi-corpus-group version='2.0' architecture='elf-arm-aarch64'>
2 <abi-corpus version='2.0' path='vmlinux' architecture='elf-arm-aarch64'>
3 <elf-function-symbols>
4 …<elf-symbol name='PDE_DATA' type='func-type' binding='global-binding' visibility='default-visibili…
5 …<elf-symbol name='__ClearPageMovable' type='func-type' binding='global-binding' visibility='defaul…
6 …<elf-symbol name='__SetPageMovable' type='func-type' binding='global-binding' visibility='default-
7 …<elf-symbol name='___pskb_trim' type='func-type' binding='global-binding' visibility='default-visi…
8 …<elf-symbol name='___ratelimit' type='func-type' binding='global-binding' visibility='default-visi…
9 …<elf-symbol name='__alloc_disk_node' type='func-type' binding='global-binding' visibility='default
10 …<elf-symbol name='__alloc_pages_nodemask' type='func-type' binding='global-binding' visibility='de…
[all …]