- 10 6月, 2019 19 次提交
-
-
由 Gwendal Grignou 提交于
Improve API for USB Powe delivery and power management. Signed-off-by: NGwendal Grignou <gwendal@chromium.org> Acked-by: NEnric Balletbo i Serra <enric.balletbo@collabora.com> Acked-by: NBenson Leung <bleung@chromium.org> Reviewed-by: NFabien Lahoudere <fabien.lahoudere@collabora.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Gwendal Grignou 提交于
Improve API to retrieve temperature information. Signed-off-by: NGwendal Grignou <gwendal@chromium.org> Acked-by: NEnric Balletbo i Serra <enric.balletbo@collabora.com> Acked-by: NBenson Leung <bleung@chromium.org> Reviewed-by: NFabien Lahoudere <fabien.lahoudere@collabora.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Gwendal Grignou 提交于
Add support for fingerprint sensors managed by embedded controller. Signed-off-by: NGwendal Grignou <gwendal@chromium.org> Acked-by: NEnric Balletbo i Serra <enric.balletbo@collabora.com> Acked-by: NBenson Leung <bleung@chromium.org> Reviewed-by: NFabien Lahoudere <fabien.lahoudere@collabora.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Gwendal Grignou 提交于
Improve API between EC and Host to report events. Signed-off-by: NGwendal Grignou <gwendal@chromium.org> Acked-by: NEnric Balletbo i Serra <enric.balletbo@collabora.com> Acked-by: NBenson Leung <bleung@chromium.org> Reviewed-by: NFabien Lahoudere <fabien.lahoudere@collabora.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Gwendal Grignou 提交于
Add new command for batched mode, add support for more sensors. Signed-off-by: NGwendal Grignou <gwendal@chromium.org> Acked-by: NEnric Balletbo i Serra <enric.balletbo@collabora.com> Acked-by: NBenson Leung <bleung@chromium.org> Reviewed-by: NFabien Lahoudere <fabien.lahoudere@collabora.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Gwendal Grignou 提交于
Introduce a new transport procotol between EC and host. Signed-off-by: NGwendal Grignou <gwendal@chromium.org> Acked-by: NEnric Balletbo i Serra <enric.balletbo@collabora.com> Acked-by: NBenson Leung <bleung@chromium.org> Reviewed-by: NFabien Lahoudere <fabien.lahoudere@collabora.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Gwendal Grignou 提交于
Improve API to verify EC image signature. Signed-off-by: NGwendal Grignou <gwendal@chromium.org> Acked-by: NEnric Balletbo i Serra <enric.balletbo@collabora.com> Acked-by: NBenson Leung <bleung@chromium.org> Reviewed-by: NFabien Lahoudere <fabien.lahoudere@collabora.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Gwendal Grignou 提交于
New API split commands, improve EC command latency. Signed-off-by: NGwendal Grignou <gwendal@chromium.org> Acked-by: NEnric Balletbo i Serra <enric.balletbo@collabora.com> Acked-by: NBenson Leung <bleung@chromium.org> Reviewed-by: NFabien Lahoudere <fabien.lahoudere@collabora.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Gwendal Grignou 提交于
Add API for fan control. Signed-off-by: NGwendal Grignou <gwendal@chromium.org> Acked-by: NEnric Balletbo i Serra <enric.balletbo@collabora.com> Acked-by: NBenson Leung <bleung@chromium.org> Reviewed-by: NFabien Lahoudere <fabien.lahoudere@collabora.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Gwendal Grignou 提交于
Added for supporting larger embedded controller flash. Signed-off-by: NGwendal Grignou <gwendal@chromium.org> Acked-by: NEnric Balletbo i Serra <enric.balletbo@collabora.com> Acked-by: NBenson Leung <bleung@chromium.org> Reviewed-by: NFabien Lahoudere <fabien.lahoudere@collabora.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Gwendal Grignou 提交于
Empty structure size is different between C and C++. To prevent clang warning when compiling this include file in C++ programs, remove empty structures. Signed-off-by: NGwendal Grignou <gwendal@chromium.org> Acked-by: NEnric Balletbo i Serra <enric.balletbo@collabora.com> Acked-by: NBenson Leung <bleung@chromium.org> Reviewed-by: NFabien Lahoudere <fabien.lahoudere@collabora.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Gwendal Grignou 提交于
Move near the end of file. Signed-off-by: NGwendal Grignou <gwendal@chromium.org> Acked-by: NEnric Balletbo i Serra <enric.balletbo@collabora.com> Acked-by: NBenson Leung <bleung@chromium.org> Reviewed-by: NFabien Lahoudere <fabien.lahoudere@collabora.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Gwendal Grignou 提交于
Add more fields and improve API when EC presents data through ACPI memory space. Signed-off-by: NGwendal Grignou <gwendal@chromium.org> Acked-by: NEnric Balletbo i Serra <enric.balletbo@collabora.com> Acked-by: NBenson Leung <bleung@chromium.org> Reviewed-by: NFabien Lahoudere <fabien.lahoudere@collabora.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Gwendal Grignou 提交于
Replace (1 << ...) with BIT(). Signed-off-by: NGwendal Grignou <gwendal@chromium.org> Acked-by: NEnric Balletbo i Serra <enric.balletbo@collabora.com> Acked-by: NBenson Leung <bleung@chromium.org> Reviewed-by: NFabien Lahoudere <fabien.lahoudere@collabora.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Gwendal Grignou 提交于
This change is required for compilation of embedded controller firmware to work properly (See CONFIG_HOSTCMD_SECTION_SORTED). Signed-off-by: NGwendal Grignou <gwendal@chromium.org> Acked-by: NEnric Balletbo i Serra <enric.balletbo@collabora.com> Acked-by: NBenson Leung <bleung@chromium.org> Reviewed-by: NFabien Lahoudere <fabien.lahoudere@collabora.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Gwendal Grignou 提交于
To reduce code and improve performance of the embedded controller firmware, pragma __aligned(2) or __aligned(4) are used when alignment to 16 or 32 bit boundary is expected. Define all ec_align to packed when compiling kernel. Signed-off-by: NGwendal Grignou <gwendal@chromium.org> Acked-by: NEnric Balletbo i Serra <enric.balletbo@collabora.com> Acked-by: NBenson Leung <bleung@chromium.org> Reviewed-by: NFabien Lahoudere <fabien.lahoudere@collabora.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Gwendal Grignou 提交于
Fix comments syntax and spelling errors. Signed-off-by: NGwendal Grignou <gwendal@chromium.org> Acked-by: NEnric Balletbo i Serra <enric.balletbo@collabora.com> Acked-by: NBenson Leung <bleung@chromium.org> Reviewed-by: NFabien Lahoudere <fabien.lahoudere@collabora.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Gwendal Grignou 提交于
Defined out build macro used when compiling embedded controller firmware. Signed-off-by: NGwendal Grignou <gwendal@chromium.org> Acked-by: NEnric Balletbo i Serra <enric.balletbo@collabora.com> Acked-by: NBenson Leung <bleung@chromium.org> Reviewed-by: NFabien Lahoudere <fabien.lahoudere@collabora.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Gwendal Grignou 提交于
Update to SPDX-License-Identifier, GPL-2.0 Signed-off-by: NGwendal Grignou <gwendal@chromium.org> Acked-by: NEnric Balletbo i Serra <enric.balletbo@collabora.com> Acked-by: NBenson Leung <bleung@chromium.org> Reviewed-by: NFabien Lahoudere <fabien.lahoudere@collabora.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
- 14 5月, 2019 3 次提交
-
-
由 Enric Balletbo i Serra 提交于
Update the feature enum for the Chromebook Embedded Controller to the latest version. Some of these enums are still not used in the kernel but we might be also interested on have these enums up to date. Userspace can use them to query the features to the EC via the cros-ec character device. While here, also fix a typo in one comment in the enum. Signed-off-by: NEnric Balletbo i Serra <enric.balletbo@collabora.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Evan Green 提交于
Introduce the command and response structures for the second revision of the host sleep event. These structures are part of a new EC change that enables detection of failure to enter S0ix. The EC waits a kernel-specified timeout (or a default amount of time) for the S0_SLP pin to change, and wakes the system if that change does not occur in time. Signed-off-by: NEvan Green <evgreen@chromium.org> Reviewed-by: NRajat Jain <rajatja@chromium.org> Reviewed-by: NGuenter Roeck <groeck@chromium.org> Acked-by: NEnric Balletbo i Serra <enric.balletbo@collabora.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Rushikesh S Kadam 提交于
Integrated Sensor Hub (ISH) is also a MCU running EC having feature bit EC_FEATURE_ISH. Instantiate it as a special CrOS EC device with device name 'cros_ish'. Signed-off-by: NRushikesh S Kadam <rushikesh.s.kadam@intel.com> Reviewed-by: NAndy Shevchenko <andriy.shevchenko@intel.com> Acked-by: NEnric Balletbo i Serra <enric.balletbo@collabora.com> Reviewed-by: NGwendal Grignou <gwendal@chromium.org> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
- 03 1月, 2019 1 次提交
-
-
由 Cheng-Yi Chiang 提交于
Add EC host commands to control codec on EC. Signed-off-by: NCheng-Yi Chiang <cychiang@chromium.org> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
- 09 10月, 2018 1 次提交
-
-
由 Dmitry Torokhov 提交于
This adds a "base attached" switch definition to the MKBP protocol that is used by Whiskers driver to properly determine device state (clamshell vs tablet mode). Signed-off-by: NDmitry Torokhov <dtor@chromium.org> Acked-by: NLee Jones <lee.jones@linaro.org> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
- 16 9月, 2018 1 次提交
-
-
由 Fabien Parent 提交于
A new more command has been added to the ChromeOS embedded controller that allows to get the number of charger port count. Unlike EC_CMD_USB_PD_PORTS, this new command also includes the dedicated port if present. This command will be used to expose the dedicated charger port in the ChromeOS charger driver. Signed-off-by: NFabien Parent <fparent@baylibre.com> Acked-for-MFD-by: NLee Jones <lee.jones@linaro.org> Reviewed-by: NEnric Balletbo i Serra <enric.balletbo@collabora.com> Signed-off-by: NSebastian Reichel <sebastian.reichel@collabora.com>
-
- 07 9月, 2018 1 次提交
-
-
由 Enric Balletbo i Serra 提交于
cros-ec includes inside the MFD subsystem, specially the file cros_ec_commands.h, has been modified several times and it has grown a lot, unfortunately, we didn't have care too much about the documentation. This patch tries to improve the documentation and also fixes all the issues reported by kerneldoc script. Signed-off-by: NEnric Balletbo i Serra <enric.balletbo@collabora.com> Signed-off-by: NBenson Leung <bleung@chromium.org>
-
- 13 7月, 2018 2 次提交
-
-
由 Neil Armstrong 提交于
The EC can expose a CEC bus, this patch adds the CEC related definitions needed by the cros-ec-cec driver. Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com> Tested-by: NEnric Balletbo i Serra <enric.balletbo@collabora.com> Reviewed-by: NHans Verkuil <hans.verkuil@cisco.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Neil Armstrong 提交于
Having a 16 byte mkbp event size makes it possible to send CEC messages from the EC to the AP directly inside the mkbp event instead of first doing a notification and then a read. Signed-off-by: NStefan Adolfsson <sadolfsson@chromium.org> Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com> Tested-by: NEnric Balletbo i Serra <enric.balletbo@collabora.com> Acked-by: NHans Verkuil <hans.verkuil@cisco.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
- 04 7月, 2018 1 次提交
-
-
由 Sameer Nanda 提交于
The USBPD charger driver gets information from the ChromeOS EC, this patch adds the USBPD charger definitions needed by this driver. Signed-off-by: NSameer Nanda <snanda@chromium.org> Signed-off-by: NEnric Balletbo i Serra <enric.balletbo@collabora.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
- 11 4月, 2018 1 次提交
-
-
由 Shawn Nematbakhsh 提交于
Add info useful for debugging USB-PD port state. Signed-off-by: NShawn Nematbakhsh <shawnn@chromium.org> Signed-off-by: NEnric Balletbo i Serra <enric.balletbo@collabora.com> Reviewed-by: NAndy Shevchenko <andy.shevchenko@gmail.com> Acked-by: NLee Jones <lee.jones@linaro.org> Signed-off-by: NBenson Leung <bleung@chromium.org>
-
- 19 12月, 2017 1 次提交
-
-
由 Stephen Barber 提交于
The EC can function as a simple RT, this patch adds the RTC related definitions needed by the rtc-cros-ec driver. Signed-off-by: NStephen Barber <smbarber@chromium.org> Signed-off-by: NEnric Balletbo i Serra <enric.balletbo@collabora.com> Acked-by: NLee Jones <lee.jones@linaro.org> Acked-by: NBenson Leung <bleung@chromium.org> Reviewed-by: NBrian Norris <briannorris@chromium.org> Signed-off-by: NAlexandre Belloni <alexandre.belloni@free-electrons.com>
-
- 15 12月, 2017 1 次提交
-
-
由 Benson Leung 提交于
Extend the driver to notify host and device type cables and the presence of power. Signed-off-by: NBenson Leung <bleung@chromium.org> Signed-off-by: NEnric Balletbo i Serra <enric.balletbo@collabora.com> Reviewed-by: NChanwoo Choi <cw00.choi@samsung.com> Acked-by: NLee Jones <lee.jones@linaro.org> Signed-off-by: NChanwoo Choi <cw00.choi@samsung.com>
-
- 17 7月, 2017 1 次提交
-
-
由 Benson Leung 提交于
This is the driver for the USB Type C cable detection mechanism built into the ChromeOS Embedded Controller on systems that have USB Type-C ports. At present, this allows for the presence of display out, but in future, it may also be used to notify host and device type cables and the presence of power. Signed-off-by: NBenson Leung <bleung@chromium.org> Signed-off-by: NEnric Balletbo i Serra <enric.balletbo@collabora.com> Acked-by: NChanwoo Choi <cw00.chio@samsung.com> Acked-by: NLee Jones <lee.jones@linaro.org> Signed-off-by: NChanwoo Choi <cw00.choi@samsung.com>
-
- 24 6月, 2017 2 次提交
-
-
由 Eric Caruso 提交于
Don't let EC control suspend/resume sequence. If the EC controls the lightbar and sets the sequence when it notices the chipset transitioning between states, we can't make exceptions for cases where we don't want to activate the lightbar. Instead, let's move the suspend/resume notifications into the kernel so we can selectively play the sequences. Signed-off-by: NEric Caruso <ejcaruso@chromium.org> Signed-off-by: NGuenter Roeck <groeck@chromium.org> Signed-off-by: NEnric Balletbo i Serra <enric.balletbo@collabora.com> Acked-by: NLee Jones <lee.jones@linaro.org> Signed-off-by: NBenson Leung <bleung@chromium.org>
-
由 Eric Caruso 提交于
Add a program feature so we can upload and run programs for lightbar sequences. We should be able to use this to shift sequences out of the EC and save space there. $ cat <suitable program bin> > /sys/devices/.../cros_ec/program $ echo program > /sys/devices/.../cros_ec/sequence Signed-off-by: NEric Caruso <ejcaruso@chromium.org> Signed-off-by: NGuenter Roeck <groeck@chromium.org> Signed-off-by: NEnric Balletbo i Serra <enric.balletbo@collabora.com> Acked-by: NLee Jones <lee.jones@linaro.org> Signed-off-by: NBenson Leung <bleung@chromium.org>
-
- 17 6月, 2017 1 次提交
-
-
由 Nicolas Boichat 提交于
ec_params_console_read_v1 is used to capture EC logs from kernel, and ec_params_get_cmd_versions_v1 is used to probe whether EC supports that command. Signed-off-by: NNicolas Boichat <drinkcat@chromium.org> Reviewed-by: NGuenter Roeck <groeck@chromium.org> Acked-by: NLee Jones <lee.jones@linaro.org> Tested-by: NEnric Balletbo i Serra <enric.balletbo@collabora.com> Signed-off-by: NBenson Leung <bleung@chromium.org>
-
- 04 4月, 2017 1 次提交
-
-
由 Rajat Jain 提交于
Some form factors (detachables/tablets) may not have a keyboard and thus user may have to resort to using a defined EC UI to send sysrq(s) to the kernel in order to collect crash info etc. This UI typically is in the form of user pressing volume / power buttons in some specific sequence and for some specific time. Add a new EC event that allows EC to communicate the sysrq to the AP. (We're skipping event number 5 because it has been reserved for something else) Signed-off-by: NRajat Jain <rajatja@google.com> Acked-by: NLee Jones <lee.jones@linaro.org> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
- 13 2月, 2017 2 次提交
-
-
由 Shawn Nematbakhsh 提交于
Notify EC when going to or returning from suspend so that proper actions related to wake events can be taken. Signed-off-by: NShawn Nematbakhsh <shawnn@chromium.org> Signed-off-by: NThierry Escande <thierry.escande@collabora.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Gwendal Grignou 提交于
Add switch to report tablet mode. Signed-off-by: NGwendal Grignou <gwendal@chromium.org> Signed-off-by: NEnric Balletbo Serra <enric.balletbo@collabora.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
- 08 2月, 2017 1 次提交
-
-
由 Douglas Anderson 提交于
Add the defines for the new buttons and switches connected to the CrosEC. Signed-off-by: NDouglas Anderson <dianders@chromium.org> Signed-off-by: NEnric Balletbo i Serra <enric.balletbo@collabora.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-