Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933160AbbHXMmb (ORCPT ); Mon, 24 Aug 2015 08:42:31 -0400 Received: from mail-pa0-f46.google.com ([209.85.220.46]:35774 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932521AbbHXMm2 (ORCPT ); Mon, 24 Aug 2015 08:42:28 -0400 From: Vaibhav Hiremath To: linux-arm-kernel@lists.infradead.org Cc: robh+dt@kernel.org, devicetree@vger.kernel.org, k.kozlowski@samsung.com, lee.jones@linaro.org, broonie@kernel.org, linux-kernel@vger.kernel.org, Vaibhav Hiremath Subject: [PATCH-v3 0/2] regulator: 88pm800: Add dual phase mode support on BUCK1 Date: Mon, 24 Aug 2015 18:10:04 +0530 Message-Id: <1440420006-31556-1-git-send-email-vaibhav.hiremath@linaro.org> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2082 Lines: 57 88PM860 device supports dual phase mode on BUCK1 output. In normal usecase, BUCK1A and BUCK1B operates independently with 3A capacity. And they both can work as a dual phase providing 6A capacity. This patch series is subset of earlier patch-series Link to earlier series - https://lkml.org/lkml/2015/7/16/722 Except PATCH[5/5], all other patches in the series are accepted and queued up for next merge window. And based on discussion on the list, creating DT property to enable dual-phase mode on BUCK1. Testing: - Tested on 88PM860 based platform - Boot tested - Tested with & without DT property being set - Read register value before and after probe to make sure that value has been set. V2 => V3: ======== - Based on discussion on earlier patch-series, (comments from Krzysztof Kozlowski) Dynamically controlled current capacity and registration of BUCK1B, in case of BUCK1 dual phase mode enabled. Now, if BUCK1 dual phase is enabled, current capacity is set to 6A, and, BUCK1B will not be registered to regulator framework. V1 => V2: ======== - This is new patch-series, where, all accepted patches dropped. Upgraded Patch version, to ease review. - Based on Mark Brown's comment, we should use DT property of its own. using set_current_limit() is not right way here. So, created DT property for Dual phase mode enable. - Updated binding for new DT property Vaibhav Hiremath (2): mfd: devicetree: bindings: 88pm800: Add DT property for dual phase enable regulator: 88pm800: Add support for configuration of dual phase on BUCK1 Documentation/devicetree/bindings/mfd/88pm800.txt | 6 ++++ drivers/regulator/88pm800.c | 40 +++++++++++++++++++++++ include/linux/mfd/88pm80x.h | 3 ++ 3 files changed, 49 insertions(+) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/