From c7dabf3b12676a7213bbf697eba6ec5b8e5b35e0 Mon Sep 17 00:00:00 2001 From: Yonghua Yan Date: Sun, 4 Dec 2022 23:12:15 +0800 Subject: [PATCH] Add LPD device notify support in mmi_relay Add LPD notify support in mmi_relay. Add LPD notify event type definition. Change-Id: Ib2cca69bacb3de8a9321b9df70331cf5471e793e Signed-off-by: Yonghua Yan Reviewed-on: https://gerrit.mot.com/2450302 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Jianqi Yang Submit-Approved: Jira Key --- include/linux/mmi_relay.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/linux/mmi_relay.h b/include/linux/mmi_relay.h index f2de826f6f0e..61435a9c0641 100644 --- a/include/linux/mmi_relay.h +++ b/include/linux/mmi_relay.h @@ -3,6 +3,14 @@ #include +/* + * Notify device event type definitions + */ +enum { + NOTIFY_EVENT_LPD_STATUS = 1, + NOTIFY_EVENT_TUD_STATUS = 2, +}; + typedef enum notifier_type { ATOMIC, BLOCKING, @@ -13,6 +21,7 @@ typedef enum notifier_dev { LCD, FPS, MMI_RELAY, + LPD, NUM_DEVS, }notifier_d;