google/chromeec: Add wrapper for EC_CMD_GET_KEYBD_CONFIG
Add a wrapper command for the subject command Signed-off-by: Rajat Jain <rajatja@google.com> Change-Id: I29a4021c2ea0d1cbb4a72f56bf2232d8f9c80ac3 Reviewed-on: https://review.coreboot.org/c/coreboot/+/40313 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
committed by
Furquan Shaikh
parent
a28e3fb694
commit
89eef55718
@@ -330,6 +330,14 @@ struct usb_pd_port_caps {
|
||||
int google_chromeec_get_pd_port_caps(int port,
|
||||
struct usb_pd_port_caps *port_caps);
|
||||
|
||||
/**
|
||||
* Get the keyboard configuration / layout information from EC
|
||||
*
|
||||
* @param *keybd If successful, this is filled with EC filled parameters
|
||||
* @return 0 on success, -1 on error
|
||||
*/
|
||||
int google_chromeec_get_keybd_config(struct ec_response_keybd_config *keybd);
|
||||
|
||||
#if CONFIG(HAVE_ACPI_TABLES)
|
||||
/**
|
||||
* Writes USB Type-C PD related information to the SSDT
|
||||
|
Reference in New Issue
Block a user