Skip to content

Commit db22fd8

Browse files
Xianwei Zhaoalexandrebelloni
authored andcommitted
dt-bindings: rtc: amlogic,a4-rtc: Add compatible string for C3
Amlogic C3 SoCs uses the same rtc controller as A5 SoCs. There is no need for an extra compatible line in the driver, but add C3 compatible line for documentation. Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com> Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Link: https://lore.kernel.org/r/20250717-rtc-c3-node-v1-1-4f9ae059b8e6@amlogic.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
1 parent 523923c commit db22fd8

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

Documentation/devicetree/bindings/rtc/amlogic,a4-rtc.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,14 @@ allOf:
1616

1717
properties:
1818
compatible:
19-
enum:
20-
- amlogic,a4-rtc
21-
- amlogic,a5-rtc
19+
oneOf:
20+
- enum:
21+
- amlogic,a4-rtc
22+
- amlogic,a5-rtc
23+
- items:
24+
- enum:
25+
- amlogic,c3-rtc
26+
- const: amlogic,a5-rtc
2227

2328
reg:
2429
maxItems: 1

0 commit comments

Comments
 (0)