forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'tty-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/gregkh/tty Pull tty and serial updates from Greg KH: "Here is the big set of tty/serial driver changes for 6.7-rc1. Included in here are: - console/vgacon cleanups and removals from Arnd - tty core and n_tty cleanups from Jiri - lots of 8250 driver updates and cleanups - sc16is7xx serial driver updates - dt binding updates - first set of port lock wrapers from Thomas for the printk fixes coming in future releases - other small serial and tty core cleanups and updates All of these have been in linux-next for a while with no reported issues" * tag 'tty-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty: (193 commits) serdev: Replace custom code with device_match_acpi_handle() serdev: Simplify devm_serdev_device_open() function serdev: Make use of device_set_node() tty: n_gsm: add copyright Siemens Mobility GmbH tty: n_gsm: fix race condition in status line change on dead connections serial: core: Fix runtime PM handling for pending tx vgacon: fix mips/sibyte build regression dt-bindings: serial: drop unsupported samsung bindings tty: serial: samsung: drop earlycon support for unsupported platforms tty: 8250: Add note for PX-835 tty: 8250: Fix IS-200 PCI ID comment tty: 8250: Add Brainboxes Oxford Semiconductor-based quirks tty: 8250: Add support for Intashield IX cards tty: 8250: Add support for additional Brainboxes PX cards tty: 8250: Fix up PX-803/PX-857 tty: 8250: Fix port count of PX-257 tty: 8250: Add support for Intashield IS-100 tty: 8250: Add support for Brainboxes UP cards tty: 8250: Add support for additional Brainboxes UC cards tty: 8250: Remove UC-257 and UC-431 ...
- Loading branch information
Showing
172 changed files
with
4,055 additions
and
2,326 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -87,19 +87,22 @@ What: /sys/class/tty/ttyS<x>/close_delay | |
Date: October 2012 | ||
Contact: Alan Cox <[email protected]> | ||
Description: | ||
Show the closing delay time for this port in ms. | ||
Show the closing delay time for this port in centiseconds. | ||
|
||
These sysfs values expose the TIOCGSERIAL interface via | ||
sysfs rather than via ioctls. | ||
These sysfs values expose the TIOCGSERIAL interface via | ||
sysfs rather than via ioctls. | ||
|
||
What: /sys/class/tty/ttyS<x>/closing_wait | ||
Date: October 2012 | ||
Contact: Alan Cox <[email protected]> | ||
Description: | ||
Show the close wait time for this port in ms. | ||
Show the close wait time for this port in centiseconds. | ||
|
||
These sysfs values expose the TIOCGSERIAL interface via | ||
sysfs rather than via ioctls. | ||
Waiting forever is represented as 0. If waiting on close is | ||
disabled then the value is 65535. | ||
|
||
These sysfs values expose the TIOCGSERIAL interface via | ||
sysfs rather than via ioctls. | ||
|
||
What: /sys/class/tty/ttyS<x>/custom_divisor | ||
Date: October 2012 | ||
|
42 changes: 42 additions & 0 deletions
42
Documentation/devicetree/bindings/serial/esp,esp32-acm.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause | ||
|
||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/serial/esp,esp32-acm.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: ESP32S3 ACM gadget controller | ||
|
||
maintainers: | ||
- Max Filippov <[email protected]> | ||
|
||
description: | ||
Fixed function USB CDC-ACM gadget controller of the Espressif ESP32S3 SoC. | ||
|
||
allOf: | ||
- $ref: serial.yaml# | ||
|
||
properties: | ||
compatible: | ||
const: esp,esp32s3-acm | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
interrupts: | ||
maxItems: 1 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- interrupts | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
serial@60038000 { | ||
compatible = "esp,esp32s3-acm"; | ||
reg = <0x60038000 0x1000>; | ||
interrupts = <96 3 0>; | ||
}; |
51 changes: 51 additions & 0 deletions
51
Documentation/devicetree/bindings/serial/esp,esp32-uart.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause | ||
|
||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/serial/esp,esp32-uart.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: ESP32xx UART controllers | ||
|
||
maintainers: | ||
- Max Filippov <[email protected]> | ||
|
||
description: | ||
ESP32 UART controller is a part of the ESP32 SoC. | ||
ESP32S3 UART controller is a part of the ESP32S3 SoC. | ||
Both SoCs are produced by Espressif Systems Co. Ltd. | ||
|
||
allOf: | ||
- $ref: serial.yaml# | ||
|
||
properties: | ||
compatible: | ||
enum: | ||
- esp,esp32-uart | ||
- esp,esp32s3-uart | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
interrupts: | ||
maxItems: 1 | ||
|
||
clocks: | ||
maxItems: 1 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- interrupts | ||
- clocks | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
serial@60000000 { | ||
compatible = "esp,esp32s3-uart"; | ||
reg = <0x60000000 0x80>; | ||
interrupts = <27 1 0>; | ||
clocks = <&serial_clk>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 0 additions & 48 deletions
48
Documentation/devicetree/bindings/serial/maxim,max310x.txt
This file was deleted.
Oops, something went wrong.
74 changes: 74 additions & 0 deletions
74
Documentation/devicetree/bindings/serial/maxim,max310x.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/serial/maxim,max310x.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Maxim MAX310X Advanced Universal Asynchronous Receiver-Transmitter (UART) | ||
|
||
maintainers: | ||
- Hugo Villeneuve <[email protected]> | ||
|
||
properties: | ||
compatible: | ||
enum: | ||
- maxim,max3107 | ||
- maxim,max3108 | ||
- maxim,max3109 | ||
- maxim,max14830 | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
interrupts: | ||
maxItems: 1 | ||
|
||
clocks: | ||
maxItems: 1 | ||
|
||
clock-names: | ||
enum: | ||
- xtal # External crystal | ||
- osc # External clock source | ||
|
||
gpio-controller: true | ||
|
||
"#gpio-cells": | ||
const: 2 | ||
|
||
gpio-line-names: | ||
minItems: 1 | ||
maxItems: 16 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- interrupts | ||
- clocks | ||
- clock-names | ||
|
||
allOf: | ||
- $ref: /schemas/spi/spi-peripheral-props.yaml# | ||
- $ref: /schemas/serial/serial.yaml# | ||
- $ref: /schemas/serial/rs485.yaml# | ||
|
||
unevaluatedProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/interrupt-controller/irq.h> | ||
i2c { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
serial@2c { | ||
compatible = "maxim,max3107"; | ||
reg = <0x2c>; | ||
clocks = <&xtal4m>; | ||
clock-names = "xtal"; | ||
interrupt-parent = <&gpio3>; | ||
interrupts = <7 IRQ_TYPE_LEVEL_LOW>; | ||
gpio-controller; | ||
#gpio-cells = <2>; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.