Home
last modified time | relevance | path

Searched +full:rx +full:- +full:int +full:- +full:gpios (Results 1 – 25 of 144) sorted by relevance

123456

/Linux-v5.15/drivers/staging/iio/resolver/
Dad2s1210.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2010-2010 Analog Devices Inc.
78 static const struct ad2s1210_gpio gpios[] = { variable
86 static const unsigned int ad2s1210_resolution_value[] = { 10, 12, 14, 16 };
91 struct gpio_desc *gpios[5]; member
92 unsigned int fclkin;
93 unsigned int fexcit;
97 u8 rx[2] ____cacheline_aligned; member
101 static const int ad2s1210_mode_vals[4][2] = {
110 gpiod_set_value(st->gpios[AD2S1210_A0], ad2s1210_mode_vals[mode][0]); in ad2s1210_set_mode()
[all …]
/Linux-v5.15/arch/arm/boot/dts/
Dintel-ixp42x-linksys-wrv54g.dts1 // SPDX-License-Identifier: ISC
9 /dts-v1/;
11 #include "intel-ixp42x.dtsi"
12 #include <dt-bindings/input/input.h>
17 #address-cells = <1>;
18 #size-cells = <1>;
28 stdout-path = "uart1:115200n8";
39 compatible = "gpio-leds";
40 led-power {
42 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
[all …]
Dintel-ixp42x-freecom-fsg-3.dts1 // SPDX-License-Identifier: ISC
3 * Device Tree file for the Freecom FSG-3 router.
8 /dts-v1/;
10 #include "intel-ixp42x.dtsi"
11 #include <dt-bindings/input/input.h>
14 model = "Freecom FSG-3";
15 compatible = "freecom,fsg-3", "intel,ixp42x";
16 #address-cells = <1>;
17 #size-cells = <1>;
28 stdout-path = "uart0:115200n8";
[all …]
Dintel-ixp42x-iomega-nas100d.dts1 // SPDX-License-Identifier: ISC
6 /dts-v1/;
8 #include "intel-ixp42x.dtsi"
9 #include <dt-bindings/input/input.h>
13 compatible = "iom,nas-100d", "intel,ixp42x";
14 #address-cells = <1>;
15 #size-cells = <1>;
25 stdout-path = "uart0:115200n8";
33 compatible = "gpio-leds";
34 led-wlan {
[all …]
Dintel-ixp42x-linksys-nslu2.dts1 // SPDX-License-Identifier: ISC
6 /dts-v1/;
8 #include "intel-ixp42x.dtsi"
9 #include <dt-bindings/input/input.h>
14 #address-cells = <1>;
15 #size-cells = <1>;
25 stdout-path = "uart0:115200n8";
33 compatible = "gpio-leds";
34 led-status {
36 gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
[all …]
Dintel-ixp42x-gateworks-gw2348.dts1 // SPDX-License-Identifier: ISC
7 /dts-v1/;
9 #include "intel-ixp42x.dtsi"
10 #include <dt-bindings/input/input.h>
15 #address-cells = <1>;
16 #size-cells = <1>;
25 stdout-path = "uart0:115200n8";
33 compatible = "gpio-leds";
34 led-user {
36 gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
[all …]
Dintel-ixp43x-gateworks-gw2358.dts1 // SPDX-License-Identifier: ISC
3 * Device Tree file for Gateworks IXP43x-based Cambria GW2358
6 /dts-v1/;
8 #include "intel-ixp43x.dtsi"
13 #address-cells = <1>;
14 #size-cells = <1>;
24 stdout-path = "uart0:115200n8";
32 compatible = "gpio-leds";
33 led-user {
35 gpios = <&pld1 0 GPIO_ACTIVE_LOW>;
[all …]
Dsun7i-a20-pcduino3.dts5 * This file is dual-licensed: you can use it either under the terms
44 /dts-v1/;
45 #include "sun7i-a20.dtsi"
46 #include "sunxi-common-regulators.dtsi"
48 #include <dt-bindings/gpio/gpio.h>
49 #include <dt-bindings/input/input.h>
50 #include <dt-bindings/interrupt-controller/irq.h>
54 compatible = "linksprite,pcduino3", "allwinner,sun7i-a20";
61 stdout-path = "serial0:115200n8";
65 compatible = "gpio-leds";
[all …]
Dsun4i-a10-pcduino.dts5 * This file is dual-licensed: you can use it either under the terms
44 /dts-v1/;
45 #include "sun4i-a10.dtsi"
46 #include "sunxi-common-regulators.dtsi"
48 #include <dt-bindings/gpio/gpio.h>
49 #include <dt-bindings/input/input.h>
53 compatible = "linksprite,a10-pcduino", "allwinner,sun4i-a10";
60 stdout-path = "serial0:115200n8";
64 compatible = "gpio-leds";
66 led-0 {
[all …]
Dimx6qdl-dhcom-som.dtsi1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2015-2021 DH electronics GmbH
7 #include <dt-bindings/pwm/pwm.h>
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/clock/imx6qdl-clock.h>
10 #include <dt-bindings/input/input.h>
30 memory@10000000 { /* Appropriate memory size will be filled by U-Boot */
35 reg_3p3v: regulator-3P3V {
36 compatible = "regulator-fixed";
37 regulator-always-on;
[all …]
Dimx7-mba7.dtsi1 // SPDX-License-Identifier: GPL-2.0 OR X11
6 * Author: Markus Niebel <Markus.Niebel@tq-group.com>
13 #include <dt-bindings/input/input.h>
14 #include <dt-bindings/net/ti-dp83867.h>
20 /delete-property/ mmc2;
24 compatible = "gpio-beeper";
25 gpios = <&pca9555 0 GPIO_ACTIVE_HIGH>;
29 stdout-path = &uart6;
32 gpio_buttons: gpio-keys {
33 compatible = "gpio-keys";
[all …]
Dam335x-osd3358-sm-red.dts1 //SPDX-License-Identifier: GPL-2.0
2 /* Copyright (C) 2018 Octavo Systems LLC - https://www.octavosystems.com/
9 /dts-v1/;
12 #include "am335x-osd335x-common.dtsi"
13 #include <dt-bindings/interrupt-controller/irq.h>
15 #include <dt-bindings/display/tda998x.h>
18 model = "Octavo Systems OSD3358-SM-RED";
19 compatible = "oct,osd3358-sm-refdesign", "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx";
23 regulator-min-microvolt = <1800000>;
24 regulator-max-microvolt = <1800000>;
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/net/can/
Dmicrochip,mcp251xfd.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 Microchip MCP2517FD and MCP2518FD stand-alone CAN controller device tree
12 - Marc Kleine-Budde <mkl@pengutronix.de>
17 - const: microchip,mcp2517fd
19 - const: microchip,mcp2518fd
21 - const: microchip,mcp251xfd
33 vdd-supply:
36 xceiver-supply:
[all …]
/Linux-v5.15/drivers/tty/serial/
Dstm32-usart.c1 // SPDX-License-Identifier: GPL-2.0
9 * Inspired by st-asc.c from STMicroelectronics (c)
15 #include <linux/dma-direction.h>
17 #include <linux/dma-mapping.h>
36 #include "stm32-usart.h"
50 val = readl_relaxed(port->membase + reg); in stm32_usart_set_bits()
52 writel_relaxed(val, port->membase + reg); in stm32_usart_set_bits()
59 val = readl_relaxed(port->membase + reg); in stm32_usart_clr_bits()
61 writel_relaxed(val, port->membase + reg); in stm32_usart_clr_bits()
99 static int stm32_usart_config_rs485(struct uart_port *port, in stm32_usart_config_rs485()
[all …]
Dar933x_uart.c1 // SPDX-License-Identifier: GPL-2.0
3 * Atheros AR933X SoC built-in UART driver
31 #include <asm/mach-ath79/ar933x_uart.h>
35 #define DRIVER_NAME "ar933x-uart"
49 unsigned int ier; /* shadow Interrupt Enable Register */
50 unsigned int min_baud;
51 unsigned int max_baud;
53 struct mctrl_gpios *gpios; member
57 static inline unsigned int ar933x_uart_read(struct ar933x_uart_port *up, in ar933x_uart_read()
58 int offset) in ar933x_uart_read()
[all …]
Dmxs-auart.c1 // SPDX-License-Identifier: GPL-2.0+
9 * Copyright 2014 Oleksij Rempel <linux@rempel-privat.de>
11 * Copyright 2008-2010 Freescale Semiconductor, Inc.
34 #include <linux/dma-mapping.h>
90 #define AUART_LINECTRL_WLEN(v) ((((v) - 5) & 0x3) << 5)
124 * RW. Tell the UART to execute the RX DMA Command. The
131 * RW. RX TIMEOUT Enable. Valid for FIFO and DMA.
132 * Warning: If this bit is set to 0, the RX timeout will not affect receive DMA
138 * RW. Receive Timeout Counter Value: number of 8-bit-time to wait before
139 * asserting timeout on the RX input. If the RXFIFO is not empty and the RX
[all …]
Datmel_serial.c1 // SPDX-License-Identifier: GPL-2.0+
23 #include <linux/dma-mapping.h>
45 * These two offsets are substracted from the RX FIFO size to define the RTS
61 /* Use device name ttyAT, major 204 and minor 154-169. This is necessary if we
70 /* Use device name ttyS, major 4, minor 64-68. This is the usual serial port
83 unsigned int dma_size;
84 unsigned int ofs;
112 int may_wakeup; /* cached value of device_may_wakeup for times we need to disable it */
114 int break_active; /* break being received */
118 short pdc_rx_idx; /* current PDC RX buffer */
[all …]
Dstm32-usart.h1 /* SPDX-License-Identifier: GPL-2.0 */
9 #define DRIVER_NAME "stm32-usart"
31 int fifosize;
249 #define RX_BUF_L 200 /* dma rx buffer length */
250 #define RX_BUF_P RX_BUF_L /* dma rx buffer period */
257 struct dma_chan *rx_ch; /* dma rx channel */
258 dma_addr_t rx_dma_buf; /* dma rx buffer bus address */
259 unsigned char *rx_buf; /* dma rx buffer cpu address */
265 int last_res;
268 bool swap; /* swap RX & TX pins */
[all …]
Dimx.c1 // SPDX-License-Identifier: GPL-2.0+
30 #include <linux/dma-mapping.h>
33 #include <linux/platform_data/dma-imx.h>
124 #define UFCR_RFDIV_REG(x) (((x) < 7 ? 6 - (x) : 6) << 7)
153 #define UTS_LOOP (1<<12) /* Loop tx and rx */
160 /* We've been assigned a range on the "Low-density serial ports" major */
173 #define DRIVER_NAME "IMX-uart"
201 unsigned int old_status;
202 unsigned int have_rtscts:1;
203 unsigned int have_rtsgpio:1;
[all …]
Dpic32_uart.c1 // SPDX-License-Identifier: GPL-2.0+
8 * Sorin-Andrei Pistirica <andrei.pistirica@microchip.com>
27 #include <asm/mach-pic32/pic32.h>
31 #define PIC32_DEV_NAME "pic32-uart"
45 static inline int pic32_enable_clock(struct pic32_sport *sport) in pic32_enable_clock()
47 int ret = clk_prepare_enable(sport->clk); in pic32_enable_clock()
52 sport->ref_clk++; in pic32_enable_clock()
58 sport->ref_clk--; in pic32_disable_clock()
59 clk_disable_unprepare(sport->clk); in pic32_disable_clock()
63 static unsigned int pic32_uart_tx_empty(struct uart_port *port) in pic32_uart_tx_empty()
[all …]
Dsh-sci.c1 // SPDX-License-Identifier: GPL-2.0
3 * SuperH on-chip serial module support. (SCI with no FIFO / with FIFO)
5 * Copyright (C) 2002 - 2011 Paul Mundt
9 * based off of the old drivers/char/sh-sci.c by:
26 #include <linux/dma-mapping.h>
57 #include "sh-sci.h"
59 /* Offsets into the sci_port->irqs array */
73 ((port)->irqs[SCIx_ERI_IRQ] == \
74 (port)->irqs[SCIx_RXI_IRQ]) || \
75 ((port)->irqs[SCIx_ERI_IRQ] && \
[all …]
/Linux-v5.15/drivers/tty/serial/cpm_uart/
Dcpm_uart_core.c1 // SPDX-License-Identifier: GPL-2.0+
14 * (C) 2005-2006 MontaVista Software, Inc.
28 #include <linux/dma-mapping.h>
50 static int cpm_uart_tx_pump(struct uart_port *port);
62 static unsigned int cpm_uart_tx_empty(struct uart_port *port) in cpm_uart_tx_empty()
66 cbd_t __iomem *bdp = pinfo->tx_bd_base; in cpm_uart_tx_empty()
67 int ret = 0; in cpm_uart_tx_empty()
70 if (in_be16(&bdp->cbd_sc) & BD_SC_READY) in cpm_uart_tx_empty()
73 if (in_be16(&bdp->cbd_sc) & BD_SC_WRAP) { in cpm_uart_tx_empty()
80 pr_debug("CPM uart[%d]:tx_empty: %d\n", port->line, ret); in cpm_uart_tx_empty()
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/sound/
Dqcom,wcd9335.txt3 Qualcomm WCD9335 Codec is a standalone Hi-Fi audio codec IC, supports
5 the MSM8996, MSM8976, and MSM8956 chipsets. It has in-built
11 - compatible:
21 - reg
26 - interrupts
28 Value type: <prop-encoded-array>
31 - interrupt-names:
37 - reset-gpios:
42 - slim-ifc-dev:
47 - clocks:
[all …]
/Linux-v5.15/arch/arm64/boot/dts/qcom/
Dsc7180-trogdor.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/gpio-keys.h>
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
12 #include <dt-bindings/sound/sc7180-lpass.h>
19 thermal-zones {
20 charger_thermal: charger-thermal {
21 polling-delay-passive = <0>;
22 polling-delay = <0>;
[all …]
/Linux-v5.15/sound/soc/intel/boards/
Dkbl_rt5660.c1 // SPDX-License-Identifier: GPL-2.0-only
2 // Copyright(c) 2018-19 Canonical Corporation.
27 #define KBL_RT5660_CODEC_DAI "rt5660-aif1"
38 int device;
64 { "lineout-mute-gpios", &lineout_mute_gpio, 1 },
65 { "lineout-det-gpios", &lineout_det_gpio, 1 },
66 { "mic-det-gpios", &mic_det_gpio, 1 },
81 .name = "lineout-det",
87 .name = "mic-det",
92 static int kabylake_5660_event_lineout(struct snd_soc_dapm_widget *w, in kabylake_5660_event_lineout()
[all …]

123456