mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
fw-api: CL 11572988 - update fw common interface files
Change-Id: I17b4c27dd2b431a22ead25b4772bcfa2ee8be89f WMI: expand GPIO config with drive strength and enable fields CRs-Fixed: 2262693
This commit is contained in:
parent
333ac083c6
commit
74fca4c4cd
2 changed files with 32 additions and 4 deletions
|
|
@ -17314,9 +17314,26 @@ typedef struct {
|
|||
|
||||
/* WMI_GPIO_CONFIG_CMDID */
|
||||
enum {
|
||||
WMI_GPIO_PULL_NONE,
|
||||
WMI_GPIO_PULL_UP,
|
||||
WMI_GPIO_PULL_DOWN,
|
||||
WMI_GPIO_PULL_NONE, /** Do not specify a pull. */
|
||||
WMI_GPIO_PULL_UP, /** Pull the GPIO up. */
|
||||
WMI_GPIO_PULL_DOWN, /** Pull the GPIO down. */
|
||||
WMI_GPIO_PULL_KEEPER, /** Designate as a keeper. */
|
||||
};
|
||||
|
||||
enum wmi_gpio_drive_strength {
|
||||
WMI_GPIO_2MA, /** Specify a 2 mA drive. */
|
||||
WMI_GPIO_4MA, /** Specify a 4 mA drive. */
|
||||
WMI_GPIO_6MA, /** Specify a 6 mA drive. */
|
||||
WMI_GPIO_8MA, /** Specify an 8 mA drive. */
|
||||
WMI_GPIO_10MA, /** Specify a 10 mA drive. */
|
||||
WMI_GPIO_12MA, /** Specify a 12 mA drive. */
|
||||
WMI_GPIO_14MA, /** Specify a 14 mA drive. */
|
||||
WMI_GPIO_16MA, /** Specify a 16 mA drive. */
|
||||
};
|
||||
|
||||
enum wmi_tlmm_gpio_config {
|
||||
WMI_TLMM_GPIO_DISABLE, /** Use the internal inactive configuration. */
|
||||
WMI_TLMM_GPIO_ENABLE, /** Use the configuration passed as parameter. */
|
||||
};
|
||||
|
||||
enum {
|
||||
|
|
@ -17341,6 +17358,17 @@ typedef struct {
|
|||
* 0x4 - use the pin as GPIO (rather than UART)
|
||||
*/
|
||||
A_UINT32 mux_config_val;
|
||||
/*
|
||||
* The drive strength to use in the configuration of a GPIO.
|
||||
* Refer to the wmi_gpio_drive_strength enum.
|
||||
*/
|
||||
A_UINT32 drive;
|
||||
/*
|
||||
* Use the internal inactive configuration or configuration passed
|
||||
* as parameter.
|
||||
* Refer to the wmi_tlmm_gpio_config enum.
|
||||
*/
|
||||
A_UINT32 init_enable;
|
||||
} wmi_gpio_config_cmd_fixed_param;
|
||||
|
||||
/* WMI_GPIO_OUTPUT_CMDID */
|
||||
|
|
|
|||
|
|
@ -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_ 892
|
||||
#define __WMI_REVISION_ 893
|
||||
|
||||
/** The Version Namespace should not be normally changed. Only
|
||||
* host and firmware of the same WMI namespace will work
|
||||
|
|
|
|||
Loading…
Reference in a new issue