Просмотр исходного кода

fw-api: CL 5705736 - update fw common interface files

Change-Id: I2152ac1dc6faf21f12493acd8ec38062cb043d92
WMI: add init_state field to HOSTWAKEUP_GPIO_PIN_PATTERN_CONFIG msg
CRs-Fixed: 2262693
spuligil 6 лет назад
Родитель
Сommit
9a297afc82
2 измененных файлов с 7 добавлено и 1 удалено
  1. 6 0
      fw/wmi_unified.h
  2. 1 1
      fw/wmi_version.h

+ 6 - 0
fw/wmi_unified.h

@@ -12688,6 +12688,12 @@ typedef struct {
     A_UINT32 interval_low; /* interval for keeping low voltage, unit: ms */
     A_UINT32 interval_high; /* interval for keeping high voltage, unit: ms */
     A_UINT32 repeat_cnt; /* repeat times for pulse (0xffffffff means forever) */
+    A_UINT32 init_state; /* Sense of the GPIO pin used for host wakeups.
+                          * If init_state is 0, a low --> high transition
+                          * causes a host wakeup interrupt.
+                          * If init_state is 1, a high --> low transition
+                          * causes a host wakeup interrrupt.
+                          */
 } WMI_WOW_HOSTWAKEUP_GPIO_PIN_PATTERN_CONFIG_CMD_fixed_param;
 
 #define MAX_SUPPORTED_ACTION_CATEGORY           256

+ 1 - 1
fw/wmi_version.h

@@ -36,7 +36,7 @@
 #define __WMI_VER_MINOR_    0
 /** WMI revision number has to be incremented when there is a
  *  change that may or may not break compatibility. */
-#define __WMI_REVISION_ 587
+#define __WMI_REVISION_ 588
 
 /** The Version Namespace should not be normally changed. Only
  *  host and firmware of the same WMI namespace will work