projects/linux·commit 37c85961

Merge tag 'tty-4.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty

37c85961 · Linus Torvalds <[email protected]> · 2017-02-22 12:17:25 -08:00

Pull tty/serial driver updates from Greg KH:
 "Here is the big tty/serial driver patchset for 4.11-rc1.

  Not much here, but a lot of little fixes and individual serial driver
  updates all over the subsystem. Majority are for the sh-sci driver and
  platform (the arch-specific changes have acks from the maintainer).

  The start of the "serial bus" code is here as well, but nothing is
  converted to use it yet. That work is still ongoing, hopefully will
  start to show up across different subsystems for 4.12 (bluetooth is
  one major place that will be used.)

  All of these have been in linux-next for a while with no reported
  issues"

* tag 'tty-4.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty: (109 commits)
  tty: pl011: Work around QDF2400 E44 stuck BUSY bit
  atmel_serial: Use the fractional divider when possible
  tty: Remove extra include in HVC console tty framework
  serial: exar: Enable MSI support
  serial: exar: Move register defines from uapi header to consumer site
  serial: pci: Remove unused pci_boards entries
  serial: exar: Move Commtech adapters to 8250_exar as well
  serial: exar: Fix feature control register constants
  serial: exar: Fix initialization of EXAR registers for ports > 0
  serial: exar: Fix mapping of port I/O resources
  serial: sh-sci: fix hardware RX trigger level setting
  tty/serial: atmel: ensure state is restored after suspending
  serial: 8250_dw: Avoid "too much work" from bogus rx timeout interrupt
  serdev: ttyport: check whether tty_init_dev() fails
  serial: 8250_pci: make pciserial_detach_ports() static
  ARM: dts: STiH410-b2260: Enable HW flow-control
  ARM: dts: STiH407-family: Use new Pinctrl groups
  ARM: dts: STiH407-pinctrl: Add Pinctrl group for HW flow-control
  ARM: dts: STiH410-b2260: Identify the UART RTS line
  dt-bindings: serial: Update 'uart-has-rtscts' description
  ...
Commit
37c85961c3f87f2141c84e53df31e59db072fd2e
Parents
caa59428 · d8a4995b

Merge commit. Changes below are compared with the first parent: caa59428.

Changes

116 files changed · +3057 −1640

FileStatusAddDelContent
Documentation/admin-guide/kernel-parameters.txtmodified+6−0View file
Documentation/devicetree/bindings/serial/8250.txtmodified+1−0View file
Documentation/devicetree/bindings/serial/serial.txtmodified+2−1View file
Documentation/devicetree/bindings/serial/slave-device.txtadded+36−0View file
MAINTAINERSmodified+8−0View file
arch/arm/boot/dts/stih407-family.dtsimodified+1−2View file
arch/arm/boot/dts/stih407-pinctrl.dtsimodified+10−2View file
arch/arm/boot/dts/stih410-b2260.dtsmodified+5−0View file
arch/sh/kernel/cpu/sh2/setup-sh7619.cmodified+3−6View file
arch/sh/kernel/cpu/sh2a/setup-mxg.cmodified+1−2View file
arch/sh/kernel/cpu/sh2a/setup-sh7201.cmodified+8−16View file
arch/sh/kernel/cpu/sh2a/setup-sh7203.cmodified+4−12View file
arch/sh/kernel/cpu/sh2a/setup-sh7206.cmodified+4−8View file
arch/sh/kernel/cpu/sh2a/setup-sh7264.cmodified+8−24View file
arch/sh/kernel/cpu/sh2a/setup-sh7269.cmodified+8−24View file
arch/sh/kernel/cpu/sh3/setup-sh7705.cmodified+1−5View file
arch/sh/kernel/cpu/sh3/setup-sh770x.cmodified+0−10View file
arch/sh/kernel/cpu/sh3/setup-sh7710.cmodified+2−6View file
arch/sh/kernel/cpu/sh3/setup-sh7720.cmodified+0−4View file
arch/sh/kernel/cpu/sh4/setup-sh4-202.cmodified+1−2View file
arch/sh/kernel/cpu/sh4/setup-sh7750.cmodified+2−7View file
arch/sh/kernel/cpu/sh4/setup-sh7760.cmodified+11−10View file
arch/sh/kernel/cpu/sh4a/setup-sh7343.cmodified+4−8View file
arch/sh/kernel/cpu/sh4a/setup-sh7366.cmodified+1−3View file
arch/sh/kernel/cpu/sh4a/setup-sh7722.cmodified+3−6View file
arch/sh/kernel/cpu/sh4a/setup-sh7723.cmodified+3−18View file
arch/sh/kernel/cpu/sh4a/setup-sh7724.cmodified+3−18View file
arch/sh/kernel/cpu/sh4a/setup-sh7734.cmodified+6−12View file
arch/sh/kernel/cpu/sh4a/setup-sh7757.cmodified+3−6View file
arch/sh/kernel/cpu/sh4a/setup-sh7763.cmodified+3−6View file
arch/sh/kernel/cpu/sh4a/setup-sh7770.cmodified+10−20View file
arch/sh/kernel/cpu/sh4a/setup-sh7780.cmodified+2−4View file
arch/sh/kernel/cpu/sh4a/setup-sh7785.cmodified+6−12View file
arch/sh/kernel/cpu/sh4a/setup-sh7786.cmodified+6−12View file
arch/sh/kernel/cpu/sh4a/setup-shx3.cmodified+3−6View file
arch/sh/kernel/cpu/sh5/setup-sh5.cmodified+2−2View file
drivers/acpi/spcr.cmodified+23−0View file
drivers/char/Kconfigmodified+1−0View file
drivers/dma/hsu/pci.cmodified+15−2View file
drivers/tty/Makefilemodified+1−0View file
drivers/tty/goldfish.cmodified+1−1View file
drivers/tty/hvc/hvc_console.cmodified+0−1View file
drivers/tty/serdev/Kconfigadded+16−0View file
drivers/tty/serdev/Makefileadded+5−0View file
drivers/tty/serdev/core.cadded+421−0View file
drivers/tty/serdev/serdev-ttyport.cadded+226−0View file
drivers/tty/serial/8250/8250_dw.cmodified+25−3View file
drivers/tty/serial/8250/8250_exar.cadded+487−0View file
drivers/tty/serial/8250/8250_gsc.cmodified+4−0View file
drivers/tty/serial/8250/8250_hp300.cmodified+1−1View file
drivers/tty/serial/8250/8250_lpss.cmodified+2−2View file
drivers/tty/serial/8250/8250_mid.cmodified+42−3View file
drivers/tty/serial/8250/8250_moxa.cmodified+1−0View file
drivers/tty/serial/8250/8250_of.cmodified+25−69View file
drivers/tty/serial/8250/8250_omap.cmodified+17−16View file
drivers/tty/serial/8250/8250_pci.cmodified+22−493View file
drivers/tty/serial/8250/8250_port.cmodified+28−4View file
drivers/tty/serial/8250/Kconfigmodified+8−3View file
drivers/tty/serial/8250/Makefilemodified+1−0View file
drivers/tty/serial/Kconfigmodified+1−0View file
drivers/tty/serial/amba-pl010.cmodified+1−1View file
drivers/tty/serial/amba-pl011.cmodified+61−9View file
drivers/tty/serial/ar933x_uart.cmodified+1−1View file
drivers/tty/serial/atmel_serial.cmodified+48−3View file
drivers/tty/serial/bfin_sport_uart.cmodified+1−1View file
drivers/tty/serial/cpm_uart/cpm_uart_core.cmodified+10−8View file
drivers/tty/serial/dz.cmodified+1−1View file
drivers/tty/serial/efm32-uart.cmodified+1−1View file
drivers/tty/serial/fsl_lpuart.cmodified+17−18View file
drivers/tty/serial/icom.cmodified+1−1View file
drivers/tty/serial/imx.cmodified+18−14View file
drivers/tty/serial/ioc3_serial.cmodified+1−1View file
drivers/tty/serial/ioc4_serial.cmodified+1−1View file
drivers/tty/serial/ip22zilog.cmodified+1−1View file
drivers/tty/serial/lantiq.cmodified+33−9View file
drivers/tty/serial/lpc32xx_hs.cmodified+1−1View file
drivers/tty/serial/max310x.cmodified+1−1View file
drivers/tty/serial/meson_uart.cmodified+1−1View file
drivers/tty/serial/mpsc.cmodified+1−1View file
drivers/tty/serial/msm_serial.cmodified+1−0View file
drivers/tty/serial/mxs-auart.cmodified+3−0View file
drivers/tty/serial/omap-serial.cmodified+56−1View file
drivers/tty/serial/pic32_uart.cmodified+3−3View file
drivers/tty/serial/pmac_zilog.cmodified+1−1View file
drivers/tty/serial/pnx8xxx_uart.cmodified+1−1View file
drivers/tty/serial/pxa.cmodified+1−1View file
drivers/tty/serial/samsung.cmodified+9−11View file
drivers/tty/serial/samsung.hmodified+0−4View file
drivers/tty/serial/serial-tegra.cmodified+1−1View file
drivers/tty/serial/serial_txx9.cmodified+1−1View file
drivers/tty/serial/sh-sci.cmodified+578−514View file
drivers/tty/serial/sh-sci.hmodified+9−3View file
drivers/tty/serial/sirfsoc_uart.cmodified+1−1View file
drivers/tty/serial/sn_console.cmodified+1−1View file
drivers/tty/serial/sprd_serial.cmodified+1−1View file
drivers/tty/serial/st-asc.cmodified+92−9View file
drivers/tty/serial/sunhv.cmodified+1−1View file
drivers/tty/serial/sunzilog.cmodified+1−1View file
drivers/tty/serial/vr41xx_siu.cmodified+1−1View file
drivers/tty/serial/vt8500_serial.cmodified+1−1View file
drivers/tty/serial/xilinx_uartps.cmodified+9−0View file
drivers/tty/serial/zs.cmodified+1−1View file
drivers/tty/tty_buffer.cmodified+4−15View file
drivers/tty/tty_io.cmodified+33−19View file
drivers/tty/tty_port.cmodified+55−10View file
drivers/tty/vt/vt.cmodified+9−0View file
drivers/video/console/Kconfigmodified+24−3View file
drivers/video/console/vgacon.cmodified+112−52View file
include/linux/console.hmodified+4−0View file
include/linux/serdev.hadded+262−0View file
include/linux/serial_core.hmodified+1−1View file
include/linux/serial_sci.hmodified+0−15View file
include/linux/tty.hmodified+10−2View file
include/uapi/linux/serial_core.hmodified+2−1View file
include/uapi/linux/serial_reg.hmodified+8−18View file
lib/Kconfig.debugmodified+10−0View file

Only the first 600 diff lines are shown. Download the complete patch.

Documentation/admin-guide/kernel-parameters.txt

View file
diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
index 608ba95..d05533e 100644
--- a/Documentation/admin-guide/kernel-parameters.txt
+++ b/Documentation/admin-guide/kernel-parameters.txt
@@ -957,6 +957,12 @@
serial port must already be setup and configured.
Options are not yet supported.
+ lantiq,<addr>
+ Start an early, polled-mode console on a lantiq serial
+ (lqasc) port at the specified address. The serial port
+ must already be setup and configured. Options are not
+ yet supported.
+
lpuart,<addr>
lpuart32,<addr>
Use early console provided by Freescale LP UART driver

Documentation/devicetree/bindings/serial/8250.txt

View file
diff --git a/Documentation/devicetree/bindings/serial/8250.txt b/Documentation/devicetree/bindings/serial/8250.txt
index f86bb06..10276a4 100644
--- a/Documentation/devicetree/bindings/serial/8250.txt
+++ b/Documentation/devicetree/bindings/serial/8250.txt
@@ -19,6 +19,7 @@ Required properties:
- "altr,16550-FIFO128"
- "fsl,16550-FIFO64"
- "fsl,ns16550"
+ - "ti,da830-uart"
- "serial" if the port type is unknown.
- reg : offset and length of the register set for the device.
- interrupts : should contain uart interrupt.

Documentation/devicetree/bindings/serial/serial.txt

View file
diff --git a/Documentation/devicetree/bindings/serial/serial.txt b/Documentation/devicetree/bindings/serial/serial.txt
index fd970f7..b542a0e 100644
--- a/Documentation/devicetree/bindings/serial/serial.txt
+++ b/Documentation/devicetree/bindings/serial/serial.txt
@@ -23,7 +23,8 @@ Optional properties:
they are available for use (wired and enabled by pinmux configuration).
This depends on both the UART hardware and the board wiring.
Note that this property is mutually-exclusive with "cts-gpios" and
- "rts-gpios" above.
+ "rts-gpios" above, unless support is provided to switch between modes
+ dynamically.
Examples:

Documentation/devicetree/bindings/serial/slave-device.txt

View file
diff --git a/Documentation/devicetree/bindings/serial/slave-device.txt b/Documentation/devicetree/bindings/serial/slave-device.txt
new file mode 100644
index 0000000..f660379
--- /dev/null
+++ b/Documentation/devicetree/bindings/serial/slave-device.txt
@@ -0,0 +1,36 @@
+Serial Slave Device DT binding
+
+This documents the binding structure and common properties for serial
+attached devices. Common examples include Bluetooth, WiFi, NFC and GPS
+devices.
+
+Serial attached devices shall be a child node of the host UART device the
+slave device is attached to. It is expected that the attached device is
+the only child node of the UART device. The slave device node name shall
+reflect the generic type of device for the node.
+
+Required Properties:
+
+- compatible : A string reflecting the vendor and specific device the node
+ represents.
+
+Optional Properties:
+
+- max-speed : The maximum baud rate the device operates at. This should
+ only be present if the maximum is less than the slave device
+ can support. For example, a particular board has some signal
+ quality issue or the host processor can't support higher
+ baud rates.
+
+Example:
+
+serial@1234 {
+ compatible = "ns16550a";
+ interrupts = <1>;
+
+ bluetooth {
+ compatible = "brcm,bcm43341-bt";
+ interrupt-parent = <&gpio>;
+ interrupts = <10>;
+ };
+};

MAINTAINERS

View file
diff --git a/MAINTAINERS b/MAINTAINERS
index 7021fee..545633d 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -10927,6 +10927,14 @@ S: Maintained
F: Documentation/devicetree/bindings/serial/
F: drivers/tty/serial/
+SERIAL DEVICE BUS
+M: Rob Herring <[email protected]>
+S: Maintained
+F: Documentation/devicetree/bindings/serial/slave-device.txt
+F: drivers/tty/serdev/
+F: include/linux/serdev.h
+
SERIAL IR RECEIVER
M: Sean Young <[email protected]>

arch/arm/boot/dts/stih407-family.dtsi

View file
diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi
index 4c72dae..0fe03cb 100644
--- a/arch/arm/boot/dts/stih407-family.dtsi
+++ b/arch/arm/boot/dts/stih407-family.dtsi
@@ -222,9 +222,8 @@
compatible = "st,asc";
reg = <0x9830000 0x2c>;
interrupts = <GIC_SPI 122 IRQ_TYPE_NONE>;
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_serial0>;
clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
+ /* Pinctrl moved out to a per-board configuration */
status = "disabled";
};

arch/arm/boot/dts/stih407-pinctrl.dtsi

View file
diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
index daab16b..bd1a82e 100644
--- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
@@ -465,8 +465,16 @@
serial0 {
pinctrl_serial0: serial0-0 {
st,pins {
- tx = <&pio17 0 ALT1 OUT>;
- rx = <&pio17 1 ALT1 IN>;
+ tx = <&pio17 0 ALT1 OUT>;
+ rx = <&pio17 1 ALT1 IN>;
+ };
+ };
+ pinctrl_serial0_hw_flowctrl: serial0-0_hw_flowctrl {
+ st,pins {
+ tx = <&pio17 0 ALT1 OUT>;
+ rx = <&pio17 1 ALT1 IN>;
+ cts = <&pio17 2 ALT1 IN>;
+ rts = <&pio17 3 ALT1 OUT>;
};
};
};

arch/arm/boot/dts/stih410-b2260.dts

