i2c: nomadik: Add Device Tree support to the Nomadik I2C driver

Here we apply the bindings required for successful Device Tree
probing of the i2c-nomadik driver.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
This commit is contained in:
Lee Jones
2012-08-06 11:09:57 +01:00
committed by Wolfram Sang
parent a76e7c6821
commit 43fea5813c
3 changed files with 56 additions and 4 deletions

View File

@@ -28,7 +28,7 @@ enum i2c_freq_mode {
* @sm: speed mode
*/
struct nmk_i2c_controller {
unsigned long clk_freq;
u32 clk_freq;
unsigned short slsu;
unsigned char tft;
unsigned char rft;