Lines Matching full:uart

6  * Ingenic SoC UART support
132 OF_EARLYCON_DECLARE(jz4740_uart, "ingenic,jz4740-uart",
135 OF_EARLYCON_DECLARE(jz4770_uart, "ingenic,jz4770-uart",
138 OF_EARLYCON_DECLARE(jz4775_uart, "ingenic,jz4775-uart",
141 OF_EARLYCON_DECLARE(jz4780_uart, "ingenic,jz4780-uart",
144 OF_EARLYCON_DECLARE(x1000_uart, "ingenic,x1000-uart",
153 /* UART module enable */ in ingenic_uart_serial_out()
209 struct uart_8250_port uart = {}; in ingenic_uart_probe() local
237 spin_lock_init(&uart.port.lock); in ingenic_uart_probe()
238 uart.port.type = PORT_16550A; in ingenic_uart_probe()
239 uart.port.flags = UPF_SKIP_TEST | UPF_IOREMAP | UPF_FIXED_TYPE; in ingenic_uart_probe()
240 uart.port.iotype = UPIO_MEM; in ingenic_uart_probe()
241 uart.port.mapbase = regs->start; in ingenic_uart_probe()
242 uart.port.regshift = 2; in ingenic_uart_probe()
243 uart.port.serial_out = ingenic_uart_serial_out; in ingenic_uart_probe()
244 uart.port.serial_in = ingenic_uart_serial_in; in ingenic_uart_probe()
245 uart.port.irq = irq; in ingenic_uart_probe()
246 uart.port.dev = &pdev->dev; in ingenic_uart_probe()
247 uart.port.fifosize = cdata->fifosize; in ingenic_uart_probe()
248 uart.tx_loadsz = cdata->tx_loadsz; in ingenic_uart_probe()
249 uart.capabilities = UART_CAP_FIFO | UART_CAP_RTOIE; in ingenic_uart_probe()
254 uart.port.line = line; in ingenic_uart_probe()
256 uart.port.membase = devm_ioremap(&pdev->dev, regs->start, in ingenic_uart_probe()
258 if (!uart.port.membase) in ingenic_uart_probe()
282 uart.port.uartclk = clk_get_rate(data->clk_baud); in ingenic_uart_probe()
284 data->line = serial8250_register_8250_port(&uart); in ingenic_uart_probe()
332 { .compatible = "ingenic,jz4740-uart", .data = &jz4740_uart_config },
333 { .compatible = "ingenic,jz4760-uart", .data = &jz4760_uart_config },
334 { .compatible = "ingenic,jz4770-uart", .data = &jz4760_uart_config },
335 { .compatible = "ingenic,jz4775-uart", .data = &jz4760_uart_config },
336 { .compatible = "ingenic,jz4780-uart", .data = &jz4780_uart_config },
337 { .compatible = "ingenic,x1000-uart", .data = &x1000_uart_config },
344 .name = "ingenic-uart",
355 MODULE_DESCRIPTION("Ingenic SoC UART driver");