Searched +full:rs485 +full:- +full:rx +full:- +full:active +full:- +full:high (Results 1 – 23 of 23) sorted by relevance
/Linux-v6.1/Documentation/devicetree/bindings/serial/ |
D | rs485.yaml | 1 # 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 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: 18 description: prop-encoded-array <a b> [all …]
|
D | 8250_omap.yaml | 1 # 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 …]
|
/Linux-v6.1/arch/arm64/boot/dts/freescale/ |
D | imx8mp-verdin-dev.dtsi | 1 // 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 …]
|
D | imx8mm-mx8menlo.dts | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 3 * Copyright 2021-2022 Marek Vasut <marex@denx.de> 6 /dts-v1/; 8 #include "imx8mm-verdin.dtsi" 13 "toradex,verdin-imx8mm", 16 /delete-node/ gpio-keys; 19 compatible = "gpio-leds"; 20 pinctrl-names = "default"; 21 pinctrl-0 = <&pinctrl_led>; 23 led-1 { [all …]
|
D | imx8mn-venice-gw7902.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/linux-event-codes.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/net/ti-dp83867.h> 17 compatible = "gw,imx8mn-gw7902", "fsl,imx8mn"; 24 stdout-path = &uart2; 33 compatible = "fixed-clock"; 34 #clock-cells = <0>; [all …]
|
D | imx8mm-venice-gw7902.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/linux-event-codes.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/net/ti-dp83867.h> 12 #include <dt-bindings/phy/phy-imx8-pcie.h> 18 compatible = "gw,imx8mm-gw7902", "fsl,imx8mm"; 27 stdout-path = &uart2; 36 compatible = "fixed-clock"; [all …]
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | imx7-mba7.dtsi | 1 // 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 …]
|
D | imx6qdl-mba6.dtsi | 1 // 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 …]
|
D | imx6ull-phytec-tauri.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include "imx6ull-phytec-phycore-som.dtsi" 13 model = "PHYTEC phyGate-Tauri i.MX6 UltraLite"; 14 compatible = "phytec,imx6ull-phygate-tauri", 15 "phytec,imx6ull-pcl063", "fsl,imx6ull"; 22 gpio_keys: gpio-keys { 23 compatible = "gpio-key"; 24 pinctrl-names = "default"; 25 pinctrl-0 = <&pinctrl_gpio_keys>; [all …]
|
D | mba6ulx.dtsi | 1 // 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 = <®_mba6ul_3v3>; 24 enable-gpios = <&expander_out0 4 GPIO_ACTIVE_HIGH>; 29 compatible = "gpio-beeper"; 33 gpio_buttons: gpio-keys { [all …]
|
D | imx6ul-kontron-bl-common.dtsi | 1 // 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 …]
|
D | am335x-nano.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * 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 …]
|
D | imx6qdl-nitrogen6_max.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR X11 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/input.h> 10 stdout-path = &uart2; 19 compatible = "simple-bus"; 20 #address-cells = <1>; 21 #size-cells = <0>; 24 compatible = "regulator-fixed"; 26 regulator-name = "1P8V"; 27 regulator-min-microvolt = <1800000>; [all …]
|
D | imx6q-bosch-acc.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Support for the i.MX6-based Bosch ACC board. 8 * Copyright (C) 2019-2021 Bosch Thermotechnik GmbH, Matthias Winker <matthias.winker@bosch.com> 12 /dts-v1/; 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/leds/common.h> 20 compatible = "bosch,imx6q-acc", "fsl,imx6q"; 37 backlight_lvds: backlight-lvds { 38 compatible = "pwm-backlight"; 40 brightness-levels = <0 61 499 1706 4079 8022 13938 22237 33328 47623 65535>; [all …]
|
/Linux-v6.1/drivers/tty/serial/8250/ |
D | 8250_dwlib.c | 1 // SPDX-License-Identifier: GPL-2.0+ 17 #define DW_UART_TCR 0xac /* Transceiver Control Register (RS485) */ 79 struct dw8250_port_data *d = p->private_data; in dw8250_get_divisor() 81 quot = p->uartclk / base_baud; in dw8250_get_divisor() 82 rem = p->uartclk % base_baud; in dw8250_get_divisor() 83 *frac = DIV_ROUND_CLOSEST(rem << d->dlf_size, base_baud); in dw8250_get_divisor() 98 p->status &= ~UPSTAT_AUTOCTS; in dw8250_do_set_termios() 99 if (termios->c_cflag & CRTSCTS) in dw8250_do_set_termios() 100 p->status |= UPSTAT_AUTOCTS; in dw8250_do_set_termios() 105 p->ignore_status_mask |= DW_UART_LSR_ADDR_RCVD; in dw8250_do_set_termios() [all …]
|
D | 8250_port.c | 1 // 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 …]
|
/Linux-v6.1/drivers/tty/serial/ |
D | omap-serial.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Driver for OMAP-UART controller. 16 * this driver as required for the omap-platform. 38 #include <linux/platform_data/serial-omap.h> 79 #define OMAP_UART_DMA_CH_FREE -1 108 * Buffer for rx dma. It is not required for tx because the buffer 118 /* timer to poll activity on rx dma */ 176 offset <<= up->port.regshift; in serial_in() 177 return readw(up->port.membase + offset); in serial_in() 182 offset <<= up->port.regshift; in serial_out() [all …]
|
D | serial_core.c | 1 // 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 …]
|
D | atmel_serial.c | 1 // 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 121 short pdc_rx_idx; /* current PDC RX buffer */ 166 bool hd_start_rx; /* can start RX during half-duplex operation */ 196 { .compatible = "atmel,at91rm9200-usart-serial" }, [all …]
|
D | fsl_lpuart.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright 2012-2014 Freescale Semiconductor, Inc. 11 #include <linux/dma-mapping.h> 25 /* All registers are 8-bit width */ 114 /* 32-bit global registers only for i.MX7ULP/i.MX8x 119 /* 32-bit register definition */ 233 /* Rx DMA timeout in ms, which is used to calculate Rx ring buffer size */ 236 #define DRIVER_NAME "fsl-lpuart" 321 { .compatible = "fsl,vf610-lpuart", .data = &vf_data, }, 322 { .compatible = "fsl,ls1021a-lpuart", .data = &ls1021a_data, }, [all …]
|
D | sc16is7xx.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * SC16IS7xx tty serial driver - Copyright (C) 2014 GridPoint 33 #define SC16IS7XX_RHR_REG (0x00) /* RX FIFO */ 44 #define SC16IS7XX_RXLVL_REG (0x09) /* RX FIFO level */ 46 * - only on 75x/76x 49 * - only on 75x/76x 52 * - only on 75x/76x 55 * - only on 75x/76x 65 #define SC16IS7XX_DLH_REG (0x01) /* Divisor Latch High */ 75 #define SC16IS7XX_IER_RDI_BIT (1 << 0) /* Enable RX data interrupt */ [all …]
|
/Linux-v6.1/Documentation/firmware-guide/acpi/ |
D | enumeration.rst | 1 .. 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 121 FixedDMA resource array, "rx" means the second entry. The table below shows a [all …]
|
/Linux-v6.1/include/linux/ |
D | serial_core.h | 1 /* 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 …]
|