aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/serial/renesas,em-uart.yaml
diff options
context:
space:
mode:
authorPhil Edworthy <phil.edworthy@renesas.com>2022-05-12 08:26:49 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-05-19 18:31:44 +0200
commit4ed26f87c71f97d6551caeb2e9e533f8980e764e (patch)
tree99361b3a7a5675aa8adb4bb9018198dd4bceffab /Documentation/devicetree/bindings/serial/renesas,em-uart.yaml
parentserial: 8250_fintek: Check SER_RS485_RTS_* only with RS485 (diff)
downloadlinux-dev-4ed26f87c71f97d6551caeb2e9e533f8980e764e.tar.xz
linux-dev-4ed26f87c71f97d6551caeb2e9e533f8980e764e.zip
dt-bindings: serial: renesas,em-uart: Add RZ/V2M clock to access the registers
The RZ/V2M SoC has an additional clock to access the registers. The HW manual says this clock should not be touched as it is used by the "ISP Firmware". Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com> Link: https://lore.kernel.org/r/20220512072649.7879-1-phil.edworthy@renesas.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '')
-rw-r--r--Documentation/devicetree/bindings/serial/renesas,em-uart.yaml28
1 files changed, 23 insertions, 5 deletions
diff --git a/Documentation/devicetree/bindings/serial/renesas,em-uart.yaml b/Documentation/devicetree/bindings/serial/renesas,em-uart.yaml
index 332c385618e1..b25aca733b72 100644
--- a/Documentation/devicetree/bindings/serial/renesas,em-uart.yaml
+++ b/Documentation/devicetree/bindings/serial/renesas,em-uart.yaml
@@ -9,9 +9,6 @@ title: Renesas EMMA Mobile UART Interface
maintainers:
- Magnus Damm <magnus.damm@gmail.com>
-allOf:
- - $ref: serial.yaml#
-
properties:
compatible:
oneOf:
@@ -30,10 +27,31 @@ properties:
maxItems: 1
clocks:
- maxItems: 1
+ minItems: 1
+ items:
+ - description: UART functional clock
+ - description: Internal clock to access the registers
clock-names:
- const: sclk
+ minItems: 1
+ items:
+ - const: sclk
+ - const: pclk
+
+allOf:
+ - $ref: serial.yaml#
+
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: renesas,r9a09g011-uart
+ then:
+ properties:
+ clocks:
+ minItems: 2
+ clock-names:
+ minItems: 2
required:
- compatible