From: Bjorn Andersson <bjorn.andersson@sonymobile.com>
To: Samuel Ortiz <sameo@linux.intel.com>,
Lee Jones <lee.jones@linaro.org>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>
Cc: Josh Cartwright <joshc@codeaurora.org>,
<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<linux-arm-msm@vger.kernel.org>
Subject: [PATCH v2 0/3] Qualcomm Resource Power Manager driver
Date: Thu, 12 Jun 2014 10:33:19 -0700 [thread overview]
Message-ID: <1402594402-30374-1-git-send-email-bjorn.andersson@sonymobile.com> (raw)
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 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):
soc: devicetree: bindings: Add Qualcomm RPM DT binding
soc: qcom-rpm: Driver for the Qualcomm RPM
regulator: qcom-rpm: Regulator driver for the Qualcomm RPM
.../devicetree/bindings/soc/qcom/qcom,rpm.txt | 261 +++++++
drivers/regulator/Kconfig | 12 +
drivers/regulator/Makefile | 1 +
drivers/regulator/qcom_rpm-regulator.c | 787 +++++++++++++++++++++
drivers/soc/qcom/Kconfig | 14 +
drivers/soc/qcom/Makefile | 1 +
drivers/soc/qcom/qcom_rpm.c | 574 +++++++++++++++
include/dt-bindings/soc/qcom,rpm.h | 142 ++++
include/linux/mfd/qcom_rpm.h | 12 +
9 files changed, 1804 insertions(+)
create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,rpm.txt
create mode 100644 drivers/regulator/qcom_rpm-regulator.c
create mode 100644 drivers/soc/qcom/qcom_rpm.c
create mode 100644 include/dt-bindings/soc/qcom,rpm.h
create mode 100644 include/linux/mfd/qcom_rpm.h
--
1.8.2.2
next reply other threads:[~2014-06-12 17:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-12 17:33 Bjorn Andersson [this message]
2014-06-12 17:33 ` [PATCH v2 1/3] soc: devicetree: bindings: Add Qualcomm RPM DT binding Bjorn Andersson
2014-06-12 17:33 ` [PATCH v2 2/3] soc: qcom-rpm: Driver for the Qualcomm RPM Bjorn Andersson
2014-06-12 17:33 ` [PATCH v2 3/3] regulator: qcom-rpm: Regulator driver " Bjorn Andersson
2014-06-22 10:50 ` Mark Brown
2014-06-12 20:06 ` [PATCH v2 0/3] Qualcomm Resource Power Manager driver Bjorn Andersson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1402594402-30374-1-git-send-email-bjorn.andersson@sonymobile.com \
--to=bjorn.andersson@sonymobile.com \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=joshc@codeaurora.org \
--cc=lee.jones@linaro.org \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sameo@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®