Re: [patch v1] mfd: da9055 change irq state to default

2013-03-27 Thread Ashish Jangam
On Mon, 2013-03-18 at 14:42 +0530, Ashish Jangam wrote: > This patch changes the irq state from high to the now default low. > Because the default PMIC irq state of DA9055 got changed from high to low. > This change should not affect any of the existing users since all of them > us

[patch v1]rtc: fix for DA9052/53 rtc device registration

2013-03-21 Thread Ashish Jangam
This patch adds supports for the virtual irq since now MFD only handles virtual irq Without this patch rtc device will fail in registration. This patch is for Linux stable version 3.8.x Signed-off-by: Ashish Jangam --- drivers/rtc/rtc-da9052.c |8 1 files changed, 4 insertions

[Patch v2] rtc: fix for the DA9052 rtc device registration

2013-03-19 Thread Ashish Jangam
This patch adds support for the virtual irq since now MFD only handles virtual irq Without this patch rtc device will fail in registration Signed-off-by: Ashish --- Changes since version v2: - ported the patch for 3.9-rc3 kernel version --- drivers/rtc/rtc-da9052.c |8 +++- 1 files chan

Re: [Patch v1] rtc: fix for the DA9052 rtc device registration

2013-03-19 Thread Ashish Jangam
On Mon, 2013-03-18 at 15:21 -0700, Andrew Morton wrote: > On Fri, 15 Mar 2013 13:59:39 +0530 Ashish Jangam > wrote: > > > DA9052/53 MFD core handles only virtual irq therefore rtc driver needs > > to be updated to work on virtual irq. Without this update DA9052/53 rtc

[patch v1] mfd: da9055 change irq state to default

2013-03-18 Thread Ashish Jangam
This patch changes the irq state from high to the now default low. Because the default PMIC irq state of DA9055 got changed from high to low. This change should not affect any of the existing users since all of them use active low state. This patch has been tested on smdkv6410. Signed-off-by: Ash

[Patch v1] rtc: fix for the DA9052 rtc device registration

2013-03-15 Thread Ashish Jangam
DA9052/53 MFD core handles only virtual irq therefore rtc driver needs to be updated to work on virtual irq. Without this update DA9052/53 rtc driver will fail during its registration. Also getting irq by it name is no longer supported in DA9052/53 core. Signed-off-by: Ashish Jangam

Re: [patch v1 1/5] mfd: da9055 change irq state to default

2013-03-08 Thread Ashish Jangam
On Fri, 2013-03-01 at 16:43 +0530, Ashish Jangam wrote: > On Fri, 2013-01-18 at 10:49 +0530, Ashish Jangam wrote: > > This patch changes the irq state from high to the now default low > > state. > > > > This patch is tested on smdk6410 board. > >

Re: virtual irq isssue - regmap_irq

2013-03-07 Thread Ashish Jangam
On Thu, 2013-03-07 at 15:13 +0800, Mark Brown wrote: > On Thu, Mar 07, 2013 at 12:27:52PM +0530, Ashish Jangam wrote: > > > In regmap_irq if irq_base is unknown then regmap creates virq starting from > > 0 > > and it seems that in kernel 3.8 virq 0 usage is not permitte

virtual irq isssue - regmap_irq

2013-03-06 Thread Ashish Jangam
Hi, In regmap_irq if irq_base is unknown then regmap creates virq starting from 0 and it seems that in kernel 3.8 virq 0 usage is not permitted, since during irq registration kernel throws a message "error: irq_desc already associated". I'm not sure if this requires fix in regmap_irq or kernel, c

Re: [patch v1 1/5] mfd: da9055 change irq state to default

2013-03-01 Thread Ashish Jangam
On Fri, 2013-01-18 at 10:49 +0530, Ashish Jangam wrote: > This patch changes the irq state from high to the now default low > state. > > This patch is tested on smdk6410 board. > > Signed-off-by: Ashish Jangam > --- > drivers/mfd/da9055-core.c |2 +- > 1 files

