Searched hist:"0 c0b7ea23aed0b55ef2f9803f13ddaae1943713d" (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/platform/chrome/wilco_ec/ |
H A D | Makefile | diff 0c0b7ea23aed0b55ef2f9803f13ddaae1943713d Wed Apr 24 18:56:50 CEST 2019 Nick Crews <ncrews@chromium.org> platform/chrome: wilco_ec: Add property helper library
A Property is typically a data item that is stored to NVRAM by the EC. Each of these data items has an index associated with it, known as the Property ID (PID). Properties may have variable lengths, up to a max of WILCO_EC_PROPERTY_MAX_SIZE bytes. Properties can be simple integers, or they may be more complex binary data.
This patch adds support for getting and setting properties. This will be useful for setting the charge algorithm and charge schedules, which all use properties.
Signed-off-by: Nick Crews <ncrews@chromium.org> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
|
H A D | properties.c | 0c0b7ea23aed0b55ef2f9803f13ddaae1943713d Wed Apr 24 18:56:50 CEST 2019 Nick Crews <ncrews@chromium.org> platform/chrome: wilco_ec: Add property helper library
A Property is typically a data item that is stored to NVRAM by the EC. Each of these data items has an index associated with it, known as the Property ID (PID). Properties may have variable lengths, up to a max of WILCO_EC_PROPERTY_MAX_SIZE bytes. Properties can be simple integers, or they may be more complex binary data.
This patch adds support for getting and setting properties. This will be useful for setting the charge algorithm and charge schedules, which all use properties.
Signed-off-by: Nick Crews <ncrews@chromium.org> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
|
/linux/include/linux/platform_data/ |
H A D | wilco-ec.h | diff 0c0b7ea23aed0b55ef2f9803f13ddaae1943713d Wed Apr 24 18:56:50 CEST 2019 Nick Crews <ncrews@chromium.org> platform/chrome: wilco_ec: Add property helper library
A Property is typically a data item that is stored to NVRAM by the EC. Each of these data items has an index associated with it, known as the Property ID (PID). Properties may have variable lengths, up to a max of WILCO_EC_PROPERTY_MAX_SIZE bytes. Properties can be simple integers, or they may be more complex binary data.
This patch adds support for getting and setting properties. This will be useful for setting the charge algorithm and charge schedules, which all use properties.
Signed-off-by: Nick Crews <ncrews@chromium.org> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
|