diff options
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/busses/i2c-mv64xxx.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/i2c/busses/i2c-mv64xxx.c b/drivers/i2c/busses/i2c-mv64xxx.c index 8be7e42aa4de..b8c5187b9ee0 100644 --- a/drivers/i2c/busses/i2c-mv64xxx.c +++ b/drivers/i2c/busses/i2c-mv64xxx.c | |||
@@ -692,6 +692,7 @@ static const struct of_device_id mv64xxx_i2c_of_match_table[] = { | |||
692 | { .compatible = "allwinner,sun4i-i2c", .data = &mv64xxx_i2c_regs_sun4i}, | 692 | { .compatible = "allwinner,sun4i-i2c", .data = &mv64xxx_i2c_regs_sun4i}, |
693 | { .compatible = "marvell,mv64xxx-i2c", .data = &mv64xxx_i2c_regs_mv64xxx}, | 693 | { .compatible = "marvell,mv64xxx-i2c", .data = &mv64xxx_i2c_regs_mv64xxx}, |
694 | { .compatible = "marvell,mv78230-i2c", .data = &mv64xxx_i2c_regs_mv64xxx}, | 694 | { .compatible = "marvell,mv78230-i2c", .data = &mv64xxx_i2c_regs_mv64xxx}, |
695 | { .compatible = "marvell,mv78230-a0-i2c", .data = &mv64xxx_i2c_regs_mv64xxx}, | ||
695 | {} | 696 | {} |
696 | }; | 697 | }; |
697 | MODULE_DEVICE_TABLE(of, mv64xxx_i2c_of_match_table); | 698 | MODULE_DEVICE_TABLE(of, mv64xxx_i2c_of_match_table); |
@@ -783,6 +784,10 @@ mv64xxx_of_config(struct mv64xxx_i2c_data *drv_data, | |||
783 | drv_data->errata_delay = true; | 784 | drv_data->errata_delay = true; |
784 | } | 785 | } |
785 | 786 | ||
787 | if (of_device_is_compatible(np, "marvell,mv78230-a0-i2c")) { | ||
788 | drv_data->offload_enabled = false; | ||
789 | drv_data->errata_delay = true; | ||
790 | } | ||
786 | out: | 791 | out: |
787 | return rc; | 792 | return rc; |
788 | #endif | 793 | #endif |