[PATCH v1/1] mfd: i2c issue fix for da9052/53

2013-01-25 Thread Ashish Jangam
incorrect data to a critical register. This patch fixes this issue to by following any read or write with a dummy read to a safe register address. A safe register address is one where the contents will not affect the operation of the system. Signed-off-by: Ashish Jangam --- drivers/mfd/da9052

Re: [patch v1 2/5] regulator: da9055 change irq state to default

2013-01-25 Thread Ashish Jangam
On Thu, 2013-01-24 at 00:03 +0800, Mark Brown wrote: > On Mon, Jan 21, 2013 at 02:05:12PM +0530, Ashish Jangam wrote: > > > > What makes you say that there is a dependency here? It's really not at > > > all obvious why a change to the primary IRQ signalling mec

Re: [patch v1 2/5] regulator: da9055 change irq state to default

2013-01-21 Thread Ashish Jangam
> -Original Message- > > > > This patch changes the irq state from high to the now default low > > > > state. > > > > > This patch is dependent on the DA9055 MFD. > > > > Why is this change required and why is there a dependency here? > > > It has been decided to have nIRQ therefore the

Re: [patch v1 2/5] regulator: da9055 change irq state to default

2013-01-21 Thread Ashish Jangam
> -Original Message- > > On Fri, Jan 18, 2013 at 10:52:45AM +0530, Ashish Jangam wrote: > > This patch changes the irq state from high to the now default low > > state. > > > > This patch is dependent on the DA9055 MFD. > > Why is this change requ

[Patch v1 5/5] onkey: da9055 change irq state to default

2013-01-17 Thread Ashish Jangam
This patch changes the irq state from high to the now default low state. This patch is dependent on the DA9055 MFD. This patch is tested on smdk6410 board. Signed-off-by: Ashish Jangam --- drivers/input/misc/da9055_onkey.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff

[patch v1 4/5] rtc: da9055 change irq state to default

2013-01-17 Thread Ashish Jangam
This patch changes the irq state from high to the now default low state. This patch is dependent on the DA9055 MFD. This patch is tested on smdk6410 board. Signed-off-by: Ashish Jangam --- drivers/rtc/rtc-da9055.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a

[patch v1 3/5] hwmon: da9055 change irq state to default

2013-01-17 Thread Ashish Jangam
This patch changes the irq state from high to the now default low state. This patch is dependent on the DA9055 MFD. This patch is tested on smdk6410 board. Signed-off-by: Ashish Jangam --- drivers/hwmon/da9055-hwmon.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a

[patch v1 2/5] regulator: da9055 change irq state to default

2013-01-17 Thread Ashish Jangam
This patch changes the irq state from high to the now default low state. This patch is dependent on the DA9055 MFD. This patch is tested on smdk6410 board. Signed-off-by: Ashish Jangam --- drivers/regulator/da9055-regulator.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff

[patch v1 1/5] mfd: da9055 change irq state to default

2013-01-17 Thread Ashish Jangam
This patch changes the irq state from high to the now default low state. This patch is tested on smdk6410 board. Signed-off-by: Ashish Jangam --- drivers/mfd/da9055-core.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mfd/da9055-core.c b/drivers/mfd/da9055

Re: [Patch v3 3/7] rtc: DA9055 RTC driver

2012-12-13 Thread Ashish Jangam
(This rtc patch is resend for merge) --- This is the RTC patch for the DA9055 PMIC. This patch has got dependency on the DA9055 MFD core. This patch is functionally tested on Samsung SMDKV6410. Signed-off-by: David Dajun Chen Signed-off-by: Ashish Jangam --- changes since version v3: - use of

Re: [Patch v3 3/7] rtc: DA9055 RTC driver

2012-12-12 Thread Ashish Jangam
On Wed, 2012-12-12 at 13:11 -0800, Andrew Morton wrote: > On Mon, 10 Dec 2012 11:12:29 +0530 > Ashish Jangam wrote: > > > On Wed, 2012-11-28 at 14:54 +0530, Ashish Jangam wrote: > > > On Tue, 2012-11-27 at 14:23 -0800, Andrew Morton wrote: > > > >

