Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
92 changes: 92 additions & 0 deletions Documentation/devicetree/bindings/power/supply/adi,lt8491.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/power/supply/adi,lt8491.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Linear Technology (Analog Devices) LT8491 Battery Charger

maintainers:
- John Erasmus Mari Geronimo <johnerasmusmari.geronimo@analog.com>

description: |
The LT8491 is a buck-boost switching regulator battery charger that implements
a constant-current constant-voltage (CCCV) charging profile used for most
battery types, including sealed lead-acid (SLA), flooded, gel and lithium-ion.

Specifications about the charger can be found at:
https://www.analog.com/en/products/lt8491.html

allOf:
- $ref: power-supply.yaml#

properties:
compatible:
enum:
- adi,lt8491

reg:
maxItems: 1

adi,rsense1-micro-ohms:
description: Resistance value of RSENSE1 in micro ohms.

adi,rimon-out-ohms:
description: Resistance value of RIMON_OUT in ohms.

adi,rsense2-micro-ohms:
description: Resistance value of RSENSE2 in micro ohms.

adi,rdaco-ohms:
description: Resistance value of RDACO1 + RDACO2 in ohms.

adi,rfbout1-ohms:
description: Resistance value of RFBOUT1 in ohms.

adi,rfbout2-ohms:
description: Resistance value of RFBOUT2 in ohms.

adi,rdaci-ohms:
description: Resistance value of RDACI1 + RDACI2 in ohms.

adi,rfbin2-ohms:
description: Resistance value of RFBIN2 in ohms.

adi,rfbin1-ohms:
description: Resistance value of RFBIN1 in ohms.

required:
- compatible
- reg
- adi,rsense1-micro-ohms
- adi,rimon-out-ohms
- adi,rsense2-micro-ohms
- adi,rdaco-ohms
- adi,rfbout1-ohms
- adi,rfbout2-ohms
- adi,rdaci-ohms
- adi,rfbin2-ohms
- adi,rfbin1-ohms

unevaluatedProperties: false

examples:
- |
i2c {
#address-cells = <1>;
#size-cells = <0>;

battery-charger@10 {
compatible = "adi,lt8491";
reg = <0x10>;
adi,rsense1-micro-ohms = <5000>;
adi,rimon-out-ohms = <124000>;
adi,rsense2-micro-ohms = <3000>;
adi,rdaco-ohms = <64900>;
adi,rfbout1-ohms = <113000>;
adi,rfbout2-ohms = <10000>;
adi,rdaci-ohms = <7000>;
adi,rfbin2-ohms = <3480>;
adi,rfbin1-ohms = <102000>;
};
};
1 change: 1 addition & 0 deletions Kconfig.adi
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ config KERNEL_ALL_ADI_DRIVERS
imply FB_TFT_SEPS525
imply LEDS_AS3645A
imply CHARGER_LTC4162L
imply CHARGER_LT8491
imply GPIO_DS4520
imply RTC_DRV_MAX31335
imply REGULATOR_MAX77503
Expand Down
7 changes: 7 additions & 0 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -13700,6 +13700,13 @@ F: Documentation/devicetree/bindings/hwmon/pmbus/adi,lt3074.yaml
F: Documentation/hwmon/lt3074.rst
F: drivers/hwmon/pmbus/lt3074.c

LT8491 BATTERY CHARGER DRIVER
M: John Erasmus Mari Geronimo <johnerasmusmari.geronimo@analog.com>
L: linux-pm@vger.kernel.org
S: Maintained
F: Documentation/devicetree/bindings/power/supply/adi,lt8491.yaml
F: drivers/power/supply/lt8491_charger.c

LTC1660 DAC DRIVER
M: Marcus Folkesson <marcus.folkesson@gmail.com>
L: linux-iio@vger.kernel.org
Expand Down
9 changes: 9 additions & 0 deletions drivers/power/supply/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,15 @@ config CHARGER_LT3651
Say Y to include support for the Analog Devices (Linear Technology)
LT3651 battery charger which reports its status via GPIO lines.

config CHARGER_LT8491
tristate "Analog Devices LT8491 charger"
depends on I2C
help
Say Y to include support for the Analog Devices (Linear Technology)
LT8491 battery charge controller connected to I2C. The LT8491 is a
high voltage buck-boost switching regulator battery charger
controller.

config CHARGER_LTC4162L
tristate "LTC4162-L charger"
depends on I2C
Expand Down
1 change: 1 addition & 0 deletions drivers/power/supply/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ obj-$(CONFIG_CHARGER_LP8788) += lp8788-charger.o
obj-$(CONFIG_CHARGER_GPIO) += gpio-charger.o
obj-$(CONFIG_CHARGER_MANAGER) += charger-manager.o
obj-$(CONFIG_CHARGER_LT3651) += lt3651-charger.o
obj-$(CONFIG_CHARGER_LT8491) += lt8491_charger.o
obj-$(CONFIG_CHARGER_LTC4162L) += ltc4162-l-charger.o
obj-$(CONFIG_CHARGER_MAX14577) += max14577_charger.o
obj-$(CONFIG_CHARGER_DETECTOR_MAX14656) += max14656_charger_detector.o
Expand Down
Loading
Loading