From: Chen-Yu Tsai Date: Thu, 20 Jun 2024 09:47:36 +0000 (+0800) Subject: regulator: dt-bindings: mt6315: Document MT6319 PMIC X-Git-Tag: v6.11-rc1~206^2~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ffe4b381e2ea97c7a5868dbe841c7522b1b0b408;p=thirdparty%2Fkernel%2Flinux.git regulator: dt-bindings: mt6315: Document MT6319 PMIC 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 Reviewed-by: Conor Dooley Link: https://patch.msgid.link/20240620094746.2404753-2-wenst@chromium.org Signed-off-by: Mark Brown --- diff --git a/Documentation/devicetree/bindings/regulator/mt6315-regulator.yaml b/Documentation/devicetree/bindings/regulator/mt6315-regulator.yaml index 6317daf76d1fb..cd4aa27218a1b 100644 --- a/Documentation/devicetree/bindings/regulator/mt6315-regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/mt6315-regulator.yaml @@ -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