Re: [PATCH-v5 5/5] i2c: pxa: Add ILCR (tLow & tHigh) configuration support

2015-08-05 Thread Vaibhav Hiremath
On Thursday 06 August 2015 12:41 AM, Robert Jarzmik wrote: My next slot is probably this comming Sunday. I'll do the test and report Thanks a lot. Thanks, Vaibhav -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org

Re: [PATCH-v5 1/5] Documentation: binding: add new property 'disable_after_xfer' to i2c-pxa

2015-08-05 Thread Vaibhav Hiremath
On Wednesday 05 August 2015 07:50 PM, Matt Porter wrote: On Wed, Aug 05, 2015 at 12:04:25PM +0530, Vaibhav Hiremath wrote: On Monday 27 July 2015 07:39 PM, Matt Porter wrote: On Tue, Jul 21, 2015 at 06:11:02PM +0530, Vaibhav Hiremath wrote: Driver will now supports enable/disable across

Re: [PATCH-v5 2/5] i2c: pxa: enable/disable i2c module across msg xfer

2015-08-05 Thread Vaibhav Hiremath
On Wednesday 05 August 2015 04:16 PM, Shubhrajyoti Datta wrote: hi , On Tue, Jul 21, 2015 at 6:11 PM, Vaibhav Hiremath wrote: From: Yi Zhang Enable i2c module/unit before transmission and disable when it finishes. why? It's because the i2c bus may be disturbed if the slave device

Re: [PATCH-v5 1/5] Documentation: binding: add new property 'disable_after_xfer' to i2c-pxa

2015-08-05 Thread Vaibhav Hiremath
On Wednesday 05 August 2015 02:19 PM, Wolfram Sang wrote: I will start such a file today as part of the i2c slave framework update which introduces flags to the reg property. Will post to the i2c list this week. Great and thanks for taking this. I believe, better to wait for your patch and

Re: [PATCH 4/4] mfd: 88pm800: Add support for clk subdevice

2015-08-05 Thread Vaibhav Hiremath
On Thursday 23 July 2015 09:20 PM, Lee Jones wrote: On Tue, 21 Jul 2015, Vaibhav Hiremath wrote: This patch adds mfd_cell/clk-subdevice for 88PM800 MFD (and family of devices). Signed-off-by: Vaibhav Hiremath --- drivers/mfd/88pm800.c | 25 + 1 file changed, 25

Re: [PATCH 1/4] mfd: 88pm800: Update the header file with 32K clk related macros

2015-08-05 Thread Vaibhav Hiremath
On Thursday 23 July 2015 09:22 PM, Lee Jones wrote: On Tue, 21 Jul 2015, Vaibhav Hiremath wrote: Update header file with required macros for 32KHz buffered clock output of 88PM800 family of device. These macros will be used in clk provider driver. Signed-off-by: Vaibhav Hiremath

Re: [PATCH-v5 5/5] i2c: pxa: Add ILCR (tLow & tHigh) configuration support

2015-08-05 Thread Vaibhav Hiremath
On Tuesday 21 July 2015 06:11 PM, Vaibhav Hiremath wrote: With addition of PXA910 family of devices, the TWSI module supports SCL clock adjustment using ILCR register. This patch enables the control and configuration of ICLR through DT properties, i2c-sclk-high-time-ns: SCLK high time

Re: [PATCH-v2 1/2] mfd: devicetree: bindings: 88pm800: Add DT property for dual phase enable

2015-08-05 Thread Vaibhav Hiremath
On Thursday 23 July 2015 09:23 PM, Lee Jones wrote: On Tue, 21 Jul 2015, Vaibhav Hiremath wrote: 88PM860 family of device supports dual phase mode on BUCK1 supply providing total 6A capacity. Note that by default they operate independently with 3A capacity. This patch updates the devicetree

Re: [PATCH-v2 2/2] regulator: 88pm800: Add support for configuration of dual phase on BUCK1

2015-08-05 Thread Vaibhav Hiremath
On Thursday 23 July 2015 09:24 PM, Lee Jones wrote: On Tue, 21 Jul 2015, Vaibhav Hiremath wrote: 88PM860 device supports dual phase mode on BUCK1 output. In normal usecase, BUCK1A and BUCK1B operates independently with 3A capacity. And they both can work as a dual phase providing 6A capacity

Re: [PATCH-v2 2/2] regulator: 88pm800: Add support for configuration of dual phase on BUCK1

2015-08-05 Thread Vaibhav Hiremath
On Thursday 23 July 2015 10:21 AM, Krzysztof Kozlowski wrote: 2015-07-22 1:23 GMT+09:00 Vaibhav Hiremath : 88PM860 device supports dual phase mode on BUCK1 output. In normal usecase, BUCK1A and BUCK1B operates independently with 3A capacity. And they both can work as a dual phase providing 6A

Re: [PATCH-v5 1/5] Documentation: binding: add new property 'disable_after_xfer' to i2c-pxa

2015-08-05 Thread Vaibhav Hiremath
On Monday 27 July 2015 07:39 PM, Matt Porter wrote: On Tue, Jul 21, 2015 at 06:11:02PM +0530, Vaibhav Hiremath wrote: Driver will now supports enable/disable across msg xfer, which user can control it by new DT property - i2c-disable-after-xfer : If set, driver will disable I2C module after

Re: [PATCH-v5 4/5] Documentation: binding: add sclk adjustment properties to i2c-pxa

2015-08-05 Thread Vaibhav Hiremath
On Monday 27 July 2015 07:41 PM, Matt Porter wrote: On Tue, Jul 21, 2015 at 06:11:05PM +0530, Vaibhav Hiremath wrote: With addition of PXA910 family of devices, the TWSI module supports new feature which allows us to adjust SCLK. i2c-pxa driver takes input configuration in nsec and converts

Re: [PATCH-v5 4/5] Documentation: binding: add sclk adjustment properties to i2c-pxa

2015-08-05 Thread Vaibhav Hiremath
On Monday 27 July 2015 07:41 PM, Matt Porter wrote: On Tue, Jul 21, 2015 at 06:11:05PM +0530, Vaibhav Hiremath wrote: With addition of PXA910 family of devices, the TWSI module supports new feature which allows us to adjust SCLK. i2c-pxa driver takes input configuration in nsec and converts

Re: [PATCH-v5 1/5] Documentation: binding: add new property 'disable_after_xfer' to i2c-pxa

2015-08-05 Thread Vaibhav Hiremath
On Monday 27 July 2015 07:39 PM, Matt Porter wrote: On Tue, Jul 21, 2015 at 06:11:02PM +0530, Vaibhav Hiremath wrote: Driver will now supports enable/disable across msg xfer, which user can control it by new DT property - i2c-disable-after-xfer : If set, driver will disable I2C module after

Re: [PATCH-v2 2/2] regulator: 88pm800: Add support for configuration of dual phase on BUCK1

2015-08-05 Thread Vaibhav Hiremath
On Thursday 23 July 2015 10:21 AM, Krzysztof Kozlowski wrote: 2015-07-22 1:23 GMT+09:00 Vaibhav Hiremath vaibhav.hirem...@linaro.org: 88PM860 device supports dual phase mode on BUCK1 output. In normal usecase, BUCK1A and BUCK1B operates independently with 3A capacity. And they both can work

Re: [PATCH-v2 2/2] regulator: 88pm800: Add support for configuration of dual phase on BUCK1

2015-08-05 Thread Vaibhav Hiremath
On Thursday 23 July 2015 09:24 PM, Lee Jones wrote: On Tue, 21 Jul 2015, Vaibhav Hiremath wrote: 88PM860 device supports dual phase mode on BUCK1 output. In normal usecase, BUCK1A and BUCK1B operates independently with 3A capacity. And they both can work as a dual phase providing 6A capacity

Re: [PATCH-v2 1/2] mfd: devicetree: bindings: 88pm800: Add DT property for dual phase enable

2015-08-05 Thread Vaibhav Hiremath
On Thursday 23 July 2015 09:23 PM, Lee Jones wrote: On Tue, 21 Jul 2015, Vaibhav Hiremath wrote: 88PM860 family of device supports dual phase mode on BUCK1 supply providing total 6A capacity. Note that by default they operate independently with 3A capacity. This patch updates the devicetree

Re: [PATCH-v5 5/5] i2c: pxa: Add ILCR (tLow tHigh) configuration support

2015-08-05 Thread Vaibhav Hiremath
On Tuesday 21 July 2015 06:11 PM, Vaibhav Hiremath wrote: With addition of PXA910 family of devices, the TWSI module supports SCL clock adjustment using ILCR register. This patch enables the control and configuration of ICLR through DT properties, i2c-sclk-high-time-ns: SCLK high time

Re: [PATCH 1/4] mfd: 88pm800: Update the header file with 32K clk related macros

2015-08-05 Thread Vaibhav Hiremath
On Thursday 23 July 2015 09:22 PM, Lee Jones wrote: On Tue, 21 Jul 2015, Vaibhav Hiremath wrote: Update header file with required macros for 32KHz buffered clock output of 88PM800 family of device. These macros will be used in clk provider driver. Signed-off-by: Vaibhav Hiremath

Re: [PATCH 4/4] mfd: 88pm800: Add support for clk subdevice

2015-08-05 Thread Vaibhav Hiremath
On Thursday 23 July 2015 09:20 PM, Lee Jones wrote: On Tue, 21 Jul 2015, Vaibhav Hiremath wrote: This patch adds mfd_cell/clk-subdevice for 88PM800 MFD (and family of devices). Signed-off-by: Vaibhav Hiremath vaibhav.hirem...@linaro.org --- drivers/mfd/88pm800.c | 25

Re: [PATCH-v5 1/5] Documentation: binding: add new property 'disable_after_xfer' to i2c-pxa

2015-08-05 Thread Vaibhav Hiremath
On Wednesday 05 August 2015 02:19 PM, Wolfram Sang wrote: I will start such a file today as part of the i2c slave framework update which introduces flags to the reg property. Will post to the i2c list this week. Great and thanks for taking this. I believe, better to wait for your patch and

Re: [PATCH-v5 2/5] i2c: pxa: enable/disable i2c module across msg xfer

2015-08-05 Thread Vaibhav Hiremath
On Wednesday 05 August 2015 04:16 PM, Shubhrajyoti Datta wrote: hi , On Tue, Jul 21, 2015 at 6:11 PM, Vaibhav Hiremath vaibhav.hirem...@linaro.org wrote: From: Yi Zhang yizh...@marvell.com Enable i2c module/unit before transmission and disable when it finishes. why? It's because the i2c bus

Re: [PATCH-v5 1/5] Documentation: binding: add new property 'disable_after_xfer' to i2c-pxa

2015-08-05 Thread Vaibhav Hiremath
On Wednesday 05 August 2015 07:50 PM, Matt Porter wrote: On Wed, Aug 05, 2015 at 12:04:25PM +0530, Vaibhav Hiremath wrote: On Monday 27 July 2015 07:39 PM, Matt Porter wrote: On Tue, Jul 21, 2015 at 06:11:02PM +0530, Vaibhav Hiremath wrote: Driver will now supports enable/disable across

Re: [PATCH-v5 5/5] i2c: pxa: Add ILCR (tLow tHigh) configuration support

2015-08-05 Thread Vaibhav Hiremath
On Thursday 06 August 2015 12:41 AM, Robert Jarzmik wrote: My next slot is probably this comming Sunday. I'll do the test and report Thanks a lot. Thanks, Vaibhav -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org

[PATCH] clk: s2mps11: Use kcalloc instead of kzalloc for array allocation

