]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: rtc: sc2731: Add compatible for SC2730
authorOtto Pflüger <otto.pflueger@abscue.de>
Sun, 29 Mar 2026 07:27:45 +0000 (09:27 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 3 Apr 2026 14:49:28 +0000 (16:49 +0200)
The RTC block found in the SC2730 PMIC is compatible with the one found
in the SC2731 PMIC.

Acked-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Otto Pflüger <otto.pflueger@abscue.de>
Link: https://patch.msgid.link/20260329-sc27xx-mfd-cells-v3-1-9158dee41f74@abscue.de
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Documentation/devicetree/bindings/rtc/sprd,sc2731-rtc.yaml

index 5756f617df367f83a9d9b579b108724493e78edf..1deae2f4f09d629ae74bf344c114fb862b24ba43 100644 (file)
@@ -13,7 +13,12 @@ maintainers:
 
 properties:
   compatible:
-    const: sprd,sc2731-rtc
+    oneOf:
+      - items:
+          - enum:
+              - sprd,sc2730-rtc
+          - const: sprd,sc2731-rtc
+      - const: sprd,sc2731-rtc
 
   reg:
     maxItems: 1