Commit 3a7f73e3 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Greg Kroah-Hartman

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: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarMichal Simek <michal.simek@amd.com>
Acked-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230124091916.45054-3-krzysztof.kozlowski@linaro.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent bd99d125
...@@ -9,9 +9,6 @@ title: Cadence UART Controller ...@@ -9,9 +9,6 @@ title: Cadence UART Controller
maintainers: maintainers:
- Michal Simek <michal.simek@xilinx.com> - Michal Simek <michal.simek@xilinx.com>
allOf:
- $ref: serial.yaml#
properties: properties:
compatible: compatible:
oneOf: oneOf:
...@@ -46,6 +43,9 @@ properties: ...@@ -46,6 +43,9 @@ properties:
port does not use this pin. port does not use this pin.
type: boolean type: boolean
power-domains:
maxItems: 1
required: required:
- compatible - compatible
- reg - reg
...@@ -53,6 +53,17 @@ required: ...@@ -53,6 +53,17 @@ required:
- clocks - clocks
- clock-names - clock-names
allOf:
- $ref: serial.yaml#
- if:
properties:
compatible:
contains:
const: cdns,uart-r1p8
then:
properties:
power-domains: false
unevaluatedProperties: false unevaluatedProperties: false
examples: examples:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment