for an userland daemon to suggest EC if it
has to do a battery cutoff instead of hibernating when the system enters
S5 next time.
This attribute is present only if EC supports EC_FEATURE_BATTERY.
Signed-off-by: RaviChandra Sadineni
---
V5: Expose flag only when EC_FEATURE_BATTERY is supported.
V4
From: RaviChandra Sadineni
On chromebooks, power_manager daemon normally shuts down(S5) the device
when the battery charge falls below 4% threshold. ChromeOS EC then
normally spends an hour in S5 before hibernating. If the battery charge
falls below critical threshold in the mean time, EC does a
for an userland daemon to suggest EC if it
has to do a battery cut-off instead of hibernating when the system enters
S5 next time.
Signed-off-by: RaviChandra Sadineni
---
V3: Make battery-cutoff generic and expose 'at-shutdown' flag.
V2: Use kstrtobool() instead of kstrtou8
for an userland daemon to suggest EC if it
has to do a battery cut-off instead of hibernating when the system enters
S5 next time.
Signed-off-by: RaviChandra Sadineni
---
V3: Make battery-cutoff generic and expose 'at-shutdown' flag.
V2: Use kstrtobool() instead of kstrtou8
for an userland daemon to suggest EC if it
has to do a battery cut-off instead of hibernating when the system enters
S5 next time.
Signed-off-by: RaviChandra Sadineni
---
V2: Use kstrtobool() instead of kstrtou8() and add documentation.
.../ABI/testing/sysfs-class-chromeos | 8
for an userland daemon to suggest EC if it
has to do a battery cut-off instead of hibernating when the system enters
S5 next time.
Signed-off-by: RaviChandra Sadineni
---
drivers/platform/chrome/cros_ec_sysfs.c | 34 +
1 file changed, 34 insertions(+)
diff --git a/drivers
supported.
Signed-off-by: RaviChandra Sadineni
---
Note: This patch fixes the suspend/resume issue on Snow and Peach-Pit
Chromebooks, both on vanilla v4.18 as well as linux-next from 20 August
2018. Further info at: https://lkml.org/lkml/2018/6/5/1076
drivers/mfd/cros_ec.c | 3 ++-
1 file
From: RaviChandra Sadineni
hi Merek,
Unfortunately I could not get the device to boot even after using the
exynos_defconfig.
Can you please try this patch and see if this fixes the issue. If not can you
enable the
debug logs and send me the logs.
Currently on every resume we check for mkbp
8 matches
Mail list logo