-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implementation of I2C Adapter/Algorithm Driver for I2C Bus integrated in Freescale's i.MX/MXC processors. Signed-off-by: Darius Augulis <augulis.darius@gmail.com> Tested-by: Sascha Hauer <s.hauer@pengutronix.de> Reviewed-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
- Loading branch information
Darius Augulis
authored and
Ben Dooks
committed
Apr 7, 2009
1 parent
d508afb
commit aa11e38
Showing
4 changed files
with
653 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/* | ||
* i2c.h - i.MX I2C driver header file | ||
* | ||
* Copyright (c) 2008, Darius Augulis <augulis.darius@gmail.com> | ||
* | ||
* This file is released under the GPLv2 | ||
*/ | ||
|
||
#ifndef __ASM_ARCH_I2C_H_ | ||
#define __ASM_ARCH_I2C_H_ | ||
|
||
/** | ||
* struct imxi2c_platform_data - structure of platform data for MXC I2C driver | ||
* @init: Initialise gpio's and other board specific things | ||
* @exit: Free everything initialised by @init | ||
* @bitrate: Bus speed measured in Hz | ||
* | ||
**/ | ||
struct imxi2c_platform_data { | ||
int (*init)(struct device *dev); | ||
void (*exit)(struct device *dev); | ||
int bitrate; | ||
}; | ||
|
||
#endif /* __ASM_ARCH_I2C_H_ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.