2020-12-21 09:55:30

by Timon Baetz

[permalink] [raw]
Subject: [PATCH v2 6/6] regulator: dt-bindings: Document max8997-pmic nodes

Add maxim,max8997-battery and maxim,max8997-muic optional nodes.

Signed-off-by: Timon Baetz <[email protected]>
---
.../bindings/regulator/max8997-regulator.txt | 11 +++++++++++
1 file changed, 11 insertions(+)

diff --git a/Documentation/devicetree/bindings/regulator/max8997-regulator.txt b/Documentation/devicetree/bindings/regulator/max8997-regulator.txt
index 6fe825b8ac1b..f969fc09fe29 100644
--- a/Documentation/devicetree/bindings/regulator/max8997-regulator.txt
+++ b/Documentation/devicetree/bindings/regulator/max8997-regulator.txt
@@ -53,6 +53,17 @@ Additional properties required if either of the optional properties are used:
- max8997,pmic-buck125-dvs-gpios: GPIO specifiers for three host gpio's used
for dvs. The format of the gpio specifier depends in the gpio controller.

+Optional nodes:
+- charger: Node for configuring the charger driver.
+ Required properties:
+ - compatible: "maxim,max8997-battery"
+ - extcon: extcon specifier for charging events
+ - charger-supply: regulator node for charging current
+
+- muic: Node used only by extcon consumers.
+ Required properties:
+ - compatible: "maxim,max8997-muic"
+
Regulators: The regulators of max8997 that have to be instantiated should be
included in a sub-node named 'regulators'. Regulator nodes included in this
sub-node should be of the format as listed below.
--
2.25.1



2020-12-21 14:27:10

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH v2 6/6] regulator: dt-bindings: Document max8997-pmic nodes

On Mon, Dec 21, 2020 at 09:53:41AM +0000, Timon Baetz wrote:
> Add maxim,max8997-battery and maxim,max8997-muic optional nodes.
>
> Signed-off-by: Timon Baetz <[email protected]>
> ---
> .../bindings/regulator/max8997-regulator.txt | 11 +++++++++++
> 1 file changed, 11 insertions(+)

I see you updated the bindings. However if you run scripts/checkpatch,
it would say that bindings go as first patch, so please re-order.

Best regards,
Krzysztof