Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 74fca4c4 authored by spuligil's avatar spuligil
Browse files

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
parent 333ac083
Loading
Loading
Loading
Loading
+31 −3
Original line number Diff line number Diff line
@@ -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 */
+1 −1
Original line number Diff line number Diff line
@@ -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