[PATCH v3 0/5] mfd: rt5033: Add Richtek RT5033 drivers

From: Beomho Seo
Date: Wed Nov 12 2014 - 07:09:19 EST


This patchset adds driver for Richtek rt5033 chip The chip contains
switching charge mode Li-Ion/Li-Polymer battery charger, fuelgauge, regulators.
This patchset provides common support for accessing the device.
This patchset have been tested base on exynos board.

Changes in v3
- Correct sentence errors.
- Add author information the top of each drivers.
- Remove unnecessary pre-initialise, struct member(rt5033->i2c) and blink.
- Change some return check.
- Use bool and of_match_ptr().

Changes in v2:
- Remove volatile_reg callback. Because this driver not in use regmap cache.
- Remove unnecessary subnode of_compatible.
- Add definde for set high impedance mode of charger.
- Remove unnecessary device specific code.
- Fix wrong register name.
- Fix wrong error message.
- Fix return vallue at error case.
- Revise binding documentation.

Beomho Seo (5):
mfd: rt5033: Add Richtek RT5033 driver core.
regulator: rt5033: Add RT5033 Regulator device driver
power: rt5033_battery: Add RT5033 Fuel gauge device driver
power: rt5033_charger: Add RT5033 charger device driver
Documentation: Add documentation for rt5033 multifunction device

Documentation/devicetree/bindings/mfd/rt5033.txt | 108 +++++
.../devicetree/bindings/vendor-prefixes.txt | 1 +
drivers/mfd/Kconfig | 12 +
drivers/mfd/Makefile | 1 +
drivers/mfd/rt5033.c | 141 ++++++
drivers/power/Kconfig | 16 +
drivers/power/Makefile | 2 +
drivers/power/rt5033_battery.c | 177 +++++++
drivers/power/rt5033_charger.c | 485 ++++++++++++++++++++
drivers/regulator/Kconfig | 8 +
drivers/regulator/Makefile | 1 +
drivers/regulator/rt5033-regulator.c | 123 +++++
include/linux/mfd/rt5033-private.h | 260 +++++++++++
include/linux/mfd/rt5033.h | 62 +++
14 files changed, 1397 insertions(+)
create mode 100644 Documentation/devicetree/bindings/mfd/rt5033.txt
create mode 100644 drivers/mfd/rt5033.c
create mode 100644 drivers/power/rt5033_battery.c
create mode 100644 drivers/power/rt5033_charger.c
create mode 100644 drivers/regulator/rt5033-regulator.c
create mode 100644 include/linux/mfd/rt5033-private.h
create mode 100644 include/linux/mfd/rt5033.h

--
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/