Skip to content

Commit 3a7f73e

Browse files
krzkgregkh
authored andcommitted
dt-bindings: serial: cdsn,uart: add power-domains
Few Xilinx DTS have power domains in serial node: zynqmp-zc1232-revA.dtb: serial@ff000000: Unevaluated properties are not allowed ('power-domains' was unexpected) Signed-off-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Michal Simek <[email protected]> Acked-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent bd99d12 commit 3a7f73e

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

Documentation/devicetree/bindings/serial/cdns,uart.yaml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ title: Cadence UART Controller
99
maintainers:
1010
- Michal Simek <[email protected]>
1111

12-
allOf:
13-
- $ref: serial.yaml#
14-
1512
properties:
1613
compatible:
1714
oneOf:
@@ -46,13 +43,27 @@ properties:
4643
port does not use this pin.
4744
type: boolean
4845

46+
power-domains:
47+
maxItems: 1
48+
4949
required:
5050
- compatible
5151
- reg
5252
- interrupts
5353
- clocks
5454
- clock-names
5555

56+
allOf:
57+
- $ref: serial.yaml#
58+
- if:
59+
properties:
60+
compatible:
61+
contains:
62+
const: cdns,uart-r1p8
63+
then:
64+
properties:
65+
power-domains: false
66+
5667
unevaluatedProperties: false
5768

5869
examples:

0 commit comments

Comments
 (0)