Commit 624e3fce authored by Yicheng Li's avatar Yicheng Li Committed by Lee Jones
Browse files

mfd: cros_ec: Update cros_ec_commands.h



Update cros_ec_commands.h to match the fingerprint MCU section in
the current ec_commands.h

Signed-off-by: default avatarYicheng Li <yichengli@chromium.org>
Reviewed-by: default avatarGwendal Grignou <gwendal@chromium.org>
Reviewed-by: default avatarEnric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent ed075453
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -5513,6 +5513,18 @@ struct ec_params_fp_seed {
	uint8_t seed[FP_CONTEXT_TPM_BYTES];
} __ec_align4;

#define EC_CMD_FP_ENC_STATUS 0x0409

/* FP TPM seed has been set or not */
#define FP_ENC_STATUS_SEED_SET BIT(0)

struct ec_response_fp_encryption_status {
	/* Used bits in encryption engine status */
	uint32_t valid_flags;
	/* Encryption engine status */
	uint32_t status;
} __ec_align4;

/*****************************************************************************/
/* Touchpad MCU commands: range 0x0500-0x05FF */