Re: [Patch v3 3/7] rtc: DA9055 RTC driver

2012-12-09 Thread Ashish Jangam
On Wed, 2012-11-28 at 14:54 +0530, Ashish Jangam wrote: > On Tue, 2012-11-27 at 14:23 -0800, Andrew Morton wrote: > > On Fri, 23 Nov 2012 15:41:03 +0530 > > Ashish Jangam wrote: > > > > > On Tue, 2012-10-23 at 15:33 +0530, Ashish Jangam wrote: > > > >

Re: [Patch v3 3/7] rtc: DA9055 RTC driver

2012-11-28 Thread Ashish Jangam
On Tue, 2012-11-27 at 14:23 -0800, Andrew Morton wrote: > On Fri, 23 Nov 2012 15:41:03 +0530 > Ashish Jangam wrote: > > > On Tue, 2012-10-23 at 15:33 +0530, Ashish Jangam wrote: > > > Does this patch looks good? > > > On Thu, 2012-10-11 at 16:10 +0530, Ashish

Re: [Patch v3 3/7] rtc: DA9055 RTC driver

2012-11-28 Thread Ashish Jangam
On Tue, 2012-11-27 at 14:23 -0800, Andrew Morton wrote: > On Fri, 23 Nov 2012 15:41:03 +0530 > Ashish Jangam wrote: > > > On Tue, 2012-10-23 at 15:33 +0530, Ashish Jangam wrote: > > > Does this patch looks good? > > > On Thu, 2012-10-11 at 16:10 +0530, Ashish

RE: [Patch v3 3/7] rtc: DA9055 RTC driver

2012-11-23 Thread Ashish Jangam
On Fri, 2012-11-23 at 16:39 +0530, Venu Byravarasu wrote: > > -Original Message- > > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > > ow...@vger.kernel.org] On Behalf Of Ashish Jangam > > Sent: Friday, November 23, 2012 3:41 PM > > To: a.

Re: [Patch v3 3/7] rtc: DA9055 RTC driver

2012-11-23 Thread Ashish Jangam
Any comments on this patch. On Tue, 2012-10-23 at 15:33 +0530, Ashish Jangam wrote: > Does this patch looks good? > On Thu, 2012-10-11 at 16:10 +0530, Ashish Jangam wrote: > > This is the RTC patch for the DA9055 PMIC. This patch has got dependency on > > the DA9055 MFD core. &

Re: [PATCH RFT] regulator: da9055: Properly handle voltage range that doesn't start with 0 offset

2012-11-21 Thread Ashish Jangam
Thank you, > Axel This patch looks good to me. I have tested this patch on SMDK6410 using the DA9055 evaluation board. Tested-by: Ashish Jangam -- 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/lkml/

[Patch v1 1/1] mfd: fix for i2c issue DA9052/53 PMIC

2012-11-02 Thread Ashish Jangam
: Ashish Jangam --- drivers/mfd/da9052-i2c.c | 56 + include/linux/mfd/da9052/da9052.h | 47 -- include/linux/mfd/da9052/reg.h|3 ++ 3 files changed, 102 insertions(+), 4 deletions(-) diff --git a/drivers/mfd/da9052

Re: [patch v1 1/2] mfd: i2c issue fix for DA9052/53 and support for DA9053-BC

2012-11-02 Thread Ashish Jangam
On Thu, 2012-11-01 at 14:31 +, Mark Brown wrote: > On Thu, Nov 01, 2012 at 11:48:42AM +0530, Ashish Jangam wrote: > > > This patch fixes this issue to by following any read or write with a dummy > > read > > to a safe register address. A safe register address is one

[Patch v4 2/7] regulator: DA9055 regulator driver

2012-11-01 Thread Ashish Jangam
regulator. This patch is functionaly tested on SMDK6410 board. DA9055 Evaluation board was connected to the SMDK6410 board. Signed-off-by: David Dajun Chen Signed-off-by: Ashish Jangam --- changes since version v4: - Remove the unsupported regulator IDLE mode - Fix the missing break condition

[Patch v4 2/7] regulator: DA9055 regulator driver

2012-11-01 Thread Ashish Jangam
regulator. This patch is functionaly tested on SMDK6410 board. DA9055 Evaluation board was connected to the SMDK6410 board. Signed-off-by: David Dajun Chen Signed-off-by: Ashish Jangam --- changes since version v4: - Remove the unsupported regulator IDLE mode - Fix the missing break condition

[patch v2 2/2] regulator: support for DA9053-BC

2012-10-31 Thread Ashish Jangam
>From 7b2e8c26c995d775f17491fcce7258e662009d0d Mon Sep 17 00:00:00 2001 From: Ashish Jangam Date: Thu, 1 Nov 2012 11:06:17 +0530 Subject: [PATCH 2/2] [patch v 2/1] regulator: support for DA9053-BC This patch adds DA9053-BC PMIC support to the existing DA9052/53 regulator driver Signed-off

[patch v1 1/2] mfd: i2c issue fix for DA9052/53 and support for DA9053-BC

2012-10-31 Thread Ashish Jangam
the DA9053-BC PMIC chip Signed-off-by: David Dajun Chen Signed-off-by: Ashish Jangam --- drivers/mfd/da9052-i2c.c | 58 + drivers/mfd/da9052-spi.c |1 + include/linux/mfd/da9052/da9052.h | 48 -- include

Re: [PATCH] hwmon: da9055: Fix chan_mux[DA9055_ADC_ADCIN3] setting

2012-10-29 Thread Ashish Jangam
On Mon, 2012-10-29 at 17:52 -0700, Guenter Roeck wrote: > On Mon, Oct 29, 2012 at 04:34:38PM +0800, Axel Lin wrote: > > Set chan_mux[DA9055_ADC_ADCIN3] = DA9055_ADC_MUX_ADCIN3. > > > > Signed-off-by: Axel Lin > > --- > > Hi, > > This looks like a typo, but I don't have a hardware to test it. >

Re: [Patch v3 2/7] Regulator: DA9055 Regulator driver

2012-10-29 Thread Ashish Jangam
On Sat, 2012-10-27 at 22:59 +0100, Mark Brown wrote: > On Thu, Oct 11, 2012 at 03:39:24PM +0530, Ashish Jangam wrote: > > > This is the Regulator patch for the DA9055 PMIC and has got dependency on > > the DA9055 MFD core. > > Always submit patches with subject l

Re: [Patch v3 3/7] RTC: DA9055 RTC driver

2012-10-23 Thread Ashish Jangam
Does this patch looks good? On Thu, 2012-10-11 at 16:10 +0530, Ashish Jangam wrote: > This is the RTC patch for the DA9055 PMIC. This patch has got dependency on > the DA9055 MFD core. > > This patch is functionally tested on Samsung SMDKV6410. > > Signed-off-by: David Dajun

Re: [Patch v3 2/7] Regulator: DA9055 Regulator driver

2012-10-23 Thread Ashish Jangam
Does this patch looks good for you? On Thu, 2012-10-11 at 15:39 +0530, Ashish Jangam wrote: > This is the Regulator patch for the DA9055 PMIC and has got dependency on > the DA9055 MFD core. > > This patch support all of the DA9055 regulators. The output voltages are > fully progr

Re: [Patch v4 7/7] Onkey: DA9055 Onkey driver

2012-10-23 Thread Ashish Jangam
Does this patch looks good? On Fri, 2012-10-12 at 15:02 +0530, Ashish Jangam wrote: > This is the ONKEY driver of the Dialog DA9055 PMIC and depends on the DA9055 > MFD > core driver. > > This patch is functionally tested on SMDK6410 board. > > Signed-off-by: David Dajun

[Patch v4 7/7] Onkey: DA9055 Onkey driver

2012-10-12 Thread Ashish Jangam
This is the ONKEY driver of the Dialog DA9055 PMIC and depends on the DA9055 MFD core driver. This patch is functionally tested on SMDK6410 board. Signed-off-by: David Dajun Chen Signed-off-by: Ashish Jangam --- changes since v4: - remove of devm_*irq API changes since v3: - used of

[Patch v2 6/7] Watchdog: DA9055 Watchdog driver

2012-10-12 Thread Ashish Jangam
This is the Watchdog patch for the DA9055 PMIC. This patch has got dependency on the DA9055 MFD core. This patch is functionally tested on SMDK6410 Signed-off-by: David Dajun Chen Signed-off-by: Ashish Jangam --- changes since version v2: - remove duplicate includes - use of

Re: [Patch v3 7/7] Onkey: DA9055 Onkey driver

2012-10-11 Thread Ashish Jangam
On Thu, 2012-10-11 at 09:28 -0700, Dmitry Torokhov wrote: > Hi Ashish, > > On Thu, Oct 11, 2012 at 04:15:16PM +0530, Ashish Jangam wrote: > > This is the ONKEY driver of the Dialog DA9055 PMIC and depends on the > > DA9055 MFD > > core driver. > > > &g

[Patch v3 7/7] Onkey: DA9055 Onkey driver

2012-10-11 Thread Ashish Jangam
This is the ONKEY driver of the Dialog DA9055 PMIC and depends on the DA9055 MFD core driver. This patch is functionally tested on SMDK6410 board. Signed-off-by: David Dajun Chen Signed-off-by: Ashish Jangam --- changes since v3: - used of module_platform_driver macro - add regmap virtual irq

[Patch v3 3/7] RTC: DA9055 RTC driver

2012-10-11 Thread Ashish Jangam
This is the RTC patch for the DA9055 PMIC. This patch has got dependency on the DA9055 MFD core. This patch is functionally tested on Samsung SMDKV6410. Signed-off-by: David Dajun Chen Signed-off-by: Ashish Jangam --- changes since version v3: - use of module_platform_driver macro - add the

[Patch v3 2/7] Regulator: DA9055 Regulator driver

2012-10-11 Thread Ashish Jangam
regulator. This patch is functionaly tested on SMDK6410 board. DA9055 Evaluation board was connected to the SMDK6410 board. Signed-off-by: David Dajun Chen Signed-off-by: Ashish Jangam --- changes since version v3: - Use of regulator framework API regulator_map_voltage_linear() and

Re: [Patch v3 2/7] Regulator: DA9055 Regulator driver

2012-10-11 Thread Ashish Jangam
Recalling this post. Wrong patch version got included. On Thu, 2012-10-11 at 12:06 +0530, Ashish Jangam wrote: > This is the Regulator patch for the DA9055 PMIC and has got dependency on > the DA9055 MFD core. > > This patch support all of the DA9055 regulators. The output voltages

[Patch v3 2/7] Regulator: DA9055 Regulator driver

2012-10-10 Thread Ashish Jangam
regulator. This patch is functionaly tested on SMDK6410 board. DA9055 Evaluation board was connected to the SMDK6410 board. Signed-off-by: David Dajun Chen Signed-off-by: Ashish Jangam --- changes since version v3: - Use of regulator framework API regulator_map_voltage_linear() and

Re: [Patch v2 2/7] Regulator: DA9055 Regulator driver

2012-10-10 Thread Ashish Jangam
On Wed, 2012-10-10 at 12:56 +0900, Mark Brown wrote: > On Tue, Oct 09, 2012 at 04:30:16PM +0530, Ashish Jangam wrote: > > On Tue, 2012-10-09 at 15:37 +0530, Mark Brown wrote: > > > On Mon, Oct 08, 2012 at 07:00:39PM +0530, Ashish Jangam wrote: > > > > > +

Re: [Patch v2 2/7] Regulator: DA9055 Regulator driver

2012-10-09 Thread Ashish Jangam
On Tue, 2012-10-09 at 15:37 +0530, Mark Brown wrote: > On Mon, Oct 08, 2012 at 07:00:39PM +0530, Ashish Jangam wrote: > > Mostly OK, but there's a few issues including yet more reimplementation > of framework features. > > > +static int da9055_list_voltage(

[Patch v2 2/7] Regulator: DA9055 Regulator driver

2012-10-08 Thread Ashish Jangam
regulator. This patch is functionaly tested on SMDK6410 board. DA9055 Evaluation board was connected to the SMDK6410 board. Signed-off-by: David Dajun Chen Signed-off-by: Ashish Jangam --- - restructuring of GPIO regulator initialization code. --- drivers/regulator/Kconfig| 10

[PATCH] [PATCH v3] mfd: da9052-core: Use regmap_irq_get_virq() and fix the probe

2012-10-03 Thread Ashish Jangam
Fix for da9052-core driver probe fail on a mx53qsb dt-kernel da9052 1-0048: DA9052 ADC IRQ failed ret=-22 Signed-off-by: Ashish Jangam --- changes since v3: - remove element "irq" from struct da9052 - add inline da9052_map_irq() that calls regmap_irq_get_virq() Changes since

Re: [Patch v1 6/7] DA9055 Watchdog driver

2012-09-24 Thread Ashish Jangam
Any update on this patch? On Fri, 2012-09-14 at 19:03 +0530, Ashish Jangam wrote: > This is the Watchdog patch for the DA9055 PMIC. This patch has got > dependency on the DA9055 MFD core. > > This patch is functionally tested on SMDK6410 > > Signed-off-by: David Dajun Che

Re: [Patch v1 3/7] DA9055 RTC driver

2012-09-24 Thread Ashish Jangam
Any update on this patch? On Fri, 2012-09-14 at 18:58 +0530, Ashish Jangam wrote: > This is the RTC patch for the DA9055 PMIC. This patch has got dependency > on the DA9055 MFD core. > > This patch is functionally tested on Samsung SMDKV6410. > > Signed-off-by: David Dajun Che

Re: [Patch v1 2/7] DA9055 Regulator driver

2012-09-24 Thread Ashish Jangam
Any update on this patch? On Fri, 2012-09-14 at 18:57 +0530, Ashish Jangam wrote: > This is the Regulator patch for the DA9055 PMIC and has got dependency > on the DA9055 MFD core. > > This patch support all of the DA9055 regulators. The output voltages are > fully programma

Re: [Patch v1 1/7] DA9055 MFD core driver

2012-09-24 Thread Ashish Jangam
Any update on this patch? On Fri, 2012-09-14 at 18:54 +0530, Ashish Jangam wrote: > This is the DA9055 MFD core driver that instantiate all the dependent > component > drivers and provides them the device access via I2C. > > This patch is functionally tested on Samsung SMDK6410.

[Patch v1 2/7] DA9055 Regulator driver

2012-09-14 Thread Ashish Jangam
regulator. This patch is functionaly tested on SMDK6410 board. DA9055 Evaluation board was connected to the SMDK6410 board. Signed-off-by: David Dajun Chen Signed-off-by: Ashish Jangam --- drivers/regulator/Kconfig| 10 + drivers/regulator/Makefile |1 + drivers

[Patch v1 1/7] DA9055 MFD core driver

2012-09-14 Thread Ashish Jangam
This is the DA9055 MFD core driver that instantiate all the dependent component drivers and provides them the device access via I2C. This patch is functionally tested on Samsung SMDK6410. Signed-off-by: David Dajun Chen Signed-off-by: Ashish Jangam --- drivers/mfd/Kconfig | 17

[Patch v1 0/7] DA9055 PMIC driver

2012-09-14 Thread Ashish Jangam
: regulator - 2 BUCKS, 6 LDOs rtc - low power clock gpio - 3 pins hwmon - 5 ADC channels watchdog - system monitor onkey - button device These drivers has been tested on a Samsung SMDK6410. Ashish Jangam (7): DA9058 MFD core DA9058 REGULATOR driver DA9058 RTC driver DA9058 GPIO driver DA9058