On Wed, Jul 24, 2013 at 10:37 AM, Stephen Boyd sb...@codeaurora.org wrote:
[snip]
+ unsigned int i, divisor;
+ const struct msm_baud_map *entry;
+ static const struct msm_baud_map table[] = {
+ { 1536, 0x00, 1 },
+ { 768, 0x11, 1 },
+
On Tue, Jul 30, 2013 at 8:22 AM, Georgi Djakov gdja...@mm-sol.com wrote:
This platform driver adds the support of Secure Digital Host
Controller Interface compliant controller in MSM chipsets.
[snip]
+
+ sdhc_1: qcom,sdhc@f9824900 {
+ compatible = qcom,sdhci-msm;
+
Hi Georgi,
Thanks for working on this, unfortunately it seems like I need to port
the rpm regulators to be able to test this.
But I did find that...
On Fri, Sep 27, 2013 at 9:57 AM, Georgi Djakov gdja...@mm-sol.com wrote:
...
+static irqreturn_t sdhci_msm_pwr_irq(int irq, void *data)
+{
+
On Tue, Aug 27, 2013 at 2:55 PM, Stephen Warren swar...@wwwdotorg.org wrote:
On 08/27/2013 11:01 AM, Josh Cartwright wrote:
...
cell 0 - address type (0: master, 1: unique ID, 2: group ID, ...)
I think it would make sense to have the master id as a property of the
bus, as you could consider
Add initial definition of parameters for pinctrl-msm for the msm8x74
platform.
Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com
---
drivers/pinctrl/Kconfig | 4 +
drivers/pinctrl/Makefile | 1 +
drivers/pinctrl/pinctrl-msm8x74.c | 641
This adds a pinctrl, pinmux, pinconf and gpiolib driver for the
Qualcomm TLMM block.
Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com
---
drivers/pinctrl/Kconfig |6 +
drivers/pinctrl/Makefile |1 +
drivers/pinctrl/pinctrl-msm.c | 1118
This adds initial documentation for the pinctrl-msm8x74 driver.
Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com
---
.../bindings/pinctrl/qcom,msm8x74-pinctrl.txt | 86 ++
1 file changed, 86 insertions(+)
create mode 100644
Documentation/devicetree
and definitions for more SoCs.
Bjorn Andersson (3):
pinctrl: Add Qualcomm TLMM driver
pinctrl: Add msm8x74 configuration
pinctrl: Add documentation for pinctrl-msm8x74
.../bindings/pinctrl/qcom,msm8x74-pinctrl.txt | 86 ++
drivers/pinctrl/Kconfig| 10 +
drivers
On Tue 03 Dec 00:50 PST 2013, Linus Walleij wrote:
On Sun, Nov 24, 2013 at 12:38 AM, Bjorn Andersson
bjorn.anders...@sonymobile.com wrote:
This adds a pinctrl, pinmux, pinconf and gpiolib driver for the
Qualcomm TLMM block.
Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com
* Replaced pinctrl_add_gpio_range with gpiochip_add_pin_range
* Other minor updates based on review comments
Bjorn Andersson (3):
pinctrl: Add Qualcomm TLMM driver
pinctrl: Add msm8x74 configuration
pinctrl: Add documentation for pinctrl-msm8x74
.../bindings/pinctrl/qcom,msm8x74-pinctrl.txt
This adds initial documentation for the pinctrl-msm8x74 driver.
Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com
---
.../bindings/pinctrl/qcom,msm8x74-pinctrl.txt | 92 ++
1 file changed, 92 insertions(+)
create mode 100644
Documentation/devicetree
This adds a pinctrl, pinmux, pinconf and gpiolib driver for the
Qualcomm TLMM block.
Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com
---
drivers/pinctrl/Kconfig |6 +
drivers/pinctrl/Makefile |1 +
drivers/pinctrl/pinctrl-msm.c | 1028
Add initial definition of parameters for pinctrl-msm for the msm8x74
platform.
Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com
---
drivers/pinctrl/Kconfig | 4 +
drivers/pinctrl/Makefile | 1 +
drivers/pinctrl/pinctrl-msm8x74.c | 636
(interrupt
generated for each block-size data transfer).
Cc: Andy Gross agr...@codeaurora.org
Cc: Stephen Boyd sb...@codeaurora.org
Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com
Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com
---
drivers/i2c/busses/Kconfig | 10 +
drivers/i2c
: reformulated part of binding description
added version to compatible
cleaned up example]
Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com
---
.../devicetree/bindings/i2c/qcom,i2c-qup.txt | 46
1 file changed, 46 insertions(+)
create mode 100644
time, so that we actually can execute
more than 1 transmission per xfer.
Bjorn Andersson (1):
i2c: New bus driver for the Qualcomm QUP I2C controller
Ivan T. Ivanov (1):
i2c: qup: Add device tree bindings information
.../devicetree/bindings/i2c/qcom,i2c-qup.txt | 46 ++
drivers/i2c
ed118a5fd951bd2def8249ee251842c4f81fe4bd
pinctrl-msm: Support output-{high,low} configuration
introduced a new switchclause using it.
Fix this up by removing the offending register assignment.
Reported-by: Kbuild test robot fengguang...@intel.com
Cc: Stephen Boyd sb...@codeaurora.org
Cc: Bjorn Andersson bjorn.anders
On Mon 24 Feb 06:46 PST 2014, Linus Walleij wrote:
On Mon, Feb 17, 2014 at 6:33 PM, Randy Dunlap rdun...@infradead.org wrote:
On 02/16/2014 10:23 PM, Stephen Rothwell wrote:
Hi all,
If you see failures in building this tree due to missing declarations of
k..alloc/free, then it may be
On Thu 20 Feb 16:52 PST 2014, Joe Perches wrote:
On Thu, 2014-02-20 at 16:38 -0800, Bjorn Andersson wrote:
This bus driver supports the QUP i2c hardware controller in the Qualcomm
SOCs.
The Qualcomm Universal Peripheral Engine (QUP) is a general purpose data
path
engine with input
On Thu 20 Feb 18:53 PST 2014, Emilio L?pez wrote:
Hi Bjorn,
El 20/02/14 21:38, Bjorn Andersson escribió:
[...]
+ clk_freq = 10;
+ if (!of_property_read_u32(node, clock-frequency, val))
+ clk_freq = val;
val will be modified only if no error occurs, so you may
On Fri 21 Feb 00:16 PST 2014, Maxime Ripard wrote:
Hi Bjorn,
On Thu, Feb 20, 2014 at 04:38:10PM -0800, Bjorn Andersson wrote:
+static int qup_i2c_probe(struct platform_device *pdev)
+{
[ snip ]
+
+ qup_i2c_enable_clocks(qup);
+
[ snip
On Mon 24 Feb 09:40 PST 2014, Josh Cartwright wrote:
On Mon, Feb 24, 2014 at 12:33:10PM +0200, Ivan T. Ivanov wrote:
On Fri, 2014-02-21 at 09:35 -0600, Kumar Gala wrote:
On Feb 20, 2014, at 6:38 PM, Bjorn Andersson
bjorn.anders...@sonymobile.com wrote:
This bus driver supports
then the others to be able to be compiled
as a module.
FWIW;
Reviewed-by: Bjorn Andersson bjorn.anders...@sonymobile.com
Josh
Regards,
Bjorn
--8--
Subject: [PATCH] pinctrl: msm: make PINCTRL_MSM bool instead of tristate
Modular builds of pinctrl-msm break due to handle_bad_irq being
On Fri, Feb 21, 2014 at 3:06 AM, Mark Rutland mark.rutl...@arm.com wrote:
On Fri, Feb 21, 2014 at 12:38:10AM +, Bjorn Andersson wrote:
[...]
+static const struct of_device_id qup_i2c_dt_match[] = {
+ { .compatible = qcom,i2c-qup-v1.1.1 },
+ { .compatible = qcom,i2c-qup-v2.1.1
On Wed, Feb 26, 2014 at 11:12 AM, Stephen Boyd sb...@codeaurora.org wrote:
The compatible string doesn't have an x in it. Fix it. Also
remove the qcom prefix from pins and functions as this binding
uses the generic pinctrl bindings for the pins and functions.
Cc: Bjorn Andersson bjorn.anders
Hi Kumar,
I pulled this in to my 3.14 tree and gave it a spin. But I keep
hitting the case of unlock below telling me that someone else is
holding the lock.
On Wed, Aug 14, 2013 at 12:09 PM, Kumar Gala ga...@codeaurora.org wrote:
[...]
+
+static int msm_hwspinlock_trylock(struct hwspinlock
On Sat, Mar 1, 2014 at 9:14 PM, Ohad Ben-Cohen o...@wizery.com wrote:
On Mon, Feb 10, 2014 at 9:14 PM, Suman Anna s-a...@ti.com wrote:
On 02/07/2014 04:49 PM, Bjorn Andersson wrote:
It seems to be standard practice to pass the error value back to the
consumer, so you should
return ERR_PTR(ret
On Fri, Feb 28, 2014 at 3:24 AM, Georgi Djakov gdja...@mm-sol.com wrote:
This platform driver adds the initial support of Secure
Digital Host Controller Interface compliant controller
found in Qualcomm chipsets.
Hi Georgi,
When testing this I was confused by the warnings from sdhci not
On Fri, Feb 28, 2014 at 3:24 AM, Georgi Djakov gdja...@mm-sol.com wrote:
This platform driver adds the initial support of Secure
Digital Host Controller Interface compliant controller
found in Qualcomm chipsets.
Hi Georgi,
Sorry for reposting this, I have no idea how I managed to send this
good!
Acked-by: Bjorn Andersson bjorn.anders...@sonymobile.com
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org
++-
drivers/pinctrl/pinctrl-msm.h | 5 +--
drivers/pinctrl/pinctrl-msm8x74.c | 1 -
4 files changed, 27 insertions(+), 54 deletions(-)
Looks good
Acked-by: Bjorn Andersson bjorn.anders...@sonymobile.com
--
To unsubscribe from this list: send the line unsubscribe linux
: reformulated part of binding description and cleaned up example]
Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com
---
.../devicetree/bindings/i2c/qcom,i2c-qup.txt | 41 ++
1 file changed, 41 insertions(+)
create mode 100644 Documentation/devicetree/bindings/i2c/qcom
framework changes
splited up qup_i2c_enable() in enable/disable
don't overwrite ret value on error in xfer functions
initilize core for each transfer
remove explicit pinctrl selection
use existing clock instead of setting new core clock]
Signed-off-by: Bjorn
Picking up Ivans i2c-qup submission from a few months back, as I've now
tested and corrected some minor things. I also introduced changes based
on the review of v1.
Changes from v1:
- Cleaned up device tree binding example.
- Refrased device tree bindings.
- Following changes in the i2c
On Mon, Feb 17, 2014 at 11:06 PM, Jassi Brar jaswinder.si...@linaro.org wrote:
Hi Courtney,
On 18 February 2014 06:22, Courtney Cavin courtney.ca...@sonymobile.com
wrote:
On Sat, Feb 15, 2014 at 07:25:27PM +0100, Jassi Brar wrote:
[...]
+struct ipc_client {
I'm not so sure about the
: reformulated part of binding description
added version to compatible
cleaned up example]
Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com
---
.../devicetree/bindings/i2c/qcom,i2c-qup.txt | 44
1 file changed, 44 insertions(+)
create mode 100644
(interrupt
generated for each block-size data transfer).
Cc: Andy Gross agr...@codeaurora.org
Cc: Stephen Boyd sb...@codeaurora.org
Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com
Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com
---
drivers/i2c/busses/Kconfig | 10 +
drivers/i2c
qup_i2c_enable(bool) into enable/disable functions.
- Return value was overwritten on error in write_one/read_one.
- Initialize the i2c core every time, so that we actually can execute
more than 1 transmission per xfer.
Bjorn Andersson (1):
i2c: New bus driver for the Qualcomm QUP I2C controller
Ivan
...@mm-sol.com
Björn can I have your ACK on this patch?
Indeed,
Acked-by: Bjorn Andersson bjorn.anders...@sonymobile.com
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org
inheriting these nodes, closer to the product dts
files.
Reviewed-by: Bjorn Andersson bjorn.anders...@sonymobile.com
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo
to be retrieved after acquiring the mutex.
Cc: Android Kernel Team kernel-t...@android.com
Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com
---
drivers/staging/android/logger.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/android/logger.c b/drivers
Support overriding ATAG_MEM, by specifying non-zero content of the /memory/reg
property in the appended DTB. This is needed to work around bootloaders passing
broken tags.
Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com
---
arch/arm/boot/compressed/atags_to_fdt.c | 18
On Tue, May 6, 2014 at 10:16 PM, Bjorn Andersson
bjorn.anders...@sonymobile.com wrote:
[...]
+static int fdt_overrides_atag_mem(void *fdt)
+{
+ const char *memory;
+ int len = 0;
+
+ memory = getprop(fdt, /memory, reg, len);
+ if (memory) {
+ while
On Tue, May 6, 2014 at 6:32 PM, Rob Herring robherri...@gmail.com wrote:
On Tue, May 6, 2014 at 7:48 PM, Frank Rowand frowand.l...@gmail.com wrote:
An issue with the path of SPMI nodes under /sys/bus/... was reported in
https://lkml.org/lkml/2014/4/23/312. The symptom is that two different
On Wed, May 7, 2014 at 1:06 AM, Uwe Kleine-König
u.kleine-koe...@pengutronix.de wrote:
On Tue, May 06, 2014 at 10:16:16PM -0700, Bjorn Andersson wrote:
Support overriding ATAG_MEM, by specifying non-zero content of the
/memory/reg
property in the appended DTB. This is needed to work around
that, thought I tested that path properly.
Wolfram, please pick this up as soon as possible as it renders the
driver useless if one enables pm runtime.
Acked-by: Bjorn Andersson bjorn.anders...@sonymobile.com
Regards,
Bjorn
--
To unsubscribe from this list: send the line unsubscribe linux-kernel
On Tue, Apr 29, 2014 at 1:18 AM, srinivas.kandaga...@linaro.org wrote:
[...]
This patch series adds Qualcomm SD Card Controller support in pl180 mmci
driver. QCom SDCC is basically a pl180, but bit more customized, some of the
register layouts and offsets are different to the ones mentioned in
On Fri 09 May 01:33 PDT 2014, Linus Walleij wrote:
On Tue, Apr 29, 2014 at 8:06 PM, Linus Walleij linus.wall...@linaro.org
wrote:
This switches the Qualcomm MSM pin control driver over to using
the generic GPIO irqchip helpers.
Cc: Bjorn Andersson bjorn.anders...@sonymobile.com
Cc
On Fri 09 May 10:52 PDT 2014, Andy Gross wrote:
This patch adds pin definitiones for the MSM8x74 TLMM. New definitions
include:
BLSP devices (I2C, UART, UART flow control, SPI, and UIM), mi2s, gp clk, pdm,
gcc clk, cci_timer, cci_i2c, cam_clk, hsic, tsif, sdc3, sdc4, and other
assorted
Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com
---
.../bindings/pinctrl/qcom,msm8960-pinctrl.txt | 108 ++
drivers/pinctrl/Kconfig|8 +
drivers/pinctrl/Makefile |1 +
drivers/pinctrl/pinctrl-msm8960.c
Driver for the Resource Power Manager (RPM) found in Qualcomm 8660, 8960 and
8064 based devices. The driver exposes resources that child drivers can operate
on; to implementing regulator, clock and bus frequency drivers.
Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com
---
drivers
.
- 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 regulators exposed by the Resource Power Manager (RPM) found in
Qualcomm 8660, 8960 and 8064 based devices.
Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com
---
drivers/regulator/Kconfig | 12 +
drivers/regulator/Makefile | 1 +
drivers
Add binding for the Qualcomm Resource Power Manager (RPM) found in 8660, 8960
and 8064 based devices. The binding currently describes the rpm itself and the
regulator subnodes.
Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com
---
.../devicetree/bindings/soc/qcom/qcom,rpm.txt
On Thu, Jun 12, 2014 at 10:33 AM, Bjorn Andersson
bjorn.anders...@sonymobile.com wrote:
Changes since v1:
- Moved rpm driver to drivers/soc
[...]
include/linux/mfd/qcom_rpm.h | 12 +
Missed the last one in the move...
s/mfd/soc/
Will wait a little before sending out
On Mon, Apr 21, 2014 at 2:43 PM, srinivas.kandaga...@linaro.org wrote:
From: Srinivas Kandagatla srinivas.kandaga...@linaro.org
[snip]
This patches are tested in PIO mode on IFC8064 board with both eMMC and
external SD card. I would appreciate any feedback/suggestions on the overall
On Mon, May 19, 2014 at 11:03 AM, Jassi Brar jaswinder.si...@linaro.org wrote:
On 19 May 2014 18:38, Arnd Bergmann a...@arndb.de wrote:
On Friday 16 May 2014 19:03:25 Jassi Brar wrote:
[...]
Do you have an example for a platform like that? I'd expect that normally
we can have a boot loader
On Wed, May 28, 2014 at 10:06 AM, Kumar Gala ga...@codeaurora.org wrote:
It is the purpose so that as we see common patterns between either
drivers/soc/VENDOR we can refactor in the future. However, we need to all
a little time for those patterns to emerge rather than shoe horning in
On Wed, May 28, 2014 at 9:34 AM, Kumar Gala ga...@codeaurora.org wrote:
On May 27, 2014, at 12:28 PM, Bjorn Andersson
bjorn.anders...@sonymobile.com wrote:
Add binding for the Qualcomm Resource Power Manager (RPM) found in 8660, 8960
and 8064 based devices. The binding currently describes
On Thu, May 29, 2014 at 9:19 AM, Srinivas Kandagatla
srinivas.kandaga...@linaro.org wrote:
+- reg:
+ Usage: required
+ Value type: prop-encoded-array
+ Definition: two entries specifying the RPM's message ram and ipc
register
+
+- reg-names:
+ Usage: required
+
On Thu, May 29, 2014 at 9:54 AM, Lee Jones lee.jo...@linaro.org wrote:
diff --git a/include/dt-bindings/mfd/qcom_rpm.h
b/include/dt-bindings/mfd/qcom_rpm.h
new file mode 100644
index 000..277e789
--- /dev/null
+++ b/include/dt-bindings/mfd/qcom_rpm.h
@@ -0,0 +1,142 @@
+/*
+ * This
On Thu, May 29, 2014 at 9:19 AM, Srinivas Kandagatla
srinivas.kandaga...@linaro.org wrote:
+++ b/drivers/mfd/qcom_rpm.c
[...]
+struct qcom_rpm {
+ struct device *dev;
+ struct completion ack;
+ struct mutex lock;
+
+ void __iomem *status_regs;
+ void __iomem
On Wed, May 28, 2014 at 9:55 AM, Mark Brown broo...@kernel.org wrote:
On Tue, May 27, 2014 at 10:28:41AM -0700, Bjorn Andersson wrote:
+static int rpm_reg_set_voltage(struct regulator_dev *rdev,
+int min_uV, int max_uV,
+unsigned
On Thu, May 29, 2014 at 2:18 PM, Mark Brown broo...@kernel.org wrote:
On Thu, May 29, 2014 at 02:03:40PM -0700, Bjorn Andersson wrote:
Please fix your mailer to word wrap at less than 80 columns so quoted
text is legible.
The hardware in this case is a pmic shared by all cpus in the system
On Thu, May 29, 2014 at 2:41 PM, Srinivas Kandagatla
srinivas.kandaga...@linaro.org wrote:
Although we will not have more than one rpm in a system and therefore not
instatiate this driver multiple times I do not want to run it off the
global
state.
I agree.
Why not make a separate data
On Fri, May 23, 2014 at 1:11 AM, Srinivas Kandagatla
srinivas.kandaga...@linaro.org wrote:
On 23/05/14 08:50, Ulf Hansson wrote:
[...]
It seems like you had some CRC issues during read/write? Did you
manage to resolve that issue?
Bjorn is using different SOC and board than the IFC6410 Am
On Fri, May 23, 2014 at 9:50 AM, Srinivas Kandagatla
srinivas.kandaga...@linaro.org wrote:
Hi Bjorn,
Thanks for the update.
Hi Srini,
After pulling in Ulfs next branch again and reapplying v3 my issues
are now gone. Not sure what I screwed up when I merged v2, this seems
to work just fine
Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com
---
drivers/pinctrl/pinctrl-apq8064.c | 21 ++---
1 file changed, 18 insertions(+), 3 deletions(-)
diff --git a/drivers/pinctrl/pinctrl-apq8064.c
b/drivers/pinctrl/pinctrl-apq8064.c
index 23c4c21..3adf9fd 100644
Driver for the Resource Power Manager (RPM) found in Qualcomm 8660, 8960 and
8064 based devices. The driver exposes resources that child drivers can operate
on; to implementing regulator, clock and bus frequency drivers.
Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com
---
drivers
in these devices.
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 | 283 +++
drivers/mfd/Kconfig
Driver for regulators exposed by the Resource Power Manager (RPM) found in
Qualcomm 8660, 8960 and 8064 based devices.
Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com
---
drivers/regulator/Kconfig | 12 +
drivers/regulator/Makefile | 1 +
drivers
Add binding for the Qualcomm Resource Power Manager (RPM) found in 8660, 8960
and 8064 based devices. The binding currently describes the rpm itself and the
regulator subnodes.
Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com
---
Documentation/devicetree/bindings/mfd/qcom,rpm.txt
Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com
---
Thought I already sent you parts of this previously, sorry about that.
This should apply on your devel branch.
drivers/pinctrl/pinctrl-apq8064.c | 47 +++
1 file changed, 47 insertions(+)
diff
On Wed, May 28, 2014 at 9:23 AM, Kumar Gala ga...@codeaurora.org wrote:
On May 27, 2014, at 12:28 PM, Bjorn Andersson
bjorn.anders...@sonymobile.com wrote:
This series adds a regulator driver for the Resource Power Manager found in
Qualcomm 8660, 8960 and 8064 based devices.
The RPM
pins.
Signed-off-by: Andy Gross agr...@codeaurora.org
Acked-By: Bjorn Andersson bjorn.anders...@sonymobile.com
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo
Driver for regulators exposed by the Resource Power Manager (RPM) found
in Qualcomm 8660, 8960 and 8064 based devices.
Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com
---
drivers/regulator/Kconfig | 12 +
drivers/regulator/Makefile | 1 +
drivers
Driver for the Resource Power Manager (RPM) found in Qualcomm 8660, 8960
and 8064 based devices. The driver exposes resources that child drivers
can operate on; to implementing regulator, clock and bus frequency
drivers.
Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com
---
drivers
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
Add binding for the Qualcomm Resource Power Manager (RPM) found in 8660,
8960 and 8064 based devices. The binding currently describes the rpm
itself and the regulator subnodes.
Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com
---
.../devicetree/bindings/soc/qcom/qcom,rpm.txt
On Tue, Jun 17, 2014 at 10:07 AM, Kevin Hilman khil...@linaro.org wrote:
+Paul Walmsley
Bjorn Andersson bjorn.anders...@sonymobile.com writes:
This series adds a regulator driver for the Resource Power Manager found in
Qualcomm 8660, 8960 and 8064 based devices.
The RPM driver exposes
On Tue, Jun 17, 2014 at 4:59 PM, Stephen Boyd sb...@codeaurora.org wrote:
[...]
because ipc is actually a register inside the Krait complex's global
clock control/distribution hardware block (it's located at 0x2011000).
From what I can tell, this is the only non-clock/power register inside
On Tue, Jun 17, 2014 at 9:49 PM, Andy Gross agr...@codeaurora.org wrote:
This patch adds the BUS_HOLD (Keeper) bias option for pins.
Signed-off-by: Andy Gross agr...@codeaurora.org
Acked-by: Bjorn Andersson bjorn.anders...@sonymobile.com
--
To unsubscribe from this list: send the line
On Tue, Jun 17, 2014 at 3:00 PM, Andy Gross agr...@codeaurora.org wrote:
On Tue, Jun 10, 2014 at 11:25:23AM -0700, Bjorn Andersson wrote:
In general, it all looks good. I only have 2 areas of concern. The first is
a
nit and it has to do with alternate pins for functions. There really
this
difference in the consumer driver.
Eliminate this difference by populating the min_uV and max_uV of the newly
created regulator from the constraints so that calles to regulator_set_voltage
is considered no-ops and not a failure.
Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com
On Tue, Feb 4, 2014 at 3:05 AM, Mark Brown broo...@kernel.org wrote:
On Mon, Feb 03, 2014 at 09:54:28PM -0800, Bjorn Andersson wrote:
+ /*
+ * Make the regulator reflect the configured voltage selected in
+ * machine_constraints_voltage()
+ */
+ if (rdev-constraints
On Tue, Feb 4, 2014 at 10:18 AM, Mark Brown broo...@kernel.org wrote:
On Tue, Feb 04, 2014 at 10:02:14AM -0800, Bjorn Andersson wrote:
On Tue, Feb 4, 2014 at 3:05 AM, Mark Brown broo...@kernel.org wrote:
Why not do this at the time we apply the voltage? That would seem to be
more robust
Add support for configuring pins as output with value as from the
pinconf-generic interface.
Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com
---
drivers/pinctrl/pinctrl-msm.c | 27 +++
1 file changed, 27 insertions(+)
diff --git a/drivers/pinctrl/pinctrl
On Tue, Feb 4, 2014 at 12:00 PM, Mark Brown broo...@kernel.org wrote:
On Tue, Feb 04, 2014 at 11:09:03AM -0800, Bjorn Andersson wrote:
I have a regulator that's being configured from DT as:
regulator-min-microvolt = 295;
regulator-max-microvolt = 295;
In the consumer I do
Make it okay to call regulator_set_voltage on regulators with fixed
voltage if the requested range overlaps the current/configured voltage.
Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com
---
drivers/regulator/core.c | 14 ++
1 file changed, 14 insertions(+)
diff
it to work on our boards.
I did modify the wording of most of these to match how it is written in the
other Qualcomm definitions.
@Mark, would you rather have me change this to your suggested wording?
On Mon, 2014-01-13 at 16:30 -0800, Bjorn Andersson wrote:
From: Ivan T. Ivanov iiva
: reformulated part of binding description and cleaned up example]
Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com
---
.../devicetree/bindings/i2c/qcom,i2c-qup.txt | 41 ++
1 file changed, 41 insertions(+)
create mode 100644 Documentation/devicetree/bindings/i2c/qcom
framework changes
splited up qup_i2c_enable() in enable/disable
don't overwrite ret value on error in xfer functions
initilize core for each transfer
remove explicit pinctrl selection
use existing clock instead of setting new core clock]
Signed-off-by: Bjorn
Continuing on Ivans i2c-qup series.
Changes from v2:
- Removed unused variables and includes
- Corrected read logic in irq handler
- Made the polling loop in qup_i2c_poll_state() less arbitrary
- Only building suspend/resume if CONFIG_PM_SLEEP
Changes from v1:
- Cleaned up device tree
On Mon 16 Dec 02:01 PST 2013, Linus Walleij wrote:
On Thu, Dec 12, 2013 at 10:35 PM, Christian Daudt b...@fixthebug.org wrote:
I had requested this from Sherman. The reason is so that pinctrl can
be selectable through defconfig, instead of through SoC select
statements. And the reason
On Thu 12 Dec 11:02 PST 2013, Linus Walleij wrote:
On Wed, Dec 11, 2013 at 12:19 AM, Stephen Boyd sb...@codeaurora.org wrote:
We should be writing bits here but instead we're writing the
numbers that correspond to the bits we want to write. Fix it by
wrapping the numbers in the BIT()
On Thu 12 Dec 11:15 PST 2013, Linus Walleij wrote:
On Wed, Dec 11, 2013 at 2:49 AM, Stephen Boyd sb...@codeaurora.org wrote:
...
I don't follow what Linus is recommending. How could
.gpio_request_enable()/.gpio_disable_free() help us here?
That removes the need to define a single group
Various fixes based on feedback from Stephen Boyd and kbuild test robot
Bjorn Andersson (4):
pinctrl-msm: Fix spelling misstakes and missing consts
pinctrl-msm: Tidy up error handling
pinctrl-msm: Remove separate allocation of bitmaps
pinctrl-msm: Rename compatible to be more specific
Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com
---
drivers/pinctrl/pinctrl-msm.c | 14 +++---
drivers/pinctrl/pinctrl-msm8x74.c |4 ++--
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers/pinctrl/pinctrl-msm.c b/drivers/pinctrl/pinctrl-msm.c
Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com
---
drivers/pinctrl/pinctrl-msm.c | 76 ++---
1 file changed, 26 insertions(+), 50 deletions(-)
diff --git a/drivers/pinctrl/pinctrl-msm.c b/drivers/pinctrl/pinctrl-msm.c
index 322bc0a..c1a3053
Make the bitmaps part of the msm_pinctrl allocation instead of
separately allocating them.
Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com
---
drivers/pinctrl/pinctrl-msm.c | 32 +---
1 file changed, 5 insertions(+), 27 deletions(-)
diff --git
1 - 100 of 7286 matches
Mail list logo