# SPDX-License-Identifier: GPL-2.0
%YAML 1.2
---
$id: http://devicetree.org/schemas/power/supply/tps65090-charger.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: TPS65090 Frontend PMU with Switchmode Charger

maintainers:
  - Sebastian Reichel <sre@kernel.org>

allOf:
  - $ref: power-supply.yaml#

properties:
  compatible:
    const: ti,tps65090-charger

  ti,enable-low-current-chrg:
    type: boolean
    description: |
      Enables charging when a low current is detected while the default logic is to stop charging.

required:
  - compatible

additionalProperties: false

examples:
  - |
    pmic {
      charger {
        compatible = "ti,tps65090-charger";
        ti,enable-low-current-chrg;
      };
    };