Commit 4ac8f030 authored by Sebastian Reichel's avatar Sebastian Reichel Committed by Sebastian Reichel
Browse files

dt-bindings: power: supply: tps65090: Convert to DT schema format



Convert the binding to DT schema format.

Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
parent dc721203
Loading
Loading
Loading
Loading
+36 −0
Original line number Diff line number Diff line
# 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;
      };
    };
+0 −17
Original line number Diff line number Diff line
TPS65090 Frontend PMU with Switchmode Charger

Required Properties:
-compatible: "ti,tps65090-charger"

Optional Properties:
-ti,enable-low-current-chrg: Enables charging when a low current is detected
 while the default logic is to stop charging.

This node is a subnode of the tps65090 PMIC.

Example:

	tps65090-charger {
		compatible = "ti,tps65090-charger";
		ti,enable-low-current-chrg;
	};