Devicetree
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Vignesh Viswanathan <vignesh.viswanathan@oss.qualcomm.com>
Cc: Saravanan Sekar <sravanhome@gmail.com>,
	 Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>, Rob Herring <robh@kernel.org>,
	 Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	linux-kernel@vger.kernel.org,  linux-arm-msm@vger.kernel.org,
	devicetree@vger.kernel.org
Subject: Re: [PATCH 1/2] dt-bindings: regulator: mps,mp8899: Add binding for MP8899 PMIC
Date: Wed, 20 May 2026 12:27:41 +0200	[thread overview]
Message-ID: <20260520-passionate-handsome-dogfish-9fc65b@quoll> (raw)
In-Reply-To: <20260519-mp8899-regulator-driver-v1-1-30d14421b7f1@oss.qualcomm.com>

On Tue, May 19, 2026 at 11:51:05PM +0530, Vignesh Viswanathan wrote:
> Add devicetree binding documentation for the Monolithic Power Systems
> MP8899 PMIC, which provides four synchronous buck converters controlled
> over I2C.

Please use subject prefixes matching the subsystem. You can get them for
example with 'git log --oneline -- DIRECTORY_OR_FILE' on the directory
your patch is touching. For bindings, the preferred subjects are
explained here:
https://www.kernel.org/doc/html/latest/devicetree/bindings/submitting-patches.html#i-for-patch-submitters

> 
> Signed-off-by: Vignesh Viswanathan <vignesh.viswanathan@oss.qualcomm.com>
> ---
>  .../devicetree/bindings/regulator/mps,mp8899.yaml  | 66 ++++++++++++++++++++++
>  1 file changed, 66 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/regulator/mps,mp8899.yaml b/Documentation/devicetree/bindings/regulator/mps,mp8899.yaml
> new file mode 100644
> index 000000000000..3225c92db2c8
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/regulator/mps,mp8899.yaml
> @@ -0,0 +1,66 @@
> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/regulator/mps,mp8899.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Monolithic Power System MP8899 PMIC
> +
> +maintainers:
> +  - Vignesh Viswanathan <vignesh.viswanathan@oss.qualcomm.com>
> +
> +properties:
> +  $nodename:
> +    pattern: "^pmic@[0-9a-f]{1,2}$"

Drop nodename.

> +  compatible:
> +    enum:
> +      - mps,mp8899
> +
> +  reg:
> +    maxItems: 1
> +
> +  regulators:
> +    type: object
> +
> +    description: |

Do not need '|' unless you need to preserve formatting.

> +      list of regulators provided by this controller, must be named
> +      after their hardware counterparts BUCK[1-4]

Drop description.

> +
> +    patternProperties:
> +      "^buck[1-4]$":
> +        type: object
> +        $ref: regulator.yaml#
> +

Droip blank line

> +        unevaluatedProperties: false
> +
> +    additionalProperties: false

Put this additionalProps after type.

> +
> +required:
> +  - compatible
> +  - reg
> +  - regulators

Best regards,
Krzysztof


  reply	other threads:[~2026-05-20 10:27 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-19 18:21 [PATCH 0/2] Add regulator driver for MPS MP8899 PMIC Vignesh Viswanathan
2026-05-19 18:21 ` [PATCH 1/2] dt-bindings: regulator: mps,mp8899: Add binding for " Vignesh Viswanathan
2026-05-20 10:27   ` Krzysztof Kozlowski [this message]
2026-05-26  7:39     ` Vignesh Viswanathan
2026-05-20 10:28   ` Krzysztof Kozlowski
2026-05-26  7:39     ` Vignesh Viswanathan
2026-05-19 18:21 ` [PATCH 2/2] regulator: mp8899: Add MPS MP8899 PMIC regulator driver Vignesh Viswanathan
2026-05-19 18:54   ` sashiko-bot
2026-05-20 10:39   ` Krzysztof Kozlowski
2026-05-26  7:39     ` Vignesh Viswanathan
2026-05-26  9:28       ` Krzysztof Kozlowski
2026-05-26  9:38         ` Vignesh Viswanathan

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=20260520-passionate-handsome-dogfish-9fc65b@quoll \
    --to=krzk@kernel.org \
    --cc=broonie@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=sravanhome@gmail.com \
    --cc=vignesh.viswanathan@oss.qualcomm.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox