You've already forked linux-rockchip
mirror of
https://github.com/armbian/linux-rockchip.git
synced 2026-01-06 11:08:10 -08:00
mfd: Support for ROHM BD71815 PMIC core
Add core support for ROHM BD71815 Power Management IC. The IC integrates regulators, a battery charger with a coulomb counter, a real-time clock (RTC), clock gate and general-purpose outputs (GPO). Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
This commit is contained in:
committed by
Lee Jones
parent
06b2f5f5ec
commit
4dcdcfd5ab
@@ -1975,19 +1975,20 @@ config MFD_ROHM_BD70528
|
||||
charger.
|
||||
|
||||
config MFD_ROHM_BD71828
|
||||
tristate "ROHM BD71828 Power Management IC"
|
||||
tristate "ROHM BD71828 and BD71815 Power Management IC"
|
||||
depends on I2C=y
|
||||
depends on OF
|
||||
select REGMAP_I2C
|
||||
select REGMAP_IRQ
|
||||
select MFD_CORE
|
||||
help
|
||||
Select this option to get support for the ROHM BD71828 Power
|
||||
Management IC. BD71828GW is a single-chip power management IC for
|
||||
battery-powered portable devices. The IC integrates 7 buck
|
||||
converters, 7 LDOs, and a 1500 mA single-cell linear charger.
|
||||
Also included is a Coulomb counter, a real-time clock (RTC), and
|
||||
a 32.768 kHz clock gate.
|
||||
Select this option to get support for the ROHM BD71828 and BD71815
|
||||
Power Management ICs. BD71828GW and BD71815AGW are single-chip power
|
||||
management ICs mainly for battery-powered portable devices.
|
||||
The BD71828 integrates 7 buck converters and 7 LDOs. The BD71815
|
||||
has 5 bucks, 7 LDOs, and a boost for driving LEDs. Both ICs provide
|
||||
also a single-cell linear charger, a Coulomb counter, a real-time
|
||||
clock (RTC), GPIOs and a 32.768 kHz clock gate.
|
||||
|
||||
config MFD_STM32_LPTIMER
|
||||
tristate "Support for STM32 Low-Power Timer"
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
562
include/linux/mfd/rohm-bd71815.h
Normal file
562
include/linux/mfd/rohm-bd71815.h
Normal file
File diff suppressed because it is too large
Load Diff
@@ -151,6 +151,9 @@ enum {
|
||||
#define BD71828_REG_GPIO_CTRL3 0x49
|
||||
#define BD71828_REG_IO_STAT 0xed
|
||||
|
||||
/* clk */
|
||||
#define BD71828_REG_OUT32K 0x4b
|
||||
|
||||
/* RTC */
|
||||
#define BD71828_REG_RTC_SEC 0x4c
|
||||
#define BD71828_REG_RTC_MINUTE 0x4d
|
||||
|
||||
Reference in New Issue
Block a user