mei: expose fw version to sysfs
authorAlexander Usyskin <alexander.usyskin@intel.com>
Sun, 24 Jun 2018 21:11:41 +0000 (00:11 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Jul 2018 11:11:20 +0000 (13:11 +0200)
commit3cfaeb33530592b02b2ceb76b379364c55ca612e
tree16b29db30b99b2a233b0817a6f694d6c15bf02b0
parent9a7c0b69b6e765c655133ef530876aea3da71d58
mei: expose fw version to sysfs

The ME FW version is constantly used by detection and update tools.
To improve the reliability and simplify these tools provide
a sysfs interface to access version of the platform ME firmware
in the following format:
<platform>:<major>.<minor>.<milestone>.<build>.
There can be up to three such blocks for different FW components.

Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/ABI/testing/sysfs-class-mei
drivers/misc/mei/bus-fixup.c
drivers/misc/mei/main.c
drivers/misc/mei/mei_dev.h