/linux-6.14.4/drivers/tty/serial/8250/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 3 # The 8250/16550 serial drivers. You shouldn't be in this list unless 8 tristate "8250/16550 and compatible serial support" 23 non-standard serial ports, since the configuration information will 51 If you did not notice yet and/or you have userspace from pre-3.7, it 55 bool "8250/16550 PNP device support" if EXPERT 63 bool "Support for variants of the 16550A serial port" 67 The 8250 driver can probe for many variants of the venerable 16550A 78 capabilities of the Fintek F81216A LPC to 4 UART as well similar 82 standard 16550A serial port, however the device may not function [all …]
|
D | 8250_platform.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Universal/legacy platform driver for 8250/16550-type serial ports 6 * ISA-compatible 8250/16550 ports 7 * ACPI 8250/16550 ports 8 * PNP 8250/16550 ports 30 * This option is unsafe when used on edge-triggered interrupts. 41 * SERIAL_PORT_DFNS tells us about built-in ports that have no 84 struct uart_port *port = &up->port; in __serial8250_isa_init_ports() 86 port->iobase = old_serial_port[i].port; in __serial8250_isa_init_ports() 87 port->irq = irq_canonicalize(old_serial_port[i].irq); in __serial8250_isa_init_ports() [all …]
|
D | 8250_of.c | 1 // SPDX-License-Identifier: GPL-2.0+ 53 return DIV_ROUND_CLOSEST(port->uartclk, 16 * baud + 2) - 2; in npcm_get_divisor() 58 port->get_divisor = npcm_get_divisor; in npcm_setup() 59 port->startup = npcm_startup; in npcm_setup() 72 struct uart_8250_port *port8250 = serial8250_get_port(info->line); in of_platform_serial_clk_notifier_cb() 76 serial8250_update_uartclk(&port8250->port, ndata->new_rate); in of_platform_serial_clk_notifier_cb() 91 struct device *dev = &ofdev->dev; in of_platform_serial_setup() 92 struct device_node *np = dev->of_node; in of_platform_serial_setup() 93 struct uart_port *port = &up->port; in of_platform_serial_setup() 99 pm_runtime_enable(&ofdev->dev); in of_platform_serial_setup() [all …]
|
D | 8250_ingenic.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2010 Lars-Peter Clausen <[email protected]> 6 * Ingenic SoC UART support 46 return readl(port->membase + (offset << 2)); in early_in() 51 writel(value, port->membase + (offset << 2)); in early_out() 68 uart_console_write(&early_device->port, s, count, in ingenic_early_console_write() 82 prop = fdt_getprop(fdt, offset, "clock-frequency", NULL); in ingenic_early_console_setup_clock() 86 dev->port.uartclk = be32_to_cpup(prop); in ingenic_early_console_setup_clock() 92 struct uart_port *port = &dev->port; in ingenic_earlycon_setup_tail() 96 if (!dev->port.membase) in ingenic_earlycon_setup_tail() [all …]
|
D | 8250_port.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Base port operations for 8250/16550-type serial ports 51 * Here we define the default xmit fifo size used for each type of UART. 70 .name = "16550", 75 .name = "16550A", 220 .name = "Altera 16550 FIFO32", 228 .name = "Altera 16550 FIFO64", 236 .name = "Altera 16550 FIFO128", 244 * tx_loadsz is set to 63-bytes instead of 64-bytes to implement 245 * workaround of errata A-008006 which states that tx_loadsz should [all …]
|
D | 8250_men_mcb.c | 1 // SPDX-License-Identifier: GPL-2.0 16 * IP Cores Z025 and Z057 can have up to 4 UART 22 * +------+-------+-------+-------+-------+-------+-------+-------+ 24 * +------+-------+-------+-------+-------+-------+-------+-------+ 54 * The Z125 16550-compatible UART has no fixed base clock assigned 64 dev_info(&mdev->dev, "%s on board %s\n", in men_lookup_uartclk() 65 dev_name(&mdev->dev), in men_lookup_uartclk() 66 mdev->bus->name); in men_lookup_uartclk() 67 if (strncmp(mdev->bus->name, "F075", 4) == 0) in men_lookup_uartclk() 69 else if (strncmp(mdev->bus->name, "F216", 4) == 0) in men_lookup_uartclk() [all …]
|
D | 8250_pnp.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Probe for 8250/16550-type ISAPNP serial ports. 9 * Ported to the Linux PnP Layer - (C) Adam Belay. 45 * Native driver (ali-ircc) is broken so at least 46 * it can be used with irtty-sir. 54 /* Boca Complete Ofc Communicator 14.4 Data-FAX */ 61 /* EuroViVa CommCenter-33.6 SP PnP */ 71 /* Creative Modem Blaster Flash56 DI5601-1 */ 75 /* E-Tech */ 76 /* E-Tech CyberBULLET PC56RVP */ [all …]
|
D | 8250_dw.c | 1 // SPDX-License-Identifier: GPL-2.0+ 10 * raised, the LCR needs to be rewritten and the uart status register read. 34 #define DW_UART_USR 0x1f /* UART Status Register */ 37 #define OCTEON_UART_USR 0x27 /* UART Status Register */ 99 struct dw8250_data *d = to_dw8250_data(p->private_data); in dw8250_modify_msr() 103 value |= d->msr_mask_on; in dw8250_modify_msr() 104 value &= ~d->msr_mask_off; in dw8250_modify_msr() 122 if (up->fcr & UART_FCR_ENABLE_FIFO) { in dw8250_force_idle() 123 lsr = p->serial_in(p, UART_LSR); in dw8250_force_idle() 128 (void)p->serial_in(p, UART_RX); in dw8250_force_idle() [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/serial/ |
D | 8250.yaml | 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: UART (Universal Asynchronous Receiver/Transmitter) 10 - [email protected] 13 - $ref: serial.yaml# 14 - $ref: /schemas/memory-controllers/mc-peripheral-props.yaml# 15 - if: 17 - required: 18 - aspeed,lpc-io-reg 19 - required: [all …]
|
D | mediatek,uart.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/serial/mediatek,uart.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MediaTek Universal Asynchronous Receiver/Transmitter (UART) 10 - Matthias Brugger <[email protected]> 13 - $ref: serial.yaml# 16 The MediaTek UART is based on the basic 8250 UART and compatible 17 with 16550A, with enhancements for high speed baud rates and 21 compatible: [all …]
|
D | snps-dw-apb-uart.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/serial/snps-dw-apb-uart.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Synopsys DesignWare ABP UART 10 - Rob Herring <[email protected]> 13 - $ref: serial.yaml# 14 - $ref: rs485.yaml# 16 - if: 18 compatible: [all …]
|
/linux-6.14.4/arch/mips/ |
D | Kconfig.debug | 1 # SPDX-License-Identifier: GPL-2.0 22 "8250/16550 and compatible serial early printk driver" 23 If you say Y here, it will be possible to use a 8250/16550 serial 30 bool "Built-in kernel command line" 41 The built-in options will be concatenated to the default command 43 command line will be ignored and replaced by the built-in string. 46 the command line from the firmware or the second-stage bootloader. 55 the default command line, you can supply some command-line options at 64 bool "Built-in command line overrides firmware arguments" 69 Instead, the built-in command line will be used exclusively. [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/ |
D | xilinx.txt | 10 Each IP-core has a set of parameters which the FPGA designer can use to 20 properties of the device node. In general, device nodes for IP-cores 23 (name): (generic-name)@(base-address) { 24 compatible = "xlnx,(ip-core-name)-(HW_VER)" 25 [, (list of compatible devices), ...]; 27 interrupt-parent = <&interrupt-controller-phandle>; 29 xlnx,(parameter1) = "(string-value)"; 30 xlnx,(parameter2) = <(int-value)>; 33 (generic-name): an open firmware-style name that describes the 36 (ip-core-name): the name of the ip block (given after the BEGIN [all …]
|
/linux-6.14.4/arch/mips/boot/compressed/ |
D | dbg.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * MIPS-specific debug support for pre-boot environment 5 * NOTE: putc() is board specific, if your board have a 16550 compatible uart, 33 for (i = 7; i >= 0; i--) { in puthex()
|
D | uart-16550.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * 16550 compatible uart based serial debug support for zboot 45 while (((serial_in(UART_LSR) & UART_LSR_THRE) == 0) && (timeout-- > 0)) in putc()
|
/linux-6.14.4/Documentation/sound/cards/ |
D | serial-u16550.rst | 2 Serial UART 16450/16550 MIDI driver 7 * 0 - Roland Soundcanvas support (default) 8 * 1 - Midiator MS-124T support (1) 9 * 2 - Midiator MS-124W S/A mode (2) 10 * 3 - MS-124W M/B mode support (3) 11 * 4 - Generic device with multiple input support (4) 13 For the Midiator MS-124W, you must set the physical M-S and A-B 17 (midiCnD0-midiCnD15). Whenever you write to a different substream, the driver 27 /sbin/setserial /dev/ttyS0 uart none 28 /sbin/modprobe snd-serial-u16550 port=0x3f8 irq=4 speed=115200 [all …]
|
/linux-6.14.4/Documentation/networking/device_drivers/hamradio/ |
D | baycom.rst | 1 .. SPDX-License-Identifier: GPL-2.0 25 however if you have a broken UART clone that does not have working 32 does not work with your UART. 41 This driver is work-in-progress. 52 driver only supports standard serial hardware (8250, 16450, 16550) 54 par96 This is a modem for 9600 baud FSK compatible to the G3RUH standard. 64 is protocol compatible to par96, but uses only three low power ICs 69 EPP This is a high-speed modem adaptor that connects to an enhanced parallel 90 simple. Once installed, four interfaces named bc{sf,sh,p,e}[0-3] are available. 110 sethdlc -i bcsf0 -p mode "ser12*" io 0x3f8 irq 4 [all …]
|
/linux-6.14.4/drivers/acpi/ |
D | acpi_apd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 #include <linux/clk-provider.h> 15 #include <linux/platform_data/clk-fch.h> 23 * struct apd_device_desc - a descriptor for apd device 26 * @properties: build-in properties of the device such as UART 48 const struct apd_device_desc *dev_desc = pdata->dev_desc; in acpi_apd_setup() 51 if (dev_desc->fixed_clk_rate) { in acpi_apd_setup() 52 clk = clk_register_fixed_rate(&pdata->adev->dev, in acpi_apd_setup() 53 dev_name(&pdata->adev->dev), in acpi_apd_setup() 54 NULL, 0, dev_desc->fixed_clk_rate); in acpi_apd_setup() [all …]
|
/linux-6.14.4/sound/drivers/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 50 tristate "PC-Speaker support (READ HELP!)" 60 You can compile this as a module which will be called snd-pcsp. 65 pc-speaker a default sound device. Which is likely not 69 options snd-pcsp index=2 71 You don't need this driver if you only want your pc-speaker to beep. 90 will be called snd-dummy. 99 the standard ALSA PCM device. The devices are routed 0->1 and 100 1->0, where first number is the playback PCM device and second 106 timing source using the time shift universal control (+-20% [all …]
|
/linux-6.14.4/drivers/mfd/ |
D | intel-lpss-acpi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 25 #include "intel-lpss.h" 28 PROPERTY_ENTRY_U32("intel,spi-pxa2xx-type", LPSS_SPT_SSP), 42 PROPERTY_ENTRY_U32("i2c-sda-hold-time-ns", 230), 56 PROPERTY_ENTRY_U32("reg-io-width", 4), 57 PROPERTY_ENTRY_U32("reg-shift", 2), 58 PROPERTY_ENTRY_BOOL("snps,uart-16550-compatible"), 73 PROPERTY_ENTRY_U32("intel,spi-pxa2xx-type", LPSS_BXT_SSP), 87 PROPERTY_ENTRY_U32("i2c-sda-hold-time-ns", 42), 88 PROPERTY_ENTRY_U32("i2c-sda-falling-time-ns", 171), [all …]
|
/linux-6.14.4/arch/mips/loongson32/common/ |
D | platform.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (c) 2011-2016 Zhang, Keguang <[email protected]> 7 #include <linux/dma-mapping.h> 19 /* 8250/16550 compatible UART */ 50 clk = clk_get(&pdev->dev, pdev->name); in ls1x_serial_set_uartclk() 53 pdev->name, PTR_ERR(clk)); in ls1x_serial_set_uartclk() 58 for (p = pdev->dev.platform_data; p->flags != 0; ++p) in ls1x_serial_set_uartclk() 59 p->uartclk = clk_get_rate(clk); in ls1x_serial_set_uartclk() 79 plat_dat = dev_get_platdata(&pdev->dev); in ls1x_eth_mux_init() 80 if (plat_dat->bus_id) { in ls1x_eth_mux_init() [all …]
|
/linux-6.14.4/drivers/tty/serial/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 19 comment "Non-8250 serial port support" 26 This selects the ARM(R) AMBA(R) PrimeCell PL010 UART. If you have 37 Say Y here if you wish to use an AMBA PrimeCell UART as the system 53 This selects the ARM(R) AMBA(R) PrimeCell PL011 UART. If you have 65 Say Y here if you wish to use an AMBA PrimeCell UART as the system 77 bool "Early console using Arm compatible semihosting" 83 Support for early debug console using Arm compatible semihosting. 89 bool "Early console using RISC-V SBI" 95 Support for early debug console using RISC-V SBI. This enables [all …]
|
D | sunsu.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright (C) 1998-1999 Pete Zaitcev ([email protected]) 13 * Theodore Ts'o <[email protected]>, 2001-Oct-12 15 * Converted to new 2.5.x UART layer. 16 * David S. Miller ([email protected]), 2002-Jul-29 51 * in a UART clock of 1.8462 MHz. 65 * Here we define the default xmit fifo size used for each type of UART. 71 { "16550", 1, 0 }, 72 { "16550A", 16, UART_CLEAR_FIFO | UART_USE_FIFO }, 106 offset <<= up->port.regshift; in serial_in() [all …]
|
D | amba-pl010.c | 1 // SPDX-License-Identifier: GPL-2.0+ 10 * This is a generic driver for ARM AMBA-type serial ports. They 11 * have a lot of 16550-like features, but are not register compatible. 65 cr = readb(uap->port.membase + UART010_CR); in pl010_stop_tx() 67 writel(cr, uap->port.membase + UART010_CR); in pl010_stop_tx() 76 cr = readb(uap->port.membase + UART010_CR); in pl010_start_tx() 78 writel(cr, uap->port.membase + UART010_CR); in pl010_start_tx() 87 cr = readb(uap->port.membase + UART010_CR); in pl010_stop_rx() 89 writel(cr, uap->port.membase + UART010_CR); in pl010_stop_rx() 97 cr = readb(uap->port.membase + UART010_CR); in pl010_disable_ms() [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/soc/ti/ |
D | ti,pruss.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 TI Programmable Real-Time Unit and Industrial Communication Subsystem 11 - Suman Anna <s-[email protected]> 15 The Programmable Real-Time Unit and Industrial Communication Subsystem 16 (PRU-ICSS a.k.a. PRUSS) is present on various TI SoCs such as AM335x, AM437x, 17 Keystone 66AK2G, OMAP-L138/DA850 etc. A PRUSS consists of dual 32-bit RISC 18 cores (Programmable Real-Time Units, or PRUs), shared RAM, data and 23 peripheral interfaces, fast real-time responses, or specialized data handling. [all …]
|