From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753332AbcCAMuy (ORCPT ); Tue, 1 Mar 2016 07:50:54 -0500 Received: from hqemgate15.nvidia.com ([216.228.121.64]:18225 "EHLO hqemgate15.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750722AbcCAMux (ORCPT ); Tue, 1 Mar 2016 07:50:53 -0500 X-PGP-Universal: processed; by hqnvupgp08.nvidia.com on Tue, 01 Mar 2016 04:50:33 -0800 From: Laxman Dewangan To: , , , , CC: , , Laxman Dewangan Subject: [PATCH 0/4] regulator: Add support for configuration of active-discharge Date: Tue, 1 Mar 2016 18:08:11 +0530 Message-ID: <1456835895-16503-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 This series add the common regulator DT property for configuration of active discharge and implementing this in regulator core. Also implementing the regulator ops for MAX77620 to configure active discharge. This is based on discussion on patch and comment from Mark Brown: [PATCH V6 7/8] DT: regulator: add DT binding doc for regulator of PMIC max77620/max20024 > +- maxim,disable-active-discharge: boolean, Disable active discharge. That's something I've seen other regulators do, can we make it a standard property with an op? Laxman Dewangan (4): regulator: DT: Add DT property for active-discharge configuration regulator: core: Add support for active-discharge configuration regulator: helper: Add helper to configure active-discharge using regmap regulator: max77620: Add support to configure active-discharge .../devicetree/bindings/regulator/regulator.txt | 5 +++++ drivers/regulator/core.c | 10 ++++++++++ drivers/regulator/helpers.c | 23 ++++++++++++++++++++++ drivers/regulator/max77620-regulator.c | 9 +++++++++ drivers/regulator/of_regulator.c | 5 +++++ include/linux/regulator/driver.h | 17 ++++++++++++++++ include/linux/regulator/machine.h | 4 ++++ 7 files changed, 73 insertions(+) -- 2.1.4