Home
last modified time | relevance | path

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

1234

/OK3568_Linux_fs/kernel/drivers/staging/olpc_dcon/
H A Dolpc_dcon_xo_1.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright © 2006-2007 Red Hat, Inc.
6 * Copyright © 2006-2007 Advanced Micro Devices, Inc.
37 static struct gpio_desc *gpios[5]; variable
46 gpios[i] = devm_gpiod_get(&dcon->client->dev, pin[i].name, in dcon_init_xo_1()
48 if (IS_ERR(gpios[i])) { in dcon_init_xo_1()
49 ret = PTR_ERR(gpios[i]); in dcon_init_xo_1()
69 dcon->curr_src = cs5535_gpio_isset(OLPC_GPIO_DCON_LOAD, GPIO_OUTPUT_VAL) in dcon_init_xo_1()
72 dcon->pending_src = dcon->curr_src; in dcon_init_xo_1()
75 gpiod_direction_input(gpios[OLPC_DCON_STAT0]); in dcon_init_xo_1()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/adc/
H A Dadi,ad7780.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Michael Hennerich <michael.hennerich@analog.com>
13 The ad7780 is a sigma-delta analog to digital converter. This driver provides
15 Its interface also allows writing on the FILTER and GAIN GPIO pins on the
20 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7170.pdf
22 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7171.pdf
24 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7780.pdf
26 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7781.pdf
[all …]
H A Dadi,ad7768-1.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/adi,ad7768-1.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Analog Devices AD7768-1 ADC device driver
10 - Michael Hennerich <michael.hennerich@analog.com>
14 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7768-1.pdf
18 const: adi,ad7768-1
26 clock-names:
32 vref-supply:
[all …]
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dat91-sama5d2_xplained.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * at91-sama5d2_xplained.dts - Device Tree file for SAMA5D2 Xplained board
8 /dts-v1/;
10 #include "sama5d2-pinfunc.h"
11 #include <dt-bindings/mfd/atmel-flexcom.h>
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/input/input.h>
14 #include <dt-bindings/regulator/active-semi,8945a-regulator.h>
18 compatible = "atmel,sama5d2-xplained", "atmel,sama5d2", "atmel,sama5";
28 stdout-path = "serial0:115200n8";
[all …]
H A Dat91-sam9x60ek.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * at91-sam9x60ek.dts - Device Tree file for Microchip SAM9X60-EK board
9 /dts-v1/;
11 #include <dt-bindings/input/input.h>
14 model = "Microchip SAM9X60-EK";
24 stdout-path = "serial0:115200n8";
29 clock-frequency = <32768>;
33 clock-frequency = <24000000>;
38 compatible = "simple-bus";
39 #address-cells = <1>;
[all …]
H A Dat91-sama5d27_som1_ek.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * at91-sama5d27_som1_ek.dts - Device Tree file for SAMA5D27-SOM1-EK board
10 /dts-v1/;
11 #include "at91-sama5d27_som1.dtsi"
12 #include <dt-bindings/mfd/atmel-flexcom.h>
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/input/input.h>
18 …compatible = "atmel,sama5d27-som1-ek", "atmel,sama5d27-som1", "atmel,sama5d27", "atmel,sama5d2", "…
29 stdout-path = "serial0:115200n8";
34 atmel,vbus-gpio = <&pioA PIN_PD20 GPIO_ACTIVE_HIGH>;
[all …]
H A Dat91-sama5d4_xplained.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * at91-sama5d4_xplained.dts - Device Tree file for SAMA5D4 Xplained board
8 /dts-v1/;
13 compatible = "atmel,sama5d4-xplained", "atmel,sama5d4", "atmel,sama5";
16 stdout-path = "serial0:115200n8";
25 clock-frequency = <32768>;
29 clock-frequency = <12000000>;
36 atmel,use-dma-rx;
37 atmel,use-dma-tx;
42 cs-gpios = <&pioC 3 0>, <0>, <0>, <0>;
[all …]
H A Dimx6ull-colibri.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
15 compatible = "pwm-backlight";
16 pinctrl-names = "default";
17 pinctrl-0 = <&pinctrl_gpio_bl_on>;
18 enable-gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>;
22 reg_module_3v3: regulator-module-3v3 {
23 compatible = "regulator-fixed";
24 regulator-always-on;
25 regulator-name = "+V3.3";
26 regulator-min-microvolt = <3300000>;
[all …]
H A Dsocfpga_arria10.dtsi1 // SPDX-License-Identifier: GPL-2.0
6 #include <dt-bindings/interrupt-controller/arm-gic.h>
7 #include <dt-bindings/reset/altr,rst-mgr-a10.h>
10 #address-cells = <1>;
11 #size-cells = <1>;
14 #address-cells = <1>;
15 #size-cells = <0>;
16 enable-method = "altr,socfpga-a10-smp";
19 compatible = "arm,cortex-a9";
22 next-level-cache = <&L2>;
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/i2c/
H A Di2c.txt8 -----------------------------
10 - #address-cells - should be <1>. Read more about addresses below.
11 - #size-cells - should be <0>.
12 - compatible - name of I2C bus controller
21 -----------------------------
26 - clock-frequency
29 - i2c-bus
31 devices and non-I2C devices, the 'i2c-bus' subnode can be used for
32 populating I2C devices. If the 'i2c-bus' subnode is present, only
34 '#address-cells' and '#size-cells' must be defined under this subnode
[all …]
/OK3568_Linux_fs/kernel/drivers/media/i2c/
H A Dov9650.c1 // SPDX-License-Identifier: GPL-2.0-only
25 #include <media/media-entity.h>
26 #include <media/v4l2-async.h>
27 #include <media/v4l2-ctrls.h>
28 #include <media/v4l2-device.h>
29 #include <media/v4l2-event.h>
30 #include <media/v4l2-image-sizes.h>
31 #include <media/v4l2-subdev.h>
32 #include <media/v4l2-mediabus.h>
37 MODULE_PARM_DESC(debug, "Debug level (0-2)");
[all …]
/OK3568_Linux_fs/kernel/drivers/media/dvb-frontends/
H A Daf9013.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
21 * struct af9013_platform_data - Platform data for the af9013 driver
29 * @gpio: GPIOs.
32 * @pid_filter_ctrl: Control PID filter.
33 * @pid_filter: Set PID to PID filter.
79 * AF9013/5 GPIOs (mostly guessed)
80 * demod#1-gpio#0 - set demod#2 i2c-addr for dual devices
81 * demod#1-gpio#1 - xtal setting (?)
82 * demod#1-gpio#3 - tuner#1
83 * demod#2-gpio#0 - tuner#2
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/gpio/
H A Dgpio-xra1403.txt1 GPIO Driver for XRA1403 16-BIT GPIO Expander With Reset Input from EXAR
3 The XRA1403 is an 16-bit GPIO expander with an SPI interface. Features available:
4 - Individually programmable inputs:
5 - Internal pull-up resistors
6 - Polarity inversion
7 - Individual interrupt enable
8 - Rising edge and/or Falling edge interrupt
9 - Input filter
10 - Individually programmable outputs
11 - Output Level Control
[all …]
/OK3568_Linux_fs/kernel/Documentation/driver-api/
H A Dptp.rst1 .. SPDX-License-Identifier: GPL-2.0
18 - Set time
19 - Get time
20 - Shift the clock by a given offset atomically
21 - Adjust clock frequency
24 - Time stamp external events
25 - Period output signals configurable from user space
26 - Low Pass Filter (LPF) access from user space
27 - Synchronization of the Linux system time via the PPS subsystem
65 ancillary feature, then the driver should just return -EOPNOTSUPP
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/touchscreen/
H A Dtsc2007.txt4 - compatible: must be "ti,tsc2007".
5 - reg: I2C address of the chip.
6 - ti,x-plate-ohms: X-plate resistance in ohms.
9 - gpios: the interrupt gpio the chip is connected to (trough the penirq pin).
12 - interrupts: (gpio) interrupt to which the chip is connected
14 - ti,max-rt: maximum pressure.
15 - ti,fuzzx: specifies the absolute input fuzz x value.
16 If set, it will permit noise in the data up to +- the value given to the fuzz
17 parameter, that is used to filter noise from the event stream.
18 - ti,fuzzy: specifies the absolute input fuzz y value.
[all …]
/OK3568_Linux_fs/kernel/drivers/tty/serial/8250/
H A D8250.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Driver for 8250/16550-type serial ports
20 /* Filter function */
22 /* Parameter to the filter function */
79 #define UART_CAP_AFE (1 << 11) /* MCR-based hw flow control */
117 return up->port.serial_in(&up->port, offset); in serial_in()
122 up->port.serial_out(&up->port, offset, value); in serial_out()
139 serial_icr_write(up, UART_ACR, up->acr | UART_ACR_ICRRD); in serial_icr_read()
142 serial_icr_write(up, UART_ACR, up->acr); in serial_icr_read()
151 return up->dl_read(up); in serial_dl_read()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/
H A Dst,sta350.txt7 - compatible: "st,sta350"
8 - reg: the I2C address of the device for I2C
9 - reset-gpios: a GPIO spec for the reset pin. If specified, it will be
12 - power-down-gpios: a GPIO spec for the power down pin. If specified,
16 - vdd-dig-supply: regulator spec, providing 3.3V
17 - vdd-pll-supply: regulator spec, providing 3.3V
18 - vcc-supply: regulator spec, providing 5V - 26V
22 - st,output-conf: number, Selects the output configuration:
23 0: 2-channel (full-bridge) power, 2-channel data-out
24 1: 2 (half-bridge). 1 (full-bridge) on-board power
[all …]
/OK3568_Linux_fs/kernel/arch/nios2/boot/dts/
H A D10m50_devboard.dts1 // SPDX-License-Identifier: GPL-2.0-only
6 /dts-v1/;
10 compatible = "altr,niosii-max10";
11 #address-cells = <1>;
12 #size-cells = <1>;
15 #address-cells = <1>;
16 #size-cells = <0>;
20 compatible = "altr,nios2-1.1";
22 interrupt-controller;
23 #interrupt-cells = <1>;
[all …]
/OK3568_Linux_fs/kernel/drivers/gpio/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
26 int "Maximum number of GPIOs for fast path"
55 These checks help ensure that GPIOs have been properly initialized
57 non-sleeping contexts. They can make bitbanged serial protocols
65 Say Y here to add the legacy sysfs interface for GPIOs.
77 for GPIOs. The character device allows userspace to control GPIOs
115 tristate "GPIO driver for 74xx-ICs with MMIO access"
119 Say yes here to support GPIO functionality for 74xx-compatible ICs
135 If driver is built as a module it will be called gpio-altera.
281 Support for common GPIOs from the Faraday FTGPIO010 IP core, found in
[all …]
/OK3568_Linux_fs/kernel/arch/arc/boot/dts/
H A Daxs10x_mb.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2013-15 Synopsys, Inc. (www.synopsys.com)
14 compatible = "simple-bus";
15 #address-cells = <1>;
16 #size-cells = <1>;
18 interrupt-parent = <&mb_intc>;
20 creg_rst: reset-controller@11220 {
21 compatible = "snps,axs10x-reset";
22 #reset-cells = <1>;
27 compatible = "snps,axs10x-i2s-pll-clock";
[all …]
/OK3568_Linux_fs/u-boot/arch/nios2/dts/
H A D10m50_devboard.dts6 * SPDX-License-Identifier: GPL-2.0+
9 /dts-v1/;
13 compatible = "altr,niosii-max10";
14 #address-cells = <1>;
15 #size-cells = <1>;
18 #address-cells = <1>;
19 #size-cells = <0>;
23 compatible = "altr,nios2-1.1";
25 interrupt-controller;
26 #interrupt-cells = <1>;
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/dts/
H A Dsocfpga_arria10.dtsi2 * Copyright Altera Corporation (C) 2014-2017. All rights reserved.
18 #include <dt-bindings/interrupt-controller/arm-gic.h>
19 #include <dt-bindings/reset/altr,rst-mgr-a10.h>
22 #address-cells = <1>;
23 #size-cells = <1>;
46 #address-cells = <1>;
47 #size-cells = <0>;
50 compatible = "arm,cortex-a9";
53 next-level-cache = <&L2>;
56 compatible = "arm,cortex-a9";
[all …]
H A Dsocfpga.dtsi4 * SPDX-License-Identifier: GPL-2.0+
8 #include <dt-bindings/reset/altr,rst-mgr.h>
11 #address-cells = <1>;
12 #size-cells = <1>;
29 #address-cells = <1>;
30 #size-cells = <0>;
33 compatible = "arm,cortex-a9";
36 next-level-cache = <&L2>;
39 compatible = "arm,cortex-a9";
42 next-level-cache = <&L2>;
[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 …]
/OK3568_Linux_fs/kernel/drivers/net/usb/
H A Dsmsc95xx.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * Copyright (C) 2007-2008 SMSC
23 #define RX_STS_FF_ (0x40000000) /* Filter Fail */
38 /* SCSRs - System Control and Status Registers */
60 #define INT_STS_GPIOS_ (0x000007FF) /* GPIOs Interrupts */
167 #define STRAP_STATUS_PWR_SEL_ (0x00000020) /* Device self-powered */
168 #define STRAP_STATUS_AMDIX_EN_ (0x00000010) /* Auto-MDIX Enabled */
169 #define STRAP_STATUS_PORT_SWAP_ (0x00000008) /* USBD+/USBD- Swapped */
204 #define INT_EP_CTL_GPIOS_ (0x000007FF) /* GPIOs Interrupt Enable */
209 /* MAC CSRs - MAC Control and Status Registers */
[all …]

1234