View file
diff --git a/arch/arm/boot/dts/stih410-b2260.dts b/arch/arm/boot/dts/stih410-b2260.dts
index 06b0696..93c14d1 100644
--- a/arch/arm/boot/dts/stih410-b2260.dts
+++ b/arch/arm/boot/dts/stih410-b2260.dts
@@ -62,6 +62,11 @@
/* Low speed expansion connector */
uart0: serial@9830000 {
label = "LS-UART0";
+ pinctrl-names = "default", "no-hw-flowctrl";
+ pinctrl-0 = <&pinctrl_serial0_hw_flowctrl>;
+ pinctrl-1 = <&pinctrl_serial0>;
+ rts-gpios = <&pio17 3 GPIO_ACTIVE_LOW>;
+ uart-has-rtscts;
status = "okay";
};

arch/sh/kernel/cpu/sh2/setup-sh7619.c

View file
diff --git a/arch/sh/kernel/cpu/sh2/setup-sh7619.c b/arch/sh/kernel/cpu/sh2/setup-sh7619.c
index 58c19ad..95796ad 100644
--- a/arch/sh/kernel/cpu/sh2/setup-sh7619.c
+++ b/arch/sh/kernel/cpu/sh2/setup-sh7619.c
@@ -61,8 +61,7 @@ static DECLARE_INTC_DESC(intc_desc, "sh7619", vectors, NULL,
NULL, prio_registers, NULL);
static struct plat_sci_port scif0_platform_data = {
- .flags = UPF_BOOT_AUTOCONF,
- .scscr = SCSCR_RE | SCSCR_TE | SCSCR_REIE,
+ .scscr = SCSCR_REIE,
.type = PORT_SCIF,
};
@@ -82,8 +81,7 @@ static struct platform_device scif0_device = {
};
static struct plat_sci_port scif1_platform_data = {
- .flags = UPF_BOOT_AUTOCONF,
- .scscr = SCSCR_RE | SCSCR_TE | SCSCR_REIE,
+ .scscr = SCSCR_REIE,
.type = PORT_SCIF,
};
@@ -103,8 +101,7 @@ static struct platform_device scif1_device = {
};
static struct plat_sci_port scif2_platform_data = {
- .flags = UPF_BOOT_AUTOCONF,
- .scscr = SCSCR_RE | SCSCR_TE | SCSCR_REIE,
+ .scscr = SCSCR_REIE,
.type = PORT_SCIF,
};

arch/sh/kernel/cpu/sh2a/setup-mxg.c

View file
diff --git a/arch/sh/kernel/cpu/sh2a/setup-mxg.c b/arch/sh/kernel/cpu/sh2a/setup-mxg.c
index 26fcdbd..060fdd3 100644
--- a/arch/sh/kernel/cpu/sh2a/setup-mxg.c
+++ b/arch/sh/kernel/cpu/sh2a/setup-mxg.c
@@ -129,8 +129,7 @@ static struct platform_device mtu2_device = {
};
static struct plat_sci_port scif0_platform_data = {
- .flags = UPF_BOOT_AUTOCONF,
- .scscr = SCSCR_RE | SCSCR_TE | SCSCR_REIE,
+ .scscr = SCSCR_REIE,
.type = PORT_SCIF,
};

arch/sh/kernel/cpu/sh2a/setup-sh7201.c

View file
diff --git a/arch/sh/kernel/cpu/sh2a/setup-sh7201.c b/arch/sh/kernel/cpu/sh2a/setup-sh7201.c
index abc0ce9..c1301f6 100644
--- a/arch/sh/kernel/cpu/sh2a/setup-sh7201.c
+++ b/arch/sh/kernel/cpu/sh2a/setup-sh7201.c
@@ -178,8 +178,7 @@ static DECLARE_INTC_DESC(intc_desc, "sh7201", vectors, groups,
mask_registers, prio_registers, NULL);
static struct plat_sci_port scif0_platform_data = {
- .flags = UPF_BOOT_AUTOCONF,
- .scscr = SCSCR_RE | SCSCR_TE | SCSCR_REIE,
+ .scscr = SCSCR_REIE,
.type = PORT_SCIF,
};
@@ -199,8 +198,7 @@ static struct platform_device scif0_device = {
};
static struct plat_sci_port scif1_platform_data = {
- .flags = UPF_BOOT_AUTOCONF,
- .scscr = SCSCR_RE | SCSCR_TE | SCSCR_REIE,
+ .scscr = SCSCR_REIE,
.type = PORT_SCIF,
};
@@ -220,8 +218,7 @@ static struct platform_device scif1_device = {
};
static struct plat_sci_port scif2_platform_data = {
- .flags = UPF_BOOT_AUTOCONF,
- .scscr = SCSCR_RE | SCSCR_TE | SCSCR_REIE,
+ .scscr = SCSCR_REIE,
.type = PORT_SCIF,
};
@@ -241,8 +238,7 @@ static struct platform_device scif2_device = {
};
static struct plat_sci_port scif3_platform_data = {
- .flags = UPF_BOOT_AUTOCONF,
- .scscr = SCSCR_RE | SCSCR_TE | SCSCR_REIE,
+ .scscr = SCSCR_REIE,
.type = PORT_SCIF,
};
@@ -262,8 +258,7 @@ static struct platform_device scif3_device = {
};
static struct plat_sci_port scif4_platform_data = {
- .flags = UPF_BOOT_AUTOCONF,
- .scscr = SCSCR_RE | SCSCR_TE | SCSCR_REIE,
+ .scscr = SCSCR_REIE,
.type = PORT_SCIF,
};
@@ -283,8 +278,7 @@ static struct platform_device scif4_device = {
};
static struct plat_sci_port scif5_platform_data = {
- .flags = UPF_BOOT_AUTOCONF,
- .scscr = SCSCR_RE | SCSCR_TE | SCSCR_REIE,
+ .scscr = SCSCR_REIE,
.type = PORT_SCIF,
};
@@ -304,8 +298,7 @@ static struct platform_device scif5_device = {
};
static struct plat_sci_port scif6_platform_data = {
- .flags = UPF_BOOT_AUTOCONF,
- .scscr = SCSCR_RE | SCSCR_TE | SCSCR_REIE,
+ .scscr = SCSCR_REIE,
.type = PORT_SCIF,
};
@@ -325,8 +318,7 @@ static struct platform_device scif6_device = {
};
static struct plat_sci_port scif7_platform_data = {
- .flags = UPF_BOOT_AUTOCONF,
- .scscr = SCSCR_RE | SCSCR_TE | SCSCR_REIE,
+ .scscr = SCSCR_REIE,
.type = PORT_SCIF,
};

arch/sh/kernel/cpu/sh2a/setup-sh7203.c

View file
diff --git a/arch/sh/kernel/cpu/sh2a/setup-sh7203.c b/arch/sh/kernel/cpu/sh2a/setup-sh7203.c
index 3b4894c..32ec732 100644
--- a/arch/sh/kernel/cpu/sh2a/setup-sh7203.c
+++ b/arch/sh/kernel/cpu/sh2a/setup-sh7203.c
@@ -174,9 +174,7 @@ static DECLARE_INTC_DESC(intc_desc, "sh7203", vectors, groups,
mask_registers, prio_registers, NULL);
static struct plat_sci_port scif0_platform_data = {
- .flags = UPF_BOOT_AUTOCONF,
- .scscr = SCSCR_RIE | SCSCR_TIE | SCSCR_RE | SCSCR_TE |
- SCSCR_REIE,
+ .scscr = SCSCR_REIE,
.type = PORT_SCIF,
.regtype = SCIx_SH2_SCIF_FIFODATA_REGTYPE,
};
@@ -197,9 +195,7 @@ static struct platform_device scif0_device = {
};
static struct plat_sci_port scif1_platform_data = {
- .flags = UPF_BOOT_AUTOCONF,
- .scscr = SCSCR_RIE | SCSCR_TIE | SCSCR_RE | SCSCR_TE |
- SCSCR_REIE,
+ .scscr = SCSCR_REIE,
.type = PORT_SCIF,
.regtype = SCIx_SH2_SCIF_FIFODATA_REGTYPE,
};
@@ -220,9 +216,7 @@ static struct platform_device scif1_device = {
};
static struct plat_sci_port scif2_platform_data = {
- .flags = UPF_BOOT_AUTOCONF,
- .scscr = SCSCR_RIE | SCSCR_TIE | SCSCR_RE | SCSCR_TE |
- SCSCR_REIE,
+ .scscr = SCSCR_REIE,
.type = PORT_SCIF,
.regtype = SCIx_SH2_SCIF_FIFODATA_REGTYPE,
};
@@ -243,9 +237,7 @@ static struct platform_device scif2_device = {
};
static struct plat_sci_port scif3_platform_data = {
- .flags = UPF_BOOT_AUTOCONF,
- .scscr = SCSCR_RIE | SCSCR_TIE | SCSCR_RE | SCSCR_TE |
- SCSCR_REIE,
+ .scscr = SCSCR_REIE,
.type = PORT_SCIF,
.regtype = SCIx_SH2_SCIF_FIFODATA_REGTYPE,
};

arch/sh/kernel/cpu/sh2a/setup-sh7206.c

View file
diff --git a/arch/sh/kernel/cpu/sh2a/setup-sh7206.c b/arch/sh/kernel/cpu/sh2a/setup-sh7206.c
index 49bc5a3..8d8d354 100644
--- a/arch/sh/kernel/cpu/sh2a/setup-sh7206.c
+++ b/arch/sh/kernel/cpu/sh2a/setup-sh7206.c
@@ -134,8 +134,7 @@ static DECLARE_INTC_DESC(intc_desc, "sh7206", vectors, groups,
mask_registers, prio_registers, NULL);
static struct plat_sci_port scif0_platform_data = {
- .flags = UPF_BOOT_AUTOCONF,
- .scscr = SCSCR_RE | SCSCR_TE | SCSCR_REIE,
+ .scscr = SCSCR_REIE,
.type = PORT_SCIF,
};
@@ -155,8 +154,7 @@ static struct platform_device scif0_device = {
};
static struct plat_sci_port scif1_platform_data = {
- .flags = UPF_BOOT_AUTOCONF,
- .scscr = SCSCR_RE | SCSCR_TE | SCSCR_REIE,
+ .scscr = SCSCR_REIE,
.type = PORT_SCIF,
};
@@ -176,8 +174,7 @@ static struct platform_device scif1_device = {
};
static struct plat_sci_port scif2_platform_data = {
- .flags = UPF_BOOT_AUTOCONF,
- .scscr = SCSCR_RE | SCSCR_TE | SCSCR_REIE,
+ .scscr = SCSCR_REIE,
.type = PORT_SCIF,
};
@@ -197,8 +194,7 @@ static struct platform_device scif2_device = {
};
static struct plat_sci_port scif3_platform_data = {
- .flags = UPF_BOOT_AUTOCONF,
- .scscr = SCSCR_RE | SCSCR_TE | SCSCR_REIE,
+ .scscr = SCSCR_REIE,
.type = PORT_SCIF,
};

arch/sh/kernel/cpu/sh2a/setup-sh7264.c

View file
diff --git a/arch/sh/kernel/cpu/sh2a/setup-sh7264.c b/arch/sh/kernel/cpu/sh2a/setup-sh7264.c
index 6081464..ab71eab 100644
--- a/arch/sh/kernel/cpu/sh2a/setup-sh7264.c
+++ b/arch/sh/kernel/cpu/sh2a/setup-sh7264.c
@@ -226,9 +226,7 @@ static DECLARE_INTC_DESC(intc_desc, "sh7264", vectors, groups,
mask_registers, prio_registers, NULL);
static struct plat_sci_port scif0_platform_data = {
- .flags = UPF_BOOT_AUTOCONF,
- .scscr = SCSCR_RIE | SCSCR_TIE | SCSCR_RE | SCSCR_TE |
- SCSCR_REIE | SCSCR_TOIE,
+ .scscr = SCSCR_REIE,
.type = PORT_SCIF,
.regtype = SCIx_SH2_SCIF_FIFODATA_REGTYPE,
};
@@ -252,9 +250,7 @@ static struct platform_device scif0_device = {
};
static struct plat_sci_port scif1_platform_data = {
- .flags = UPF_BOOT_AUTOCONF,
- .scscr = SCSCR_RIE | SCSCR_TIE | SCSCR_RE | SCSCR_TE |
- SCSCR_REIE | SCSCR_TOIE,
+ .scscr = SCSCR_REIE,
.type = PORT_SCIF,
.regtype = SCIx_SH2_SCIF_FIFODATA_REGTYPE,
};
@@ -278,9 +274,7 @@ static struct platform_device scif1_device = {
};
static struct plat_sci_port scif2_platform_data = {
- .flags = UPF_BOOT_AUTOCONF,
- .scscr = SCSCR_RIE | SCSCR_TIE | SCSCR_RE | SCSCR_TE |
- SCSCR_REIE | SCSCR_TOIE,
+ .scscr = SCSCR_REIE,
.type = PORT_SCIF,
.regtype = SCIx_SH2_SCIF_FIFODATA_REGTYPE,
};
@@ -304,9 +298,7 @@ static struct platform_device scif2_device = {
};
static struct plat_sci_port scif3_platform_data = {
- .flags = UPF_BOOT_AUTOCONF,
- .scscr = SCSCR_RIE | SCSCR_TIE | SCSCR_RE | SCSCR_TE |
- SCSCR_REIE | SCSCR_TOIE,
+ .scscr = SCSCR_REIE,
.type = PORT_SCIF,
.regtype = SCIx_SH2_SCIF_FIFODATA_REGTYPE,
};
@@ -330,9 +322,7 @@ static struct platform_device scif3_device = {
};
static struct plat_sci_port scif4_platform_data = {
- .flags = UPF_BOOT_AUTOCONF,
- .scscr = SCSCR_RIE | SCSCR_TIE | SCSCR_RE | SCSCR_TE |
- SCSCR_REIE | SCSCR_TOIE,
+ .scscr = SCSCR_REIE,
.type = PORT_SCIF,
.regtype = SCIx_SH2_SCIF_FIFODATA_REGTYPE,
};
@@ -356,9 +346,7 @@ static struct platform_device scif4_device = {
};
static struct plat_sci_port scif5_platform_data = {
- .flags = UPF_BOOT_AUTOCONF,
- .scscr = SCSCR_RIE | SCSCR_TIE | SCSCR_RE | SCSCR_TE |
- SCSCR_REIE | SCSCR_TOIE,
+ .scscr = SCSCR_REIE,
.type = PORT_SCIF,
.regtype = SCIx_SH2_SCIF_FIFODATA_REGTYPE,
};
@@ -382,9 +370,7 @@ static struct platform_device scif5_device = {
};
static struct plat_sci_port scif6_platform_data = {
- .flags = UPF_BOOT_AUTOCONF,
- .scscr = SCSCR_RIE | SCSCR_TIE | SCSCR_RE | SCSCR_TE |
- SCSCR_REIE | SCSCR_TOIE,
+ .scscr = SCSCR_REIE,
.type = PORT_SCIF,
.regtype = SCIx_SH2_SCIF_FIFODATA_REGTYPE,
};
@@ -408,9 +394,7 @@ static struct platform_device scif6_device = {
};
static struct plat_sci_port scif7_platform_data = {
- .flags = UPF_BOOT_AUTOCONF,
- .scscr = SCSCR_RIE | SCSCR_TIE | SCSCR_RE | SCSCR_TE |
- SCSCR_REIE | SCSCR_TOIE,
+ .scscr = SCSCR_REIE,
.type = PORT_SCIF,
.regtype = SCIx_SH2_SCIF_FIFODATA_REGTYPE,
};

arch/sh/kernel/cpu/sh2a/setup-sh7269.c

