Re: Fwd: Status of chipidea msm USB reset patch

2014-08-15 Thread Ivan T. Ivanov
On Fri, 2014-08-15 at 08:23 +0800, Peter Chen wrote: On Thu, Aug 14, 2014 at 11:54:02AM -0500, Felipe Balbi wrote: Hi, On Thu, Aug 14, 2014 at 09:53:10AM -0700, Tim Bird wrote: Ping. Anybody know the status of this patch? Is it queued in someone's tree? Without it the USB

[PATCH RESEND] usb: chipidea: msm: Use USB PHY API to control PHY state

2014-08-15 Thread Ivan T. Ivanov
From: Ivan T. Ivanov iiva...@mm-sol.com PHY drivers keep track of the current state of the hardware, so don't change PHY settings under it. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com --- drivers/usb/chipidea/ci_hdrc_msm.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions

Re: [PATCH v3 1/6] pinctrl: Device tree bindings for Qualcomm pm8xxx gpio block

2014-08-18 Thread Ivan T. Ivanov
On Sat, 2014-08-16 at 16:24 +0100, Daniel wrote: @Ivan: sorry about the double post. Am 11.08.2014 um 16:40 schrieb Ivan T. Ivanov iiva...@mm-sol.com: diff --git a/include/dt-bindings/pinctrl/qcom,pmic-gpio.h b/include/dt-bindings/pinctrl/qcom,pmic-gpio.h new file mode 100644 index

Re: [PATCH RESEND] usb: chipidea: msm: Use USB PHY API to control PHY state

2014-08-25 Thread Ivan T. Ivanov
On Tue, 2014-08-19 at 14:06 -0500, Felipe Balbi wrote: On Fri, Aug 15, 2014 at 12:21:19PM +0300, Ivan T. Ivanov wrote: From: Ivan T. Ivanov iiva...@mm-sol.com PHY drivers keep track of the current state of the hardware, so don't change PHY settings under it. Signed-off-by: Ivan T

Re: [PATCH v3 1/6] pinctrl: Device tree bindings for Qualcomm pm8xxx gpio block

2014-08-25 Thread Ivan T. Ivanov
On Wed, 2014-08-20 at 15:27 -0700, Bjorn Andersson wrote: On Mon 11 Aug 08:40 PDT 2014, Ivan T. Ivanov wrote: [...] diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt [...] +SUBNODES

Re: [PATCH v3 4/6] pinctrl: Qualcomm SPMI PMIC pin controller driver

2014-08-25 Thread Ivan T. Ivanov
On Wed, 2014-08-20 at 23:16 -0700, Bjorn Andersson wrote: On Mon 11 Aug 08:40 PDT 2014, Ivan T. Ivanov wrote: From: Ivan T. Ivanov iiva...@mm-sol.com This is the pinctrl, pinmux, pinconf and gpiolib driver for the Qualcomm GPIO and MPP sub-function blocks found in the PMIC chips

Re: [PATCH v3 6/6] ARM: dts: qcom: Add APQ8074 Dragonboard PMIC GPIO bindings

