| 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/richtek,rt9756.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Richtek RT9756 Smart Cap Divider Charger |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- ChiYuan Huang <[email protected]> |
| 11 |
|
| 12 |
description: | |
| 13 |
The RT9756/RT9757 is a high efficiency and high charge current charger. |
| 14 |
|
| 15 |
The efficiency is up to 98.2% when VBAT = 4V, IBAT = 2A in DIV2 mode and 99.1% |
| 16 |
when VBAT=4V, IBAT=1A in bypass mode. The maximum charger current is up to 8A |
| 17 |
in DIV2 mode and 5A in bypass mode. The device integrates smart cap divider |
| 18 |
topology, direct charging mode, external over-voltage protection control, an |
| 19 |
input reverse blocking NFET and 2-way regulation, a dual phase charge pump |
| 20 |
core, 8-Channel high speed ADCs and USB BC 1.2 detection. |
| 21 |
|
| 22 |
RT9770 is almost the same with RT9756/57, only BC 1.2 detection function is |
| 23 |
removed to shrink the die size. |
| 24 |
|
| 25 |
allOf: |
| 26 |
- $ref: power-supply.yaml# |
| 27 |
|
| 28 |
properties: |
| 29 |
compatible: |
| 30 |
oneOf: |
| 31 |
- enum: |
| 32 |
- richtek,rt9756 |
| 33 |
- richtek,rt9770 |
| 34 |
- items: |
| 35 |
- enum: |
| 36 |
- richtek,rt9757 |
| 37 |
- const: richtek,rt9756 |
| 38 |
|
| 39 |
reg: |
| 40 |
maxItems: 1 |
| 41 |
|
| 42 |
wakeup-source: true |
| 43 |
|
| 44 |
interrupts: |
| 45 |
maxItems: 1 |
| 46 |
|
| 47 |
shunt-resistor-micro-ohms: |
| 48 |
description: Battery current sense resistor mounted. |
| 49 |
default: 2000 |
| 50 |
|
| 51 |
required: |
| 52 |
- compatible |
| 53 |
- reg |
| 54 |
- interrupts |
| 55 |
|
| 56 |
unevaluatedProperties: false |
| 57 |
|
| 58 |
examples: |
| 59 |
- | |
| 60 |
#include <dt-bindings/interrupt-controller/irq.h> |
| 61 |
i2c { |
| 62 |
#address-cells = <1>; |
| 63 |
#size-cells = <0>; |
| 64 |
|
| 65 |
charger@6f { |
| 66 |
compatible = "richtek,rt9756"; |
| 67 |
reg = <0x6f>; |
| 68 |
wakeup-source; |
| 69 |
interrupts-extended = <&gpio_intc 32 IRQ_TYPE_EDGE_FALLING>; |
| 70 |
shunt-resistor-micro-ohms = <5000>; |
| 71 |
}; |
| 72 |
}; |