Commit 7f8624af authored by Fenglin Wu's avatar Fenglin Wu Committed by Sebastian Reichel
Browse files

dt-bindings: soc: qcom,pmic-glink: Add charge limit nvmem properties



Add nvmem properties to retrieve charge control configurations
from the PMIC SDAM registers.

Acked-by: default avatarRob Herring (Arm) <robh@kernel.org>
Signed-off-by: default avatarFenglin Wu <fenglin.wu@oss.qualcomm.com>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent b3c0f651
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -56,6 +56,20 @@ properties:
      The array should contain a gpio entry for each PMIC Glink connector, in reg order.
      It is defined that GPIO active level means "CC2" or Reversed/Flipped orientation.

  nvmem-cells:
    minItems: 3
    maxItems: 3
    description:
      The nvmem cells contain the charge control settings, including the charge control
      enable status, the battery state of charge (SoC) threshold for stopping charging,
      and the battery SoC delta required to restart charging.

  nvmem-cell-names:
    items:
      - const: charge_limit_en
      - const: charge_limit_end
      - const: charge_limit_delta

patternProperties:
  '^connector@\d$':
    $ref: /schemas/connector/usb-connector.yaml#