Commit 5ed9d92f authored by Maxime Ripard's avatar Maxime Ripard Committed by Wolfram Sang

i2c: mv64xxx: Change i2c compatibles for sunxi

The Allwinner A10 compatibles were following a slightly different compatible
patterns than the rest of the SoCs for historical reasons. Move to the other
pattern for consistency across all Allwinner Socs.
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
[wsa: dropped binding OK as per
http://lists.infradead.org/pipermail/linux-arm-kernel/2014-February/229438.html]
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 4b660a7f
...@@ -5,7 +5,7 @@ Required properties : ...@@ -5,7 +5,7 @@ Required properties :
- reg : Offset and length of the register set for the device - reg : Offset and length of the register set for the device
- compatible : Should be either: - compatible : Should be either:
- "allwinner,sun4i-i2c" - "allwinner,sun4i-a10-i2c"
- "allwinner,sun6i-a31-i2c" - "allwinner,sun6i-a31-i2c"
- "marvell,mv64xxx-i2c" - "marvell,mv64xxx-i2c"
- "marvell,mv78230-i2c" - "marvell,mv78230-i2c"
......
...@@ -681,7 +681,7 @@ static const struct i2c_algorithm mv64xxx_i2c_algo = { ...@@ -681,7 +681,7 @@ static const struct i2c_algorithm mv64xxx_i2c_algo = {
***************************************************************************** *****************************************************************************
*/ */
static const struct of_device_id mv64xxx_i2c_of_match_table[] = { static const struct of_device_id mv64xxx_i2c_of_match_table[] = {
{ .compatible = "allwinner,sun4i-i2c", .data = &mv64xxx_i2c_regs_sun4i}, { .compatible = "allwinner,sun4i-a10-i2c", .data = &mv64xxx_i2c_regs_sun4i},
{ .compatible = "allwinner,sun6i-a31-i2c", .data = &mv64xxx_i2c_regs_sun4i}, { .compatible = "allwinner,sun6i-a31-i2c", .data = &mv64xxx_i2c_regs_sun4i},
{ .compatible = "marvell,mv64xxx-i2c", .data = &mv64xxx_i2c_regs_mv64xxx}, { .compatible = "marvell,mv64xxx-i2c", .data = &mv64xxx_i2c_regs_mv64xxx},
{ .compatible = "marvell,mv78230-i2c", .data = &mv64xxx_i2c_regs_mv64xxx}, { .compatible = "marvell,mv78230-i2c", .data = &mv64xxx_i2c_regs_mv64xxx},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment