| /linux/Documentation/devicetree/bindings/serial/ |
| H A D | mediatek,uart.yaml | 4 $id: http://devicetree.org/schemas/serial/mediatek,uart.yaml# 7 title: MediaTek Universal Asynchronous Receiver/Transmitter (UART) 16 The MediaTek UART is based on the basic 8250 UART and compatible 23 - const: mediatek,mt6577-uart 26 - mediatek,mt2701-uart 27 - mediatek,mt2712-uart 28 - mediatek,mt6572-uart 29 - mediatek,mt6580-uart 30 - mediatek,mt6582-uart 31 - mediatek,mt6589-uart [all …]
|
| H A D | samsung_uart.yaml | 7 title: Samsung S3C, S5P, Exynos, and S5L (Apple SoC) SoC UART Controller 14 Each Samsung UART should have an alias correctly numbered in the "aliases" 22 - apple,s5l-uart 23 - axis,artpec8-uart 24 - google,gs101-uart 25 - samsung,s3c6400-uart 26 - samsung,s5pv210-uart 27 - samsung,exynos4210-uart 28 - samsung,exynos5433-uart 29 - samsung,exynos850-uart [all …]
|
| H A D | fsl-imx-uart.yaml | 4 $id: http://devicetree.org/schemas/serial/fsl-imx-uart.yaml# 7 title: Freescale i.MX Universal Asynchronous Receiver/Transmitter (UART) 15 - const: fsl,imx1-uart 16 - const: fsl,imx21-uart 19 - fsl,imx25-uart 20 - fsl,imx27-uart 21 - fsl,imx31-uart 22 - fsl,imx35-uart 23 - fsl,imx50-uart 24 - fsl,imx51-uart [all …]
|
| H A D | marvell,armada-3700-uart.yaml | 4 $id: http://devicetree.org/schemas/serial/marvell,armada-3700-uart.yaml# 7 title: Marvell Armada-3700 UART 13 Marvell UART is a non standard UART used in some of Marvell EBU SoCs (e.g. 19 - marvell,armada-3700-uart 20 - marvell,armada-3700-uart-ext 28 UART reference clock used to derive the baud rate. If absent, only fixed 34 - description: UART sum interrupt 35 - description: UART TX interrupt 36 - description: UART RX interrupt 55 const: marvell,armada-3700-uart-ext [all …]
|
| H A D | brcm,bcm7271-uart.yaml | 4 $id: http://devicetree.org/schemas/serial/brcm,bcm7271-uart.yaml# 16 The Broadcom UART is based on the basic 8250 UART but with 24 - brcm,bcm7271-uart 25 - brcm,bcm7278-uart 32 description: The UART register block and optionally the DMA register blocks. 35 - const: uart 37 - const: uart 54 description: The UART interrupt and optionally the DMA interrupt. 57 - const: uart 74 compatible = "brcm,bcm7271-uart"; [all …]
|
| H A D | ingenic,uart.yaml | 4 $id: http://devicetree.org/schemas/serial/ingenic,uart.yaml# 7 title: Ingenic SoCs UART controller 22 - ingenic,jz4740-uart 23 - ingenic,jz4750-uart 24 - ingenic,jz4760-uart 25 - ingenic,jz4780-uart 26 - ingenic,x1000-uart 29 - ingenic,jz4770-uart 30 - ingenic,jz4775-uart 31 - const: ingenic,jz4760-uart [all …]
|
| H A D | sifive-serial.yaml | 7 title: SiFive asynchronous serial interface (UART) 21 - sifive,fu540-c000-uart 22 - sifive,fu740-c000-uart 27 Should be something similar to "sifive,<chip>-uart" 28 for the UART as integrated on a particular chip, 29 and "sifive,uart<version>" for the general UART IP 32 UART HDL that corresponds to the IP block version 35 https://github.com/sifive/sifive-blocks/tree/master/src/main/scala/devices/uart 58 compatible = "sifive,fu540-c000-uart", "sifive,uart0";
|
| H A D | renesas,em-uart.yaml | 4 $id: http://devicetree.org/schemas/serial/renesas,em-uart.yaml# 7 title: Renesas EMMA Mobile UART Interface 17 - renesas,r9a09g011-uart # RZ/V2M 18 - const: renesas,em-uart # generic EMMA Mobile compatible UART 21 - const: renesas,em-uart # generic EMMA Mobile compatible UART 32 - description: UART functional clock 55 const: renesas,r9a09g011-uart 69 compatible = "renesas,em-uart";
|
| /linux/Documentation/devicetree/bindings/dma/ |
| H A D | mediatek,uart-dma.yaml | 4 $id: http://devicetree.org/schemas/dma/mediatek,uart-dma.yaml# 7 title: MediaTek UART APDMA controller 14 The MediaTek UART APDMA controller provides DMA capabilities 15 for the UART peripheral bus. 25 - mediatek,mt2712-uart-dma 26 - mediatek,mt6572-uart-dma 27 - mediatek,mt6795-uart-dma 28 - mediatek,mt8173-uart-dma 29 - mediatek,mt8183-uart-dma 30 - mediatek,mt8365-uart [all...] |
| /linux/drivers/tty/serial/ |
| H A D | timbuart.c | 3 * timbuart.c timberdale FPGA UART driver 8 * Timberdale FPGA UART 55 struct timbuart_port *uart = in timbuart_start_tx() local 59 tasklet_schedule(&uart->tasklet); in timbuart_start_tx() 115 struct timbuart_port *uart = in timbuart_handle_tx_port() local 134 *ier |= uart->last_ier & TXFLAGS; in timbuart_handle_tx_port() 171 struct timbuart_port *uart = from_tasklet(uart, t, tasklet); in timbuart_tasklet() local 174 uart_port_lock(&uart->port); in timbuart_tasklet() 176 isr = ioread32(uart->port.membase + TIMBUART_ISR); in timbuart_tasklet() 177 dev_dbg(uart->port.dev, "%s ISR: %x\n", __func__, isr); in timbuart_tasklet() [all …]
|
| H A D | liteuart.c | 73 struct liteuart_port *uart = to_liteuart_port(port); in liteuart_update_irq_reg() local 76 uart->irq_reg |= mask; in liteuart_update_irq_reg() 78 uart->irq_reg &= ~mask; in liteuart_update_irq_reg() 81 litex_write8(port->membase + OFF_EV_ENABLE, uart->irq_reg); in liteuart_update_irq_reg() 96 struct liteuart_port *uart = to_liteuart_port(port); in liteuart_stop_rx() local 99 timer_delete(&uart->timer); in liteuart_stop_rx() 133 struct liteuart_port *uart = data; in liteuart_interrupt() local 134 struct uart_port *port = &uart->port; in liteuart_interrupt() 143 isr = litex_read8(port->membase + OFF_EV_PENDING) & uart->irq_reg; in liteuart_interrupt() 155 struct liteuart_port *uart in liteuart_timer() local 183 struct liteuart_port *uart = to_liteuart_port(port); liteuart_startup() local 213 struct liteuart_port *uart = to_liteuart_port(port); liteuart_shutdown() local 282 struct liteuart_port *uart; liteuart_probe() local 376 struct liteuart_port *uart; liteuart_console_write() local 390 struct liteuart_port *uart; liteuart_console_setup() local [all...] |
| H A D | vt8500_serial.c | 28 * UART Register offsets 38 #define VT8500_URUSR 0x001c /* UART status */ 96 struct uart_port uart; member 126 uart); in vt8500_stop_tx() 136 uart); in vt8500_stop_rx() 146 uart); in vt8500_enable_ms() 210 uart); in vt8500_start_tx() 282 container_of(port, struct vt8500_port, uart); in vt8500_set_baud_rate() 306 container_of(port, struct vt8500_port, uart); in vt8500_startup() 325 container_of(port, struct vt8500_port, uart); in vt8500_shutdown() [all...] |
| /linux/drivers/tty/serial/8250/ |
| H A D | 8250_tegra.c | 47 struct tegra_uart *uart; in tegra_uart_probe() 52 uart = devm_kzalloc_obj(&pdev->dev, *uart); in tegra_uart_probe() 53 if (!uart) in tegra_uart_probe() 85 uart->rst = devm_reset_control_get_optional_shared(&pdev->dev, NULL); in tegra_uart_probe() 86 if (IS_ERR(uart->rst)) in tegra_uart_probe() 87 return PTR_ERR(uart->rst); in tegra_uart_probe() 90 uart->clk = devm_clk_get(&pdev->dev, NULL); in tegra_uart_probe() 91 if (IS_ERR(uart->clk)) { in tegra_uart_probe() 96 ret = clk_prepare_enable(uart in tegra_uart_probe() 46 struct tegra_uart *uart; tegra_uart_probe() local 125 struct tegra_uart *uart = platform_get_drvdata(pdev); tegra_uart_remove() local 135 struct tegra_uart *uart = dev_get_drvdata(dev); tegra_uart_suspend() local 149 struct tegra_uart *uart = dev_get_drvdata(dev); tegra_uart_resume() local [all...] |
| H A D | 8250_lpc18xx.c | 3 * Serial port driver for NXP LPC18xx/43xx UART 94 struct uart_8250_port uart; in lpc18xx_serial_probe() 104 memset(&uart, 0, sizeof(uart)); in lpc18xx_serial_probe() 106 uart.port.membase = devm_ioremap(&pdev->dev, res->start, in lpc18xx_serial_probe() 108 if (!uart.port.membase) in lpc18xx_serial_probe() 117 dev_err(&pdev->dev, "uart clock not found\n"); in lpc18xx_serial_probe() 135 dev_err(&pdev->dev, "unable to enable uart clock\n"); in lpc18xx_serial_probe() 142 spin_lock_init(&uart.port.lock); in lpc18xx_serial_probe() 143 uart in lpc18xx_serial_probe() 93 struct uart_8250_port uart; lpc18xx_serial_probe() local [all...] |
| H A D | 8250_ingenic.c | 6 * Ingenic SoC UART support 143 * oscillator and some peripherals including UART, which will in jz4750_early_console_setup() 154 OF_EARLYCON_DECLARE(jz4740_uart, "ingenic,jz4740-uart", 157 OF_EARLYCON_DECLARE(jz4750_uart, "ingenic,jz4750-uart", 160 OF_EARLYCON_DECLARE(jz4770_uart, "ingenic,jz4770-uart", 163 OF_EARLYCON_DECLARE(jz4775_uart, "ingenic,jz4775-uart", 166 OF_EARLYCON_DECLARE(jz4780_uart, "ingenic,jz4780-uart", 169 OF_EARLYCON_DECLARE(x1000_uart, "ingenic,x1000-uart", 178 /* UART module enable */ in ingenic_uart_serial_out() 234 struct uart_8250_port uart in ingenic_uart_probe() 233 struct uart_8250_port uart = {}; ingenic_uart_probe() local [all...] |
| H A D | 8250_keba.c | 5 * Driver for KEBA UART FPGA IP core 140 * Set DTR line configuration of 95x UART to DTR mode (1,0). in kuart_rs485_config() 149 * Set DTR line configuration of 95x UART to DTR mode (0,0). in kuart_rs485_config() 174 struct uart_8250_port uart = {}; in kuart_probe() local 186 * map only memory in front of UART registers, UART registers will be in kuart_probe() 206 spin_lock_init(&uart.port.lock); in kuart_probe() 207 uart.port.dev = dev; in kuart_probe() 208 uart.port.mapbase = kuart->auxdev->io.start + KUART_BASE; in kuart_probe() 209 uart in kuart_probe() [all...] |
| H A D | 8250_hp300.c | 41 /* Offset to UART registers from base of DCA */ 138 struct uart_8250_port *uport, uart; in hp300_setup_serial_console() 146 memset(&uart, 0, sizeof(uart)); in hp300_setup_serial_console() 149 uart.port.iotype = UPIO_MEM; in hp300_setup_serial_console() 150 uart.port.flags = UPF_SKIP_TEST | UPF_SHARE_IRQ | UPF_BOOT_AUTOCONF; in hp300_setup_serial_console() 151 uart.port.irq = d->ipl; in hp300_setup_serial_console() 152 uart.port.uartclk = HPDCA_BAUD_BASE * 16; in hp300_setup_serial_console() 153 uart.port.mapbase = (d->resource.start + UART_OFFSET); in hp300_setup_serial_console() 154 uart in hp300_setup_serial_console() 160 struct uart_8250_port uart; hpdca_init_one() local 209 struct uart_8250_port uart; hp300_8250_init() local [all...] |
| H A D | 8250_pxa.c | 57 { .compatible = "mrvl,pxa-uart", }, 58 { .compatible = "mrvl,mmp-uart", }, 63 /* Uart divisor latch write */ in serial_pxa_dl_write() 93 struct uart_8250_port uart = {}; in serial_pxa_probe() 114 uart.port.type = PORT_XSCALE; in serial_pxa_probe() 115 uart.port.mapbase = mmres->start; in serial_pxa_probe() 116 uart.port.flags = UPF_IOREMAP | UPF_SKIP_TEST | UPF_FIXED_TYPE; in serial_pxa_probe() 117 uart.port.dev = &pdev->dev; in serial_pxa_probe() 118 uart.port.uartclk = clk_get_rate(data->clk); in serial_pxa_probe() 119 uart in serial_pxa_probe() 92 struct uart_8250_port uart = {}; serial_pxa_probe() local [all...] |
| H A D | 8250_dfl.c | 3 * Driver for FPGA UART 48 static int dfl_uart_get_params(struct dfl_device *dfl_dev, struct uart_8250_port *uart) in dfh_get_u64_param_val() 59 uart->port.uartclk = clk_freq; in dfl_uart_get_params() 67 uart->port.type = PORT_ALTR_16550_F32; in dfl_uart_get_params() 71 uart->port.type = PORT_ALTR_16550_F64; in dfl_uart_get_params() 75 uart->port.type = PORT_ALTR_16550_F128; in dfl_uart_get_params() 86 uart->port.regshift = FIELD_GET(DFHv1_PARAM_REG_LAYOUT_SHIFT, reg_layout); in dfl_uart_get_params() 90 uart->port.iotype = UPIO_MEM32; in dfl_uart_get_params() 94 uart->port.iotype = UPIO_MEM16; in dfl_uart_get_params() 108 struct uart_8250_port uart 51 dfl_uart_get_params(struct dfl_device * dfl_dev,struct uart_8250_port * uart) dfl_uart_get_params() argument 111 struct uart_8250_port uart = { }; dfl_uart_probe() local [all...] |
| H A D | 8250_ni.c | 3 * NI 16550 UART Driver 5 * The National Instruments (NI) 16550 is a UART that is compatible with the 258 static u8 ni16550_read_fifo_size(struct uart_8250_port *uart, int reg) in ni16550_read_fifo_size() 260 u8 value = serial_in(uart, reg); in ni16550_read_fifo_size() 278 struct uart_8250_port *uart __free(kfree) = NULL; in ni16550_probe() 288 uart = kzalloc_obj(*uart); in ni16550_probe() 289 if (!uart) in ni16550_probe() 296 spin_lock_init(&uart->port.lock); in ni16550_probe() 298 ret = ni16550_get_regs(pdev, &uart in ni16550_probe() 257 ni16550_read_fifo_size(struct uart_8250_port * uart,int reg) ni16550_read_fifo_size() argument [all...] |
| H A D | 8250_pericom.c | 2 /* Driver for Pericom UART */ 90 struct uart_8250_port uart; in pericom8250_probe() 114 memset(&uart, 0, sizeof(uart)); in pericom8250_probe() 116 uart.port.dev = &pdev->dev; in pericom8250_probe() 117 uart.port.irq = pdev->irq; in pericom8250_probe() 118 uart.port.private_data = pericom; in pericom8250_probe() 119 uart.port.iotype = UPIO_PORT; in pericom8250_probe() 120 uart.port.uartclk = 921600 * 16; in pericom8250_probe() 121 uart in pericom8250_probe() 89 struct uart_8250_port uart; pericom8250_probe() local [all...] |
| /linux/arch/mips/kernel/ |
| H A D | cps-vec-ns16550.S | 32 * _mips_cps_putc() - write a character to the UART 34 * @t9: UART base address 45 * _mips_cps_puts() - write a string to the UART 47 * @t9: UART base address 49 * Write a null-terminated ASCII string to the UART. 65 * _mips_cps_putx4 - write a 4b hex value to the UART 66 * @a0: the 4b value to write to the UART 67 * @t9: UART base address 69 * Write a single hexadecimal character to the UART. 82 * _mips_cps_putx8 - write an 8b hex value to the UART [all …]
|
| /linux/arch/arm/include/debug/ |
| H A D | tegra.S | 45 #define checkuart(rp, rv, lhu, bit, uart) \ argument 50 /* Test UART's reset bit */ \ 52 /* If set, can't use UART; jump to save no UART */ \ 58 /* Test UART's clock enable bit */ \ 60 /* If clear, can't use UART; jump to save no UART */ \ 62 /* Passed all tests, load address of UART registers */ \ 63 ldr rp, =TEGRA_UART##uart##_BASE ; \ 64 /* Jump to save UART address */ \ 85 cmp \rv, #2 @ 2 and 3 mean DCC, UART 89 11: lsr \rv, \rp, #15 @ 17:15 are UART ID [all …]
|
| /linux/tools/arch/x86/dell-uart-backlight-emulator/ |
| H A D | README | 1 Emulator for DELL0501 UART attached backlight controller 5 board connected to an UART. 7 In DSDT this uart port will be defined as: 12 With the DELL0501 indicating that we are dealing with an UART with 16 the drivers/platform/x86/dell/dell-uart-backlight.c driver without access 20 1. A (desktop) PC with a 16550 UART on the motherboard and a standard DB9 21 connector connected to this UART. 25 4. A DSDT overlay for the desktop PC replacing the _HID of the 16550 UART 32 ./dell-uart-backlight-emulator <path-to-/dev/tty*S#-for-second-port> 36 ./dell-uart-backlight-emulator /dev/ttyUSB0 [all …]
|
| /linux/Documentation/devicetree/bindings/soc/aspeed/ |
| H A D | uart-routing.yaml | 6 $id: http://devicetree.org/schemas/soc/aspeed/uart-routing.yaml# 9 title: Aspeed UART Routing Controller 16 The Aspeed UART routing control allow to dynamically route the inputs for 19 This allows, for example, to connect the output of UART to another UART. 31 - aspeed,ast2400-uart-routing 32 - aspeed,ast2500-uart-routing 33 - aspeed,ast2600-uart-routing 52 uart_routing: uart-routing@98 { 53 compatible = "aspeed,ast2600-uart-routing";
|