]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
mfd: bd718x7: Add compatible for BD71850
authorMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Mon, 20 Jan 2020 13:43:01 +0000 (15:43 +0200)
committerLee Jones <lee.jones@linaro.org>
Fri, 24 Jan 2020 07:22:31 +0000 (07:22 +0000)
ROHM BD71850 PMIC is almost identical to BD71847. Main difference is some
initial voltage values for regulators. The BD71850 can be handled by
BD71847 driver but adding own compatible makes it clearer for one who
creates the DT for board containing this PMIC and allows SW to be
differentiating PMICs if needed.

Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/rohm-bd718x7.c

index bb86ec829079e720dfee6fc3f90cb7b6c7045a52..c32c1b6c98fa3463db2226547f570f43edca61ec 100644 (file)
@@ -213,6 +213,10 @@ static const struct of_device_id bd718xx_of_match[] = {
                .compatible = "rohm,bd71847",
                .data = (void *)ROHM_CHIP_TYPE_BD71847,
        },
+       {
+               .compatible = "rohm,bd71850",
+               .data = (void *)ROHM_CHIP_TYPE_BD71847,
+       },
        { }
 };
 MODULE_DEVICE_TABLE(of, bd718xx_of_match);