Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
include
linux
platform_data
i2c-nomadik.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2009 ST-Ericsson
3
*
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License version 2, as
6
* published by the Free Software Foundation.
7
*/
8
#ifndef __PDATA_I2C_NOMADIK_H
9
#define __PDATA_I2C_NOMADIK_H
10
11
enum
i2c_freq_mode
{
12
I2C_FREQ_MODE_STANDARD
,
/* up to 100 Kb/s */
13
I2C_FREQ_MODE_FAST
,
/* up to 400 Kb/s */
14
I2C_FREQ_MODE_HIGH_SPEED
,
/* up to 3.4 Mb/s */
15
I2C_FREQ_MODE_FAST_PLUS
,
/* up to 1 Mb/s */
16
};
17
30
struct
nmk_i2c_controller
{
31
u32
clk_freq
;
32
unsigned
short
slsu
;
33
unsigned
char
tft
;
34
unsigned
char
rft
;
35
int
timeout
;
36
enum
i2c_freq_mode
sm
;
37
};
38
39
#endif
/* __PDATA_I2C_NOMADIK_H */
Generated on Thu Jan 10 2013 14:52:19 for Linux Kernel by
1.8.2