Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Xianwei Zhao and committed by
Alexandre Belloni
db22fd88 523923cf

+8 -3
+8 -3
Documentation/devicetree/bindings/rtc/amlogic,a4-rtc.yaml
··· 16 16 17 17 properties: 18 18 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 22 27 23 28 reg: 24 29 maxItems: 1