From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755106AbaIWIRo (ORCPT ); Tue, 23 Sep 2014 04:17:44 -0400 Received: from mail-we0-f175.google.com ([74.125.82.175]:41611 "EHLO mail-we0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754053AbaIWIRk (ORCPT ); Tue, 23 Sep 2014 04:17:40 -0400 Message-ID: <54212CA0.4030700@linaro.org> Date: Tue, 23 Sep 2014 09:17:36 +0100 From: Srinivas Kandagatla User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Bjorn Andersson , Rob Herring , Mark Brown , Lee Jones CC: Pawel Moll , Andy Gross , Mark Rutland , Kevin Hilman , Kumar Gala , Josh Cartwright , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, Arnd Bergmann , Olof Johansson Subject: Re: [PATCH v7 0/3] Qualcomm Resource Power Manager driver References: <1411428329-23172-1-git-send-email-bjorn.andersson@sonymobile.com> In-Reply-To: <1411428329-23172-1-git-send-email-bjorn.andersson@sonymobile.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Bjorn, Thankyou for the new patchset. I got few device-tree patches for apq8064 usb, sata, phy and hdmi which depend on rpm header file. It will be nice to get this functionality into 3.18. Do you think we should take these patches via arm-soc tree? thanks, srini On 23/09/14 00:25, Bjorn Andersson wrote: > This series adds a regulator driver for the Resource Power Manager found in > Qualcomm 8660, 8960 and 8064 based devices. > > The RPM driver exposes resources to its child devices, that can be accessed to > implement drivers for the regulators, clocks and bus frequency control that's > owned by the RPM in these devices. > > Changes since v6: > - Changed filenames from qcom,rpm.{txt,h} to qcom-rpm.{txt,h} > > Changes since v5: > - Clarified dt binding > - Converted regulator qcom,force-mode to enum instead of multi-boolean > - Remove unecessary version handshake > - Cleaned up naming of RPM resources between different RPM versions > - Updated regulator qcom,force-mode parsing > - Updated regulator qcom,power-mode-* parsing > - Cleanups in rpm driver > - Dropped dev_get_qcom_rpm helper function > > Changes since v4: > - Moved RPM driver to mfd > > Changes since v3: > - IPC register is acquired through syscon, as it's shared with others > > Changes since v2: > - Fix copy-paste error in dt binding > - Correct incomplete move from mfd to soc > - Correct const mistake in regulator driver > > Changes since v1: > - Moved rpm driver to drivers/soc > - Extracted resource table structs from rpm struct, as per Srinivas request > - Dropped mode setting support for the regulators for now. Unsure if we need > it and it requires some rework from the codeaurora solution. > - Using set_voltage_sel instead of rolling my own "snapping", as per Marks > request > - Split regulator ops in mV, uV and swtich versions as per Marks request. > - Added devicetree property to enable pull down. > > Bjorn Andersson (3): > mfd: devicetree: bindings: Add Qualcomm RPM DT binding > mfd: qcom-rpm: Driver for the Qualcomm RPM > regulator: qcom-rpm: Regulator driver for the Qualcomm RPM > > Documentation/devicetree/bindings/mfd/qcom-rpm.txt | 246 ++++++ > drivers/mfd/Kconfig | 14 + > drivers/mfd/Makefile | 1 + > drivers/mfd/qcom_rpm.c | 580 ++++++++++++++ > drivers/regulator/Kconfig | 12 + > drivers/regulator/Makefile | 1 + > drivers/regulator/qcom_rpm-regulator.c | 798 ++++++++++++++++++++ > include/dt-bindings/mfd/qcom-rpm.h | 154 ++++ > include/linux/mfd/qcom_rpm.h | 10 + > 9 files changed, 1816 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mfd/qcom-rpm.txt > create mode 100644 drivers/mfd/qcom_rpm.c > create mode 100644 drivers/regulator/qcom_rpm-regulator.c > create mode 100644 include/dt-bindings/mfd/qcom-rpm.h > create mode 100644 include/linux/mfd/qcom_rpm.h >