blob: f75937e59cc3cd724eeb503ccc747b1cce3a7e0c [file] [log] [blame]
Priyanka Mathur49c60802012-12-13 12:53:58 -08001/* Copyright (c) 2010, 2013, The Linux Foundation. All rights reserved.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002 *
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;
Priyanka Mathur49c60802012-12-13 12:53:58 -080031 u32 version;
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070032 void __iomem *reg_base;
33};
34
35#endif /* __ARCH_ARM_MACH_MSM_RPM_LOG_H */