zephyr/dts/bindings/serial/uart-controller.yaml
Cong Nguyen Huu 92b57ac654 dts: bindings: serial: uart-controller: expand parity type support
Enhanced uart-controller.yaml to expand parity type support,
now including 'mark' and 'space' options.

Signed-off-by: Cong Nguyen Huu <cong.nguyenhuu@nxp.com>
2025-04-23 11:48:24 +02:00

49 lines
995 B
YAML

# Common fields for UART controllers
include: base.yaml
bus: uart
properties:
clock-frequency:
type: int
description: Clock frequency information for UART operation
current-speed:
type: int
description: Initial baud rate setting for UART
hw-flow-control:
type: boolean
description: Set to enable RTS/CTS flow control at boot time
parity:
type: string
description: |
Configures the parity of the adapter. Enumeration id 0 for none, 1 for odd
and 2 for even parity, 3 for mark parity and 4 for space parity.
Default to none if not specified.
enum:
- "none"
- "odd"
- "even"
- "mark"
- "space"
default: "none"
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