mirror of
https://github.com/LineageOS/android_kernel_fxtec_sm6115.git
synced 2026-04-11 13:33:13 +00:00
ANDROID: GKI: power_supply: Add CP_ISNS_SLAVE power supply property
Add power supply property POWER_SUPPLY_PROP_CP_ISNS_SLAVE to
expose ISNS of slave SMB1390.
Signed-off-by: Sahil Chandna <chandna@codeaurora.org>
(cherry picked from commit 88073715e1)
Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Bug: 150789066
Change-Id: Iec34bf19070e2587a26a92abfefbea0da01fdd6b
This commit is contained in:
committed by
Mark Salyzyn
parent
cb77fe70ec
commit
63ea9d3f6b
@ -492,6 +492,7 @@ static struct device_attribute power_supply_attrs[] = {
|
||||
POWER_SUPPLY_ATTR(cp_switcher_en),
|
||||
POWER_SUPPLY_ATTR(cp_die_temp),
|
||||
POWER_SUPPLY_ATTR(cp_isns),
|
||||
POWER_SUPPLY_ATTR(cp_isns_slave),
|
||||
POWER_SUPPLY_ATTR(cp_toggle_switcher),
|
||||
POWER_SUPPLY_ATTR(cp_irq_status),
|
||||
POWER_SUPPLY_ATTR(cp_ilim),
|
||||
|
||||
@ -141,6 +141,7 @@ enum {
|
||||
|
||||
/* Parallel output connection topology */
|
||||
enum {
|
||||
POWER_SUPPLY_PL_OUTPUT_NONE,
|
||||
POWER_SUPPLY_PL_OUTPUT_VPH,
|
||||
POWER_SUPPLY_PL_OUTPUT_VBAT,
|
||||
};
|
||||
@ -363,6 +364,7 @@ enum power_supply_property {
|
||||
POWER_SUPPLY_PROP_CP_SWITCHER_EN,
|
||||
POWER_SUPPLY_PROP_CP_DIE_TEMP,
|
||||
POWER_SUPPLY_PROP_CP_ISNS,
|
||||
POWER_SUPPLY_PROP_CP_ISNS_SLAVE,
|
||||
POWER_SUPPLY_PROP_CP_TOGGLE_SWITCHER,
|
||||
POWER_SUPPLY_PROP_CP_IRQ_STATUS,
|
||||
POWER_SUPPLY_PROP_CP_ILIM,
|
||||
|
||||
Reference in New Issue
Block a user