diff mbox series

[RFC,01/11] dt-bindings: power: supply: max77693: Add fast charge current property

Message ID 20240530-max77693-charger-extcon-v1-1-dc2a9e5bdf30@gmail.com (mailing list archive)
State New
Headers show
Series power: supply: max77693: Toggle charging/OTG based on extcon status | expand

Commit Message

Artur Weber May 30, 2024, 8:55 a.m. UTC
Add the maxim,fast-charge-current-microamp property, used to specify the
current limit to use for fast charge (when plugged into a wall charger).

Signed-off-by: Artur Weber <aweber.kernel@gmail.com>
---
 Documentation/devicetree/bindings/power/supply/maxim,max77693.yaml | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Krzysztof Kozlowski May 31, 2024, 9:35 a.m. UTC | #1
On 30/05/2024 10:55, Artur Weber wrote:
> Add the maxim,fast-charge-current-microamp property, used to specify the
> current limit to use for fast charge (when plugged into a wall charger).
> 
> Signed-off-by: Artur Weber <aweber.kernel@gmail.com>
> ---
>  Documentation/devicetree/bindings/power/supply/maxim,max77693.yaml | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/power/supply/maxim,max77693.yaml b/Documentation/devicetree/bindings/power/supply/maxim,max77693.yaml
> index f5fd53debbc8..4f80cc5418f5 100644
> --- a/Documentation/devicetree/bindings/power/supply/maxim,max77693.yaml
> +++ b/Documentation/devicetree/bindings/power/supply/maxim,max77693.yaml
> @@ -56,6 +56,13 @@ properties:
>      maximum: 3500000
>      default: 3500000
>  
> +  maxim,fast-charge-current-microamp:
> +    description:
> +      Current to use for fast charge in uA.
> +    minimum: 60000
> +    maximum: 2580000
> +    default: 500000

That's a property of monitored-battery (and there is such there).

Best regards,
Krzysztof
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/power/supply/maxim,max77693.yaml b/Documentation/devicetree/bindings/power/supply/maxim,max77693.yaml
index f5fd53debbc8..4f80cc5418f5 100644
--- a/Documentation/devicetree/bindings/power/supply/maxim,max77693.yaml
+++ b/Documentation/devicetree/bindings/power/supply/maxim,max77693.yaml
@@ -56,6 +56,13 @@  properties:
     maximum: 3500000
     default: 3500000
 
+  maxim,fast-charge-current-microamp:
+    description:
+      Current to use for fast charge in uA.
+    minimum: 60000
+    maximum: 2580000
+    default: 500000
+
   maxim,charge-input-threshold-microvolt:
     description: |
       Threshold voltage in uV for triggering input voltage regulation loop.