Commit a33c6a22 authored by Martin Botka's avatar Martin Botka Committed by Lee Jones

dt-bindings: mfd: x-powers,axp152: Document the AXP313a variant

The X-Powers AXP313a is a PMIC used on some devices with the Allwinner
H616 or H313 SoC.

According to the datasheet, the DC/DC converter PWM frequency is fixed
(to 3 MHz), so disallow the property that lets us set this frequency
for the other PMICs.
Signed-off-by: default avatarMartin Botka <martin.botka@somainline.org>
Signed-off-by: default avatarAndre Przywara <andre.przywara@arm.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: default avatarChen-Yu Tsai <wens@csie.org>
Signed-off-by: default avatarLee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20230401001850.4988-2-andre.przywara@arm.com
(cherry picked from commit 2a9e8a1a7c4caadf690e5a77fe4162c5edab4a9c)
Signed-off-by: default avatarLee Jones <lee@kernel.org>
parent 1e28dfdf
...@@ -73,6 +73,16 @@ allOf: ...@@ -73,6 +73,16 @@ allOf:
required: required:
- interrupts - interrupts
- if:
properties:
compatible:
contains:
const: x-powers,axp313a
then:
properties:
x-powers,dcdc-freq: false
properties: properties:
compatible: compatible:
oneOf: oneOf:
...@@ -82,6 +92,7 @@ properties: ...@@ -82,6 +92,7 @@ properties:
- x-powers,axp209 - x-powers,axp209
- x-powers,axp221 - x-powers,axp221
- x-powers,axp223 - x-powers,axp223
- x-powers,axp313a
- x-powers,axp803 - x-powers,axp803
- x-powers,axp806 - x-powers,axp806
- x-powers,axp809 - x-powers,axp809
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment