Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753209AbcD0PGU (ORCPT ); Wed, 27 Apr 2016 11:06:20 -0400 Received: from hqemgate15.nvidia.com ([216.228.121.64]:10349 "EHLO hqemgate15.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752225AbcD0PGQ (ORCPT ); Wed, 27 Apr 2016 11:06:16 -0400 X-PGP-Universal: processed; by hqnvupgp08.nvidia.com on Wed, 27 Apr 2016 08:05:47 -0700 Date: Wed, 27 Apr 2016 17:06:00 +0200 From: Thierry Reding To: Laxman Dewangan CC: , , , , , , , , , , Mallikarjun Kasoju Subject: Re: [PATCH V10 2/6] mfd: max77620: add core driver for MAX77620/MAX20024 Message-ID: <20160427150559.GD4176@ulmo.ba.sec> References: <1459348188-11726-1-git-send-email-ldewangan@nvidia.com> <1459348188-11726-3-git-send-email-ldewangan@nvidia.com> MIME-Version: 1.0 In-Reply-To: <1459348188-11726-3-git-send-email-ldewangan@nvidia.com> X-NVConfidentiality: public User-Agent: Mutt/1.6.0 (2016-04-01) X-Originating-IP: [10.2.70.193] X-ClientProxiedBy: UKMAIL102.nvidia.com (10.26.138.15) To UKMAIL101.nvidia.com (10.26.138.13) Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="d01dLTUuW90fS44H" Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3558 Lines: 100 --d01dLTUuW90fS44H Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 30, 2016 at 07:59:44PM +0530, Laxman Dewangan wrote: > MAX77620/MAX20024 are Power Management IC from the MAXIM. > It supports RTC, multiple GPIOs, multiple DCDC and LDOs, > watchdog, clock etc. >=20 > Add MFD drier to provides common support for accessing the > device; additional drivers is developed on respected subsystem > in order to use the functionality of the device. >=20 > Signed-off-by: Laxman Dewangan > Signed-off-by: Mallikarjun Kasoju > Reviewed-by: Krzysztof Kozlowski >=20 > --- > Changes from V1: > - Code cleanups per review from V1. > - Move register acccess APIs from header to c file. > - Remove some of non required variable, remove duplication in error messa= ge > and simplify some of function implementation. > - Register RTC driver such that it can get the regmap handle form parent = device >=20 > Changes from V2: > - Run coccicheck and checkpatch in strict mode for the alignment. > - Drop RTC driver and its i2c client registration. >=20 > Changes from V3: > - Change all sys initcall to module driver. > - change the max77620_read argument to unisgned int from u8. >=20 > Changes from V4: > - Take care of fps nodes. > - Drop the battery charger and low battery binding and related code as > it need to go on power driver. >=20 > Changes from V5: > -None >=20 > Changes from V6: > - Taken care of Lee's comment like used defines for irqs, remove max77620 > register accesss abstractions, remove DTof module and use ID table only, > reduce the copyright lines. > - Drop configuration for hard power off time chnage as it will be in > power driver. > - Use direct regmap from all drivers instead of using abstractions. > - This depends on patch >=20 > Change from V7: > - Use MFD defines for making mfd cells. > - Use new property name. >=20 > Changes from V8: > - Remove the usage of MFD defines. Remove mutex_config as not needed. >=20 > Changes from V9: > - Use the devm_regmap_add_irq_chip() for irq registration. >=20 > drivers/mfd/Kconfig | 15 ++ > drivers/mfd/Makefile | 1 + > drivers/mfd/max77620.c | 544 +++++++++++++++++++++++++++++++++++++= ++++++ > include/linux/mfd/max77620.h | 337 +++++++++++++++++++++++++++ > 4 files changed, 897 insertions(+) > create mode 100644 drivers/mfd/max77620.c > create mode 100644 include/linux/mfd/max77620.h Lee, Were you going to pick this up along with the corresponding DT bindings? Thierry --d01dLTUuW90fS44H Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJXINVWAAoJEN0jrNd/PrOh/KEP/3T1hiCyDqoVrePoWZPQ7d60 DBzNxEaeJxNW88Jp1B+NTuOZOpL0czMzFHNMPVKhi2jZFBw3V+QGG/HtlO0eiIKu KBd9lydC3Uo5sMeN1On4Q5cjWMkraNxGCy5R0wEhiqjLTqOTFcrvpn1TcQdHhAnF hoOB0fVFn73Z5PjF4KigFPr9eqmZAkRPLju8XQlXrsv8WHRiTp7XEQxYrzeqUNC+ rYPWPV3Ug/TDJyz0jVZnePqKtqaZmnYIlG6B5DOSFl/MSxXy3Q7kZqIO51U0d0Tw klzXHH4Tz8uN2JQbKapRfqD/DoiaNUFvOCw3Qs1d2ROZePaWhPsGeWiflnBiqZfq EUXMykWo/1pjA/azT+73ZEo52PYWz0D7V0oDuSU3ftpkcpV61j9Sd5g9YwktF8aK 6B5umbvztTYRzf1jSYtOLRCKKA2ahEejmERgRnzo50B6xzG/FdYMNK2JC3gHdYHZ oa9HePq34pfeUtbcbXfvgVOGhHBPzdQ+SXyNX9vHugKxOCHsfgoC1Mj9/xbwH0ct m/l5FisP9770u9838cqcD+JW7MAwrXt55J+YVY8mmTjjceDn7/m4jmG/E9WkGHZX dt0JzpKOFhqVrEa+OlJ/VKXrIlx9HJyL7q56hYr5693DD9JQMhpkec/kGapxxGJY yltr7xOIU/AfOmqGfVfG =/cZR -----END PGP SIGNATURE----- --d01dLTUuW90fS44H--