mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
f38f2c2a81
PD#SWPL-104278 Problem: add power domain. Solution: add power domain. Verify: sm1 Change-Id: I0aab1e2e3b65d279a4194095ded67b063cdfb7f7 Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
38 lines
629 B
C
38 lines
629 B
C
/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
|
|
/*
|
|
* Copyright (c) 2019 Amlogic, Inc. All rights reserved.
|
|
*/
|
|
|
|
#ifndef _RESET_MAIN_H__
|
|
#define _RESET_MAIN_H__
|
|
|
|
#if IS_ENABLED(CONFIG_AMLOGIC_RESET_MESON)
|
|
int meson_reset_driver_init(void);
|
|
void meson_reset_driver_exit(void);
|
|
#else
|
|
static inline int meson_reset_driver_init(void)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
static inline void meson_reset_driver_exit(void)
|
|
{
|
|
}
|
|
#endif
|
|
|
|
#if IS_ENABLED(CONFIG_AMLOGIC_DOS_RESET_MESON)
|
|
int reset_dos(void);
|
|
void reset_exit(void);
|
|
#else
|
|
static inline int reset_dos(void)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
static inline void reset_exit(void)
|
|
{
|
|
}
|
|
#endif
|
|
|
|
#endif /* _PM_MAIN_H__ */
|