Skip to content

Commit a33c6a2

Browse files
Haxk20lag-linaro
authored andcommitted
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: Martin Botka <martin.botka@somainline.org> Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Lee Jones <lee@kernel.org> Link: https://lore.kernel.org/r/20230401001850.4988-2-andre.przywara@arm.com (cherry picked from commit 2a9e8a1) Signed-off-by: Lee Jones <lee@kernel.org>
1 parent 1e28dfd commit a33c6a2

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,16 @@ allOf:
7373
required:
7474
- interrupts
7575

76+
- if:
77+
properties:
78+
compatible:
79+
contains:
80+
const: x-powers,axp313a
81+
82+
then:
83+
properties:
84+
x-powers,dcdc-freq: false
85+
7686
properties:
7787
compatible:
7888
oneOf:
@@ -82,6 +92,7 @@ properties:
8292
- x-powers,axp209
8393
- x-powers,axp221
8494
- x-powers,axp223
95+
- x-powers,axp313a
8596
- x-powers,axp803
8697
- x-powers,axp806
8798
- x-powers,axp809

0 commit comments

Comments
 (0)