View file
diff --git a/arch/sh/kernel/cpu/sh2a/setup-sh7269.c b/arch/sh/kernel/cpu/sh2a/setup-sh7269.c
index 16ce5aa..c7e81b2 100644
--- a/arch/sh/kernel/cpu/sh2a/setup-sh7269.c
+++ b/arch/sh/kernel/cpu/sh2a/setup-sh7269.c
@@ -248,9 +248,7 @@ static DECLARE_INTC_DESC(intc_desc, "sh7269", vectors, groups,
mask_registers, prio_registers, NULL);
static struct plat_sci_port scif0_platform_data = {
- .flags = UPF_BOOT_AUTOCONF,
- .scscr = SCSCR_RIE | SCSCR_TIE | SCSCR_RE | SCSCR_TE |
- SCSCR_REIE | SCSCR_TOIE,
+ .scscr = SCSCR_REIE,
.type = PORT_SCIF,
.regtype = SCIx_SH2_SCIF_FIFODATA_REGTYPE,
};
@@ -274,9 +272,7 @@ static struct platform_device scif0_device = {
};
static struct plat_sci_port scif1_platform_data = {
- .flags = UPF_BOOT_AUTOCONF,
- .scscr = SCSCR_RIE | SCSCR_TIE | SCSCR_RE | SCSCR_TE |
- SCSCR_REIE | SCSCR_TOIE,
+ .scscr = SCSCR_REIE,
.type = PORT_SCIF,
.regtype = SCIx_SH2_SCIF_FIFODATA_REGTYPE,
};
@@ -300,9 +296,7 @@ static struct platform_device scif1_device = {
};
static struct plat_sci_port scif2_platform_data = {
- .flags = UPF_BOOT_AUTOCONF,
- .scscr = SCSCR_RIE | SCSCR_TIE | SCSCR_RE | SCSCR_TE |
- SCSCR_REIE | SCSCR_TOIE,
+ .scscr = SCSCR_REIE,
.type = PORT_SCIF,
.regtype = SCIx_SH2_SCIF_FIFODATA_REGTYPE,
};
@@ -326,9 +320,7 @@ static struct platform_device scif2_device = {
};
static struct plat_sci_port scif3_platform_data = {
- .flags = UPF_BOOT_AUTOCONF,
- .scscr = SCSCR_RIE | SCSCR_TIE | SCSCR_RE | SCSCR_TE |
- SCSCR_REIE | SCSCR_TOIE,
+ .scscr = SCSCR_REIE,
.type = PORT_SCIF,
.regtype = SCIx_SH2_SCIF_FIFODATA_REGTYPE,
};
@@ -352,9 +344,7 @@ static struct platform_device scif3_device = {
};
static struct plat_sci_port scif4_platform_data = {
- .flags = UPF_BOOT_AUTOCONF,
- .scscr = SCSCR_RIE | SCSCR_TIE | SCSCR_RE | SCSCR_TE |
- SCSCR_REIE | SCSCR_TOIE,
+ .scscr = SCSCR_REIE,
.type = PORT_SCIF,
.regtype = SCIx_SH2_SCIF_FIFODATA_REGTYPE,
};
@@ -378,9 +368,7 @@ static struct platform_device scif4_device = {
};
static struct plat_sci_port scif5_platform_data = {
- .flags = UPF_BOOT_AUTOCONF,
- .scscr = SCSCR_RIE | SCSCR_TIE | SCSCR_RE | SCSCR_TE |
- SCSCR_REIE | SCSCR_TOIE,
+ .scscr = SCSCR_REIE,
.type = PORT_SCIF,
.regtype = SCIx_SH2_SCIF_FIFODATA_REGTYPE,
};
@@ -404,9 +392,7 @@ static struct platform_device scif5_device = {
};
static struct plat_sci_port scif6_platform_data = {
- .flags = UPF_BOOT_AUTOCONF,
- .scscr = SCSCR_RIE | SCSCR_TIE | SCSCR_RE | SCSCR_TE |
- SCSCR_REIE | SCSCR_TOIE,
+ .scscr = SCSCR_REIE,
.type = PORT_SCIF,
.regtype = SCIx_SH2_SCIF_FIFODATA_REGTYPE,
};
@@ -430,9 +416,7 @@ static struct platform_device scif6_device = {
};
static struct plat_sci_port scif7_platform_data = {
- .flags = UPF_BOOT_AUTOCONF,
- .scscr = SCSCR_RIE | SCSCR_TIE | SCSCR_RE | SCSCR_TE |
- SCSCR_REIE | SCSCR_TOIE,
+ .scscr = SCSCR_REIE,
.type = PORT_SCIF,
.regtype = SCIx_SH2_SCIF_FIFODATA_REGTYPE,
};

arch/sh/kernel/cpu/sh3/setup-sh7705.c

