From: Conor Dooley <conor@kernel.org>
To: Linus Walleij <linusw@kernel.org>
Cc: Stephan Gerhold <stephan@gerhold.net>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>, Axel Lin <axel.lin@ingics.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>, Lee Jones <lee@kernel.org>,
devicetree@vger.kernel.org, mfd@lists.linux.dev
Subject: Re: [PATCH 08/13] dt-bindings: mfd: ab8500: Add regulators
Date: Mon, 31 Aug 2026 17:18:45 +0100 [thread overview]
Message-ID: <20260831-subtitle-anvil-0f33fee6c2af@spud> (raw)
In-Reply-To: <20260831-ux500-dts-snowball-regulator-v1-8-fe279fff5e18@kernel.org>
[-- Attachment #1: Type: text/plain, Size: 6919 bytes --]
On Mon, Aug 31, 2026 at 12:43:37AM +0200, Linus Walleij wrote:
> The buck converters were not initially added to the device tree or
> drivers as they are mostly always-on, but their outputs supply devices
> which need to reference the correct regulator.
>
> Describe the six AB8500 buck converters when the regulator node uses
> "stericsson,ab8500-regulator". Describe the AB8505 converters under
> their native VSMPSA, VSMPSB, VSAFE, VARM, VSMPSC and VSMPSM names when
> the node uses "stericsson,ab8505-regulator".
>
> Keeping the two namespaces conditional on the regulator compatible
> avoids representing the distinct AB8505 VSAFE and VSMPSC rails with the
> AB8500 SMPS3 and VAPE node names.
>
> Assisted-by: LLM
> Signed-off-by: Linus Walleij <linusw@kernel.org>
> ---
> .../devicetree/bindings/mfd/stericsson,ab8500.yaml | 102 ++++++++++++++++++++-
> 1 file changed, 101 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/mfd/stericsson,ab8500.yaml b/Documentation/devicetree/bindings/mfd/stericsson,ab8500.yaml
> index 0fdfbfdfe88a..d44652aede0c 100644
> --- a/Documentation/devicetree/bindings/mfd/stericsson,ab8500.yaml
> +++ b/Documentation/devicetree/bindings/mfd/stericsson,ab8500.yaml
> @@ -439,10 +439,110 @@ properties:
> $ref: /schemas/regulator/regulator.yaml#
> unevaluatedProperties: false
>
> + allOf:
> + - if:
> + properties:
> + compatible:
> + const: stericsson,ab8500-regulator
> + then:
> + properties:
> + ab8500_buck_smps1:
> + description: Analog buck converter for the VSMPS1 1.2V I/O
> + and memory supply.
> + type: object
> + $ref: /schemas/regulator/regulator.yaml#
> + unevaluatedProperties: false
> +
> + ab8500_buck_smps2:
> + description: Analog buck converter for the VSMPS2 1.8V I/O
> + and memory supply.
> + type: object
> + $ref: /schemas/regulator/regulator.yaml#
> + unevaluatedProperties: false
> +
> + ab8500_buck_smps3:
> + description: Analog buck converter for VSMPS3, which supplies
> + the VSAFE power domain.
> + type: object
> + $ref: /schemas/regulator/regulator.yaml#
> + unevaluatedProperties: false
How do these differ from
regulator-external:
description: Node describing the AB8500 external regulators. This
concerns the autonomous regulators VSMPS1, VSMPS2 and VSMPS3
that are normally controlled by external electronics but also
sometimes need to be explicitly controlled by software.
type: object
properties:
compatible:
const: stericsson,ab8500-ext-regulator
ab8500_ext1:
description: The voltage for the VSMPS1 external regulator
type: object
$ref: /schemas/regulator/regulator.yaml#
unevaluatedProperties: false
ab8500_ext2:
description: The voltage for the VSMPS2 external regulator
type: object
$ref: /schemas/regulator/regulator.yaml#
unevaluatedProperties: false
ab8500_ext3:
description: The voltage for the VSMPS3 external regulator
type: object
$ref: /schemas/regulator/regulator.yaml#
unevaluatedProperties: false
> +
> + ab8500_buck_arm:
realistically, all of these should have -s instead of _s.
Cheers,
Conor.
> + description: Analog buck converter for the VARM processor
> + supply.
> + type: object
> + $ref: /schemas/regulator/regulator.yaml#
> + unevaluatedProperties: false
> +
> + ab8500_buck_ape:
> + description: Analog buck converter for the VAPE application
> + processor supply.
> + type: object
> + $ref: /schemas/regulator/regulator.yaml#
> + unevaluatedProperties: false
> +
> + ab8500_buck_mod:
> + description: Analog buck converter for the VMOD modem supply.
> + type: object
> + $ref: /schemas/regulator/regulator.yaml#
> + unevaluatedProperties: false
> +
> + - if:
> + properties:
> + compatible:
> + const: stericsson,ab8505-regulator
> + then:
> + properties:
> + ab8505_buck_smpsa:
> + description: Analog buck converter for the VSMPSA 1.2V I/O
> + and memory supply. The selector range depends on OTP
> + configuration.
> + type: object
> + $ref: /schemas/regulator/regulator.yaml#
> + unevaluatedProperties: false
> +
> + ab8505_buck_smpsb:
> + description: Analog buck converter for the VSMPSB 1.8V I/O
> + and memory supply. The selector range depends on OTP
> + configuration.
> + type: object
> + $ref: /schemas/regulator/regulator.yaml#
> + unevaluatedProperties: false
> +
> + ab8505_buck_safe:
> + description: Analog buck converter for the VSAFE permanent
> + logic and DDR supply. The selector range depends on OTP
> + configuration.
> + type: object
> + $ref: /schemas/regulator/regulator.yaml#
> + unevaluatedProperties: false
> +
> + ab8505_buck_arm:
> + description: Analog buck converter for the VARM processor
> + supply, with a 0.6V to 1.39375V selector range.
> + type: object
> + $ref: /schemas/regulator/regulator.yaml#
> + unevaluatedProperties: false
> +
> + ab8505_buck_smpsc:
> + description: Analog buck converter for the VSMPSC multimedia
> + and graphics supply. The selector range depends on OTP
> + configuration.
> + type: object
> + $ref: /schemas/regulator/regulator.yaml#
> + unevaluatedProperties: false
> +
> + ab8505_buck_smpsm:
> + description: Analog buck converter for the VSMPSM modem
> + supply. The selector range depends on OTP configuration.
> + type: object
> + $ref: /schemas/regulator/regulator.yaml#
> + unevaluatedProperties: false
> +
> required:
> - compatible
>
> - additionalProperties: false
> + unevaluatedProperties: false
>
> regulator-external:
> description: Node describing the AB8500 external regulators. This
>
> --
> 2.55.0
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2026-08-31 16:18 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-30 22:43 [PATCH 00/13] Add AB8500 buck regulators to the Ux500 device tree Linus Walleij
2026-08-30 22:43 ` [PATCH 01/13] regulator: ab8500: Fix AB8505 VANA voltage selectors Linus Walleij
2026-08-30 22:51 ` sashiko-bot
2026-08-30 22:43 ` [PATCH 02/13] regulator: ab8500: Add AB8505 VAUX3 3.05 V setting Linus Walleij
2026-08-30 22:49 ` sashiko-bot
2026-08-30 22:43 ` [PATCH 03/13] regulator: ab8500: Handle AB8505 VINTCORE selector 7 Linus Walleij
2026-08-30 22:51 ` sashiko-bot
2026-08-30 22:43 ` [PATCH 04/13] regulator: ab8500: Treat cut 1.0 VAUX3 as fixed Linus Walleij
2026-08-30 22:51 ` sashiko-bot
2026-08-30 22:43 ` [PATCH 05/13] regulator: ab8500: Test dedicated enable bits only Linus Walleij
2026-08-30 22:51 ` sashiko-bot
2026-08-30 22:43 ` [PATCH 06/13] regulator: ab8500: Propagate mode enable read errors Linus Walleij
2026-08-30 22:51 ` sashiko-bot
2026-08-30 22:43 ` [PATCH 07/13] regulator: ab8500: Use linear ranges for LDO voltages Linus Walleij
2026-08-30 22:52 ` sashiko-bot
2026-08-30 22:43 ` [PATCH 08/13] dt-bindings: mfd: ab8500: Add regulators Linus Walleij
2026-08-30 22:50 ` sashiko-bot
2026-08-31 16:18 ` Conor Dooley [this message]
2026-08-31 20:18 ` Linus Walleij
2026-09-01 17:58 ` Conor Dooley
2026-09-01 19:32 ` Linus Walleij
2026-08-30 22:43 ` [PATCH 09/13] regulator: ab8500: Add buck converter support Linus Walleij
2026-08-30 22:50 ` sashiko-bot
2026-08-30 22:43 ` [PATCH 10/13] regulator: ab8500: Preserve OTP-enabled buck regulators Linus Walleij
2026-08-30 22:50 ` sashiko-bot
2026-08-30 22:43 ` [PATCH 11/13] regulator: ab8500: Use scoped guard for shared mode mutex Linus Walleij
2026-08-30 22:56 ` sashiko-bot
2026-08-30 22:43 ` [PATCH 12/13] ARM: dts: ux500: Add new AB8500/AB8505 regulators Linus Walleij
2026-08-30 22:53 ` sashiko-bot
2026-08-30 22:43 ` [PATCH 13/13] ARM: dts: ux500: Fix up regulator assignments Linus Walleij
2026-08-30 22:55 ` sashiko-bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260831-subtitle-anvil-0f33fee6c2af@spud \
--to=conor@kernel.org \
--cc=axel.lin@ingics.com \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lee@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linusw@kernel.org \
--cc=mfd@lists.linux.dev \
--cc=robh@kernel.org \
--cc=stephan@gerhold.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.