Home
last modified time | relevance | path

Searched +full:rs485 +full:- +full:rts +full:- +full:active +full:- +full:low (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.15/Documentation/devicetree/bindings/serial/
Drs485.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/serial/rs485.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: RS485 serial communications Bindings
9 description: The RTS signal is capable of automatically controlling line
10 direction for the built-in half-duplex mode. The properties described
11 hereafter shall be given to a half-duplex capable UART node.
14 - Rob Herring <robh@kernel.org>
17 rs485-rts-delay:
[all …]
Dst,stm32-uart.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/serial/st,stm32-uart.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 - Erwan Le Ray <erwan.leray@st.com>
15 - st,stm32-uart
16 - st,stm32f7-uart
17 - st,stm32h7-uart
34 st,hw-flow-ctrl:
38 uart-has-rtscts: true
[all …]
D8250_omap.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Vignesh Raghavendra <vigneshr@ti.com>
13 - $ref: /schemas/serial/serial.yaml#
14 - $ref: /schemas/serial/rs485.yaml#
19 - enum:
20 - ti,am3352-uart
21 - ti,am4372-uart
22 - ti,am654-uart
[all …]
Dfsl-imx-uart.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/serial/fsl-imx-uart.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Fabio Estevam <festevam@gmail.com>
13 - $ref: "serial.yaml"
14 - $ref: "rs485.yaml"
19 - const: fsl,imx1-uart
20 - const: fsl,imx21-uart
21 - items:
[all …]
Dfsl-lpuart.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/serial/fsl-lpuart.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Freescale low power universal asynchronous receiver/transmitter (lpuart)
10 - Fugang Duan <fugang.duan@nxp.com>
13 - $ref: "rs485.yaml"
18 - enum:
19 - fsl,vf610-lpuart
20 - fsl,ls1021a-lpuart
[all …]
/Linux-v5.15/arch/arm/boot/dts/
Dimx6ul-kontron-n6x1x-s.dtsi1 // SPDX-License-Identifier: GPL-2.0
8 #include <dt-bindings/gpio/gpio.h>
11 gpio-leds {
12 compatible = "gpio-leds";
13 pinctrl-names = "default";
14 pinctrl-0 = <&pinctrl_gpio_leds>;
17 label = "debug-led1";
19 default-state = "off";
20 linux,default-trigger = "heartbeat";
24 label = "debug-led2";
[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";
29 stdout-path = &uart6;
32 gpio_buttons: gpio-keys {
33 compatible = "gpio-keys";
35 button-0 {
[all …]
/Linux-v5.15/drivers/tty/serial/
Dimx.c1 // SPDX-License-Identifier: GPL-2.0+
30 #include <linux/dma-mapping.h>
33 #include <linux/platform_data/dma-imx.h>
74 #define UCR1_RTSDEN (1<<5) /* RTS delta interrupt enable */
82 #define UCR2_IRTS (1<<14) /* Ignore RTS pin */
124 #define UFCR_RFDIV_REG(x) (((x) < 7 ? 6 - (x) : 6) << 7)
127 #define USR1_RTSS (1<<14) /* RTS pin status */
129 #define USR1_RTSD (1<<12) /* RTS delta */
147 #define USR2_RTSF (1<<4) /* RTS edge interrupt flag */
160 /* We've been assigned a range on the "Low-density serial ports" major */
[all …]
Dsc16is7xx.c1 // SPDX-License-Identifier: GPL-2.0+
3 * SC16IS7xx tty serial driver - Copyright (C) 2014 GridPoint
46 * - only on 75x/76x
49 * - only on 75x/76x
52 * - only on 75x/76x
55 * - only on 75x/76x
64 #define SC16IS7XX_DLL_REG (0x00) /* Divisor Latch Low */
83 /* IER register bits - write only if (EFR[4] == 1) */
96 /* FCR register bits - write only if (EFR[4] == 1) */
106 #define SC16IS7XX_IIR_RTOI_SRC 0x0c /* RX time-out interrupt */
[all …]
Dserial_core.c1 // SPDX-License-Identifier: GPL-2.0+
8 * Copyright (C) 2000-2001 Deep Blue Solutions Ltd.
38 * lockdep: port->lock is initialized in two places, but we
39 * want only one lock-class:
43 #define HIGH_BITS_OFFSET ((sizeof(long)-sizeof(int))*8)
55 return !!(uport->status & UPSTAT_DCD_ENABLE); in uart_dcd_enabled()
60 if (atomic_add_unless(&state->refcount, 1, 0)) in uart_port_ref()
61 return state->uart_port; in uart_port_ref()
67 if (atomic_dec_and_test(&uport->state->refcount)) in uart_port_deref()
68 wake_up(&uport->state->remove_wait); in uart_port_deref()
[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
46 * high and low thresholds
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
162 bool hd_start_rx; /* can start RX during half-duplex operation */
194 { .compatible = "atmel,at91rm9200-usart-serial" },
207 return __raw_readl(port->membase + reg); in atmel_uart_readl()
212 __raw_writel(value, port->membase + reg); in atmel_uart_writel()
[all …]
/Linux-v5.15/drivers/tty/serial/8250/
D8250_port.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Base port operations for 8250/16550-type serial ports
256 * tx_loadsz is set to 63-bytes instead of 64-bytes to implement
257 * workaround of errata A-008006 which states that tx_loadsz should
269 .name = "Palmchip BK-3103",
340 -1, /* UART_SCR (unmapped) */
349 -1, /* UART_LSR (unmapped) */
350 -1, /* UART_MSR (unmapped) */
351 -1, /* UART_SCR (unmapped) */
361 return __raw_readl(p->membase + (offset << p->regshift)); in au_serial_in()
[all …]
D8250_pci.c1 // SPDX-License-Identifier: GPL-2.0
3 * Probe module for 8250/16550-type PCI serial ports.
29 * > 0 - number of ports
30 * = 0 - use board->num_ports
31 * < 0 - error
78 dev_err(&dev->dev, in moan_device()
80 "Please send the output of lspci -vv, this\n" in moan_device()
83 "modem board to <linux-serial@vger.kernel.org>.\n", in moan_device()
84 pci_name(dev), str, dev->vendor, dev->device, in moan_device()
85 dev->subsystem_vendor, dev->subsystem_device); in moan_device()
[all …]