Browse Source
Leverage pubsub event framework to customize vendor's event for better software modularization instead of adding call entries in abstraction layer for customized platform function with wrap-up define. Signed-off-by: Leon Chen <leon.chen@mediatek.com> Change-Id: I48be2303c45f759776fa2baa1c21130c1a8f0fa3pull/1988/head
Leon Chen
3 years ago
committed by
Bo-Chen Chen
1 changed files with 21 additions and 0 deletions
@ -0,0 +1,21 @@ |
|||
/*
|
|||
* Copyright (c) 2022, MediaTek Inc. All rights reserved. |
|||
* |
|||
* SPDX-License-Identifier: BSD-3-Clause |
|||
*/ |
|||
|
|||
#ifndef VENDOR_PUBSUB_EVENTS_H |
|||
#define VENDOR_PUBSUB_EVENTS_H |
|||
|
|||
#include <lib/el3_runtime/pubsub.h> |
|||
|
|||
REGISTER_PUBSUB_EVENT(lpm_publish_event); |
|||
REGISTER_PUBSUB_EVENT(suspend_publish_event); |
|||
REGISTER_PUBSUB_EVENT(mt_cpupm_publish_pwr_on); |
|||
REGISTER_PUBSUB_EVENT(mt_cpupm_publish_pwr_off); |
|||
REGISTER_PUBSUB_EVENT(mt_cpupm_publish_afflv_pwr_on); |
|||
REGISTER_PUBSUB_EVENT(mt_cpupm_publish_afflv_pwr_off); |
|||
REGISTER_PUBSUB_EVENT(publish_check_wakeup_irq); |
|||
REGISTER_PUBSUB_EVENT(watchdog_timeout); |
|||
|
|||
#endif /* VENDOR_PUBSUB_EVENTS_H */ |
Loading…
Reference in new issue