]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: mfd: sprd,sc2731: Include SC2730 regulator bindings
authorOtto Pflüger <otto.pflueger@abscue.de>
Tue, 19 May 2026 12:06:12 +0000 (14:06 +0200)
committerLee Jones <lee@kernel.org>
Wed, 17 Jun 2026 10:32:53 +0000 (11:32 +0100)
The SC2730 PMIC provides a different set of regulators than SC2731 and
thus requires separate regulator bindings. Allow using them for the
"regulators" node.

Signed-off-by: Otto Pflüger <otto.pflueger@abscue.de>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://patch.msgid.link/20260519-sc2730-regulators-v3-2-5bf0e02507e3@abscue.de
Signed-off-by: Lee Jones <lee@kernel.org>
Documentation/devicetree/bindings/mfd/sprd,sc2731.yaml

index b023e1ef8d3ccdb1d82d64ed1a60d5a712a1b910..e74ec49709941f7ff1e2b74c7a07c5df0b6430fd 100644 (file)
@@ -54,7 +54,9 @@ properties:
 
   regulators:
     type: object
-    $ref: /schemas/regulator/sprd,sc2731-regulator.yaml#
+    oneOf:
+      - $ref: /schemas/regulator/sprd,sc2730-regulator.yaml#
+      - $ref: /schemas/regulator/sprd,sc2731-regulator.yaml#
 
 patternProperties:
   "^adc@[0-9a-f]+$":