regulator: dt-bindings: dlg,da9121: add buck2 constraints
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 25 Jul 2023 12:46:27 +0000 (14:46 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 25 Jul 2023 20:23:58 +0000 (21:23 +0100)
commit9b7e0645ba65e4824436a2f1817843291e744443
treebde37996ee83016d66c5e12f7dbf529dcf490fbc
parent6b677c1ae8e4096c84fbcbe1b7fd300dab0b381b
regulator: dt-bindings: dlg,da9121: add buck2 constraints

Instead of describing the constraints for some devices (buck2 not
present), code it in allOf:if:then section to actually allow validation
of this requirement.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230725124629.150113-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/regulator/dlg,da9121.yaml