aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXianwei Zhao <xianwei.zhao@amlogic.com>2025-07-17 17:38:37 +0800
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2025-07-23 23:43:44 +0200
commitdb22fd8880a2cb58d8684ba4345b4a8c152b8a4f (patch)
tree0d0a090f19c221c60bc0d711ec71c4babc2d0441
parent523923cfd5d622b8f4ba893fdaf29fa6adeb8c3e (diff)
downloadtip-db22fd8880a2cb58d8684ba4345b4a8c152b8a4f.tar.gz
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>
-rw-r--r--Documentation/devicetree/bindings/rtc/amlogic,a4-rtc.yaml11
1 files changed, 8 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/rtc/amlogic,a4-rtc.yaml b/Documentation/devicetree/bindings/rtc/amlogic,a4-rtc.yaml
index 5d3ac737abcbaf..e61f22eca85b11 100644
--- a/Documentation/devicetree/bindings/rtc/amlogic,a4-rtc.yaml
+++ b/Documentation/devicetree/bindings/rtc/amlogic,a4-rtc.yaml
@@ -16,9 +16,14 @@ allOf:
properties:
compatible:
- enum:
- - amlogic,a4-rtc
- - amlogic,a5-rtc
+ oneOf:
+ - enum:
+ - amlogic,a4-rtc
+ - amlogic,a5-rtc
+ - items:
+ - enum:
+ - amlogic,c3-rtc
+ - const: amlogic,a5-rtc
reg:
maxItems: 1