All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V5 0/5] Add support for MAXIM MAX77620/MAX20024 PMIC
@ 2016-01-27 14:10 ` Laxman Dewangan
  0 siblings, 0 replies; 35+ messages in thread
From: Laxman Dewangan @ 2016-01-27 14:10 UTC (permalink / raw)
  To: robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak,
	linus.walleij, gnurou, lee.jones, broonie, a.zummo,
	alexandre.belloni
  Cc: lgirdwood, devicetree, linux-kernel, linux-gpio, rtc-linux,
	swarren, treding, k.kozlowski, Laxman Dewangan

Add SW support for MAXIM Semiconductor's Power Management
IC (PMIC) MAX77620/MAX20024. This PMIC supports DC-DC/LDOS, GPIOs,
RTC, watchdog, clocks etc.

This series add respective driver for each of sub-modules.

Changes from V1: 
DT DOC:
- Added units in some of properties.
- Change the boolean property to tristate type and detail some of
  properties.

RTC:
- Rename the file to rtc-max77xxx.c and make the generic implementation.
- Direct regmap apis are used for the register access.
- Decouped from max77620 driver.
- Taken care of cleanup comments form V1 version.

MFD:
- Code cleanups per review from V1. 
- Move register access APIs from header to c file.
- Remove some of non required variable, remove duplication in error message
 and simplify some of function implementation.

GPIO:
- Use the gpiochip_add_data and get the chip data from core APIs.
- Cleanups based on comment received on mfd/rtc.
- Avoid duplication on error message.

Pinctrl:
- Cleanup code based on comment received on mfd/rtc.
- Avoid duplication on error message.

Regulators:
- Cleanup code based on comment received on mfd/rtc.
- Avoid duplication on error message.
- Taken care of review comment from Mark.

Changes from V2: 
- Run coccicheck and checkpatch in strict mode for the alignment.
- Drop RTC driver and its i2c client registartion.
- Refactor Regulator  driver to use core API for DT parsing.

Changes from V3:
- Change all sys initcall to module driver.
- change the max77620_read argument to unisgned int from u8.


Changes from V4:
- Provide more details in the dt binding doc.
- Take care of fps nodes.
- Split the submodule's DT binding doc on respective folder.
- Drop the battery charger and low battery binding and related code as
  it need to go on power driver.

Laxman Dewangan (5):
  DT: mfd: add device-tree binding doc fro PMIC max77620/max20024
  mfd: max77620: add core driver for MAX77620/MAX20024
  pinctrl: max77620: add pincontrol driver for MAX77620/MAX20024
  gpio: max77620: add gpio driver for MAX77620/MAX20024
  regulator: max77620: add regulator driver for max77620/max20024

 .../devicetree/bindings/gpio/gpio-max77620.txt     |  25 +
 Documentation/devicetree/bindings/mfd/max77620.txt | 118 +++
 .../bindings/pinctrl/pinctrl-max77620.txt          |  87 +++
 .../bindings/regulator/regulator-max77620.txt      | 163 ++++
 drivers/gpio/Kconfig                               |   9 +
 drivers/gpio/Makefile                              |   1 +
 drivers/gpio/gpio-max77620.c                       | 292 +++++++
 drivers/mfd/Kconfig                                |  15 +
 drivers/mfd/Makefile                               |   1 +
 drivers/mfd/max77620.c                             | 727 ++++++++++++++++++
 drivers/pinctrl/Kconfig                            |  10 +
 drivers/pinctrl/Makefile                           |   1 +
 drivers/pinctrl/pinctrl-max77620.c                 | 693 +++++++++++++++++
 drivers/regulator/Kconfig                          |   9 +
 drivers/regulator/Makefile                         |   1 +
 drivers/regulator/max77620-regulator.c             | 844 +++++++++++++++++++++
 include/dt-bindings/mfd/max77620.h                 |  35 +
 include/linux/mfd/max77620.h                       | 406 ++++++++++
 18 files changed, 3437 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/gpio/gpio-max77620.txt
 create mode 100644 Documentation/devicetree/bindings/mfd/max77620.txt
 create mode 100644 Documentation/devicetree/bindings/pinctrl/pinctrl-max77620.txt
 create mode 100644 Documentation/devicetree/bindings/regulator/regulator-max77620.txt
 create mode 100644 drivers/gpio/gpio-max77620.c
 create mode 100644 drivers/mfd/max77620.c
 create mode 100644 drivers/pinctrl/pinctrl-max77620.c
 create mode 100644 drivers/regulator/max77620-regulator.c
 create mode 100644 include/dt-bindings/mfd/max77620.h
 create mode 100644 include/linux/mfd/max77620.h

-- 
2.1.4

^ permalink raw reply	[flat|nested] 35+ messages in thread

end of thread, other threads:[~2016-02-01 13:58 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-27 14:10 [PATCH V5 0/5] Add support for MAXIM MAX77620/MAX20024 PMIC Laxman Dewangan
2016-01-27 14:10 ` [rtc-linux] " Laxman Dewangan
2016-01-27 14:10 ` Laxman Dewangan
2016-01-27 14:10 ` [PATCH V5 1/5] DT: mfd: add device-tree binding doc fro PMIC max77620/max20024 Laxman Dewangan
2016-01-27 14:10   ` [rtc-linux] " Laxman Dewangan
2016-01-27 14:10   ` Laxman Dewangan
2016-01-27 14:10 ` [PATCH V5 2/5] mfd: max77620: add core driver for MAX77620/MAX20024 Laxman Dewangan
2016-01-27 14:10   ` [rtc-linux] " Laxman Dewangan
2016-01-27 14:10   ` Laxman Dewangan
2016-01-27 14:10 ` [PATCH V5 3/5] pinctrl: max77620: add pincontrol " Laxman Dewangan
2016-01-27 14:10   ` [rtc-linux] " Laxman Dewangan
2016-01-27 14:10   ` Laxman Dewangan
     [not found]   ` <1453903808-29788-4-git-send-email-ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2016-02-01 13:58     ` Rob Herring
2016-02-01 13:58       ` [rtc-linux] " Rob Herring
2016-02-01 13:58       ` Rob Herring
2016-01-27 14:10 ` [PATCH V5 4/5] gpio: max77620: add gpio " Laxman Dewangan
2016-01-27 14:10   ` [rtc-linux] " Laxman Dewangan
2016-01-27 14:10   ` Laxman Dewangan
2016-01-29 16:30   ` Rob Herring
2016-01-29 16:30     ` [rtc-linux] " Rob Herring
2016-02-01  8:32     ` Lee Jones
2016-02-01  8:32       ` [rtc-linux] " Lee Jones
2016-02-01  8:32       ` Lee Jones
2016-01-27 14:10 ` [PATCH V5 5/5] regulator: max77620: add regulator driver for max77620/max20024 Laxman Dewangan
2016-01-27 14:10   ` [rtc-linux] " Laxman Dewangan
2016-01-27 14:10   ` Laxman Dewangan
2016-01-28  3:55   ` Krzysztof Kozlowski
2016-01-28  3:55     ` [rtc-linux] " Krzysztof Kozlowski
2016-01-28  6:24     ` Laxman Dewangan
2016-01-28  6:24       ` [rtc-linux] " Laxman Dewangan
2016-01-28  6:24       ` Laxman Dewangan
2016-01-28  6:42       ` Krzysztof Kozlowski
2016-01-28  6:42         ` [rtc-linux] " Krzysztof Kozlowski
2016-02-01 13:54   ` Rob Herring
2016-02-01 13:54     ` [rtc-linux] " Rob Herring

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.