From: Krzysztof Kozlowski <krzk@kernel.org>
To: samuel.kayode@savoirfairelinux.com, Lee Jones <lee@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>,
Dmitry Torokhov <dmitry.torokhov@gmail.com>,
Sebastian Reichel <sre@kernel.org>
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-input@vger.kernel.org, linux-pm@vger.kernel.org,
Abel Vesa <abelvesa@kernel.org>, Abel Vesa <abelvesa@linux.com>,
Robin Gong <b38343@freescale.com>,
Enric Balletbo i Serra <eballetbo@gmail.com>
Subject: Re: [PATCH v4 1/6] dt-bindings: mfd: add pf1550
Date: Wed, 4 Jun 2025 08:47:15 +0200 [thread overview]
Message-ID: <5fb1bcc0-db25-466a-b315-685d8b362245@kernel.org> (raw)
In-Reply-To: <20250603-pf1550-v4-1-bfdf51ee59cc@savoirfairelinux.com>
On 03/06/2025 20:27, Samuel Kayode via B4 Relay wrote:
> From: Samuel Kayode <samuel.kayode@savoirfairelinux.com>
>
> Add a DT binding document for pf1550 PMIC. This describes the core mfd
> device along with its children: regulators, charger and onkey.
>
> Signed-off-by: Samuel Kayode <samuel.kayode@savoirfairelinux.com>
> ---
> v4:
> - Address Krzystof's feedback:
> - Filename changed to nxp,pf1550.yaml
> - Replace Freescale with NXP
> - Define include before battery-cell
> - Drop operating-range-celsius in example since
> nxp,thermal-regulation-celsisus already exists
> - Not sure if there is similar binding to thermal-regulation...
> for regulating temperature on thermal-zones? @Sebastian and @Krzysztof
> v3:
> - Address Krzysztof's feedback:
> - Fold charger and onkey objects
> - Drop compatible for sub-devices: onkey, charger and regulator.
> - Drop constant voltage property already included in
> monitored-battery
> - Fix whitespace warnings
> - Fix license
> v2:
> - Add yamls for the PMIC and the sub-devices
> ---
> .../devicetree/bindings/mfd/nxp,pf1550.yaml | 139 +++++++++++++++++++++
> 1 file changed, 139 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/mfd/nxp,pf1550.yaml b/Documentation/devicetree/bindings/mfd/nxp,pf1550.yaml
> new file mode 100644
> index 0000000000000000000000000000000000000000..add895311b892a6731f54e47fcaaba8dfdac14b3
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/mfd/nxp,pf1550.yaml
> @@ -0,0 +1,139 @@
> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/mfd/nxp,pf1550.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: NXP PF1550 Power Management IC
> +
> +maintainers:
> + - Samuel Kayode <samuel.kayode@savoirfairelinux.com>
> +
> +description: |
Drop |, Do not need '|' unless you need to preserve formatting.
> + PF1550 PMIC provides battery charging and power supply for low power IoT and
> + wearable applications. This device consists of an i2c controlled MFD that
> + includes regulators, battery charging and an onkey/power button.
> +
> +$ref: /schemas/power/supply/power-supply.yaml
> +
> +properties:
> + compatible:
> + const: nxp,pf1550
> +
> + reg:
> + maxItems: 1
> +
> + interrupts:
> + maxItems: 1
> +
> + wakeup-source: true
> +
> + regulators:
> + type: object
> +
> + patternProperties:
> + "^(ldo[1-3]|sw[1-3]|vrefddr)$":
> + type: object
> + $ref: /schemas/regulator/regulator.yaml
> + description:
> + regulator configuration for ldo1-3, buck converters(sw1-3)
> + and DDR termination reference voltage (vrefddr)
> + unevaluatedProperties: false
> +
> + additionalProperties: false
Please put it after type:object
> +
> + monitored-battery:
> + $ref: /schemas/types.yaml#/definitions/phandle
Drop, comes from power supply schema
> + description: |
> + A phandle to a monitored battery node that contains a valid value
> + for:
> + constant-charge-voltage-max-microvolt.
> +
> + nxp,thermal-regulation-celsius:
> + description:
> + Temperature threshold for thermal regulation of charger in celsius.
> + enum: [ 60, 75, 90, 105 ]
> +
> + nxp,min-system-microvolt:
> + description:
> + System specific lower limit voltage.
> + enum: [ 3500000, 3700000, 4300000 ]
> +
> +required:
> + - compatible
> + - reg
> + - interrupts
> +
> +additionalProperties: false
And this becomes unevaluatedProperties: false.
With these changes (and after testing with dt_bindings_check):
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
next prev parent reply other threads:[~2025-06-04 6:47 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-03 18:27 [PATCH v4 0/6] add support for pf1550 PMIC MFD-based drivers Samuel Kayode via B4 Relay
2025-06-03 18:27 ` [PATCH v4 1/6] dt-bindings: mfd: add pf1550 Samuel Kayode via B4 Relay
2025-06-04 6:47 ` Krzysztof Kozlowski [this message]
2025-06-03 18:27 ` [PATCH v4 2/6] mfd: pf1550: add core mfd driver Samuel Kayode via B4 Relay
2025-06-04 14:19 ` Mark Brown
2025-06-03 18:27 ` [PATCH v4 3/6] regulator: pf1550: add support for regulator Samuel Kayode via B4 Relay
2025-06-04 11:35 ` Mark Brown
2025-06-04 14:03 ` Samuel Kayode
2025-06-04 14:25 ` Mark Brown
2025-06-04 14:48 ` Samuel Kayode
2025-06-03 18:27 ` [PATCH v4 4/6] input: pf1550: add onkey support Samuel Kayode via B4 Relay
2025-06-03 18:27 ` [PATCH v4 5/6] power: supply: pf1550: add battery charger support Samuel Kayode via B4 Relay
2025-06-03 18:27 ` [PATCH v4 6/6] MAINTAINERS: add an entry for pf1550 mfd driver Samuel Kayode via B4 Relay
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=5fb1bcc0-db25-466a-b315-685d8b362245@kernel.org \
--to=krzk@kernel.org \
--cc=abelvesa@kernel.org \
--cc=abelvesa@linux.com \
--cc=b38343@freescale.com \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=eballetbo@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=lee@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=robh@kernel.org \
--cc=samuel.kayode@savoirfairelinux.com \
--cc=sre@kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).