Searched +full:rs485 +full:- +full:rx +full:- +full:during +full:- +full:tx (Results 1 – 20 of 20) sorted by relevance
1 # 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>13 - $ref: rs485.yaml18 - st,stm32-uart19 - st,stm32f7-uart20 - st,stm32h7-uart37 st,hw-flow-ctrl:[all …]
4 - compatible : should be "ti,j721e-uart", "ti,am654-uart" for J721E controllers5 - compatible : should be "ti,am654-uart" for AM654 controllers6 - compatible : should be "ti,omap2-uart" for OMAP2 controllers7 - compatible : should be "ti,omap3-uart" for OMAP3 controllers8 - compatible : should be "ti,omap4-uart" for OMAP4 controllers9 - compatible : should be "ti,am4372-uart" for AM437x controllers10 - compatible : should be "ti,am3352-uart" for AM335x controllers11 - compatible : should be "ti,dra742-uart" for DRA7x controllers12 - reg : address and length of the register space13 - interrupts or interrupts-extended : Should contain the uart interrupt[all …]
1 # 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 <fabio.estevam@nxp.com>13 - $ref: "serial.yaml"14 - $ref: "rs485.yaml"19 - const: fsl,imx1-uart20 - const: fsl,imx21-uart21 - items:[all …]
1 # SPDX-License-Identifier: GPL-2.03 ---4 $id: http://devicetree.org/schemas/serial/rs485.yaml#5 $schema: http://devicetree.org/meta-schemas/core.yaml#7 title: RS485 serial communications Bindings10 direction for the built-in half-duplex mode. The properties described11 hereafter shall be given to a half-duplex capable UART node.14 - Rob Herring <robh@kernel.org>17 rs485-rts-delay:18 description: prop-encoded-array <a b>[all …]
4 - compatible: Should be one of the following:5 - "atmel,at91rm9200-usart"6 - "atmel,at91sam9260-usart"7 - "microchip,sam9x60-usart"8 - "atmel,at91rm9200-dbgu", "atmel,at91rm9200-usart"9 - "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart"10 - "microchip,sam9x60-dbgu", "microchip,sam9x60-usart"11 - reg: Should contain registers location and length12 - interrupts: Should contain interrupt13 - clock-names: tuple listing input clock names.[all …]
1 // SPDX-License-Identifier: GPL-2.0+5 * Copyright 2012-2014 Freescale Semiconductor, Inc.10 #include <linux/dma-mapping.h>23 /* All registers are 8-bit width */112 /* 32-bit register definition */222 /* Rx DMA timeout in ms, which is used to calculate Rx ring buffer size */225 #define DRIVER_NAME "fsl-lpuart"302 { .compatible = "fsl,vf610-lpuart", .data = &vf_data, },303 { .compatible = "fsl,ls1021a-lpuart", .data = &ls1021a_data, },304 { .compatible = "fsl,ls1028a-lpuart", .data = &ls1028a_data, },[all …]
1 // SPDX-License-Identifier: GPL-2.0+3 * SC16IS7xx tty serial driver - Copyright (C) 2014 GridPoint33 #define SC16IS7XX_RHR_REG (0x00) /* RX FIFO */34 #define SC16IS7XX_THR_REG (0x00) /* TX FIFO */43 #define SC16IS7XX_TXLVL_REG (0x08) /* TX FIFO level */44 #define SC16IS7XX_RXLVL_REG (0x09) /* RX FIFO level */46 * - only on 75x/76x49 * - only on 75x/76x52 * - only on 75x/76x55 * - only on 75x/76x[all …]
1 // 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 RTS61 /* Use device name ttyAT, major 204 and minor 154-169. This is necessary if we70 /* Use device name ttyS, major 4, minor 64-68. This is the usual serial port113 u32 backup_imr; /* IMR saved during suspend */118 short pdc_rx_idx; /* current PDC RX buffer */144 u32 backup_mode; /* MR saved during iso7816 operations */145 u32 backup_brgr; /* BRGR saved during iso7816 operations */162 bool hd_start_rx; /* can start RX during half-duplex operation */[all …]
1 // SPDX-License-Identifier: GPL-2.0+3 * Driver for OMAP-UART controller.16 * this driver as required for the omap-platform.37 #include <linux/platform_data/serial-omap.h>78 #define OMAP_UART_DMA_CH_FREE -1107 * Buffer for rx dma. It is not required for tx because the buffer117 /* timer to poll activity on rx dma */175 offset <<= up->port.regshift; in serial_in()176 return readw(up->port.membase + offset); in serial_in()181 offset <<= up->port.regshift; in serial_out()[all …]
1 // SPDX-License-Identifier: GPL-2.0+30 #include <linux/dma-mapping.h>33 #include <linux/platform_data/serial-imx.h>34 #include <linux/platform_data/dma-imx.h>125 #define UFCR_RFDIV_REG(x) (((x) < 7 ? 6 - (x) : 6) << 7)154 #define UTS_LOOP (1<<12) /* Loop tx and rx */161 /* We've been assigned a range on the "Low-density serial ports" major */170 * filling the TX fifo incase CTS has been dropped.174 #define DRIVER_NAME "IMX-uart"268 .name = "imx1-uart",[all …]
1 // SPDX-License-Identifier: GPL-2.08 * Inspired by st-asc.c from STMicroelectronics (c)14 #include <linux/dma-direction.h>16 #include <linux/dma-mapping.h>35 #include "stm32-usart.h"49 val = readl_relaxed(port->membase + reg); in stm32_usart_set_bits()51 writel_relaxed(val, port->membase + reg); in stm32_usart_set_bits()58 val = readl_relaxed(port->membase + reg); in stm32_usart_clr_bits()60 writel_relaxed(val, port->membase + reg); in stm32_usart_clr_bits()104 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_config_rs485()[all …]
1 // 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 we39 * want only one lock-class:43 #define HIGH_BITS_OFFSET ((sizeof(long)-sizeof(int))*8)60 return !!(uport->status & UPSTAT_DCD_ENABLE); in uart_dcd_enabled()65 if (atomic_add_unless(&state->refcount, 1, 0)) in uart_port_ref()66 return state->uart_port; in uart_port_ref()72 if (atomic_dec_and_test(&uport->state->refcount)) in uart_port_deref()73 wake_up(&uport->state->remove_wait); in uart_port_deref()[all …]
1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause6 #include <dt-bindings/input/input.h>7 #include <dt-bindings/pwm/pwm.h>17 stdout-path = "serial0:115200n8";32 * GPIO line, however the STM32 UART driver assumes RX happens33 * during TX anyway and that it only controls drive enable DE34 * line. Hence, the RX is always enabled here.36 rs485-rx-en {37 gpio-hog;39 output-low;[all …]
1 // SPDX-License-Identifier: GPL-2.08 #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 …]
1 // SPDX-License-Identifier: GPL-2.0-only3 * Copyright (C) 2013 Newflow Ltd - http://www.newflow.co.uk/5 /dts-v1/;15 cpu0-supply = <&dcdc2_reg>;25 compatible = "gpio-leds";30 default-state = "off";36 pinctrl-names = "default";37 pinctrl-0 = <&misc_pins>;40 pinctrl-single,pins = <46 pinctrl-single,pins = <[all …]
1 /* SPDX-License-Identifier: GPL-2.0-or-later */47 * the numbering here, except for the legacy entry being -1.50 PLAT8250_DEV_LEGACY = -1,80 struct hrtimer start_tx_timer; /* "rs485 start tx" timer */81 struct hrtimer stop_tx_timer; /* "rs485 stop tx" timer */84 unsigned int tx_stopped:1; /* tx is currently stopped */100 bool fifo_bug; /* min RX trigger if enabled */111 unsigned char canary; /* non-zero during system sleep
1 // SPDX-License-Identifier: GPL-2.0+3 * Base port operations for 8250/16550-type serial ports259 * tx_loadsz is set to 63-bytes instead of 64-bytes to implement260 * workaround of errata A-008006 which states that tx_loadsz should272 .name = "Palmchip BK-3103",344 -1, /* UART_SCR (unmapped) */353 -1, /* UART_LSR (unmapped) */354 -1, /* UART_MSR (unmapped) */355 -1, /* UART_SCR (unmapped) */365 return __raw_readl(p->membase + (offset << p->regshift)); in au_serial_in()[all …]
1 # SPDX-License-Identifier: GPL-2.024 non-standard serial ports, since the configuration information will52 If you did not notice yet and/or you have userspace from pre-3.7, it75 bool "Support for Fintek F81216A LPC to 4 UART RS485 API"78 Selecting this option will add support for the RS485 capabilities141 Note that serial ports on NetMos 9835 Multi-I/O cards are handled162 Say Y here to enable support for 16-bit PCMCIA serial devices,164 multi-function Ethernet/modem cards. (PCMCIA- or PC-cards are165 credit-card size devices often used with laptops.)191 PCI enumeration and any ports that may be added at run-time[all …]
1 // SPDX-License-Identifier: GPL-2.03 * 8250-core based driver for the OMAP internal UART5 * based on omap-serial.c, Copyright (C) 2010 Texas Instruments.29 #include <linux/dma-mapping.h>108 /* RX FIFO occupancy indicator */157 return readl(up->port.membase + (reg << up->port.regshift)); in uart_read()167 struct omap8250_priv *priv = up->port.private_data; in __omap8250_set_mctrl()172 if (!mctrl_gpio_to_gpiod(up->gpios, UART_GPIO_RTS)) { in __omap8250_set_mctrl()179 if ((mctrl & TIOCM_RTS) && (port->status & UPSTAT_AUTORTS)) in __omap8250_set_mctrl()180 priv->efr |= UART_EFR_RTS; in __omap8250_set_mctrl()[all …]
... then 81 /usr/share/command-not-found/command-not-found -- "$ ...