-
由 Mark Pearson 提交于
Newer Lenovo Thinkpad platforms have support to identify whether the system is on-lap or not using an ACPI DYTC event from the firmware. This patch provides the ability to retrieve the current mode via sysfs entrypoints and will be used by userspace for thermal mode and WWAN functionality Co-developed-by: NNitin Joshi <njoshi1@lenovo.com> Signed-off-by: NNitin Joshi <njoshi1@lenovo.com> Reviewed-by: NSugumaran <slacshiminar@lenovo.com> Reviewed-by: NBastien Nocera <bnocera@redhat.com> Signed-off-by: NMark Pearson <markpearson@lenovo.com> Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
acf7f4a5