diff options
| author | Alexander Shiyan <shc_work@mail.ru> | 2012-12-03 13:23:31 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-16 02:00:38 -0500 |
| commit | ec063899b7b308019afa9f5eb32f0a58a6c6ee53 (patch) | |
| tree | cf4ad8c5076dc75113677b1bbd053704308a58de /include/linux/platform_data | |
| parent | 496c907740ff083499f5449d2907af442e79ceb0 (diff) | |
serial: sccnxp: Implement polling mode
This patch adds support for polling work mode, i.e. system is perform
periodical check chip status when IRQ-line is not connected to CPU.
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/sccnxp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/platform_data/sccnxp.h b/include/linux/platform_data/sccnxp.h index 7311ccd3217f..096de90cf848 100644 --- a/include/linux/platform_data/sccnxp.h +++ b/include/linux/platform_data/sccnxp.h | |||
| @@ -84,6 +84,8 @@ struct sccnxp_pdata { | |||
| 84 | const u8 reg_shift; | 84 | const u8 reg_shift; |
| 85 | /* Modem control lines configuration */ | 85 | /* Modem control lines configuration */ |
| 86 | const u32 mctrl_cfg[SCCNXP_MAX_UARTS]; | 86 | const u32 mctrl_cfg[SCCNXP_MAX_UARTS]; |
| 87 | /* Timer value for polling mode (usecs) */ | ||
| 88 | const unsigned int poll_time_us; | ||
| 87 | /* Called during startup */ | 89 | /* Called during startup */ |
| 88 | void (*init)(void); | 90 | void (*init)(void); |
| 89 | /* Called before finish */ | 91 | /* Called before finish */ |
