Message ID | 20241003111444.543964-2-andre.przywara@arm.com |
---|---|
State | Not Applicable |
Headers | show |
Series | regulator: add X-Powers AXP323 support | expand |
Context | Check | Description |
---|---|---|
robh/checkpatch | success | |
robh/patch-applied | success | |
robh/dtbs-check | warning | build log |
robh/dt-meta-schema | success |
On Thu, Oct 3, 2024 at 7:15 PM Andre Przywara <andre.przywara@arm.com> wrote: > > The X-Powers AXP323 is a PMIC used on some newer Allwinner devices. > It is almost the same as the AXP313, but supports dual-phasing the first > two DC/DC converters. A pure AXP313 driver wouldn't know about this, and > might turn the linked DCDC2 regulator off, as it does not seem to be > used. This makes the AXP323 incompatible to the AXP313a. > > Add the new compatible string, and treat it like the AXP313a. > > Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Chen-Yu Tsai <wens@csie.org> > --- > Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml b/Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml > index 14ab367fc887..3f7661bdd202 100644 > --- a/Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml > +++ b/Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml > @@ -71,6 +71,7 @@ allOf: > - x-powers,axp15060 > - x-powers,axp305 > - x-powers,axp313a > + - x-powers,axp323 > > then: > required: > @@ -82,6 +83,7 @@ allOf: > contains: > enum: > - x-powers,axp313a > + - x-powers,axp323 > - x-powers,axp15060 > - x-powers,axp717 > > @@ -100,6 +102,7 @@ properties: > - x-powers,axp221 > - x-powers,axp223 > - x-powers,axp313a > + - x-powers,axp323 > - x-powers,axp717 > - x-powers,axp803 > - x-powers,axp806 > -- > 2.25.1 >
On Thu, 03 Oct 2024 12:14:40 +0100, Andre Przywara wrote: > The X-Powers AXP323 is a PMIC used on some newer Allwinner devices. > It is almost the same as the AXP313, but supports dual-phasing the first > two DC/DC converters. A pure AXP313 driver wouldn't know about this, and > might turn the linked DCDC2 regulator off, as it does not seem to be > used. This makes the AXP323 incompatible to the AXP313a. > > Add the new compatible string, and treat it like the AXP313a. > > Signed-off-by: Andre Przywara <andre.przywara@arm.com> > --- > Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml | 3 +++ > 1 file changed, 3 insertions(+) > Acked-by: Rob Herring (Arm) <robh@kernel.org>
diff --git a/Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml b/Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml index 14ab367fc887..3f7661bdd202 100644 --- a/Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml +++ b/Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml @@ -71,6 +71,7 @@ allOf: - x-powers,axp15060 - x-powers,axp305 - x-powers,axp313a + - x-powers,axp323 then: required: @@ -82,6 +83,7 @@ allOf: contains: enum: - x-powers,axp313a + - x-powers,axp323 - x-powers,axp15060 - x-powers,axp717 @@ -100,6 +102,7 @@ properties: - x-powers,axp221 - x-powers,axp223 - x-powers,axp313a + - x-powers,axp323 - x-powers,axp717 - x-powers,axp803 - x-powers,axp806
The X-Powers AXP323 is a PMIC used on some newer Allwinner devices. It is almost the same as the AXP313, but supports dual-phasing the first two DC/DC converters. A pure AXP313 driver wouldn't know about this, and might turn the linked DCDC2 regulator off, as it does not seem to be used. This makes the AXP323 incompatible to the AXP313a. Add the new compatible string, and treat it like the AXP313a. Signed-off-by: Andre Przywara <andre.przywara@arm.com> --- Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml | 3 +++ 1 file changed, 3 insertions(+)