Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752984AbbDFXeI (ORCPT ); Mon, 6 Apr 2015 19:34:08 -0400 Received: from seldrel01.sonyericsson.com ([212.209.106.2]:3590 "EHLO seldrel01.sonyericsson.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752683AbbDFXeG (ORCPT ); Mon, 6 Apr 2015 19:34:06 -0400 From: Bjorn Andersson To: Andy Gross , Ian Campbell , Kumar Gala , Lee Jones , Liam Girdwood , Mark Brown , Mark Rutland , Pawel Moll , Rob Herring , Srinivas Kandagatla , Stephen Boyd CC: , , Subject: [PATCH v3 0/5] Refactor Qualcomm RPM regulator to single platform_device Date: Mon, 6 Apr 2015 16:33:55 -0700 Message-ID: <1428363240-2027-1-git-send-email-bjorn.andersson@sonymobile.com> X-Mailer: git-send-email 1.8.2.2 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 Content-Length: 1515 Lines: 38 Stephen Boyd pointed out that the current design of the Qualcomm RPM and regulator driver consumes 12-20kB of ram just for the platform_device structs. This third iteration of the patch comes with a patch at the end to tidy up the probe function - after the various refactorings. Dropped from the series is the patch to add "regulator-allow-drms"; so it has a functional dependency towards such a patch, to get drms handling running again. But if Stephen is fine with patch 5 as answer to his concerns with patch 4 I think we should merge this. Changes since v2: - Dropped unrelated drms dt property patch - Fixed minor spelling misstake in dt binding - Added patch to tidy up probe function Changes since v1: - Reworked DRMS handling to not have the driver specify the support Bjorn Andersson (5): mfd: devicetree: bindings: Add Qualcomm RPM regulator subnodes regulator: qcom: Don't enable DRMS in driver regulator: qcom: Refactor of-parsing code regulator: qcom: Rework to single platform device regulator: qcom: Tidy up probe() Documentation/devicetree/bindings/mfd/qcom-rpm.txt | 217 ++++++++++++++- drivers/regulator/qcom_rpm-regulator.c | 290 ++++++++++++++------- 2 files changed, 398 insertions(+), 109 deletions(-) -- 1.8.2.2 -- 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/