Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/power/supply/mt6360_charger.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Battery charger driver for MT6360 PMIC from MediaTek Integrated. |
| 8 | |
| 9 | maintainers: |
| 10 | - Gene Chen <gene_chen@richtek.com> |
| 11 | |
| 12 | description: | |
| 13 | This module is part of the MT6360 MFD device. |
| 14 | Provides Battery Charger, Boost for OTG devices and BC1.2 detection. |
| 15 | |
| 16 | properties: |
| 17 | compatible: |
| 18 | const: mediatek,mt6360-chg |
| 19 | |
| 20 | richtek,vinovp-microvolt: |
| 21 | description: Maximum CHGIN regulation voltage in uV. |
| 22 | enum: [ 5500000, 6500000, 11000000, 14500000 ] |
| 23 | |
| 24 | |
| 25 | usb-otg-vbus-regulator: |
| 26 | type: object |
| 27 | description: OTG boost regulator. |
| 28 | $ref: /schemas/regulator/regulator.yaml# |
| 29 | unevaluatedProperties: false |
| 30 | |
| 31 | required: |
| 32 | - compatible |
| 33 | |
| 34 | additionalProperties: false |
| 35 | |
| 36 | examples: |
| 37 | - | |
| 38 | mt6360_charger: charger { |
| 39 | compatible = "mediatek,mt6360-chg"; |
| 40 | richtek,vinovp-microvolt = <14500000>; |
| 41 | |
| 42 | otg_vbus_regulator: usb-otg-vbus-regulator { |
| 43 | regulator-name = "usb-otg-vbus"; |
| 44 | regulator-min-microvolt = <4425000>; |
| 45 | regulator-max-microvolt = <5825000>; |
| 46 | }; |
| 47 | }; |
| 48 | ... |