2015-07-22 Thread Vaibhav Hiremath
clk driver, applying same changes here as well. Signed-off-by: Vaibhav Hiremath --- Since I do not have platform to test, it would be helpful if someone tests it for me. I have build tested it. drivers/clk/clk-s2mps11.c | 18 +++--- 1 file changed, 7 insertions(+), 11 deletions(-)

Re: [PATCH 3/4] clk: 88pm800: Add clk provider driver for 88pm800 family of devices

2015-07-22 Thread Vaibhav Hiremath
On Wednesday 22 July 2015 12:16 PM, Krzysztof Kozlowski wrote: On 22.07.2015 15:27, Vaibhav Hiremath wrote: On Wednesday 22 July 2015 02:22 AM, Stephen Boyd wrote: On 07/21/2015 12:36 PM, Vaibhav Hiremath wrote: On Wednesday 22 July 2015 12:40 AM, Stephen Boyd wrote: On 07/21/2015 04:07

Re: [PATCH 3/4] clk: 88pm800: Add clk provider driver for 88pm800 family of devices

2015-07-22 Thread Vaibhav Hiremath
On Wednesday 22 July 2015 02:22 AM, Stephen Boyd wrote: On 07/21/2015 12:36 PM, Vaibhav Hiremath wrote: On Wednesday 22 July 2015 12:40 AM, Stephen Boyd wrote: On 07/21/2015 04:07 AM, Vaibhav Hiremath wrote: + +static int pm800_clk_remove(struct platform_device *pdev) +{ +struct

Re: [PATCH 3/4] clk: 88pm800: Add clk provider driver for 88pm800 family of devices

2015-07-22 Thread Vaibhav Hiremath
On Wednesday 22 July 2015 12:16 PM, Krzysztof Kozlowski wrote: On 22.07.2015 15:27, Vaibhav Hiremath wrote: On Wednesday 22 July 2015 02:22 AM, Stephen Boyd wrote: On 07/21/2015 12:36 PM, Vaibhav Hiremath wrote: On Wednesday 22 July 2015 12:40 AM, Stephen Boyd wrote: On 07/21/2015 04:07

Re: [PATCH 3/4] clk: 88pm800: Add clk provider driver for 88pm800 family of devices

2015-07-22 Thread Vaibhav Hiremath
On Wednesday 22 July 2015 02:22 AM, Stephen Boyd wrote: On 07/21/2015 12:36 PM, Vaibhav Hiremath wrote: On Wednesday 22 July 2015 12:40 AM, Stephen Boyd wrote: On 07/21/2015 04:07 AM, Vaibhav Hiremath wrote: + snip +static int pm800_clk_remove(struct platform_device *pdev

[PATCH] clk: s2mps11: Use kcalloc instead of kzalloc for array allocation

2015-07-22 Thread Vaibhav Hiremath
, applying same changes here as well. Signed-off-by: Vaibhav Hiremath vaibhav.hirem...@linaro.org --- Since I do not have platform to test, it would be helpful if someone tests it for me. I have build tested it. drivers/clk/clk-s2mps11.c | 18 +++--- 1 file changed, 7 insertions(+), 11

Re: [PATCH 3/4] clk: 88pm800: Add clk provider driver for 88pm800 family of devices

2015-07-21 Thread Vaibhav Hiremath
On Wednesday 22 July 2015 12:40 AM, Stephen Boyd wrote: On 07/21/2015 04:07 AM, Vaibhav Hiremath wrote: diff --git a/drivers/clk/clk-88pm800.c b/drivers/clk/clk-88pm800.c new file mode 100644 index 000..cf1c162 --- /dev/null +++ b/drivers/clk/clk-88pm800.c @@ -0,0 +1,345 @@ +/* + * clk

[PATCH-v2 2/2] regulator: 88pm800: Add support for configuration of dual phase on BUCK1

2015-07-21 Thread Vaibhav Hiremath
mode on BUCK1. Note that, this is init time (one time) initialization. Signed-off-by: Vaibhav Hiremath --- drivers/regulator/88pm800.c | 31 +++ include/linux/mfd/88pm80x.h | 3 +++ 2 files changed, 34 insertions(+) diff --git a/drivers/regulator/88pm800.c b/drivers

[PATCH-v2 1/2] mfd: devicetree: bindings: 88pm800: Add DT property for dual phase enable

2015-07-21 Thread Vaibhav Hiremath
88PM860 family of device supports dual phase mode on BUCK1 supply providing total 6A capacity. Note that by default they operate independently with 3A capacity. This patch updates the devicetree binding with DT property to enable dual-phase mode on BUCK1. Signed-off-by: Vaibhav Hiremath

[PATCH-v2 0/2] regulator: 88pm800: Add dual phase mode support on BUCK1

2015-07-21 Thread Vaibhav Hiremath
of its own. using set_current_limit() is not right way here. So, created DT property for Dual phase mode enable. - Updated binding for new DT property Vaibhav Hiremath (2): mfd: devicetree: bindings: 88pm800: Add DT property for dual phase enable regulator: 88pm800: Add

Re: [PATCH 4/5] regulator: 88pm800: Add 88pm860 regulator support

2015-07-21 Thread Vaibhav Hiremath
On Tuesday 21 July 2015 08:43 PM, Lee Jones wrote: On Tue, 21 Jul 2015, Vaibhav Hiremath wrote: On Tuesday 21 July 2015 02:51 PM, Lee Jones wrote: On Mon, 20 Jul 2015, Vaibhav Hiremath wrote: On Monday 20 July 2015 01:00 PM, Lee Jones wrote: On Fri, 17 Jul 2015, Vaibhav Hiremath

[PATCH-v5 3/5] i2c: pxa: Add support for pxa910/988 & new configuration features

2015-07-21 Thread Vaibhav Hiremath
ndard DT properties for ilcr and iwcr configuration fields. In case of Master ilcr is used for low/high time and in case of slave mode of operation iwcr is used for setup/hold time. Signed-off-by: Jett.Zhou Signed-off-by: Yi Zhang Signed-off-by: Vaibhav Hiremath --- drive

[PATCH-v5 2/5] i2c: pxa: enable/disable i2c module across msg xfer

2015-07-21 Thread Vaibhav Hiremath
of the I2C module after xfer in master mode of operation. i2c-disable-after-xfer : If set, driver will disable I2C module after msg xfer Signed-off-by: Yi Zhang Signed-off-by: Vaibhav Hiremath --- drivers/i2c/busses/i2c-pxa.c | 43 +-- 1 file changed, 41

[PATCH-v5 5/5] i2c: pxa: Add ILCR (tLow & tHigh) configuration support

2015-07-21 Thread Vaibhav Hiremath
-by: Vaibhav Hiremath Signed-off-by: Jett.Zhou Signed-off-by: Yi Zhang --- drivers/i2c/busses/i2c-pxa.c | 69 1 file changed, 63 insertions(+), 6 deletions(-) diff --git a/drivers/i2c/busses/i2c-pxa.c b/drivers/i2c/busses/i2c-pxa.c index 8d76197..6012ae5

[PATCH-v5 4/5] Documentation: binding: add sclk adjustment properties to i2c-pxa

2015-07-21 Thread Vaibhav Hiremath
hold/setup wait counter for standard and fast mode. Signed-off-by: Vaibhav Hiremath --- Documentation/devicetree/bindings/i2c/i2c-pxa.txt | 13 + 1 file changed, 13 insertions(+) diff --git a/Documentation/devicetree/bindings/i2c/i2c-pxa.txt b/Documentation/devicetree/bindings

[PATCH-v5 0/5] i2c: pxa: Add support for PXA910 family of device

2015-07-21 Thread Vaibhav Hiremath
infradead.org/pipermail/linux-arm-kernel/2015-May/347012.html - Fixed all comments from "Robert Jarzmik" and "Wolfram Sang" - Dropped Patch 05/12: using core bus reset implementation - under work. Will submit shortly. 08/12: NAKed and dropped - Separated DT bindin

[PATCH-v5 1/5] Documentation: binding: add new property 'disable_after_xfer' to i2c-pxa

2015-07-21 Thread Vaibhav Hiremath
Driver will now supports enable/disable across msg xfer, which user can control it by new DT property - i2c-disable-after-xfer : If set, driver will disable I2C module after msg xfer and enable it back before xfer. Signed-off-by: Vaibhav Hiremath --- Documentation/devicetree/bindings/i2c/i2c

[PATCH 3/4] clk: 88pm800: Add clk provider driver for 88pm800 family of devices

2015-07-21 Thread Vaibhav Hiremath
+static struct platform_driver pm800_clk_driver = { + .driver = { + .name = "88pm80x-clk", + }, + .probe = pm800_clk_probe, + .remove = pm800_clk_remove, + .id_table = pm800_clk_id, +}; + +static int __init pm800_clk_init(void) +{ +

[PATCH 4/4] mfd: 88pm800: Add support for clk subdevice

2015-07-21 Thread Vaibhav Hiremath
This patch adds mfd_cell/clk-subdevice for 88PM800 MFD (and family of devices). Signed-off-by: Vaibhav Hiremath --- drivers/mfd/88pm800.c | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/mfd/88pm800.c b/drivers/mfd/88pm800.c index f104a32..9723eac 100644

[PATCH 2/4] mfd: devicetree: bindings: Add clock subdevice node information

2015-07-21 Thread Vaibhav Hiremath
This patch updates the binding documentation for optional clocks node and related information for buffered 32KHz clock. Signed-off-by: Vaibhav Hiremath --- Documentation/devicetree/bindings/mfd/88pm800.txt | 28 +++ 1 file changed, 28 insertions(+) diff --git

[PATCH 0/4] clk: 88pm800: Add new clk provider driver for 88PM800 MFD

2015-07-21 Thread Vaibhav Hiremath
platform - Clock enable/disable - Non PM860, to make sure that it won't lead to any issues Vaibhav Hiremath (4): mfd: 88pm800: Update the header file with 32K clk related macros mfd: devicetree: bindings: Add clock subdevice node information clk: 88pm800: Add clk provider driver

[PATCH 1/4] mfd: 88pm800: Update the header file with 32K clk related macros

2015-07-21 Thread Vaibhav Hiremath
Update header file with required macros for 32KHz buffered clock output of 88PM800 family of device. These macros will be used in clk provider driver. Signed-off-by: Vaibhav Hiremath --- include/linux/mfd/88pm80x.h | 12 1 file changed, 12 insertions(+) diff --git a/include/linux

Re: [PATCH 4/5] regulator: 88pm800: Add 88pm860 regulator support

2015-07-21 Thread Vaibhav Hiremath
On Tuesday 21 July 2015 02:51 PM, Lee Jones wrote: On Mon, 20 Jul 2015, Vaibhav Hiremath wrote: On Monday 20 July 2015 01:00 PM, Lee Jones wrote: On Fri, 17 Jul 2015, Vaibhav Hiremath wrote: On Friday 17 July 2015 04:47 PM, Mark Brown wrote: On Fri, Jul 17, 2015 at 11:12:04AM +0530

[PATCH-v2 1/2] mfd: devicetree: bindings: 88pm800: Add DT property for dual phase enable

2015-07-21 Thread Vaibhav Hiremath
88PM860 family of device supports dual phase mode on BUCK1 supply providing total 6A capacity. Note that by default they operate independently with 3A capacity. This patch updates the devicetree binding with DT property to enable dual-phase mode on BUCK1. Signed-off-by: Vaibhav Hiremath

[PATCH-v2 2/2] regulator: 88pm800: Add support for configuration of dual phase on BUCK1

2015-07-21 Thread Vaibhav Hiremath
mode on BUCK1. Note that, this is init time (one time) initialization. Signed-off-by: Vaibhav Hiremath vaibhav.hirem...@linaro.org --- drivers/regulator/88pm800.c | 31 +++ include/linux/mfd/88pm80x.h | 3 +++ 2 files changed, 34 insertions(+) diff --git a/drivers

Re: [PATCH 4/5] regulator: 88pm800: Add 88pm860 regulator support

2015-07-21 Thread Vaibhav Hiremath
On Tuesday 21 July 2015 08:43 PM, Lee Jones wrote: On Tue, 21 Jul 2015, Vaibhav Hiremath wrote: On Tuesday 21 July 2015 02:51 PM, Lee Jones wrote: On Mon, 20 Jul 2015, Vaibhav Hiremath wrote: On Monday 20 July 2015 01:00 PM, Lee Jones wrote: On Fri, 17 Jul 2015, Vaibhav Hiremath

[PATCH-v2 0/2] regulator: 88pm800: Add dual phase mode support on BUCK1

2015-07-21 Thread Vaibhav Hiremath
own. using set_current_limit() is not right way here. So, created DT property for Dual phase mode enable. - Updated binding for new DT property Vaibhav Hiremath (2): mfd: devicetree: bindings: 88pm800: Add DT property for dual phase enable regulator: 88pm800: Add support

Re: [PATCH 3/4] clk: 88pm800: Add clk provider driver for 88pm800 family of devices

2015-07-21 Thread Vaibhav Hiremath
On Wednesday 22 July 2015 12:40 AM, Stephen Boyd wrote: On 07/21/2015 04:07 AM, Vaibhav Hiremath wrote: diff --git a/drivers/clk/clk-88pm800.c b/drivers/clk/clk-88pm800.c new file mode 100644 index 000..cf1c162 --- /dev/null +++ b/drivers/clk/clk-88pm800.c @@ -0,0 +1,345 @@ +/* + * clk

Re: [PATCH 4/5] regulator: 88pm800: Add 88pm860 regulator support

2015-07-21 Thread Vaibhav Hiremath
On Tuesday 21 July 2015 02:51 PM, Lee Jones wrote: On Mon, 20 Jul 2015, Vaibhav Hiremath wrote: On Monday 20 July 2015 01:00 PM, Lee Jones wrote: On Fri, 17 Jul 2015, Vaibhav Hiremath wrote: On Friday 17 July 2015 04:47 PM, Mark Brown wrote: On Fri, Jul 17, 2015 at 11:12:04AM +0530

[PATCH 3/4] clk: 88pm800: Add clk provider driver for 88pm800 family of devices

2015-07-21 Thread Vaibhav Hiremath
(pm800_clk_cleanup); + +MODULE_DESCRIPTION(88PM800 Clock Driver); +MODULE_AUTHOR(Vaibhav Hiremath vaibhav.hirem...@linaro.org); +MODULE_LICENSE(GPL); -- 1.9.1 -- 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

[PATCH 4/4] mfd: 88pm800: Add support for clk subdevice

2015-07-21 Thread Vaibhav Hiremath
This patch adds mfd_cell/clk-subdevice for 88PM800 MFD (and family of devices). Signed-off-by: Vaibhav Hiremath vaibhav.hirem...@linaro.org --- drivers/mfd/88pm800.c | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/mfd/88pm800.c b/drivers/mfd/88pm800.c index

[PATCH 2/4] mfd: devicetree: bindings: Add clock subdevice node information

2015-07-21 Thread Vaibhav Hiremath
This patch updates the binding documentation for optional clocks node and related information for buffered 32KHz clock. Signed-off-by: Vaibhav Hiremath vaibhav.hirem...@linaro.org --- Documentation/devicetree/bindings/mfd/88pm800.txt | 28 +++ 1 file changed, 28 insertions

[PATCH 0/4] clk: 88pm800: Add new clk provider driver for 88PM800 MFD

2015-07-21 Thread Vaibhav Hiremath
platform - Clock enable/disable - Non PM860, to make sure that it won't lead to any issues Vaibhav Hiremath (4): mfd: 88pm800: Update the header file with 32K clk related macros mfd: devicetree: bindings: Add clock subdevice node information clk: 88pm800: Add clk provider driver

[PATCH 1/4] mfd: 88pm800: Update the header file with 32K clk related macros

2015-07-21 Thread Vaibhav Hiremath
Update header file with required macros for 32KHz buffered clock output of 88PM800 family of device. These macros will be used in clk provider driver. Signed-off-by: Vaibhav Hiremath vaibhav.hirem...@linaro.org --- include/linux/mfd/88pm80x.h | 12 1 file changed, 12 insertions

[PATCH-v5 3/5] i2c: pxa: Add support for pxa910/988 new configuration features

2015-07-21 Thread Vaibhav Hiremath
configuration fields. In case of Master ilcr is used for low/high time and in case of slave mode of operation iwcr is used for setup/hold time. Signed-off-by: Jett.Zhou jtz...@marvell.com Signed-off-by: Yi Zhang yizh...@marvell.com Signed-off-by: Vaibhav Hiremath vaibhav.hirem...@linaro.org

[PATCH-v5 2/5] i2c: pxa: enable/disable i2c module across msg xfer

2015-07-21 Thread Vaibhav Hiremath
to control disable of the I2C module after xfer in master mode of operation. i2c-disable-after-xfer : If set, driver will disable I2C module after msg xfer Signed-off-by: Yi Zhang yizh...@marvell.com Signed-off-by: Vaibhav Hiremath vaibhav.hirem...@linaro.org --- drivers/i2c/busses/i2c-pxa.c | 43

[PATCH-v5 5/5] i2c: pxa: Add ILCR (tLow tHigh) configuration support

2015-07-21 Thread Vaibhav Hiremath
-by: Vaibhav Hiremath vaibhav.hirem...@linaro.org Signed-off-by: Jett.Zhou jtz...@marvell.com Signed-off-by: Yi Zhang yizh...@marvell.com --- drivers/i2c/busses/i2c-pxa.c | 69 1 file changed, 63 insertions(+), 6 deletions(-) diff --git a/drivers/i2c/busses/i2c

[PATCH-v5 4/5] Documentation: binding: add sclk adjustment properties to i2c-pxa

2015-07-21 Thread Vaibhav Hiremath
hold/setup wait counter for standard and fast mode. Signed-off-by: Vaibhav Hiremath vaibhav.hirem...@linaro.org --- Documentation/devicetree/bindings/i2c/i2c-pxa.txt | 13 + 1 file changed, 13 insertions(+) diff --git a/Documentation/devicetree/bindings/i2c/i2c-pxa.txt b

[PATCH-v5 0/5] i2c: pxa: Add support for PXA910 family of device

2015-07-21 Thread Vaibhav Hiremath
.html - Fixed all comments from Robert Jarzmik and Wolfram Sang - Dropped Patch 05/12: using core bus reset implementation - under work. Will submit shortly. 08/12: NAKed and dropped - Separated DT binding patch from driver changes, for easy merge Vaibhav Hiremath (4): Documentation

[PATCH-v5 1/5] Documentation: binding: add new property 'disable_after_xfer' to i2c-pxa

2015-07-21 Thread Vaibhav Hiremath
Driver will now supports enable/disable across msg xfer, which user can control it by new DT property - i2c-disable-after-xfer : If set, driver will disable I2C module after msg xfer and enable it back before xfer. Signed-off-by: Vaibhav Hiremath vaibhav.hirem...@linaro.org --- Documentation

Re: [PATCH 4/5] regulator: 88pm800: Add 88pm860 regulator support

2015-07-20 Thread Vaibhav Hiremath
On Monday 20 July 2015 01:00 PM, Lee Jones wrote: On Fri, 17 Jul 2015, Vaibhav Hiremath wrote: On Friday 17 July 2015 04:47 PM, Mark Brown wrote: On Fri, Jul 17, 2015 at 11:12:04AM +0530, Vaibhav Hiremath wrote: Can you merge this into regulator tree? Link to MFD - https://lkml.org

[PATCH-v3] mfd: 88pm80x: Add 88pm860 chip type support

2015-07-20 Thread Vaibhav Hiremath
Add chip identification support for 88PM860 device to the pm80x_chip_mapping table. Signed-off-by: Vaibhav Hiremath Reviewed-by: Krzysztof Kozlowski --- drivers/mfd/88pm80x.c | 2 ++ include/linux/mfd/88pm80x.h | 1 + 2 files changed, 3 insertions(+) diff --git a/drivers/mfd/88pm80x.c b

Re: [PATCH-v4 00/11] i2c: pxa: Fixes, cleanup and support for pxa910 family

2015-07-20 Thread Vaibhav Hiremath
On Monday 20 July 2015 12:39 PM, Vaibhav Hiremath wrote: On Monday 20 July 2015 12:36 PM, Vaibhav Hiremath wrote: On Saturday 18 July 2015 01:19 AM, Robert Jarzmik wrote: Vaibhav Hiremath writes: So, I applied patches 1-6 to for-next to make some progress. The others need more

Re: [PATCH-v4 00/11] i2c: pxa: Fixes, cleanup and support for pxa910 family

2015-07-20 Thread Vaibhav Hiremath
On Monday 20 July 2015 12:36 PM, Vaibhav Hiremath wrote: On Saturday 18 July 2015 01:19 AM, Robert Jarzmik wrote: Vaibhav Hiremath writes: So, I applied patches 1-6 to for-next to make some progress. The others need more thought because of the bindings which shall be discussed replying

Re: [PATCH-v4 00/11] i2c: pxa: Fixes, cleanup and support for pxa910 family

2015-07-20 Thread Vaibhav Hiremath
On Saturday 18 July 2015 01:19 AM, Robert Jarzmik wrote: Vaibhav Hiremath writes: So, I applied patches 1-6 to for-next to make some progress. The others need more thought because of the bindings which shall be discussed replying to the patches in question. Thanks for the updated work

Re: [PATCH-v4 00/11] i2c: pxa: Fixes, cleanup and support for pxa910 family

2015-07-20 Thread Vaibhav Hiremath
On Monday 20 July 2015 12:36 PM, Vaibhav Hiremath wrote: On Saturday 18 July 2015 01:19 AM, Robert Jarzmik wrote: Vaibhav Hiremath vaibhav.hirem...@linaro.org writes: So, I applied patches 1-6 to for-next to make some progress. The others need more thought because of the bindings which

Re: [PATCH-v4 00/11] i2c: pxa: Fixes, cleanup and support for pxa910 family

2015-07-20 Thread Vaibhav Hiremath
On Saturday 18 July 2015 01:19 AM, Robert Jarzmik wrote: Vaibhav Hiremath vaibhav.hirem...@linaro.org writes: So, I applied patches 1-6 to for-next to make some progress. The others need more thought because of the bindings which shall be discussed replying to the patches in question

Re: [PATCH-v4 00/11] i2c: pxa: Fixes, cleanup and support for pxa910 family

2015-07-20 Thread Vaibhav Hiremath
On Monday 20 July 2015 12:39 PM, Vaibhav Hiremath wrote: On Monday 20 July 2015 12:36 PM, Vaibhav Hiremath wrote: On Saturday 18 July 2015 01:19 AM, Robert Jarzmik wrote: Vaibhav Hiremath vaibhav.hirem...@linaro.org writes: So, I applied patches 1-6 to for-next to make some progress

[PATCH-v3] mfd: 88pm80x: Add 88pm860 chip type support

2015-07-20 Thread Vaibhav Hiremath
Add chip identification support for 88PM860 device to the pm80x_chip_mapping table. Signed-off-by: Vaibhav Hiremath vaibhav.hirem...@linaro.org Reviewed-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- drivers/mfd/88pm80x.c | 2 ++ include/linux/mfd/88pm80x.h | 1 + 2 files changed, 3

Re: [PATCH 4/5] regulator: 88pm800: Add 88pm860 regulator support

2015-07-20 Thread Vaibhav Hiremath
On Monday 20 July 2015 01:00 PM, Lee Jones wrote: On Fri, 17 Jul 2015, Vaibhav Hiremath wrote: On Friday 17 July 2015 04:47 PM, Mark Brown wrote: On Fri, Jul 17, 2015 at 11:12:04AM +0530, Vaibhav Hiremath wrote: Can you merge this into regulator tree? Link to MFD - https://lkml.org

Re: [PATCH 4/5] regulator: 88pm800: Add 88pm860 regulator support

2015-07-17 Thread Vaibhav Hiremath
On Friday 17 July 2015 04:47 PM, Mark Brown wrote: On Fri, Jul 17, 2015 at 11:12:04AM +0530, Vaibhav Hiremath wrote: Can you merge this into regulator tree? Link to MFD - https://lkml.org/lkml/2015/7/16/704 I need a tag I can pull from Lee. Great. Lee, It would be helpful, if you

Re: [PATCH 4/5] regulator: 88pm800: Add 88pm860 regulator support

2015-07-17 Thread Vaibhav Hiremath
On Friday 17 July 2015 04:47 PM, Mark Brown wrote: On Fri, Jul 17, 2015 at 11:12:04AM +0530, Vaibhav Hiremath wrote: Can you merge this into regulator tree? Link to MFD - https://lkml.org/lkml/2015/7/16/704 I need a tag I can pull from Lee. Great. Lee, It would be helpful, if you

Re: [PATCH 4/5] regulator: 88pm800: Add 88pm860 regulator support

2015-07-16 Thread Vaibhav Hiremath
On Friday 17 July 2015 03:04 AM, Mark Brown wrote: On Thu, Jul 16, 2015 at 11:46:57PM +0530, Vaibhav Hiremath wrote: 88PM860 falls under 88pm800 family of devices, with additional feature enhancements, like, - 88pm860 had additional BUCK regulator (BUCK6 and BUCK1B) - Additional LDO

Re: [PATCH 5/5] regulator: 88pm800: Add support for configuration of dual phase on BUCK1

2015-07-16 Thread Vaibhav Hiremath
On Friday 17 July 2015 02:02 AM, Mark Brown wrote: On Thu, Jul 16, 2015 at 11:46:58PM +0530, Vaibhav Hiremath wrote: .disable= regulator_disable_regmap, .is_enabled = regulator_is_enabled_regmap, .get_current_limit

[PATCH 0/5] regulator: 88pm800: Add 88pm860 regulator support

2015-07-16 Thread Vaibhav Hiremath
tor is either enabled or disabled. TODO: - Validation on 88PM800 device, looking for some help here, as I do not have any platform with 88PM800 device. Vaibhav Hiremath (5): regulator: 88pm800: Fix indentation of assignments of data structures regulator: 88pm800: Update driver to

[PATCH 2/5] regulator: 88pm800: Update driver to use devm_regulator_register fn

2015-07-16 Thread Vaibhav Hiremath
, as devm_ variant takes care of it. - Remove pm800_regulators.regulators[] field, as it was only needed during cleanup, so we no longer need this. This also saved some amount of memory. Signed-off-by: Vaibhav Hiremath --- drivers/regulator/88pm800.c | 27 ++- 1 file

[PATCH 5/5] regulator: 88pm800: Add support for configuration of dual phase on BUCK1

2015-07-16 Thread Vaibhav Hiremath
for current min and max supply constraint on BUCK1 (and optionally on BUCK1B). Based on that driver enables dual-phase mode. Note that, if max current supply constraint is > 3A on BUCK1(A) then driver enables the dual-phase mode, irrespective of BUCK1B constraint. Signed-off-by: Vaibhav Hirem

[PATCH 1/5] regulator: 88pm800: Fix indentation of assignments of data structures

2015-07-16 Thread Vaibhav Hiremath
This patch makes code more clean from readability point of view, make all assignments of LDO, BUCk and regulator_ops structure at the same indentation. Signed-off-by: Vaibhav Hiremath --- drivers/regulator/88pm800.c | 68 ++--- 1 file changed, 34

[PATCH 4/5] regulator: 88pm800: Add 88pm860 regulator support

2015-07-16 Thread Vaibhav Hiremath
be mapped to respective ldos/bucks, so this patch also renames to more generic name. TODO: - Validation on 88PM800 device, looking for some help here, as I do not have any platform with 88PM800 device. Signed-off-by: Vaibhav Hiremath --- drivers/regulator/88pm800.c | 125

[PATCH 3/5] regulator: 88pm800: Use regulator_nodes/of_match in the descriptor

2015-07-16 Thread Vaibhav Hiremath
- No need for pm800_regulator_dt_init() fn, as it was only used for of_regulator_match(). - probe() fn got simplified around regulator_config and regulator_desc initialization. Signed-off-by: Vaibhav Hiremath --- drivers/regulator/88pm800.c | 143 ++-- 1 file c

[PATCH-v3 2/2] mfd: 88pm800: Add init time initial configuration support

2015-07-16 Thread Vaibhav Hiremath
not validate the configuration on 88PM800, restricting myself only to 88PM860. If anyone can validate on 88PM800, we can move common code accordingly. Signed-off-by: Vaibhav Hiremath Reviewed-by: Krzysztof Kozlowski --- drivers/mfd/88pm800.c | 70

[PATCH-v3 1/2] mfd: 88pm80x: Add 88pm860 chip type support

2015-07-16 Thread Vaibhav Hiremath
Add chip identification support for 88PM860 device to the pm80x_chip_mapping table. Signed-off-by: Vaibhav Hiremath Reviewed-by: Krzysztof Kozlowski --- drivers/mfd/88pm80x.c | 2 ++ include/linux/mfd/88pm80x.h | 1 + 2 files changed, 3 insertions(+) diff --git a/drivers/mfd/88pm80x.c b

[PATCH-v3 0/2] mfd: 88pm800: Add 88pm860 device support

2015-07-16 Thread Vaibhav Hiremath
g at sleep support. - Init time configuration also includes pinmux setting for the device. I am working on using pinctrl-single driver to have standard and generic interface, hopefully it will get handled through pinctrl subsystem. Link to RFC - https://patches.linaro.org/50604/

Re: [RFC PATCH] pinctrl-single: Use of pinctrl-single for external device over I2C

2015-07-16 Thread Vaibhav Hiremath
On Thursday 16 July 2015 06:28 PM, Linus Walleij wrote: On Thu, Jul 2, 2015 at 6:53 PM, Vaibhav Hiremath wrote: In some usecases, the external device (in my case it PMIC over I2C) does support pin in multiple configuration, we may need to control/configure them during boot or runtime

[PATCH-v3 0/2] mfd: 88pm800: Add 88pm860 device support

2015-07-16 Thread Vaibhav Hiremath
configuration also includes pinmux setting for the device. I am working on using pinctrl-single driver to have standard and generic interface, hopefully it will get handled through pinctrl subsystem. Link to RFC - https://patches.linaro.org/50604/ Vaibhav Hiremath (2): mfd: 88pm80x

[PATCH-v3 1/2] mfd: 88pm80x: Add 88pm860 chip type support

2015-07-16 Thread Vaibhav Hiremath
Add chip identification support for 88PM860 device to the pm80x_chip_mapping table. Signed-off-by: Vaibhav Hiremath vaibhav.hirem...@linaro.org Reviewed-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- drivers/mfd/88pm80x.c | 2 ++ include/linux/mfd/88pm80x.h | 1 + 2 files changed, 3

[PATCH-v3 2/2] mfd: 88pm800: Add init time initial configuration support

2015-07-16 Thread Vaibhav Hiremath
not validate the configuration on 88PM800, restricting myself only to 88PM860. If anyone can validate on 88PM800, we can move common code accordingly. Signed-off-by: Vaibhav Hiremath vaibhav.hirem...@linaro.org Reviewed-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- drivers/mfd/88pm800.c

Re: [RFC PATCH] pinctrl-single: Use of pinctrl-single for external device over I2C

2015-07-16 Thread Vaibhav Hiremath
On Thursday 16 July 2015 06:28 PM, Linus Walleij wrote: On Thu, Jul 2, 2015 at 6:53 PM, Vaibhav Hiremath vaibhav.hirem...@linaro.org wrote: In some usecases, the external device (in my case it PMIC over I2C) does support pin in multiple configuration, we may need to control/configure them

[PATCH 2/5] regulator: 88pm800: Update driver to use devm_regulator_register fn

2015-07-16 Thread Vaibhav Hiremath
, as devm_ variant takes care of it. - Remove pm800_regulators.regulators[] field, as it was only needed during cleanup, so we no longer need this. This also saved some amount of memory. Signed-off-by: Vaibhav Hiremath vaibhav.hirem...@linaro.org --- drivers/regulator/88pm800.c | 27

[PATCH 0/5] regulator: 88pm800: Add 88pm860 regulator support

2015-07-16 Thread Vaibhav Hiremath
is either enabled or disabled. TODO: - Validation on 88PM800 device, looking for some help here, as I do not have any platform with 88PM800 device. Vaibhav Hiremath (5): regulator: 88pm800: Fix indentation of assignments of data structures regulator: 88pm800: Update driver to use

[PATCH 3/5] regulator: 88pm800: Use regulator_nodes/of_match in the descriptor

2015-07-16 Thread Vaibhav Hiremath
for pm800_regulator_dt_init() fn, as it was only used for of_regulator_match(). - probe() fn got simplified around regulator_config and regulator_desc initialization. Signed-off-by: Vaibhav Hiremath vaibhav.hirem...@linaro.org --- drivers/regulator/88pm800.c | 143

[PATCH 1/5] regulator: 88pm800: Fix indentation of assignments of data structures

2015-07-16 Thread Vaibhav Hiremath
This patch makes code more clean from readability point of view, make all assignments of LDO, BUCk and regulator_ops structure at the same indentation. Signed-off-by: Vaibhav Hiremath vaibhav.hirem...@linaro.org --- drivers/regulator/88pm800.c | 68

[PATCH 5/5] regulator: 88pm800: Add support for configuration of dual phase on BUCK1

2015-07-16 Thread Vaibhav Hiremath
for current min and max supply constraint on BUCK1 (and optionally on BUCK1B). Based on that driver enables dual-phase mode. Note that, if max current supply constraint is 3A on BUCK1(A) then driver enables the dual-phase mode, irrespective of BUCK1B constraint. Signed-off-by: Vaibhav Hiremath

[PATCH 4/5] regulator: 88pm800: Add 88pm860 regulator support

2015-07-16 Thread Vaibhav Hiremath
be mapped to respective ldos/bucks, so this patch also renames to more generic name. TODO: - Validation on 88PM800 device, looking for some help here, as I do not have any platform with 88PM800 device. Signed-off-by: Vaibhav Hiremath vaibhav.hirem...@linaro.org --- drivers/regulator

Re: [PATCH 5/5] regulator: 88pm800: Add support for configuration of dual phase on BUCK1

2015-07-16 Thread Vaibhav Hiremath
On Friday 17 July 2015 02:02 AM, Mark Brown wrote: On Thu, Jul 16, 2015 at 11:46:58PM +0530, Vaibhav Hiremath wrote: .disable= regulator_disable_regmap, .is_enabled = regulator_is_enabled_regmap, .get_current_limit

Re: [PATCH 4/5] regulator: 88pm800: Add 88pm860 regulator support

2015-07-16 Thread Vaibhav Hiremath
On Friday 17 July 2015 03:04 AM, Mark Brown wrote: On Thu, Jul 16, 2015 at 11:46:57PM +0530, Vaibhav Hiremath wrote: 88PM860 falls under 88pm800 family of devices, with additional feature enhancements, like, - 88pm860 had additional BUCK regulator (BUCK6 and BUCK1B) - Additional LDO

<    1   2   3   4   5   6   7   >