aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorOleksandr Dmytryshyn <oleksandr.dmytryshyn@ti.com>2012-06-20 17:17:02 +0300
committerZiyann <jaraidaniel@gmail.com>2014-10-01 13:00:27 +0200
commitfe342b51d771e5f74b805e2fd7ad431902f493d7 (patch)
treef71fcb5dee8404ccc47a511d77339185f36ef88f /drivers/mfd
parent98032eba8138a86a1be4de5b4440c4c356c55596 (diff)
downloadkernel_samsung_tuna-fe342b51d771e5f74b805e2fd7ad431902f493d7.zip
kernel_samsung_tuna-fe342b51d771e5f74b805e2fd7ad431902f493d7.tar.gz
kernel_samsung_tuna-fe342b51d771e5f74b805e2fd7ad431902f493d7.tar.bz2
MFD: TWL6030: Implementation of the ProDB00112620 errata
This errata affects only TWL6030 ES2.1. The usage of the CIN_LIMIT codes above 600mA (CHARGERUSB_CINLIMIT Register, codes 650mA/700mA/750mA) may lead to an unlimited input current in case VBUS < 4.1V. Workaround: The anti-collapse feature needs to be enabled before usage of the CIN_LIMIT. All CIN_LIMIT codes will be functional at all anti-collapse levels. Change-Id: I4fc0eb64cc96b692f4761a27098df307e1f5cd54 Signed-off-by: Oleksandr Dmytryshyn <oleksandr.dmytryshyn@ti.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/twl-core.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mfd/twl-core.c b/drivers/mfd/twl-core.c
index 86c4ab2..990666b 100644
--- a/drivers/mfd/twl-core.c
+++ b/drivers/mfd/twl-core.c
@@ -1393,10 +1393,14 @@ twl_probe(struct i2c_client *client, const struct i2c_device_id *id)
/*
* Check for the errata implementation
* Errata ProDB00119490 present only in the TWL6032 ES1.1
+ * Errata ProDB00112620 present only in the TWL6030 ES2.1
*/
if (features & TWL6032_SUBCLASS) {
if (twlrev == 1)
errata |= TWL6032_ERRATA_DB00119490;
+ } else {
+ if (twlrev == 2)
+ errata |= TWL6030_ERRATA_DB00112620;
}
}