| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/proximity/ |
| D | devantech-srf04.yaml | 1 # 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/Documentation/devicetree/bindings/iio/proximity/ |
| D | devantech-srf04.yaml | 1 # 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/ |
| D | spear1310-evb.dts | 1 // 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 …]
|
| D | lpc3250-phy3250.dts | 1 // 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 …]
|
| D | spear1340-evb.dts | 1 // 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 …]
|
| D | qcom-apq8060-dragonboard.dts | 23 #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/ |
| D | gpio-msic.c | 1 // 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-6.6/arch/arm/boot/dts/nxp/lpc/ |
| D | lpc3250-phy3250.dts | 1 // 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 …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/amd/ |
| D | amd-overdrive.dts | 1 // 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-6.6/arch/arm/boot/dts/st/ |
| D | spear1310-evb.dts | 1 // 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 …]
|
| D | spear1340-evb.dts | 1 // 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 …]
|
| /kernel/linux/linux-5.10/Documentation/ABI/testing/ |
| D | sysfs-bus-iio-trigger-sysfs | 3 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-6.6/Documentation/ABI/testing/ |
| D | sysfs-bus-iio-trigger-sysfs | 3 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/ |
| D | srf04.c | 1 // 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 …]
|
| D | sx9500.c | 1 // 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-6.6/drivers/iio/proximity/ |
| D | srf04.c | 1 // 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 …]
|
| D | sx9500.c | 1 // 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-6.6/drivers/iio/adc/ |
| D | ad7606.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 42 * struct ad7606_chip_info - chip specific information 62 * struct ad7606_state - driver instance specific data 77 * @lock protect sensor state from concurrent accesses to GPIOs 79 * @gpio_reset GPIO descriptor for device hard-reset 81 * @gpio_standby GPIO descriptor for stand-by signal (STBY), 82 * controls power-down mode of device 87 * @trig The IIO trigger associated with the device. 113 struct iio_trigger *trig; member 119 * 16 * 16-bit samples + 64-bit timestamp [all …]
|
| D | ad7266.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/drivers/iio/adc/ |
| D | ad7606.h | 1 /* 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 …]
|
| D | ad7266.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/qcom/ |
| D | qcom-apq8060-dragonboard.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 #include <dt-bindings/input/input.h> 3 #include <dt-bindings/gpio/gpio.h> 4 #include <dt-bindings/leds/common.h> 5 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 6 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h> 7 #include "qcom-msm8660.dtsi" 11 compatible = "qcom,apq8060-dragonboard", "qcom,msm8660"; 18 stdout-path = "serial0:115200n8"; 22 vph: regulator-fixed { [all …]
|
| /kernel/linux/linux-5.10/drivers/pinctrl/mvebu/ |
| D | pinctrl-armada-xp.c | 1 // 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-6.6/drivers/pinctrl/mvebu/ |
| D | pinctrl-armada-xp.c | 1 // 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-6.6/drivers/pinctrl/intel/ |
| D | pinctrl-baytrail.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2012-2013, Intel Corporation 27 #include <linux/pinctrl/pinconf-generic.h> 29 #include "pinctrl-intel.h" 566 offset -= comm->pin_base; in byt_gpio_reg() 575 reg_offset = comm->pad_map[offset] * 16; in byt_gpio_reg() 579 return comm->pad_regs + reg_offset + reg; in byt_gpio_reg() 603 dev_warn(vg->dev, "Group %s, pin %i not muxed (can't retrieve CONF0)\n", in byt_set_group_simple_mux() 632 dev_warn(vg->dev, "Group %s, pin %i not muxed (can't retrieve CONF0)\n", in byt_set_group_mixed_mux() 650 const struct intel_function func = vg->soc->functions[func_selector]; in byt_set_mux() [all …]
|