mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 20:32:04 +09:00
power: supply: rockchip_charger_manager: Update charging function
Add the following features: 1. Support DC detection 2. Support 4:1 mode charge pump charging 3. Support charging temperature control Signed-off-by: shengfei Xu <xsf@rock-chips.com> Change-Id: I9b2dc18fd59a6926f8a40bdf38a2e6aba3820cb9
This commit is contained in:
@@ -242,7 +242,9 @@ static struct power_supply_attr power_supply_attrs[] = {
|
||||
POWER_SUPPLY_ATTR(CP_VBUS_HERROR_STATUS),
|
||||
POWER_SUPPLY_ATTR(CP_VBUS_LERROR_STATUS),
|
||||
POWER_SUPPLY_ATTR(CP_CHARGING_ENABLED),
|
||||
POWER_SUPPLY_ATTR(CP_WORK_MODE),
|
||||
POWER_SUPPLY_ATTR(CP_WDT_EN),
|
||||
POWER_SUPPLY_ATTR(CP_VOUT),
|
||||
POWER_SUPPLY_ATTR(CP_VBUS),
|
||||
POWER_SUPPLY_ATTR(CP_IBUS),
|
||||
POWER_SUPPLY_ATTR(CP_SWITCHER_EN),
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -193,7 +193,9 @@ enum power_supply_property {
|
||||
POWER_SUPPLY_PROP_CP_VBUS_HERROR_STATUS,
|
||||
POWER_SUPPLY_PROP_CP_VBUS_LERROR_STATUS,
|
||||
POWER_SUPPLY_PROP_CP_CHARGING_ENABLED,
|
||||
POWER_SUPPLY_PROP_CP_WORK_MODE,
|
||||
POWER_SUPPLY_PROP_CP_WDT_EN,
|
||||
POWER_SUPPLY_PROP_CP_VOUT,
|
||||
POWER_SUPPLY_PROP_CP_VBUS,
|
||||
POWER_SUPPLY_PROP_CP_IBUS,
|
||||
POWER_SUPPLY_PROP_CP_SWITCHER_EN,
|
||||
|
||||
Reference in New Issue
Block a user