Home
last modified time | relevance | path

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

/Linux-v6.1/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@foss.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-v6.1/arch/arm64/boot/dts/freescale/
Dimx8mm-venice-gw72xx-0x-rs422.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
5 * GW72xx RS422 (RS485 full duplex):
6 * - GPIO1_0 rs485_term selects on-chip termination
7 * - GPIO4_0 rs485_en needs to be driven high (active)
8 * - GPIO4_2 rs485_hd needs to be driven low (in-active)
9 * - UART4_TX is DE for RS485 transmitter
10 * - RS485_EN needs to be pulled high
11 * - RS485_HALF needs to be low
14 #include <dt-bindings/gpio/gpio.h>
16 #include "imx8mm-pinfunc.h"
[all …]
Dimx8mm-venice-gw73xx-0x-rs422.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
5 * GW73xx RS422 (RS485 full duplex):
6 * - GPIO1_0 rs485_term selects on-chip termination
7 * - GPIO4_0 rs485_en needs to be driven high (active)
8 * - GPIO4_2 rs485_hd needs to be driven low (in-active)
9 * - UART4_TX is DE for RS485 transmitter
10 * - RS485_EN needs to be pulled high
11 * - RS485_HALF needs to be low
14 #include <dt-bindings/gpio/gpio.h>
16 #include "imx8mm-pinfunc.h"
[all …]
Dimx8mp-verdin-dev.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
6 #include "imx8mp-verdin-dahlia.dtsi"
11 reg_eth2phy: regulator-eth2phy {
12 compatible = "regulator-fixed";
13 enable-active-high;
15 off-on-delay = <500000>;
16 regulator-max-microvolt = <3300000>;
17 regulator-min-microvolt = <3300000>;
18 regulator-name = "+V3.3_ETH";
19 startup-delay-us = <200000>;
[all …]
Dimx8mm-verdin-dev.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
6 #include "imx8mm-verdin-dahlia.dtsi"
9 sound_card: sound-card {
10 compatible = "simple-audio-card";
11 simple-audio-card,bitclock-master = <&dailink_master>;
12 simple-audio-card,format = "i2s";
13 simple-audio-card,frame-master = <&dailink_master>;
14 simple-audio-card,name = "imx8mm-nau8822";
15 simple-audio-card,routing =
26 simple-audio-card,widgets =
[all …]
Dimx8mm-venice-gw73xx.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/leds/common.h>
8 #include <dt-bindings/phy/phy-imx8-pcie.h>
17 led-controller {
18 compatible = "gpio-leds";
19 pinctrl-names = "default";
20 pinctrl-0 = <&pinctrl_gpio_leds>;
22 led-0 {
26 default-state = "on";
[all …]
/Linux-v6.1/arch/arm/boot/dts/
Dimx6ul-kontron-bl-common.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
3 * Device Tree Include file for TQ-Systems MBa7 carrier board.
5 * Copyright (C) 2016 TQ-Systems GmbH
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 {
[all …]
Dimx6qdl-mba6.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright 2013-2021 TQ-Systems GmbH
6 * Author: Markus Niebel <Markus.Niebel@tq-group.com>
9 #include <dt-bindings/clock/imx6qdl-clock.h>
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/sound/fsl-imx-audmux.h>
18 /delete-property/ mmc2;
19 /delete-property/ mmc3;
24 stdout-path = &uart2;
[all …]
Dmba6ulx.dtsi1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
3 * Copyright 2018-2022 TQ-Systems GmbH
4 * Author: Markus Niebel <Markus.Niebel@tq-group.com>
8 model = "TQ-Systems MBA6ULx Baseboard";
18 stdout-path = &uart1;
22 compatible = "pwm-backlight";
23 power-supply = <&reg_mba6ul_3v3>;
24 enable-gpios = <&expander_out0 4 GPIO_ACTIVE_HIGH>;
29 compatible = "gpio-beeper";
33 gpio_buttons: gpio-keys {
[all …]
/Linux-v6.1/drivers/tty/serial/
Dserial_core.c1 // SPDX-License-Identifier: GPL-2.0+
8 * Copyright (C) 2000-2001 Deep Blue Solutions Ltd.
39 * lockdep: port->lock is initialized in two places, but we
40 * want only one lock-class:
44 #define HIGH_BITS_OFFSET ((sizeof(long)-sizeof(int))*8)
47 * Max time with active RTS before/after data is sent.
61 return !!(uport->status & UPSTAT_DCD_ENABLE); in uart_dcd_enabled()
66 if (atomic_add_unless(&state->refcount, 1, 0)) in uart_port_ref()
67 return state->uart_port; in uart_port_ref()
73 if (atomic_dec_and_test(&uport->state->refcount)) in uart_port_deref()
[all …]
Dimx.c1 // SPDX-License-Identifier: GPL-2.0+
30 #include <linux/dma-mapping.h>
33 #include <linux/dma/imx-dma.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 …]
Datmel_serial.c1 // SPDX-License-Identifier: GPL-2.0+
18 #include <linux/clk-provider.h>
25 #include <linux/dma-mapping.h>
47 * These two offsets are substracted from the RX FIFO size to define the RTS
48 * high and low thresholds
63 /* Use device name ttyAT, major 204 and minor 154-169. This is necessary if we
72 /* Use device name ttyS, major 4, minor 64-68. This is the usual serial port
166 bool hd_start_rx; /* can start RX during half-duplex operation */
196 { .compatible = "atmel,at91rm9200-usart-serial" },
209 return __raw_readl(port->membase + reg); in atmel_uart_readl()
[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 …]
/Linux-v6.1/include/linux/
Dserial_core.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
24 ((port)->cons && (port)->cons->index == (port)->line)
35 * struct uart_ops -- interface between serial_core and the driver
56 * - %TIOCM_RTS RTS signal.
57 * - %TIOCM_DTR DTR signal.
58 * - %TIOCM_OUT1 OUT1 signal.
59 * - %TIOCM_OUT2 OUT2 signal.
60 * - %TIOCM_LOOP Set the port into loopback mode.
63 * active. If the bit is clear, the signal should be driven
66 * Locking: @port->lock taken.
[all …]
/Linux-v6.1/drivers/tty/serial/8250/
D8250_port.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Base port operations for 8250/16550-type serial ports
254 * tx_loadsz is set to 63-bytes instead of 64-bytes to implement
255 * workaround of errata A-008006 which states that tx_loadsz should
267 .name = "Palmchip BK-3103",
337 #define UART_REG_UNMAPPED -1
369 return __raw_readl(p->membase + (offset << p->regshift)); in au_serial_in()
379 __raw_writel(value, p->membase + (offset << p->regshift)); in au_serial_out()
385 return __raw_readl(up->port.membase + 0x28); in au_serial_dl_read()
390 __raw_writel(value, up->port.membase + 0x28); in au_serial_dl_write()
[all …]
D8250_pci.c1 // SPDX-License-Identifier: GPL-2.0
3 * Probe module for 8250/16550-type PCI serial ports.
30 * > 0 - number of ports
31 * = 0 - use board->num_ports
32 * < 0 - error
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 str, dev->vendor, dev->device, in moan_device()
85 dev->subsystem_vendor, dev->subsystem_device); in moan_device()
92 struct pci_dev *dev = priv->dev; in setup_port()
[all …]
/Linux-v6.1/Documentation/firmware-guide/acpi/
Denumeration.rst1 .. SPDX-License-Identifier: GPL-2.0
13 that are accessed through memory-mapped registers.
15 In order to support this and re-use the existing drivers as much as
18 - Devices that have no bus connector resource are represented as
21 - Devices behind real busses where there is a connector resource
34 This means that when ACPI_HANDLE(dev) returns non-NULL the device was
36 device-specific configuration. There is an example of this below.
43 for the device and add supported ACPI IDs. If this same IP-block is used on
44 some other non-ACPI platform, the driver might work out of the box or needs
151 The interrupt name can be listed in _DSD as 'interrupt-names'. The names
[all …]