]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
regulator: dt-bindings: mt6315: Document MT6319 PMIC
authorChen-Yu Tsai <wenst@chromium.org>
Thu, 20 Jun 2024 09:47:36 +0000 (17:47 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 20 Jun 2024 16:22:09 +0000 (17:22 +0100)
The MT6319 is a pin-compatible drop-in replacement for MT6315 with
slightly better electrical characteristics.

It's unclear whether there are any differences, since the downstream
implementation doesn't describe the MT6319 separately. Neither does the
implementation check chip IDs, even though those are available.

Add a new compatible for the MT6319 just in case differences are
discovered later and fall back to the MT6315 compatible.

Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://patch.msgid.link/20240620094746.2404753-2-wenst@chromium.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/regulator/mt6315-regulator.yaml

index 6317daf76d1fbecacda7256340d55d2983af7bd2..cd4aa27218a1b68fb82d45a4d85c7e1168971086 100644 (file)
@@ -16,7 +16,11 @@ description: |
 
 properties:
   compatible:
-    const: mediatek,mt6315-regulator
+    oneOf:
+      - items:
+          - const: mediatek,mt6319-regulator
+          - const: mediatek,mt6315-regulator
+      - const: mediatek,mt6315-regulator
 
   reg:
     maxItems: 1