aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/da9052-i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd/da9052-i2c.c')
-rw-r--r--drivers/mfd/da9052-i2c.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/mfd/da9052-i2c.c b/drivers/mfd/da9052-i2c.c
index c319c4ef5d49..6da8ec8ff800 100644
--- a/drivers/mfd/da9052-i2c.c
+++ b/drivers/mfd/da9052-i2c.c
@@ -75,6 +75,7 @@ static int da9052_i2c_fix(struct da9052 *da9052, unsigned char reg)
75 DA9052_PARK_REGISTER, 75 DA9052_PARK_REGISTER,
76 &val); 76 &val);
77 break; 77 break;
78 case DA9053_BC:
78 default: 79 default:
79 /* 80 /*
80 * For other chips parking of I2C register 81 * For other chips parking of I2C register
@@ -114,6 +115,7 @@ static const struct i2c_device_id da9052_i2c_id[] = {
114 {"da9053-aa", DA9053_AA}, 115 {"da9053-aa", DA9053_AA},
115 {"da9053-ba", DA9053_BA}, 116 {"da9053-ba", DA9053_BA},
116 {"da9053-bb", DA9053_BB}, 117 {"da9053-bb", DA9053_BB},
118 {"da9053-bc", DA9053_BC},
117 {} 119 {}
118}; 120};
119 121
@@ -121,8 +123,9 @@ static const struct i2c_device_id da9052_i2c_id[] = {
121static const struct of_device_id dialog_dt_ids[] = { 123static const struct of_device_id dialog_dt_ids[] = {
122 { .compatible = "dlg,da9052", .data = &da9052_i2c_id[0] }, 124 { .compatible = "dlg,da9052", .data = &da9052_i2c_id[0] },
123 { .compatible = "dlg,da9053-aa", .data = &da9052_i2c_id[1] }, 125 { .compatible = "dlg,da9053-aa", .data = &da9052_i2c_id[1] },
124 { .compatible = "dlg,da9053-ab", .data = &da9052_i2c_id[2] }, 126 { .compatible = "dlg,da9053-ba", .data = &da9052_i2c_id[2] },
125 { .compatible = "dlg,da9053-bb", .data = &da9052_i2c_id[3] }, 127 { .compatible = "dlg,da9053-bb", .data = &da9052_i2c_id[3] },
128 { .compatible = "dlg,da9053-bc", .data = &da9052_i2c_id[4] },
126 { /* sentinel */ } 129 { /* sentinel */ }
127}; 130};
128#endif 131#endif