Add api to write to mpm wakeup registers to configure a gpio as wakeup capable. Change-Id: Ia11a22160394e76969200691cfaf8fb1505bf5c1 Signed-off-by: Rishabh Bhatnagar <rishabhb@codeaurora.org>
17 lines
429 B
C
17 lines
429 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) 2019, The Linux Foundation. All rights reserved.
|
|
*/
|
|
|
|
#ifndef __LINUX_PINCTRL_MSM_H__
|
|
#define __LINUX_PINCTRL_MSM_H__
|
|
|
|
/* APIS to access qup_i3c registers */
|
|
int msm_qup_write(u32 mode, u32 val);
|
|
int msm_qup_read(u32 mode);
|
|
|
|
/* API to write to mpm_wakeup registers */
|
|
int msm_gpio_mpm_wake_set(unsigned int gpio, bool enable);
|
|
|
|
#endif /* __LINUX_PINCTRL_MSM_H__ */
|