dt-bindings: mfd: x-powers,axp152: Simplify disallowing properties
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sat, 25 Mar 2023 11:43:53 +0000 (12:43 +0100)
committerLee Jones <lee@kernel.org>
Wed, 26 Apr 2023 10:40:34 +0000 (11:40 +0100)
commit66c8d55966fd169a36fa2ca6e80517080492e87f
treecba534e0386f27c4cd37b8abc92181d6dff060d2
parent67d6c76fc815cddc77de9529221f9ff8dd1fb10e
dt-bindings: mfd: x-powers,axp152: Simplify disallowing properties

The syntax to disallow x-powers,drive-vbus-en,
x-powers,self-working-mode and x-powers,master-mode for certain variants
can be made simpler.  Also this produces much nicer warning message when
the condition hits wrong DTS.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Tested-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20230325114353.50293-1-krzysztof.kozlowski@linaro.org
Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml