mirror of
https://github.com/torvalds/linux.git
synced 2026-11-06 21:58:01 +01:00
dt-bindings: rtc: rzn1: add R-Car X5H support
The RTC on R-Car X5H is a bit special because interrupts are not wired. Future R-Car Gen5 SoCs will have them wired again. So, create a dedicated entry for X5H without interrupts. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Link: https://patch.msgid.link/20260917185903.61253-9-wsa+renesas@sang-engineering.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
This commit is contained in:
parent
73defdbfce
commit
3b3fdc9fd4
|
|
@ -23,6 +23,8 @@ properties:
|
|||
- const: renesas,r9a09g087-rtc # RZ/N2H
|
||||
- const: renesas,r9a09g077-rtc # RZ/T2H
|
||||
|
||||
- const: renesas,r8a78000-rtc # R-Car X5H
|
||||
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
||||
|
|
@ -52,8 +54,6 @@ properties:
|
|||
required:
|
||||
- compatible
|
||||
- reg
|
||||
- interrupts
|
||||
- interrupt-names
|
||||
- clocks
|
||||
- clock-names
|
||||
- power-domains
|
||||
|
|
@ -66,6 +66,7 @@ allOf:
|
|||
compatible:
|
||||
contains:
|
||||
enum:
|
||||
- renesas,r8a78000-rtc
|
||||
- renesas,r9a09g077-rtc
|
||||
- renesas,r9a09g087-rtc
|
||||
then:
|
||||
|
|
@ -75,6 +76,20 @@ allOf:
|
|||
clock-names:
|
||||
minItems: 2
|
||||
|
||||
- if:
|
||||
properties:
|
||||
compatible:
|
||||
contains:
|
||||
const: renesas,r8a78000-rtc
|
||||
then:
|
||||
properties:
|
||||
interrupts: false
|
||||
interrupt-names: false
|
||||
else:
|
||||
required:
|
||||
- interrupts
|
||||
- interrupt-names
|
||||
|
||||
unevaluatedProperties: false
|
||||
|
||||
examples:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user