mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-15 03:46:47 +07:00
58e214382b
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>
14 lines
254 B
C
14 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
|