blob: 37349b60f0a75515fd9d26829ae081db48d5b911 [file] [log] [blame]
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001/* Copyright (c) 2010, Code Aurora Forum. All rights reserved.
2 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 *
12 */
13
14#ifndef __ARCH_ARM_MACH_MSM_RPM_LOG_H
15#define __ARCH_ARM_MACH_MSM_RPM_LOG_H
16
17#include <linux/types.h>
18
19enum {
20 MSM_RPM_LOG_PAGE_INDICES,
21 MSM_RPM_LOG_PAGE_BUFFER,
22 MSM_RPM_LOG_PAGE_COUNT
23};
24
25struct msm_rpm_log_platform_data {
26 u32 reg_offsets[MSM_RPM_LOG_PAGE_COUNT];
27 u32 log_len;
28 u32 log_len_mask;
29 phys_addr_t phys_addr_base;
30 u32 phys_size;
31 void __iomem *reg_base;
32};
33
34#endif /* __ARCH_ARM_MACH_MSM_RPM_LOG_H */