[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Yl7BHcPdy5iuuNxg@robh.at.kernel.org>
Date: Tue, 19 Apr 2022 09:03:09 -0500
From: Rob Herring <robh@...nel.org>
To: Markuss Broks <markuss.broks@...il.com>
Cc: linux-kernel@...r.kernel.org, phone-devel@...r.kernel.org,
~postmarketos/upstreaming@...ts.sr.ht,
Lee Jones <lee.jones@...aro.org>,
Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>, devicetree@...r.kernel.org
Subject: Re: [PATCH v3 1/4] dt-bindings: regulator: Add bindings for Silicon
Mitus SM5703 regulators
On Fri, Apr 15, 2022 at 07:43:52PM +0300, Markuss Broks wrote:
> This patch adds device-tree bindings for regulators on Silicon Mitus
> SM5703 MFD.
>
> Signed-off-by: Markuss Broks <markuss.broks@...il.com>
> ---
> .../siliconmitus,sm5703-regulator.yaml | 48 +++++++++++++++++++
> 1 file changed, 48 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/regulator/siliconmitus,sm5703-regulator.yaml
>
> diff --git a/Documentation/devicetree/bindings/regulator/siliconmitus,sm5703-regulator.yaml b/Documentation/devicetree/bindings/regulator/siliconmitus,sm5703-regulator.yaml
> new file mode 100644
> index 000000000000..560df4c020ca
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/regulator/siliconmitus,sm5703-regulator.yaml
> @@ -0,0 +1,48 @@
> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/regulator/siliconmitus,sm5703-regulator.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Silicon Mitus SM5703 multi function device regulators
> +
> +maintainers:
> + - Markuss Broks <markuss.broks@...il.com>
> +
> +description: |
> + SM5703 regulators node should be a sub node of the SM5703 MFD node. See SM5703 MFD
> + bindings at Documentation/devicetree/bindings/mfd/siliconmitus,sm5703.yaml
> + Regulator nodes should be named as USBLDO_<number>, BUCK, VBUS, LDO_<number>.
> + The definition for each of these nodes is defined using the standard
> + binding for regulators at Documentation/devicetree/bindings/regulator/regulator.txt.
> +
> +properties:
> + compatible:
> + const: siliconmitus,sm5703-regulator
> +
> + buck:
> + type: object
> + $ref: regulator.yaml#
unevaluatedProperties: false
> + description:
> + Properties for the BUCK regulator.
> +
> + vbus:
> + type: object
> + $ref: regulator.yaml#
unevaluatedProperties: false
> + description:
> + Properties for the VBUS regulator.
> +
> +patternProperties:
> + "^ldo[1-3]$":
> + type: object
> + $ref: regulator.yaml#
unevaluatedProperties: false
> + description:
> + Properties for single LDO regulator.
> +
> + "^usbldo[1-2]$":
> + type: object
> + $ref: regulator.yaml#
unevaluatedProperties: false
> + description:
> + Properties for a single USBLDO regulator.
> +
> +additionalProperties: false
> --
> 2.35.1
>
>
Powered by blists - more mailing lists