]> Git Repo - linux.git/commitdiff
Merge tag 'tag-chrome-platform-for-v5.13' of git://git.kernel.org/pub/scm/linux/kerne...
authorLinus Torvalds <[email protected]>
Fri, 7 May 2021 21:49:18 +0000 (14:49 -0700)
committerLinus Torvalds <[email protected]>
Fri, 7 May 2021 21:49:18 +0000 (14:49 -0700)
Pull chrome platform updates from Benson Leung:
 "cros_ec_typec:

   - Changes around DP mode check, hard reset, tracking port change.

  cros_ec misc:

   - wilco_ec: Convert stream-like files from nonseekable to stream open

   - cros_usbpd_notify: Listen to EC_HSOT_EVENT_USB_MUX host event

   - fix format warning in cros_ec_typec"

* tag 'tag-chrome-platform-for-v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux:
  platform/chrome: cros_ec_lpc: Use DEFINE_MUTEX() for mutex lock
  platform/chrome: cros_usbpd_notify: Listen to EC_HOST_EVENT_USB_MUX host event
  platform/chrome: cros_ec_typec: Add DP mode check
  platform/chrome: cros_ec_typec: Handle hard reset
  platform/chrome: cros_ec: Add Type C hard reset
  platform/chrome: cros_ec_typec: Track port role
  platform/chrome: cros_ec_typec: fix clang -Wformat warning
  platform/chrome: cros_ec_typec: Check for device within remove function
  platform/chrome: wilco_ec: convert stream-like files from nonseekable_open -> stream_open

1  2 
include/linux/platform_data/cros_ec_commands.h

index 6035d9a98fb891ed1243cbcb5c1a679a4a833aaa,9156078c6fc629477558c67ae85b22f0278f79e9..45f53afc46e22473bdebfae28e956402b5248b87
@@@ -3467,7 -3467,6 +3467,7 @@@ struct ec_response_get_next_event_v1 
  #define EC_MKBP_LID_OPEN      0
  #define EC_MKBP_TABLET_MODE   1
  #define EC_MKBP_BASE_ATTACHED 2
 +#define EC_MKBP_FRONT_PROXIMITY       3
  
  /* Run keyboard factory test scanning */
  #define EC_CMD_KEYBOARD_FACTORY_TEST 0x0068
@@@ -5679,6 -5678,7 +5679,7 @@@ enum tcpc_cc_polarity 
  
  #define PD_STATUS_EVENT_SOP_DISC_DONE         BIT(0)
  #define PD_STATUS_EVENT_SOP_PRIME_DISC_DONE   BIT(1)
+ #define PD_STATUS_EVENT_HARD_RESET            BIT(2)
  
  struct ec_params_typec_status {
        uint8_t port;
This page took 0.080386 seconds and 4 git commands to generate.