Skip to content

Commit 2aafb38

Browse files
committed
Revert "serial: sh-sci: Add device tree support for r8a7779"
This reverts commit fcbee4d. It wasn't quite ready to go in yet, sorry about that. Cc: Simon Horman <[email protected]> Cc: Laurent Pinchart <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 8ef0ed9 commit 2aafb38

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

Documentation/devicetree/bindings/serial/renesas,sci-serial.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ Required properties:
1212
- "renesas,scifa-r8a7791" for R8A7791 (R-Car M2) SCIFA compatible UART.
1313
- "renesas,scifb-r8a7791" for R8A7791 (R-Car M2) SCIFB compatible UART.
1414
- "renesas,hscif-r8a7791" for R8A7791 (R-Car M2) HSCIF compatible UART.
15-
- "renesas,scif-r8a7779" for R8A7779 (R-Car H1) SCIF compatible UART.
1615
- "renesas,scif" for generic SCIF compatible UART.
1716
- "renesas,scifa" for generic SCIFA compatible UART.
1817
- "renesas,scifb" for generic SCIFB compatible UART.

drivers/tty/serial/sh-sci.c

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2419,7 +2419,6 @@ static int sci_remove(struct platform_device *dev)
24192419
struct sci_port_info {
24202420
unsigned int type;
24212421
unsigned int regtype;
2422-
unsigned int scscr_extra;
24232422
};
24242423

24252424
static const struct of_device_id of_sci_match[] = {
@@ -2429,13 +2428,6 @@ static const struct of_device_id of_sci_match[] = {
24292428
.type = PORT_SCIF,
24302429
.regtype = SCIx_SH4_SCIF_REGTYPE,
24312430
},
2432-
}, {
2433-
.compatible = "renesas,scif-r8a7779",
2434-
.data = (void *)&(const struct sci_port_info) {
2435-
.type = PORT_SCIF,
2436-
.regtype = SCIx_SH4_SCIF_REGTYPE,
2437-
.scscr_extra = SCSCR_CKE1,
2438-
},
24392431
}, {
24402432
.compatible = "renesas,scifa",
24412433
.data = &(const struct sci_port_info) {
@@ -2496,7 +2488,7 @@ sci_parse_dt(struct platform_device *pdev, unsigned int *dev_id)
24962488
p->flags = UPF_IOREMAP | UPF_BOOT_AUTOCONF;
24972489
p->type = info->type;
24982490
p->regtype = info->regtype;
2499-
p->scscr = SCSCR_RE | SCSCR_TE | info->scscr_extra;
2491+
p->scscr = SCSCR_RE | SCSCR_TE;
25002492

25012493
return p;
25022494
}

0 commit comments

Comments
 (0)