View file
diff --git a/arch/sh/kernel/cpu/sh3/setup-sh7705.c b/arch/sh/kernel/cpu/sh3/setup-sh7705.c
index 6a72fd1..f6e392e 100644
--- a/arch/sh/kernel/cpu/sh3/setup-sh7705.c
+++ b/arch/sh/kernel/cpu/sh3/setup-sh7705.c
@@ -70,9 +70,7 @@ static DECLARE_INTC_DESC(intc_desc, "sh7705", vectors, NULL,
NULL, prio_registers, NULL);
static struct plat_sci_port scif0_platform_data = {
- .flags = UPF_BOOT_AUTOCONF,
- .scscr = SCSCR_TIE | SCSCR_RIE | SCSCR_TE |
- SCSCR_RE | SCSCR_CKE1 | SCSCR_CKE0,
+ .scscr = SCSCR_CKE1,
.type = PORT_SCIF,
.ops = &sh770x_sci_port_ops,
.regtype = SCIx_SH7705_SCIF_REGTYPE,
@@ -94,8 +92,6 @@ static struct platform_device scif0_device = {
};
static struct plat_sci_port scif1_platform_data = {
- .flags = UPF_BOOT_AUTOCONF,
- .scscr = SCSCR_TIE | SCSCR_RIE | SCSCR_TE | SCSCR_RE,
.type = PORT_SCIF,
.ops = &sh770x_sci_port_ops,
.regtype = SCIx_SH7705_SCIF_REGTYPE,

arch/sh/kernel/cpu/sh3/setup-sh770x.c

View file
diff --git a/arch/sh/kernel/cpu/sh3/setup-sh770x.c b/arch/sh/kernel/cpu/sh3/setup-sh770x.c
index 538c10d..59a8861 100644
--- a/arch/sh/kernel/cpu/sh3/setup-sh770x.c
+++ b/arch/sh/kernel/cpu/sh3/setup-sh770x.c
@@ -109,12 +109,8 @@ static struct platform_device rtc_device = {
};
static struct plat_sci_port scif0_platform_data = {
- .port_reg = 0xa4000136,
- .flags = UPF_BOOT_AUTOCONF,

This diff is incomplete. Download the complete patch.

arch/sh/kernel/cpu/sh3/setup-sh7710.c

View file

This diff is incomplete. Download the complete patch.

arch/sh/kernel/cpu/sh3/setup-sh7720.c

View file

This diff is incomplete. Download the complete patch.

arch/sh/kernel/cpu/sh4/setup-sh4-202.c

View file

This diff is incomplete. Download the complete patch.

arch/sh/kernel/cpu/sh4/setup-sh7750.c

View file

This diff is incomplete. Download the complete patch.

arch/sh/kernel/cpu/sh4/setup-sh7760.c

View file

This diff is incomplete. Download the complete patch.

arch/sh/kernel/cpu/sh4a/setup-sh7343.c

View file

This diff is incomplete. Download the complete patch.

arch/sh/kernel/cpu/sh4a/setup-sh7366.c

View file

This diff is incomplete. Download the complete patch.

arch/sh/kernel/cpu/sh4a/setup-sh7722.c

View file

This diff is incomplete. Download the complete patch.

arch/sh/kernel/cpu/sh4a/setup-sh7723.c

View file

This diff is incomplete. Download the complete patch.

arch/sh/kernel/cpu/sh4a/setup-sh7724.c

View file

This diff is incomplete. Download the complete patch.

arch/sh/kernel/cpu/sh4a/setup-sh7734.c

View file

This diff is incomplete. Download the complete patch.

arch/sh/kernel/cpu/sh4a/setup-sh7757.c

View file

This diff is incomplete. Download the complete patch.

arch/sh/kernel/cpu/sh4a/setup-sh7763.c

View file

This diff is incomplete. Download the complete patch.

arch/sh/kernel/cpu/sh4a/setup-sh7770.c

View file

This diff is incomplete. Download the complete patch.

arch/sh/kernel/cpu/sh4a/setup-sh7780.c

View file

This diff is incomplete. Download the complete patch.

arch/sh/kernel/cpu/sh4a/setup-sh7785.c

View file

This diff is incomplete. Download the complete patch.

arch/sh/kernel/cpu/sh4a/setup-sh7786.c

View file

This diff is incomplete. Download the complete patch.

arch/sh/kernel/cpu/sh4a/setup-shx3.c

View file

This diff is incomplete. Download the complete patch.

arch/sh/kernel/cpu/sh5/setup-sh5.c

View file

This diff is incomplete. Download the complete patch.

drivers/acpi/spcr.c

View file

This diff is incomplete. Download the complete patch.

drivers/char/Kconfig

View file

This diff is incomplete. Download the complete patch.

drivers/dma/hsu/pci.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/Makefile

View file

This diff is incomplete. Download the complete patch.

drivers/tty/goldfish.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/hvc/hvc_console.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serdev/Kconfig

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serdev/Makefile

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serdev/core.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serdev/serdev-ttyport.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/8250/8250_dw.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/8250/8250_exar.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/8250/8250_gsc.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/8250/8250_hp300.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/8250/8250_lpss.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/8250/8250_mid.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/8250/8250_moxa.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/8250/8250_of.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/8250/8250_omap.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/8250/8250_pci.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/8250/8250_port.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/8250/Kconfig

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/8250/Makefile

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/Kconfig

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/amba-pl010.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/amba-pl011.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/ar933x_uart.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/atmel_serial.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/bfin_sport_uart.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/cpm_uart/cpm_uart_core.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/dz.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/efm32-uart.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/fsl_lpuart.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/icom.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/imx.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/ioc3_serial.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/ioc4_serial.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/ip22zilog.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/lantiq.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/lpc32xx_hs.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/max310x.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/meson_uart.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/mpsc.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/msm_serial.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/mxs-auart.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/omap-serial.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/pic32_uart.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/pmac_zilog.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/pnx8xxx_uart.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/pxa.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/samsung.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/samsung.h

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/serial-tegra.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/serial_txx9.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/sh-sci.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/sh-sci.h

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/sirfsoc_uart.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/sn_console.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/sprd_serial.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/st-asc.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/sunhv.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/sunzilog.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/vr41xx_siu.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/vt8500_serial.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/xilinx_uartps.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/serial/zs.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/tty_buffer.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/tty_io.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/tty_port.c

View file

This diff is incomplete. Download the complete patch.

drivers/tty/vt/vt.c

View file

This diff is incomplete. Download the complete patch.

drivers/video/console/Kconfig

View file

This diff is incomplete. Download the complete patch.

drivers/video/console/vgacon.c

View file

This diff is incomplete. Download the complete patch.

include/linux/console.h

View file

This diff is incomplete. Download the complete patch.

include/linux/serdev.h

View file

This diff is incomplete. Download the complete patch.

include/linux/serial_core.h

View file

This diff is incomplete. Download the complete patch.

include/linux/serial_sci.h

View file

This diff is incomplete. Download the complete patch.

include/linux/tty.h

View file

This diff is incomplete. Download the complete patch.

include/uapi/linux/serial_core.h

View file

This diff is incomplete. Download the complete patch.

include/uapi/linux/serial_reg.h

View file

This diff is incomplete. Download the complete patch.

lib/Kconfig.debug

View file

This diff is incomplete. Download the complete patch.