aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-msm/include/mach/msm_serial_pdata.h
blob: 7c1319efcfc692b024c3fcede4e6dbac704ba5e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* Copyright (c) 2010, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * only version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
*/

#ifndef __ASM_ARCH_MSM_SERIAL_H
#define __ASM_ARCH_MSM_SERIAL_H

#include <linux/serial_core.h>

/* Optional platform device data for msm_serial driver.
 * Used to configure low power wakeup */
struct msm_serial_platform_data {
	int wakeup_irq;  /* wakeup irq */
	/* bool: inject char into rx tty on wakeup */
	unsigned char inject_rx_on_wakeup;
	char rx_to_inject;
	int userid;
};

#endif