Skip to content

Commit 7282b8a

Browse files
robherringgregkh
authored andcommitted
dt-bindings: serial: Convert arm,sbsa-uart to DT schema
Convert the Arm SBSA UART binding to DT schema. It is a straight-forward conversion. Signed-off-by: "Rob Herring (Arm)" <[email protected]> Reviewed-by: Thierry Reding <[email protected]> Reviewed-by: Andre Przywara <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 6259530 commit 7282b8a

File tree

2 files changed

+38
-10
lines changed

2 files changed

+38
-10
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
---
3+
$id: http://devicetree.org/schemas/serial/arm,sbsa-uart.yaml#
4+
$schema: http://devicetree.org/meta-schemas/core.yaml#
5+
6+
title: ARM SBSA UART
7+
8+
maintainers:
9+
- Andre Przywara <[email protected]>
10+
11+
description:
12+
This UART uses a subset of the PL011 registers and consequently lives in the
13+
PL011 driver. It's baudrate and other communication parameters cannot be
14+
adjusted at runtime, so it lacks a clock specifier here.
15+
16+
allOf:
17+
- $ref: /schemas/serial/serial.yaml#
18+
19+
properties:
20+
compatible:
21+
const: arm,sbsa-uart
22+
23+
reg:
24+
maxItems: 1
25+
26+
interrupts:
27+
maxItems: 1
28+
29+
current-speed:
30+
description: fixed baud rate set by the firmware
31+
32+
required:
33+
- compatible
34+
- reg
35+
- interrupts
36+
- current-speed
37+
38+
unevaluatedProperties: false

Documentation/devicetree/bindings/serial/arm_sbsa_uart.txt

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)