drivers: serial: binding: add devicetree init support
Extend the binding to allow compiletime configuration of of the stopbits and databits. Signed-off-by: Jeroen van Dooren <jeroen.van.dooren@nobleo.nl>
This commit is contained in:
parent
6c5d806bcb
commit
0234f1295a
@ -23,3 +23,22 @@ properties:
|
||||
- "none"
|
||||
- "odd"
|
||||
- "even"
|
||||
stop-bits:
|
||||
type: string
|
||||
description: |
|
||||
Sets the number of stop bits.
|
||||
enum:
|
||||
- "0_5"
|
||||
- "1"
|
||||
- "1_5"
|
||||
- "2"
|
||||
data-bits:
|
||||
type: int
|
||||
description: |
|
||||
Sets the number of data bits.
|
||||
enum:
|
||||
- 5
|
||||
- 6
|
||||
- 7
|
||||
- 8
|
||||
- 9
|
||||
|
||||
Loading…
Reference in New Issue
Block a user