mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-28 11:49:32 +00:00
![Bjorn Andersson](/assets/img/avatar_default.png)
Driver for the Resource Power Manager (RPM) found in Qualcomm 8660, 8960 and 8064 based devices. The driver exposes resources that child drivers can operate on; to implementing regulator, clock and bus frequency drivers. Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
13 lines
254 B
C
13 lines
254 B
C
#ifndef __QCOM_RPM_H__
|
|
#define __QCOM_RPM_H__
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct qcom_rpm;
|
|
|
|
#define QCOM_RPM_ACTIVE_STATE 0
|
|
#define QCOM_RPM_SLEEP_STATE 1
|
|
|
|
int qcom_rpm_write(struct qcom_rpm *rpm, int state, int resource, u32 *buf, size_t count);
|
|
|
|
#endif
|