From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753358AbcBCJmL (ORCPT ); Wed, 3 Feb 2016 04:42:11 -0500 Received: from hqemgate14.nvidia.com ([216.228.121.143]:18349 "EHLO hqemgate14.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753145AbcBCJmI (ORCPT ); Wed, 3 Feb 2016 04:42:08 -0500 X-PGP-Universal: processed; by hqnvupgp08.nvidia.com on Wed, 03 Feb 2016 01:42:48 -0800 From: Laxman Dewangan To: , , , CC: , , , Laxman Dewangan Subject: [PATCH V2 0/5] rtc: max77686: make max77686 rtc driver as IP driver Date: Wed, 3 Feb 2016 15:00:43 +0530 Message-ID: <1454491848-26551-1-git-send-email-ldewangan@nvidia.com> X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 CC: Javier Martinez Canillas 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. Laxman Dewangan (5): rtc: max77686: fix checkpatch error rtc: max77686: use rtc regmap to access RTC registers rtc: max77686: avoid reference of parent device info multiple palces mfd: max77686: do not set i2c client data for rtc i2c client rtc: max77686: move initialisation of rtc regmap, irq chip locally drivers/mfd/max77686.c | 86 +------------- drivers/rtc/rtc-max77686.c | 212 ++++++++++++++++++++++++++--------- include/linux/mfd/max77686-private.h | 3 - 3 files changed, 160 insertions(+), 141 deletions(-) -- 2.1.4