summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Gerhold <stephan@gerhold.net>2023-05-15 22:57:10 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-08-11 11:45:12 +0200
commit97ecd24beb04d13d966cf24ed2b4266abb0d9cba (patch)
treeabce06c6d9c8c4e70353660a483912917783fcc2
parent4da9edeccf77d7b4c6dbcb34d5908acdaa5bd7e3 (diff)
downloadlinux-stable-97ecd24beb04d13d966cf24ed2b4266abb0d9cba.tar.gz
linux-stable-97ecd24beb04d13d966cf24ed2b4266abb0d9cba.tar.bz2
linux-stable-97ecd24beb04d13d966cf24ed2b4266abb0d9cba.zip
mfd: rt5033: Drop rt5033-battery sub-device
[ Upstream commit 43db1344e0f8c1eb687a1d6cd5b0de3009ab66cb ] The fuel gauge in the RT5033 PMIC (rt5033-battery) has its own I2C bus and interrupt lines. Therefore, it is not part of the MFD device and needs to be specified separately in the device tree. Fixes: 0b271258544b ("mfd: rt5033: Add Richtek RT5033 driver core.") Signed-off-by: Stephan Gerhold <stephan@gerhold.net> Signed-off-by: Jakob Hauser <jahau@rocketmail.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Lee Jones <lee@kernel.org> Link: https://lore.kernel.org/r/6a8a19bc67b5be3732882e8131ad2ffcb546ac03.1684182964.git.jahau@rocketmail.com Signed-off-by: Sasha Levin <sashal@kernel.org>
-rw-r--r--drivers/mfd/rt5033.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/mfd/rt5033.c b/drivers/mfd/rt5033.c
index 9bd089c56375..94cdad91c065 100644
--- a/drivers/mfd/rt5033.c
+++ b/drivers/mfd/rt5033.c
@@ -45,9 +45,6 @@ static const struct mfd_cell rt5033_devs[] = {
.name = "rt5033-charger",
.of_compatible = "richtek,rt5033-charger",
}, {
- .name = "rt5033-battery",
- .of_compatible = "richtek,rt5033-battery",
- }, {
.name = "rt5033-led",
.of_compatible = "richtek,rt5033-led",
},