summaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
authorSubbaraman Narayanamurthy <subbaram@codeaurora.org>2016-12-14 15:05:22 -0800
committerSubbaraman Narayanamurthy <subbaram@codeaurora.org>2016-12-22 15:10:42 -0800
commit5207bf3492f9e48c9e45fbe9cac65ae292bfe2ca (patch)
tree7ccbda7577df96bef0a132b543c24b8f7ef59059 /drivers/power
parent83134d5df11ca497a061a492fb9b20e24f56acca (diff)
power_supply: Add SOC_REPORTING_READY property
Add SOC_REORTING_READY property to indicate if the SOC is ready to be reported. Change-Id: I53ac153ba9f7ae81bb0657b17e0e798fd3fe4f48 Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/power_supply_sysfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/power_supply_sysfs.c b/drivers/power/power_supply_sysfs.c
index a4aee80798e4..83b75fcd257e 100644
--- a/drivers/power/power_supply_sysfs.c
+++ b/drivers/power/power_supply_sysfs.c
@@ -278,6 +278,7 @@ static struct device_attribute power_supply_attrs[] = {
POWER_SUPPLY_ATTR(parallel_percent),
POWER_SUPPLY_ATTR(pe_start),
POWER_SUPPLY_ATTR(set_ship_mode),
+ POWER_SUPPLY_ATTR(soc_reporting_ready),
/* Local extensions of type int64_t */
POWER_SUPPLY_ATTR(charge_counter_ext),
/* Properties of type `const char *' */