-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dt-bindings: power: Add bindings document for Charger support on MT63…
…60 PMIC Add bindings document for Charger support on MT6360 PMIC Signed-off-by: Gene Chen <gene_chen@richtek.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
- Loading branch information
Gene Chen
authored and
Sebastian Reichel
committed
Aug 13, 2021
1 parent
e12ef7b
commit 23531ee
Showing
1 changed file
with
48 additions
and
0 deletions.
There are no files selected for viewing
48 changes: 48 additions & 0 deletions
48
Documentation/devicetree/bindings/power/supply/mt6360_charger.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/power/supply/mt6360_charger.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Battery charger driver for MT6360 PMIC from MediaTek Integrated. | ||
|
||
maintainers: | ||
- Gene Chen <gene_chen@richtek.com> | ||
|
||
description: | | ||
This module is part of the MT6360 MFD device. | ||
Provides Battery Charger, Boost for OTG devices and BC1.2 detection. | ||
properties: | ||
compatible: | ||
const: mediatek,mt6360-chg | ||
|
||
richtek,vinovp-microvolt: | ||
description: Maximum CHGIN regulation voltage in uV. | ||
enum: [ 5500000, 6500000, 11000000, 14500000 ] | ||
|
||
|
||
usb-otg-vbus-regulator: | ||
type: object | ||
description: OTG boost regulator. | ||
$ref: /schemas/regulator/regulator.yaml# | ||
|
||
required: | ||
- compatible | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
mt6360_charger: charger { | ||
compatible = "mediatek,mt6360-chg"; | ||
richtek,vinovp-microvolt = <14500000>; | ||
otg_vbus_regulator: usb-otg-vbus-regulator { | ||
regulator-compatible = "usb-otg-vbus"; | ||
regulator-name = "usb-otg-vbus"; | ||
regulator-min-microvolt = <4425000>; | ||
regulator-max-microvolt = <5825000>; | ||
}; | ||
}; | ||
... |