All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V4 0/6] rtc: max77686: make max77686 rtc driver as IP driver
@ 2016-02-06 14:37 ` Laxman Dewangan
  0 siblings, 0 replies; 36+ messages in thread
From: Laxman Dewangan @ 2016-02-06 14:37 UTC (permalink / raw)
  To: lee.jones, alexandre.belloni, k.kozlowski, javier, broonie,
	gregkh, a.zummo
  Cc: cw00.choi, linux-kernel, rtc-linux, Laxman Dewangan

Based on discussion on patch series of MAX77620 when adding separate
driver for max77620 RTC, it is discussed to reuse the max77686 driver
for all CHips MAX77802, MAX77686 and MAX77620. For this, the rtc-max77686
need to make as IP driver independent of their MFD parent driver.

This series makes the rtc-max77686 as independent driver from its 
parent. Required information is passed through the device parent
which is generic and does not depends on any max77686 specific
header ifnromation.

CC: Krzysztof Kozlowski <k.kozlowski@samsung.com>
CC: Javier Martinez Canillas <javier@osg.samsung.com>

Changes from V1: 
- Added reviewed/tested by tag which we got from V1.
- Remove changes from Kconfig.
- Maintain all register definition in max77686 private header and remove
  the movement to rtc driver.
- Taken care of all comments on V1 from Krzysztof and Javier.

Changes from V2: 
- Fix the issue of crash in unbind.

Changes from V3:
- Fix suspend-resume after unbind/bind by unmapping virq in remove callback.

Laxman Dewangan (6):
  regmap: irq: add apis to unmap the mapped irq
  rtc: max77686: fix checkpatch error
  rtc: max77686: use rtc regmap to access RTC registers
  rtc: max77686: avoid reference of parent device info multiple places
  mfd: max77686: do not set i2c client data for rtc i2c client
  rtc: max77686: move initialisation of rtc regmap, irq chip locally

 drivers/base/regmap/regmap-irq.c     |  14 +++
 drivers/mfd/max77686.c               |  86 +-------------
 drivers/rtc/rtc-max77686.c           | 215 ++++++++++++++++++++++++++---------
 include/linux/mfd/max77686-private.h |   3 -
 include/linux/regmap.h               |   1 +
 5 files changed, 177 insertions(+), 142 deletions(-)

-- 
2.1.4

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

end of thread, other threads:[~2016-02-09 11:33 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-06 14:37 [PATCH V4 0/6] rtc: max77686: make max77686 rtc driver as IP driver Laxman Dewangan
2016-02-06 14:37 ` [rtc-linux] " Laxman Dewangan
2016-02-06 14:37 ` [PATCH V4 1/6] regmap: irq: add apis to unmap the mapped irq Laxman Dewangan
2016-02-06 14:37   ` [rtc-linux] " Laxman Dewangan
2016-02-08 14:55   ` Mark Brown
2016-02-08 14:55     ` [rtc-linux] " Mark Brown
2016-02-08 16:38     ` Laxman Dewangan
2016-02-08 16:38       ` [rtc-linux] " Laxman Dewangan
2016-02-08 16:59       ` Mark Brown
2016-02-08 16:59         ` [rtc-linux] " Mark Brown
2016-02-08 16:56         ` Laxman Dewangan
2016-02-08 16:56           ` [rtc-linux] " Laxman Dewangan
2016-02-08 18:19           ` Mark Brown
2016-02-08 18:19             ` [rtc-linux] " Mark Brown
2016-02-09  5:16             ` Laxman Dewangan
2016-02-09  5:16               ` [rtc-linux] " Laxman Dewangan
2016-02-09  9:08               ` Laxman Dewangan
2016-02-09  9:08                 ` [rtc-linux] " Laxman Dewangan
2016-02-09 11:27                 ` Mark Brown
2016-02-09 11:27                   ` [rtc-linux] " Mark Brown
2016-02-09 11:21                   ` Laxman Dewangan
2016-02-09 11:21                     ` [rtc-linux] " Laxman Dewangan
2016-02-06 14:37 ` [PATCH V4 2/6] rtc: max77686: fix checkpatch error Laxman Dewangan
2016-02-06 14:37   ` [rtc-linux] " Laxman Dewangan
2016-02-06 14:37 ` [PATCH V4 3/6] rtc: max77686: use rtc regmap to access RTC registers Laxman Dewangan
2016-02-06 14:37   ` [rtc-linux] " Laxman Dewangan
2016-02-06 14:37 ` [PATCH V4 4/6] rtc: max77686: avoid reference of parent device info multiple places Laxman Dewangan
2016-02-06 14:37   ` [rtc-linux] " Laxman Dewangan
2016-02-06 14:37 ` [PATCH V4 5/6] mfd: max77686: do not set i2c client data for rtc i2c client Laxman Dewangan
2016-02-06 14:37   ` [rtc-linux] " Laxman Dewangan
2016-02-06 14:37 ` [PATCH V4 6/6] rtc: max77686: move initialisation of rtc regmap, irq chip locally Laxman Dewangan
2016-02-06 14:37   ` [rtc-linux] " Laxman Dewangan
2016-02-08 10:20   ` Laxman Dewangan
2016-02-08 10:20     ` [rtc-linux] " Laxman Dewangan
2016-02-08 10:42     ` Alexandre Belloni
2016-02-08 10:42       ` [rtc-linux] " Alexandre Belloni

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.