diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2018-06-11 07:58:51 -0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2018-07-04 02:17:13 -0400 |
commit | c287572b739ad18b7fd298f3af3bec21037a55f7 (patch) | |
tree | 33d7780c7a1aedd94db6465f5e7063815825a020 | |
parent | 1c892e38ce59c82998e5444c8516ccb23a4e426f (diff) |
mfd: da9063: Add DA9063L support
Add support for DA9063L, which is a reduced variant of the DA9063
with less regulators and without RTC.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Acked-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Steve Twiss <stwiss.opensource@diasemi.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
-rw-r--r-- | drivers/mfd/da9063-i2c.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mfd/da9063-i2c.c b/drivers/mfd/da9063-i2c.c index a449a9263dd7..50a24b1921d0 100644 --- a/drivers/mfd/da9063-i2c.c +++ b/drivers/mfd/da9063-i2c.c | |||
@@ -186,6 +186,7 @@ static struct regmap_config da9063_regmap_config = { | |||
186 | 186 | ||
187 | static const struct of_device_id da9063_dt_ids[] = { | 187 | static const struct of_device_id da9063_dt_ids[] = { |
188 | { .compatible = "dlg,da9063", }, | 188 | { .compatible = "dlg,da9063", }, |
189 | { .compatible = "dlg,da9063l", }, | ||
189 | { } | 190 | { } |
190 | }; | 191 | }; |
191 | MODULE_DEVICE_TABLE(of, da9063_dt_ids); | 192 | MODULE_DEVICE_TABLE(of, da9063_dt_ids); |
@@ -231,6 +232,7 @@ static int da9063_i2c_probe(struct i2c_client *i2c, | |||
231 | 232 | ||
232 | static const struct i2c_device_id da9063_i2c_id[] = { | 233 | static const struct i2c_device_id da9063_i2c_id[] = { |
233 | { "da9063", PMIC_TYPE_DA9063 }, | 234 | { "da9063", PMIC_TYPE_DA9063 }, |
235 | { "da9063l", PMIC_TYPE_DA9063L }, | ||
234 | {}, | 236 | {}, |
235 | }; | 237 | }; |
236 | MODULE_DEVICE_TABLE(i2c, da9063_i2c_id); | 238 | MODULE_DEVICE_TABLE(i2c, da9063_i2c_id); |