Home
last modified time | relevance | path

Searched +full:uart +full:- +full:16550 +full:- +full:compatible (Results 1 – 25 of 64) sorted by relevance

123

/kernel/linux/linux-4.19/Documentation/devicetree/bindings/serial/
D8250.txt1 * UART (Universal Asynchronous Receiver/Transmitter)
4 - compatible : one of:
5 - "ns8250"
6 - "ns16450"
7 - "ns16550a"
8 - "ns16550"
9 - "ns16750"
10 - "ns16850"
11 - For Tegra20, must contain "nvidia,tegra20-uart"
12 - For other Tegra, must contain '"nvidia,<chip>-uart",
[all …]
Dsnps-dw-apb-uart.txt1 * Synopsys DesignWare ABP UART
4 - compatible : "snps,dw-apb-uart"
5 - reg : offset and length of the register set for the device.
6 - interrupts : should contain uart interrupt.
10 - clock-frequency : the input clock frequency for the UART.
11 - clocks : phandle to the input clock
14 - clock-names: tuple listing input clock names.
18 - snps,uart-16550-compatible : reflects the value of UART_16550_COMPATIBLE
19 configuration parameter. Define this if your UART does not implement the busy
21 - resets : phandle to the parent reset controller.
[all …]
/kernel/linux/linux-5.10/drivers/tty/serial/8250/
DKconfig1 # 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"
24 non-standard serial ports, since the configuration information will
52 If you did not notice yet and/or you have userspace from pre-3.7, it
56 bool "8250/16550 PNP device support" if EXPERT
64 bool "Support for variants of the 16550A serial port"
68 The 8250 driver can probe for many variants of the venerable 16550A
75 bool "Support for Fintek F81216A LPC to 4 UART RS485 API"
79 of the Fintek F81216A LPC to 4 UART.
[all …]
D8250_of.c1 // SPDX-License-Identifier: GPL-2.0+
36 struct device_node *np = ofdev->dev.of_node; in of_platform_serial_setup()
37 struct uart_port *port = &up->port; in of_platform_serial_setup()
43 pm_runtime_enable(&ofdev->dev); in of_platform_serial_setup()
44 pm_runtime_get_sync(&ofdev->dev); in of_platform_serial_setup()
46 if (of_property_read_u32(np, "clock-frequency", &clk)) { in of_platform_serial_setup()
49 info->clk = devm_clk_get(&ofdev->dev, NULL); in of_platform_serial_setup()
50 if (IS_ERR(info->clk)) { in of_platform_serial_setup()
51 ret = PTR_ERR(info->clk); in of_platform_serial_setup()
52 if (ret != -EPROBE_DEFER) in of_platform_serial_setup()
[all …]
D8250_men_mcb.c1 // SPDX-License-Identifier: GPL-2.0
19 struct uart_8250_port uart; member
24 * The Z125 16550-compatible UART has no fixed base clock assigned
34 dev_info(&mdev->dev, "%s on board %s\n", in men_lookup_uartclk()
35 dev_name(&mdev->dev), in men_lookup_uartclk()
36 mdev->bus->name); in men_lookup_uartclk()
37 if (strncmp(mdev->bus->name, "F075", 4) == 0) in men_lookup_uartclk()
39 else if (strncmp(mdev->bus->name, "F216", 4) == 0) in men_lookup_uartclk()
41 else if (strncmp(mdev->bus->name, "G215", 4) == 0) in men_lookup_uartclk()
43 else if (strncmp(mdev->bus->name, "F210", 4) == 0) in men_lookup_uartclk()
[all …]
D8250_ingenic.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2010 Lars-Peter Clausen <lars@metafoo.de>
6 * Ingenic SoC UART support
47 return readl(port->membase + (offset << 2)); in early_in()
52 writel(value, port->membase + (offset << 2)); in early_out()
69 uart_console_write(&early_device->port, s, count, in ingenic_early_console_write()
83 prop = fdt_getprop(fdt, offset, "clock-frequency", NULL); in ingenic_early_console_setup_clock()
87 dev->port.uartclk = be32_to_cpup(prop); in ingenic_early_console_setup_clock()
93 struct uart_port *port = &dev->port; in ingenic_early_console_setup()
97 if (!dev->port.membase) in ingenic_early_console_setup()
[all …]
D8250_core.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Universal/legacy driver for 8250/16550-type serial ports
9 * Supports: ISA-compatible 8250/16550 ports
10 * PNP 8250/16550 ports
12 * userspace-configurable "phantom" ports
47 * share_irqs - whether we pass IRQF_SHARED to request_irq(). This option
48 * is unsafe when used on edge-triggered interrupts.
62 * SERIAL_PORT_DFNS tells us about built-in ports that have no
103 * line has been de-asserted.
116 spin_lock(&i->lock); in serial8250_interrupt()
[all …]
/kernel/linux/linux-4.19/drivers/tty/serial/8250/
DKconfig2 # The 8250/16550 serial drivers. You shouldn't be in this list unless
7 tristate "8250/16550 and compatible serial support"
10 ---help---
22 non-standard serial ports, since the configuration information will
40 ---help---
50 If you did not notice yet and/or you have userspace from pre-3.7, it
54 bool "8250/16550 PNP device support" if EXPERT
57 ---help---
62 bool "Support for Fintek F81216A LPC to 4 UART RS485 API"
64 ---help---
[all …]
D8250_of.c1 // SPDX-License-Identifier: GPL-2.0+
35 status = p->serial_in(p, UART_LSR); in tegra_serial_handle_break()
37 status = p->serial_in(p, UART_RX); in tegra_serial_handle_break()
40 if (--tmout == 0) in tegra_serial_handle_break()
59 struct device_node *np = ofdev->dev.of_node; in of_platform_serial_setup()
65 pm_runtime_enable(&ofdev->dev); in of_platform_serial_setup()
66 pm_runtime_get_sync(&ofdev->dev); in of_platform_serial_setup()
68 if (of_property_read_u32(np, "clock-frequency", &clk)) { in of_platform_serial_setup()
71 info->clk = devm_clk_get(&ofdev->dev, NULL); in of_platform_serial_setup()
72 if (IS_ERR(info->clk)) { in of_platform_serial_setup()
[all …]
D8250_men_mcb.c18 struct uart_8250_port uart; member
23 * The Z125 16550-compatible UART has no fixed base clock assigned
33 dev_info(&mdev->dev, "%s on board %s\n", in men_lookup_uartclk()
34 dev_name(&mdev->dev), in men_lookup_uartclk()
35 mdev->bus->name); in men_lookup_uartclk()
36 if (strncmp(mdev->bus->name, "F075", 4) == 0) in men_lookup_uartclk()
38 else if (strncmp(mdev->bus->name, "F216", 4) == 0) in men_lookup_uartclk()
40 else if (strncmp(mdev->bus->name, "G215", 4) == 0) in men_lookup_uartclk()
42 else if (strncmp(mdev->bus->name, "F210", 4) == 0) in men_lookup_uartclk()
45 dev_info(&mdev->dev, in men_lookup_uartclk()
[all …]
D8250_core.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Universal/legacy driver for 8250/16550-type serial ports
9 * Supports: ISA-compatible 8250/16550 ports
10 * PNP 8250/16550 ports
12 * userspace-configurable "phantom" ports
46 * share_irqs - whether we pass IRQF_SHARED to request_irq(). This option
47 * is unsafe when used on edge-triggered interrupts.
61 * SERIAL_PORT_DFNS tells us about built-in ports that have no
102 * line has been de-asserted.
115 spin_lock(&i->lock); in serial8250_interrupt()
[all …]
D8250_ingenic.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2010 Lars-Peter Clausen <lars@metafoo.de>
6 * Ingenic SoC UART support
47 return readl(port->membase + (offset << 2)); in early_in()
52 writel(value, port->membase + (offset << 2)); in early_out()
69 uart_console_write(&early_device->port, s, count, in ingenic_early_console_write()
83 prop = fdt_getprop(fdt, offset, "clock-frequency", NULL); in ingenic_early_console_setup_clock()
87 dev->port.uartclk = be32_to_cpup(prop); in ingenic_early_console_setup_clock()
93 struct uart_port *port = &dev->port; in ingenic_early_console_setup()
97 if (!dev->port.membase) in ingenic_early_console_setup()
[all …]
D8250_port.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Base port operations for 8250/16550-type serial ports
66 * Here we define the default xmit fifo size used for each type of UART.
85 .name = "16550",
90 .name = "16550A",
241 .name = "Altera 16550 FIFO32",
249 .name = "Altera 16550 FIFO64",
257 .name = "Altera 16550 FIFO128",
265 * tx_loadsz is set to 63-bytes instead of 64-bytes to implement
266 * workaround of errata A-008006 which states that tx_loadsz should
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/serial/
D8250.yaml3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: UART (Universal Asynchronous Receiver/Transmitter) bindings
10 - devicetree@vger.kernel.org
13 - $ref: /schemas/serial.yaml#
14 - if:
16 - aspeed,sirq-polarity-sense
19 compatible:
20 const: aspeed,ast2500-vuart
21 - if:
[all …]
Dsnps-dw-apb-uart.yaml1 # 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 <robh@kernel.org>
13 - $ref: /schemas/serial.yaml#
16 compatible:
18 - items:
19 - enum:
[all …]
/kernel/linux/linux-5.10/arch/mips/
DKconfig.debug1 # SPDX-License-Identifier: GPL-2.0
26 "8250/16550 and compatible serial early printk driver"
27 If you say Y here, it will be possible to use a 8250/16550 serial
34 bool "Built-in kernel command line"
45 The built-in options will be concatenated to the default command
47 command line will be ignored and replaced by the built-in string.
50 the command line from the firmware or the second-stage bootloader.
59 the default command line, you can supply some command-line options at
68 bool "Built-in command line overrides firmware arguments"
73 Instead, the built-in command line will be used exclusively.
[all …]
/kernel/linux/linux-4.19/arch/mips/
DKconfig.debug1 # SPDX-License-Identifier: GPL-2.0
26 "8250/16550 and compatible serial early printk driver"
27 If you say Y here, it will be possible to use a 8250/16550 serial
34 bool "Built-in kernel command line"
46 The built-in options will be concatenated to the default command
48 command line will be ignored and replaced by the built-in string.
51 the command line from the firmware or the second-stage bootloader.
61 the default command line, you can supply some command-line options at
70 bool "Built-in command line overrides firmware arguments"
76 Instead, the built-in command line will be used exclusively.
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/
Dxilinx.txt10 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 …]
/kernel/linux/linux-4.19/arch/mips/boot/compressed/
Ddbg.c1 // 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,
31 for (i = 7; i >= 0; i--) { in puthex()
Duart-16550.c1 // SPDX-License-Identifier: GPL-2.0
3 * 16550 compatible uart based serial debug support for zboot
60 while (((serial_in(UART_LSR) & UART_LSR_THRE) == 0) && (timeout-- > 0)) in putc()
/kernel/linux/linux-5.10/arch/mips/boot/compressed/
Ddbg.c1 // 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,
31 for (i = 7; i >= 0; i--) { in puthex()
Duart-16550.c1 // SPDX-License-Identifier: GPL-2.0
3 * 16550 compatible uart based serial debug support for zboot
60 while (((serial_in(UART_LSR) & UART_LSR_THRE) == 0) && (timeout-- > 0)) in putc()
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/
Dxilinx.txt10 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 …]
/kernel/linux/linux-4.19/Documentation/sound/cards/
Dserial-u16550.rst2 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 …]
/kernel/linux/linux-5.10/Documentation/sound/cards/
Dserial-u16550.rst2 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 …]

123