mfd: da9063: Add DA9063L support
authorMarek Vasut <marek.vasut@gmail.com>
Mon, 11 Jun 2018 11:58:51 +0000 (13:58 +0200)
committerLee Jones <lee.jones@linaro.org>
Wed, 4 Jul 2018 06:17:13 +0000 (07:17 +0100)
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>
drivers/mfd/da9063-i2c.c

index a449a92..50a24b1 100644 (file)
@@ -186,6 +186,7 @@ static struct regmap_config da9063_regmap_config = {
 
 static const struct of_device_id da9063_dt_ids[] = {
        { .compatible = "dlg,da9063", },
+       { .compatible = "dlg,da9063l", },
        { }
 };
 MODULE_DEVICE_TABLE(of, da9063_dt_ids);
@@ -231,6 +232,7 @@ static int da9063_i2c_probe(struct i2c_client *i2c,
 
 static const struct i2c_device_id da9063_i2c_id[] = {
        { "da9063", PMIC_TYPE_DA9063 },
+       { "da9063l", PMIC_TYPE_DA9063L },
        {},
 };
 MODULE_DEVICE_TABLE(i2c, da9063_i2c_id);