2014-08-25 Thread Ivan T. Ivanov
On Wed, 2014-08-20 at 16:06 -0700, Bjorn Andersson wrote: On Mon 11 Aug 08:40 PDT 2014, Ivan T. Ivanov wrote: diff --git a/arch/arm/boot/dts/qcom-apq8074-dragonboard-pmics-pins.dtsi b/arch/arm/boot/dts/qcom-apq8074-dragonboard-pmics-pins.dtsi [...] + +pm8941_gpios { + + pinctrl

Re: [PATCH v3 5/6] ARM: dts: qcom: Add PM8941 and PM8841 pinctrl nodes

2014-08-25 Thread Ivan T. Ivanov
On Thu, 2014-08-14 at 13:03 +0530, Pramod Gurav wrote: Hi Ivan, This patch fail to apply on linux-next Tree. Probably because this is based on Stanimir's older patch series Support for Qualcomm QPNP PMIC's. He has posted v4 of them on which it fails to apply. Am I correct? Right, sorry about

Re: [PATCH v3 3/6] pinctrl: Add documentation for SPMI PMIC pinctrl driver bindings

2014-08-25 Thread Ivan T. Ivanov
On Wed, 2014-08-13 at 07:32 -0700, Stephen Boyd wrote: On 08/11, Ivan T. Ivanov wrote: diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.txt b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.txt new file mode 100644 index 000..0a64567 --- /dev/null

Re: Fwd: Status of chipidea msm USB reset patch

2014-09-10 Thread Ivan T. Ivanov
On Fri, 2014-09-05 at 09:01 +0800, Peter Chen wrote: On Thu, Sep 04, 2014 at 07:47:40AM -0700, Tim Bird wrote: On Fri, Aug 15, 2014 at 12:08 AM, Ivan T. Ivanov iiva...@mm-sol.com wrote: On Fri, 2014-08-15 at 08:23 +0800, Peter Chen wrote: On Thu, Aug 14, 2014 at 11:54:02AM -0500, Felipe

Re: [PATCH 1/2] iio: vadc: Qualcomm SPMI PMIC voltage ADC driver

2014-09-10 Thread Ivan T. Ivanov
Hi, On Tue, 2014-09-09 at 15:49 +0300, Stanimir Varbanov wrote: On 09/09/2014 01:32 PM, Arnd Bergmann wrote: On Monday 08 September 2014 18:30:00 Stanimir Varbanov wrote: These numbers all look hardware specific, so why put macros into the device tree rather than using them directly?

[PATCH v4 0/4] Qualcomm SPMI PMIC pin controller drivers

2014-09-15 Thread Ivan T. Ivanov
input/output. [1] https://www.mail-archive.com/linux-arm-msm@vger.kernel.org/msg10095.html Bjorn Andersson (1): pinctrl: Device tree bindings for Qualcomm PMIC GPIO block Ivan T. Ivanov (3): pinctrl: Device tree bindings for Qualcomm PMIC MPP block pinctrl: Qualcomm SPMI PMIC GPIO pin

[PATCH v4 2/4] pinctrl: Device tree bindings for Qualcomm PMIC MPP block

2014-09-15 Thread Ivan T. Ivanov
DeviceTree binding documentation for Qualcomm SPMI PMIC MPP pinctrl drivers. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com --- .../devicetree/bindings/pinctrl/qcom,pmic-mpp.txt | 159 + include/dt-bindings/pinctrl/qcom,pmic-mpp.h| 44 ++ 2 files changed, 203

[PATCH v4 1/4] pinctrl: Device tree bindings for Qualcomm PMIC GPIO block

2014-09-15 Thread Ivan T. Ivanov
From: Bjorn Andersson bjorn.anders...@sonymobile.com This introduced the device tree bindings for the GPIO block found in PMIC's from Qualcomm. Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com --- .../devicetree/bindings/pinctrl/qcom

[PATCH v4 4/4] pinctrl: Qualcomm SPMI PMIC MPP pin controller driver

2014-09-15 Thread Ivan T. Ivanov
This is the pinctrl, pinmux, pinconf and gpiolib driver for the Qualcomm MPP sub-function blocks found in the PMIC chips. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com --- drivers/pinctrl/qcom/Makefile| 1 + drivers/pinctrl/qcom/pinctrl-spmi-pmic-mpp.c | 956

[PATCH v4 3/4] pinctrl: Qualcomm SPMI PMIC GPIO pin controller driver

2014-09-15 Thread Ivan T. Ivanov
This is the pinctrl, pinmux, pinconf and gpiolib driver for the Qualcomm GPIO sub-function blocks found in the PMIC chips. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com --- drivers/pinctrl/qcom/Kconfig | 12 + drivers/pinctrl/qcom/Makefile | 1 + drivers

[PATCH RESEND] thermal: Add QPNP PMIC temperature alarm driver

2014-09-15 Thread Ivan T. Ivanov
, then the reported temperature should be estimated from the over temperature stage value. Send a notification to userspace via sysfs_notify() whenever the over temperature stage value changes. Cc: David Collins colli...@codeaurora.org Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com --- .../bindings

Re: [PATCH RESEND] thermal: Add QPNP PMIC temperature alarm driver

2014-09-16 Thread Ivan T. Ivanov
Hi, On Mon, 2014-09-15 at 11:30 -0400, Eduardo Valentin wrote: Hey Ivan, Please give us at least a two weeks time frame before resending your patches. Sure, I just wanted to add MSM mail list, sorry. + +Optional properties: +- label: A string used as a descriptive name

[PATCH] iio: iadc: Qualcomm SPMI PMIC current ADC driver

2014-09-18 Thread Ivan T. Ivanov
The current ADC is peripheral of Qualcomm SPMI PMIC chips. It has 16 bits resolution and register space inside PMIC accessible across SPMI bus. The driver registers itself through IIO interface. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com --- .../devicetree/bindings/iio/adc/qcom,spmi

Re: [PATCH] iio: iadc: Qualcomm SPMI PMIC current ADC driver

2014-09-19 Thread Ivan T. Ivanov
Hi Kiran, On Fri, 2014-09-19 at 15:49 +0530, Kiran Padwal wrote: Hi Ivan, On Thursday 18 September 2014 06:45 PM, Ivan T. Ivanov wrote: The current ADC is peripheral of Qualcomm SPMI PMIC chips. It has 16 bits resolution and register space inside PMIC accessible across SPMI bus

Re: [PATCH] iio: iadc: Qualcomm SPMI PMIC current ADC driver

2014-09-23 Thread Ivan T. Ivanov
Hi, On Sun, 2014-09-21 at 15:04 +0100, Jonathan Cameron wrote: On 18/09/14 14:15, Ivan T. Ivanov wrote: snip +config QCOM_SPMI_IADC + tristate Qualcomm SPMI PMIC current ADC + select REGMAP_SPMI + depends on IIO + help + This is the IIO Current ADC driver for Qualcomm

Re: [PATCH] spi: qup: Fix incorrect block transfers

2014-09-23 Thread Ivan T. Ivanov
Hi Andy, On Sun, 2014-09-21 at 23:27 -0500, Andy Gross wrote: This patch fixes a number of errors with the QUP block transfer mode. Errors manifested themselves as input underruns, output overruns, and timed out transactions. At what speeds are you seeing those errors? The block mode

[PATCH] iio: consumer.h: Fix scale factor in function comment

2014-09-23 Thread Ivan T. Ivanov
1 milivolt is equal to 100 nanovolts. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com --- include/linux/iio/consumer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/iio/consumer.h b/include/linux/iio/consumer.h index 651f9a0..087af10 100644 --- a/include

Re: [PATCH v4 3/4] pinctrl: Qualcomm SPMI PMIC GPIO pin controller driver

2014-09-24 Thread Ivan T. Ivanov
On Tue, 2014-09-23 at 21:18 -0700, Bjorn Andersson wrote: On Mon 15 Sep 07:44 PDT 2014, Ivan T. Ivanov wrote: This is the pinctrl, pinmux, pinconf and gpiolib driver for the Qualcomm GPIO sub-function blocks found in the PMIC chips. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com I

Re: [PATCH v4 3/4] pinctrl: Qualcomm SPMI PMIC GPIO pin controller driver

2014-09-24 Thread Ivan T. Ivanov
On Tue, 2014-09-23 at 21:18 -0700, Bjorn Andersson wrote: On Mon 15 Sep 07:44 PDT 2014, Ivan T. Ivanov wrote: snip +static int pmic_gpio_of_xlate(struct gpio_chip *chip, + const struct of_phandle_args *gpio_desc, + u32 *flags

[PATCH v2] iio: iadc: Qualcomm SPMI PMIC current ADC driver

2014-09-24 Thread Ivan T. Ivanov
The current ADC is peripheral of Qualcomm SPMI PMIC chips. It has 16 bits resolution and register space inside PMIC accessible across SPMI bus. The driver registers itself through IIO interface. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com --- Changes: - Fix Kconfig dependencies - Reword

Re: [PATCH RESEND] thermal: Add QPNP PMIC temperature alarm driver

2014-09-24 Thread Ivan T. Ivanov
On Mon, 2014-09-15 at 11:30 -0400, Eduardo Valentin wrote: Hey Ivan, Please give us at least a two weeks time frame before resending your patches. Hi Eduardo, Should I wait for more comments or I can post updated version of this patch? Regards, Ivan -- To unsubscribe from this list: send

Re: [PATCH v2] iio: iadc: Qualcomm SPMI PMIC current ADC driver

2014-09-24 Thread Ivan T. Ivanov
On Wed, 2014-09-24 at 15:55 +0100, Mark Rutland wrote: On Wed, Sep 24, 2014 at 02:58:23PM +0100, Ivan T. Ivanov wrote: The current ADC is peripheral of Qualcomm SPMI PMIC chips. It has 16 bits resolution and register space inside PMIC accessible across SPMI bus. The driver registers

Re: [PATCH RESEND] thermal: Add QPNP PMIC temperature alarm driver

2014-09-24 Thread Ivan T. Ivanov
On Wed, 2014-09-24 at 14:24 -0400, Eduardo Valentin wrote: Hello Ivan, On Wed, Sep 24, 2014 at 05:56:10PM +0300, Ivan T. Ivanov wrote: On Mon, 2014-09-15 at 11:30 -0400, Eduardo Valentin wrote: Hey Ivan, Please give us at least a two weeks time frame before resending your

Re: [PATCH v2] iio: iadc: Qualcomm SPMI PMIC current ADC driver

2014-09-25 Thread Ivan T. Ivanov
Hi Mark, On Wed, 2014-09-24 at 18:05 +0100, Mark Rutland wrote: On Wed, Sep 24, 2014 at 05:00:42PM +0100, Ivan T. Ivanov wrote: On Wed, 2014-09-24 at 15:55 +0100, Mark Rutland wrote: On Wed, Sep 24, 2014 at 02:58:23PM +0100, Ivan T. Ivanov wrote: The current ADC is peripheral

Re: [PATCH] USB: Remove .owner field for driver

2014-09-25 Thread Ivan T. Ivanov
use the module_platform_driver API, as this is overriden in platform_driver_register anyway. Signed-off-by: Kiran Padwal kiran.pad...@smartplayin.com Thank you Kiran. Reviewed-by: Ivan T. Ivanov iiva...@mm-sol.com -- To unsubscribe from this list: send the line unsubscribe linux-arm-msm

Re: [PATCH v3 1/2] iio: vadc: Qualcomm SPMI PMIC voltage ADC driver

2014-09-25 Thread Ivan T. Ivanov
. Signed-off-by: Stanimir Varbanov svarba...@mm-sol.com Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com --- drivers/iio/adc/Kconfig | 10 + drivers/iio/adc/Makefile |1 + drivers/iio/adc/qcom-spmi-vadc.c | 1029

[PATCH v2] thermal: Add QPNP PMIC temperature alarm driver

2014-09-25 Thread Ivan T. Ivanov
, then the reported temperature should be estimated from the over temperature stage value. Send a notification to userspace via sysfs_notify() whenever the over temperature stage value changes. Cc: David Collins colli...@codeaurora.org Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com --- Changes

Re: [PATCH v2] iio: iadc: Qualcomm SPMI PMIC current ADC driver

2014-09-25 Thread Ivan T. Ivanov
On Thu, 2014-09-25 at 17:02 +0100, Mark Rutland wrote: On Thu, Sep 25, 2014 at 10:47:15AM +0100, Ivan T. Ivanov wrote: Hi Mark, On Wed, 2014-09-24 at 18:05 +0100, Mark Rutland wrote: On Wed, Sep 24, 2014 at 05:00:42PM +0100, Ivan T. Ivanov wrote: On Wed, 2014-09-24 at 15:55 +0100

Re: [PATCH v3 1/2] iio: vadc: Qualcomm SPMI PMIC voltage ADC driver

2014-09-25 Thread Ivan T. Ivanov
On Thu, 2014-09-25 at 18:30 +0300, Stanimir Varbanov wrote: Hi Ivan, On 09/25/2014 03:47 PM, Ivan T. Ivanov wrote: Hi Stan, few comment bellow. On Wed, 2014-09-24 at 15:56 +0300, Stanimir Varbanov wrote: The voltage ADC is peripheral of Qualcomm SPMI PMIC chips. It has 15bits

Re: [PATCH v2] iio: iadc: Qualcomm SPMI PMIC current ADC driver

2014-09-29 Thread Ivan T. Ivanov
On Sat, 2014-09-27 at 10:50 +0100, Jonathan Cameron wrote: On 25/09/14 20:21, Ivan T. Ivanov wrote: On Thu, 2014-09-25 at 17:02 +0100, Mark Rutland wrote: On Thu, Sep 25, 2014 at 10:47:15AM +0100, Ivan T. Ivanov wrote: snip +- interrupts: +Usage: optional +Value type: prop

Re: [PATCH v2] thermal: Add QPNP PMIC temperature alarm driver

2014-09-29 Thread Ivan T. Ivanov
On Fri, 2014-09-26 at 16:51 +0530, Kiran Padwal wrote: On Thursday 25 September 2014 07:00 PM, Ivan T. Ivanov wrote: Add support for the temperature alarm peripheral found inside Qualcomm plug-and-play (QPNP) PMIC chips. The temperature alarm peripheral outputs a pulse on an interrupt line

Re: [PATCH v2] thermal: Add QPNP PMIC temperature alarm driver

2014-09-30 Thread Ivan T. Ivanov
On Tue, 2014-09-30 at 10:00 +0530, Kiran Padwal wrote: On Monday 29 September 2014 07:24 PM, Ivan T. Ivanov wrote: On Fri, 2014-09-26 at 16:51 +0530, Kiran Padwal wrote: On Thursday 25 September 2014 07:00 PM, Ivan T. Ivanov wrote: Add support for the temperature alarm peripheral found

Re: [Patch v2] spi: qup: Fix incorrect block transfers

2014-09-30 Thread Ivan T. Ivanov
Hi Andy, just few comments. On Wed, 2014-09-24 at 16:04 -0500, Andy Gross wrote: snip +static void spi_qup_fifo_read(struct spi_qup *controller, + struct spi_transfer *xfer) +{ + u32 data; + + /* clear service request */ +

Re: [PATCH v2] thermal: Add QPNP PMIC temperature alarm driver

2014-10-01 Thread Ivan T. Ivanov
On Tue, 2014-09-30 at 12:46 -0700, Stephen Boyd wrote: On 09/30/14 00:36, Ivan T. Ivanov wrote: On Tue, 2014-09-30 at 10:00 +0530, Kiran Padwal wrote: I have Linaro cross tool chain with version-4.8.3 and I am simply doing make zImage without any option. Hm, no warnings with arm

[PATCH v3] thermal: Add QPNP PMIC temperature alarm driver

2014-10-01 Thread Ivan T. Ivanov
, then the reported temperature should be estimated from the over temperature stage value. Send a notification to userspace via sysfs_notify() whenever the over temperature stage value changes. Cc: David Collins colli...@codeaurora.org Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com --- Changes since

[PATCH v3] iio: iadc: Qualcomm SPMI PMIC current ADC driver

2014-10-01 Thread Ivan T. Ivanov
The current ADC is peripheral of Qualcomm SPMI PMIC chips. It has 16 bits resolution and register space inside PMIC accessible across SPMI bus. The driver registers itself through IIO interface. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com --- Changes since v2: - DT bindings fixed

[PATCH v5 0/4] Qualcomm SPMI PMIC pin controller drivers

2014-10-01 Thread Ivan T. Ivanov
://www.mail-archive.com/linux-kernel@vger.kernel.org/msg725568.html Bjorn Andersson (1): pinctrl: Device tree bindings for Qualcomm PMIC GPIO block Ivan T. Ivanov (3): pinctrl: Device tree bindings for Qualcomm PMIC MPP block pinctrl: Qualcomm SPMI PMIC GPIO pin controller driver pinctrl

[PATCH v5 2/4] pinctrl: Device tree bindings for Qualcomm PMIC MPP block

2014-10-01 Thread Ivan T. Ivanov
DeviceTree binding documentation for Qualcomm SPMI PMIC MPP pinctrl drivers. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com --- .../devicetree/bindings/pinctrl/qcom,pmic-mpp.txt | 162 + include/dt-bindings/pinctrl/qcom,pmic-mpp.h| 44 ++ 2 files changed, 206

[PATCH v5 1/4] pinctrl: Device tree bindings for Qualcomm PMIC GPIO block

2014-10-01 Thread Ivan T. Ivanov
From: Bjorn Andersson bjorn.anders...@sonymobile.com This introduced the device tree bindings for the GPIO block found in PMIC's from Qualcomm. Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com --- .../devicetree/bindings/pinctrl/qcom

[PATCH v5 3/4] pinctrl: Qualcomm SPMI PMIC GPIO pin controller driver

2014-10-01 Thread Ivan T. Ivanov
This is the pinctrl, pinmux, pinconf and gpiolib driver for the Qualcomm GPIO sub-function blocks found in the PMIC chips. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com --- drivers/pinctrl/qcom/Kconfig | 13 + drivers/pinctrl/qcom/Makefile| 1 + drivers/pinctrl/qcom

[PATCH v5 4/4] pinctrl: Qualcomm SPMI PMIC MPP pin controller driver

2014-10-01 Thread Ivan T. Ivanov
This is the pinctrl, pinmux, pinconf and gpiolib driver for the Qualcomm MPP sub-function blocks found in the PMIC chips. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com --- drivers/pinctrl/qcom/Makefile | 1 + drivers/pinctrl/qcom/pinctrl-spmi-mpp.c | 953

Re: [PATCH v3 1/2] iio: vadc: Qualcomm SPMI PMIC voltage ADC driver

2014-10-02 Thread Ivan T. Ivanov
Hi Stan, On 09/24/2014 03:56 PM, Stanimir Varbanov wrote: snip +static int vadc_get_dt_data(struct vadc_priv *vadc, struct device_node *node) +{ + struct iio_chan_spec *iio_chan = vadc-iio_chans; + const struct vadc_channels *vadc_chan; + struct vadc_channel_prop prop; +

Re: [PATCH v3 1/2] iio: vadc: Qualcomm SPMI PMIC voltage ADC driver

2014-10-02 Thread Ivan T. Ivanov
+iio maintainers On Thu, 2014-10-02 at 12:29 +0300, Ivan T. Ivanov wrote: Hi Stan, On 09/24/2014 03:56 PM, Stanimir Varbanov wrote: snip +static int vadc_get_dt_data(struct vadc_priv *vadc, struct device_node *node) +{ + struct iio_chan_spec *iio_chan = vadc-iio_chans

[PATCH] iio: inkern: Add of_xlate function to struct iio_dev

2014-10-02 Thread Ivan T. Ivanov
not provide custom implementation. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com --- drivers/iio/inkern.c| 32 +++- include/linux/iio/iio.h | 8 2 files changed, 35 insertions(+), 5 deletions(-) diff --git a/drivers/iio/inkern.c b/drivers/iio/inkern.c

Re: [PATCH] iio: inkern: Add of_xlate function to struct iio_dev

2014-10-02 Thread Ivan T. Ivanov
On Thu, 2014-10-02 at 15:30 +0200, Lars-Peter Clausen wrote: On 10/02/2014 02:32 PM, Ivan T. Ivanov wrote: When #iio-cells is greater than '0', the driver could provide a custom of_xlate function that reads the *args* and returns the appropriate index in registered IIO channels array. Do

Re: [PATCH] iio: inkern: Add of_xlate function to struct iio_dev

2014-10-03 Thread Ivan T. Ivanov
On Fri, 2014-10-03 at 07:31 -0700, Srinivas Pandruvada wrote: On Thu, 2014-10-02 at 16:49 +0300, Ivan T. Ivanov wrote: On Thu, 2014-10-02 at 15:30 +0200, Lars-Peter Clausen wrote: On 10/02/2014 02:32 PM, Ivan T. Ivanov wrote: When #iio-cells is greater than '0', the driver could provide

Re: [PATCH 0/2] Qualcomm PM8941 power key driver

2014-10-07 Thread Ivan T. Ivanov
Hi Bjorn, On Mon, 2014-10-06 at 18:11 -0700, Bjorn Andersson wrote: These patches add dt bindings and a device driver for the power key block in the Qualcomm PM8941 pmic. Courtney Cavin (2): input: Add Qualcomm PM8941 power key driver input: pm8941-pwrkey: Add DT binding documentation

[PATCH 0/4] Input: pmic8xxx-keypad - add support for pm8941 keypad

2014-10-07 Thread Ivan T. Ivanov
, registers offsets and bit definitions. To be able to easily add support for new controller, driver have been converted to use struct regmap_field. Regards, Ivan Ivan T. Ivanov (4): Input: pmic8xxx-keypad - remove unused register and bit definitions Input: pmic8xxx-keypad - use regmap_field

[PATCH 1/4] Input: pmic8xxx-keypad - remove unused register and bit definitions

2014-10-07 Thread Ivan T. Ivanov
These defines are not used by driver. Remove them. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com --- drivers/input/keyboard/pmic8xxx-keypad.c | 12 1 file changed, 12 deletions(-) diff --git a/drivers/input/keyboard/pmic8xxx-keypad.c b/drivers/input/keyboard/pmic8xxx-keypad.c

[PATCH 2/4] Input: pmic8xxx-keypad - use regmap_field for register access

2014-10-07 Thread Ivan T. Ivanov
to avoid runtime checks. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com --- drivers/input/keyboard/pmic8xxx-keypad.c | 260 ++- 1 file changed, 154 insertions(+), 106 deletions(-) diff --git a/drivers/input/keyboard/pmic8xxx-keypad.c b/drivers/input/keyboard

[PATCH 3/4] Input: pmic8xxx-keypad - add support keypad found in pm8941

2014-10-07 Thread Ivan T. Ivanov
Controller seems to be the same. Just access to it is over SPMI bus and registers and bits are reshuffled. Hopefully this is nicely abstracted by regmap helpers. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com --- .../bindings/input/qcom,pm8xxx-keypad.txt | 1 + drivers/input/keyboard

[PATCH 4/4] Input: pmic8xxx-keypad - update DT bindings documentation

2014-10-07 Thread Ivan T. Ivanov
Fix incorrect dimensions for 'debonce' and 'scan-delay' times. Now they represent what driver really expect. Add possible time quants for 'debonce', 'scan-delay' and 'row-hold' times. Update bindings example. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com --- Documentation/devicetree/bindings

Re: [PATCH v3] iio: iadc: Qualcomm SPMI PMIC current ADC driver

2014-10-07 Thread Ivan T. Ivanov
On Sat, 2014-10-04 at 13:03 +0100, Jonathan Cameron wrote: On 01/10/14 17:14, Ivan T. Ivanov wrote: The current ADC is peripheral of Qualcomm SPMI PMIC chips. It has 16 bits resolution and register space inside PMIC accessible across SPMI bus. The driver registers itself through IIO

Re: [PATCH v5 0/4] Qualcomm SPMI PMIC pin controller drivers

2014-10-07 Thread Ivan T. Ivanov
On Fri, 2014-10-03 at 16:53 -0700, Bjorn Andersson wrote: On Wed 01 Oct 09:30 PDT 2014, Ivan T. Ivanov wrote: This looks good and I gave it a spin on one of our 8974 devices and verified that gpio_keys works :) Acked-by: Bjorn Andersson bjorn.anders...@sonymobile.com Thank you Bjorn

Re: [PATCH v3 1/2] iio: vadc: Qualcomm SPMI PMIC voltage ADC driver

2014-10-07 Thread Ivan T. Ivanov
On Sat, 2014-10-04 at 12:51 +0100, Jonathan Cameron wrote: On 02/10/14 13:08, Ivan T. Ivanov wrote: +iio maintainers On Thu, 2014-10-02 at 12:29 +0300, Ivan T. Ivanov wrote: Hi Stan, On 09/24/2014 03:56 PM, Stanimir Varbanov wrote: snip +static int vadc_get_dt_data(struct

Re: [PATCH 2/4] Input: pmic8xxx-keypad - use regmap_field for register access

2014-10-08 Thread Ivan T. Ivanov
On Wed, 2014-10-08 at 12:13 +0300, Ivan T. Ivanov wrote: On Tue, 2014-10-07 at 10:26 -0700, Dmitry Torokhov wrote: Hi Ivan, On Tue, Oct 07, 2014 at 12:50:46PM +0300, Ivan T. Ivanov wrote: @@ -527,10 +538,55 @@ static int pmic8xxx_kp_probe(struct platform_device *pdev

Re: [PATCH v3 1/2] iio: vadc: Qualcomm SPMI PMIC voltage ADC driver

2014-10-16 Thread Ivan T. Ivanov
Hi, On Sat, 2014-10-04 at 12:51 +0100, Jonathan Cameron wrote: On 02/10/14 13:08, Ivan T. Ivanov wrote: +iio maintainers On Thu, 2014-10-02 at 12:29 +0300, Ivan T. Ivanov wrote: Hi Stan, On 09/24/2014 03:56 PM, Stanimir Varbanov wrote: snip +static int

Re: [PATCH v3] thermal: Add QPNP PMIC temperature alarm driver

2014-10-16 Thread Ivan T. Ivanov
No responses. Probably because maintainers are in CC: and not in To:, fixing this. Ivan On Wed, 2014-10-01 at 18:53 +0300, Ivan T. Ivanov wrote: Add support for the temperature alarm peripheral found inside Qualcomm plug-and-play (QPNP) PMIC chips. The temperature alarm peripheral outputs

Re: [PATCH] iio: inkern: Add of_xlate function to struct iio_dev

2014-10-20 Thread Ivan T. Ivanov
On Sat, 2014-10-18 at 13:14 +0100, Jonathan Cameron wrote: On 18/10/14 12:50, Lars-Peter Clausen wrote: On 10/18/2014 01:42 PM, Jonathan Cameron wrote: On 02/10/14 13:32, Ivan T. Ivanov wrote: When #iio-cells is greater than '0', the driver could provide a custom of_xlate

Re: [PATCH v5 3/4] pinctrl: Qualcomm SPMI PMIC GPIO pin controller driver

2014-10-22 Thread Ivan T. Ivanov
On Tue, 2014-10-21 at 19:15 +0100, Srinivas Kandagatla wrote: Hi Ivan, Just realized that this patch can generate compiler errors due to 3.18 changes in pinmux_ops struct and gpiochip_remove returns void now. Yes. I am just preparing new version of this for Linus. Regards, Ivan -- To

[PATCH v6 1/4] pinctrl: Device tree bindings for Qualcomm PMIC GPIO block

2014-10-22 Thread Ivan T. Ivanov
From: Bjorn Andersson bjorn.anders...@sonymobile.com This introduced the device tree bindings for the GPIO block found in PMIC's from Qualcomm. Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com --- .../devicetree/bindings/pinctrl/qcom

[PATCH v6 0/4] Qualcomm SPMI PMIC pin controller drivers

2014-10-22 Thread Ivan T. Ivanov
in Qualcomm SPMI based PMIC chips. MPP's are enhanced GPIO's with analog circuits, which support analog and digital input/output. v5: http://thread.gmane.org/gmane.linux.ports.arm.msm/10074 Bjorn Andersson (1): pinctrl: Device tree bindings for Qualcomm PMIC GPIO block Ivan T. Ivanov (3): pinctrl

[PATCH v6 3/4] pinctrl: Qualcomm SPMI PMIC GPIO pin controller driver

2014-10-22 Thread Ivan T. Ivanov
This is the pinctrl, pinmux, pinconf and gpiolib driver for the Qualcomm GPIO sub-function blocks found in the PMIC chips. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com Acked-by: Bjorn Andersson bjorn.anders...@sonymobile.com --- drivers/pinctrl/qcom/Kconfig | 13 + drivers

[PATCH v6 4/4] pinctrl: Qualcomm SPMI PMIC MPP pin controller driver

2014-10-22 Thread Ivan T. Ivanov
This is the pinctrl, pinmux, pinconf and gpiolib driver for the Qualcomm MPP sub-function blocks found in the PMIC chips. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com Acked-by: Bjorn Andersson bjorn.anders...@sonymobile.com --- drivers/pinctrl/qcom/Makefile | 1 + drivers/pinctrl

Re: [PATCH v3] iio: iadc: Qualcomm SPMI PMIC current ADC driver

2014-10-22 Thread Ivan T. Ivanov
On Sun, 2014-10-19 at 21:54 +0200, Hartmut Knaack wrote: Ivan T. Ivanov schrieb am 01.10.2014 18:14: The current ADC is peripheral of Qualcomm SPMI PMIC chips. It has 16 bits resolution and register space inside PMIC accessible across SPMI bus. The driver registers itself

[PATCH v6 2/4] pinctrl: Device tree bindings for Qualcomm PMIC MPP block

2014-10-22 Thread Ivan T. Ivanov
DeviceTree binding documentation for Qualcomm SPMI PMIC MPP pinctrl drivers. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com Acked-by: Bjorn Andersson bjorn.anders...@sonymobile.com --- .../devicetree/bindings/pinctrl/qcom,pmic-mpp.txt | 162 + include/dt-bindings/pinctrl

[PATCH v4] iio: iadc: Qualcomm SPMI PMIC current ADC driver

2014-10-22 Thread Ivan T. Ivanov
The current ADC is peripheral of Qualcomm SPMI PMIC chips. It has 16 bits resolution and register space inside PMIC accessible across SPMI bus. The driver registers itself through IIO interface. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com --- Changes: - Address review comments from

Re: [PATCH v8 0/7] QCOM 8974 and 8084 cpuidle driver

2014-10-23 Thread Ivan T. Ivanov
Hi, On Tue, 2014-10-07 at 15:41 -0600, Lina Iyer wrote: Hi, This v8 revision of the cpuidle driver is available at git.linaro.org:/people/lina.iyer/linux-next cpuidle-v8 Probably I missing something, but should I expect that once these patches are applied driver could be successfully

Re: [PATCH v8 0/7] QCOM 8974 and 8084 cpuidle driver

2014-10-24 Thread Ivan T. Ivanov
On Thu, 2014-10-23 at 09:54 -0600, Lina Iyer wrote: On Thu, Oct 23 2014 at 09:31 -0600, Ivan T. Ivanov wrote: Hi, On Tue, 2014-10-07 at 15:41 -0600, Lina Iyer wrote: Hi, This v8 revision of the cpuidle driver is available at git.linaro.org:/people/lina.iyer/linux-next

Re: [PATCH v8 0/7] QCOM 8974 and 8084 cpuidle driver

2014-10-24 Thread Ivan T. Ivanov
On Fri, 2014-10-24 at 08:30 -0600, Lina Iyer wrote: On Fri, Oct 24 2014 at 04:01 -0600, Ivan T. Ivanov wrote: On Thu, 2014-10-23 at 09:54 -0600, Lina Iyer wrote: On Thu, Oct 23 2014 at 09:31 -0600, Ivan T. Ivanov wrote: Hi, On Tue, 2014-10-07 at 15:41 -0600, Lina

Re: [PATCH v3] thermal: Add QPNP PMIC temperature alarm driver

2014-10-29 Thread Ivan T. Ivanov
Hi Eduardo, On Mon, 2014-10-27 at 16:16 -0400, Eduardo Valentin wrote: Hello Ivan snip + +static int qpnp_tz_set_mode(struct thermal_zone_device *thermal, + enum thermal_device_mode mode) +{ + struct qpnp_tm_chip *chip = thermal-devdata; + int ret; +

Re: [PATCH 0/2] Qualcomm PM8941 power key driver

2014-10-29 Thread Ivan T. Ivanov
Hi Bjorn, On Fri, 2014-10-24 at 08:23 -0700, Bjorn Andersson wrote: On Wed 08 Oct 02:50 PDT 2014, Ivan T. Ivanov wrote: On Tue, 2014-10-07 at 11:46 -0700, Bjorn Andersson wrote: On Tue 07 Oct 02:01 PDT 2014, Ivan T. Ivanov wrote: Hi Bjorn, On Mon, 2014-10-06 at 18:11

Re: [PATCH v4] iio: iadc: Qualcomm SPMI PMIC current ADC driver

2014-11-01 Thread Ivan T. Ivanov
On Fri, 2014-10-31 at 21:13 +0100, Hartmut Knaack wrote: Ivan T. Ivanov schrieb am 22.10.2014 16:13: The current ADC is peripheral of Qualcomm SPMI PMIC chips. It has 16 bits resolution and register space inside PMIC accessible across SPMI bus. The driver registers itself through IIO

Re: [PATCH v4] iio: iadc: Qualcomm SPMI PMIC current ADC driver

2014-11-03 Thread Ivan T. Ivanov
On Sat, 2014-11-01 at 20:46 +0100, Hartmut Knaack wrote: No it is not a typo. Calculation is really in nano Ohms. Right, but the typo is, that you wrote nono instead of nano. Oops. :-) Thanks. Ivan -- To unsubscribe from this list: send the line unsubscribe linux-arm-msm in the body of

Re: [PATCH v4] iio: iadc: Qualcomm SPMI PMIC current ADC driver

2014-11-03 Thread Ivan T. Ivanov
On Fri, 2014-10-31 at 21:48 +0100, Peter Meerwald wrote: Ivan T. Ivanov schrieb am 22.10.2014 16:13: The current ADC is peripheral of Qualcomm SPMI PMIC chips. It has 16 bits resolution and register space inside PMIC accessible across SPMI bus. The driver registers itself through

Re: [PATCH v2] iio: inkern: Add of_xlate function to struct iio_info

2014-11-03 Thread Ivan T. Ivanov
On Sat, 2014-10-25 at 11:04 +0100, Jonathan Cameron wrote: On 22/10/14 16:32, Lars-Peter Clausen wrote: On 10/22/2014 05:29 PM, Ivan T. Ivanov wrote: When #iio-cells is greater than '0', the driver could provide a custom of_xlate function that reads the *args* and returns

Re: [PATCH v2] iio: inkern: Add of_xlate function to struct iio_info

2014-11-03 Thread Ivan T. Ivanov
On Mon, 2014-11-03 at 02:36 -0800, Srinivas Pandruvada wrote: On Mon, 2014-11-03 at 12:07 +0200, Ivan T. Ivanov wrote: On Sat, 2014-10-25 at 11:04 +0100, Jonathan Cameron wrote: On 22/10/14 16:32, Lars-Peter Clausen wrote: On 10/22/2014 05:29 PM, Ivan T. Ivanov wrote: When #iio

Re: [PATCH v2] iio: inkern: Add of_xlate function to struct iio_info

2014-11-03 Thread Ivan T. Ivanov
On Mon, 2014-11-03 at 11:31 +0100, Lars-Peter Clausen wrote: On 11/03/2014 11:07 AM, Ivan T. Ivanov wrote: On Sat, 2014-10-25 at 11:04 +0100, Jonathan Cameron wrote: On 22/10/14 16:32, Lars-Peter Clausen wrote: On 10/22/2014 05:29 PM, Ivan T. Ivanov wrote: When #iio-cells

[PATCH v4 1/2] DT: iio: vadc: document dt binding

2014-11-03 Thread Ivan T. Ivanov
From: Stanimir Varbanov svarba...@mm-sol.com Document DT binding for Qualcomm SPMI PMIC voltage ADC driver. Signed-off-by: Stanimir Varbanov svarba...@mm-sol.com Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com --- .../devicetree/bindings/iio/adc/qcom,spmi-vadc.txt | 129

[PATCH v4 0/2] Initial support for voltage ADC

2014-11-03 Thread Ivan T. Ivanov
Hi, This is the forth version of this driver. V3 could be found here [1]. Changes since v3. - Addressed review comments from Hartmut Knaack and Mark Rutland: Better description of 'reg' property. Add # to address-cells and size-cells DT document. Dropped interrupt-names property, it was

[PATCH v4 2/2] iio: vadc: Qualcomm SPMI PMIC voltage ADC driver

2014-11-03 Thread Ivan T. Ivanov
-sol.com Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com --- drivers/iio/adc/Kconfig | 14 + drivers/iio/adc/Makefile |1 + drivers/iio/adc/qcom-spmi-vadc.c | 1015 ++ 3 files changed, 1030 insertions(+) create mode 100644 drivers/iio/adc/qcom

[PATCH] mfd: qcom-spmi-pmic: Add support for more chips versions

2014-11-04 Thread Ivan T. Ivanov
Update compatible string with runtime detected chip revision information, for example qcom,pm8941 will become qcom,pm8941-v1.0. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com --- .../devicetree/bindings/mfd/qcom,spmi-pmic.txt | 18 ++- drivers/mfd/qcom-spmi-pmic.c

Re: [PATCH] mfd: qcom-spmi-pmic: Add support for more chips versions

2014-11-04 Thread Ivan T. Ivanov
On Tue, 2014-11-04 at 12:56 -0200, Fabio Estevam wrote: On Tue, Nov 4, 2014 at 11:33 AM, Ivan T. Ivanov iiva...@mm-sol.com wrote: + ret = regmap_read(map, PMIC_SUBTYPE, subtype); + if (ret 0) + return ret; + + rev2 = regmap_read(map, PMIC_REV2, rev2

Re: [PATCH] mfd: qcom-spmi-pmic: Add support for more chips versions

2014-11-04 Thread Ivan T. Ivanov
On Tue, 2014-11-04 at 17:06 +0200, Stanimir Varbanov wrote: Hi Ivan, + + switch (subtype) { + case PM8941_SUBTYPE: + *name = pm8941; + break; The XXX_SUBTYPE seems are continuous why not make it an const array and get the name by index in this array?

Re: [PATCH] mfd: qcom-spmi-pmic: Add support for more chips versions

2014-11-04 Thread Ivan T. Ivanov
On Tue, 2014-11-04 at 17:26 +0200, Stanimir Varbanov wrote: On 11/04/2014 05:22 PM, Ivan T. Ivanov wrote: On Tue, 2014-11-04 at 17:06 +0200, Stanimir Varbanov wrote: snip + snprintf(compatible, ARRAY_SIZE(compatible), qcom,%s-v%d.%d, + name, major, minor

Re: [PATCH] mfd: qcom-spmi-pmic: Add support for more chips versions

2014-11-05 Thread Ivan T. Ivanov
On Wed, 2014-11-05 at 13:49 +0100, Andreas Färber wrote: Hi, Am 04.11.2014 um 14:33 schrieb Ivan T. Ivanov: Update compatible string with runtime detected chip revision information, for example qcom,pm8941 will become qcom,pm8941-v1.0. That's not what the patch does though? Patch add

Re: [PATCH v4 2/2] iio: vadc: Qualcomm SPMI PMIC voltage ADC driver

2014-11-05 Thread Ivan T. Ivanov
On Wed, 2014-11-05 at 13:09 +, Jonathan Cameron wrote: On 03/11/14 15:24, Ivan T. Ivanov wrote: From: Stanimir Varbanov svarba...@mm-sol.com The voltage ADC is peripheral of Qualcomm SPMI PMIC chips. It has 15 bits resolution and register space inside PMIC accessible across SPMI

Re: [PATCH v4 1/2] DT: iio: vadc: document dt binding

2014-11-05 Thread Ivan T. Ivanov
Thank you, will fix typos pointed by you and Jonathan. Regards, Ivan -- To unsubscribe from this list: send the line unsubscribe linux-arm-msm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH v4 2/2] iio: vadc: Qualcomm SPMI PMIC voltage ADC driver

2014-11-05 Thread Ivan T. Ivanov
On Wed, 2014-11-05 at 14:06 +, Jonathan Cameron wrote: On 05/11/14 13:57, Ivan T. Ivanov wrote: On Wed, 2014-11-05 at 13:09 +, Jonathan Cameron wrote: On 03/11/14 15:24, Ivan T. Ivanov wrote: From: Stanimir Varbanov svarba...@mm-sol.com The voltage ADC is peripheral

Re: [PATCH] mfd: qcom-spmi-pmic: Add support for more chips versions

2014-11-05 Thread Ivan T. Ivanov
On Wed, 2014-11-05 at 17:36 -0800, Bjorn Andersson wrote: On Wed, Nov 5, 2014 at 10:31 AM, Ivan T. Ivanov iiva...@mm-sol.com wrote: On Wed, 2014-11-05 at 10:11 -0800, Bjorn Andersson wrote: On Tue, Nov 4, 2014 at 5:33 AM, Ivan T. Ivanov iiva...@mm-sol.com wrote: [..] @@ -28,11

Re: [PATCH] mfd: qcom-spmi-pmic: Add support for more chips versions

2014-11-07 Thread Ivan T. Ivanov
On Thu, 2014-11-06 at 08:55 -0800, Bjorn Andersson wrote: On Wed, Nov 5, 2014 at 11:54 PM, Ivan T. Ivanov iiva...@mm-sol.com wrote: On Wed, 2014-11-05 at 17:36 -0800, Bjorn Andersson wrote: On Wed, Nov 5, 2014 at 10:31 AM, Ivan T. Ivanov iiva...@mm-sol.com wrote: [..] Some

Re: [PATCH] mfd: qcom-spmi-pmic: Add support for more chips versions

2014-11-07 Thread Ivan T. Ivanov
On Fri, 2014-11-07 at 17:33 +0200, Ivan T. Ivanov wrote: On Thu, 2014-11-06 at 08:55 -0800, Bjorn Andersson wrote: On Wed, Nov 5, 2014 at 11:54 PM, Ivan T. Ivanov iiva...@mm-sol.com wrote: On Wed, 2014-11-05 at 17:36 -0800, Bjorn Andersson wrote: On Wed, Nov 5, 2014 at 10:31 AM, Ivan T

Re: [PATCH] mfd: qcom-spmi-pmic: Add support for more chips versions

2014-11-09 Thread Ivan T. Ivanov
Hi Gilad, On Fri, 2014-11-07 at 17:08 -0700, Gilad Avidov wrote: On 11/6/2014 12:54 AM, Ivan T. Ivanov wrote: On Wed, 2014-11-05 at 17:36 -0800, Bjorn Andersson wrote: On Wed, Nov 5, 2014 at 10:31 AM, Ivan T. Ivanov iiva...@mm-sol.com wrote: On Wed, 2014-11-05 at 10:11 -0800, Bjorn

Re: [PATCH v4 2/2] iio: vadc: Qualcomm SPMI PMIC voltage ADC driver

2014-11-11 Thread Ivan T. Ivanov
Hi Hartmut, On Mon, 2014-11-10 at 22:11 +0100, Hartmut Knaack wrote: Ivan T. Ivanov schrieb am 03.11.2014 16:24: From: Stanimir Varbanov svarba...@mm-sol.com The voltage ADC is peripheral of Qualcomm SPMI PMIC chips. It has 15 bits resolution and register space inside PMIC accessible

<    1   2   3   4   5   6   >