[PATCH] i2c: at91: add at91sam9x5 config
Raphaël Poggi
poggi.raph at gmail.com
Fri Aug 1 06:26:22 PDT 2014
Signed-off-by: Raphaël Poggi <poggi.raph at gmail.com>
---
drivers/i2c/busses/i2c-at91.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/i2c/busses/i2c-at91.c b/drivers/i2c/busses/i2c-at91.c
index 399f6a9..4aa4e4e 100644
--- a/drivers/i2c/busses/i2c-at91.c
+++ b/drivers/i2c/busses/i2c-at91.c
@@ -346,6 +346,12 @@ static struct at91_twi_pdata at91sam9g10_config = {
.has_unre_flag = false,
};
+static struct at91_twi_pdata at91sam9x5_config = {
+ .clk_max_div = 7,
+ .clk_offset = 4,
+ .has_unre_flag = false,
+};
+
static struct platform_device_id at91_twi_devtypes[] = {
{
.name = "i2c-at91rm9200",
--
1.7.9.5
More information about the barebox
mailing list