mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-06 08:46:46 +00:00
dt-bindings: power: supply: tps65090: Convert to DT schema format
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Reviewed-by: Rob Herring <robh@kernel.org>
This commit is contained in:
parent
dc721203c5
commit
4ac8f03056
2 changed files with 36 additions and 17 deletions
|
@ -0,0 +1,36 @@
|
|||
# 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;
|
||||
};
|
||||
};
|
|
@ -1,17 +0,0 @@
|
|||
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;
|
||||
};
|
Loading…
Reference in a new issue