RE: [PATCH] Input: Introduce the use of managed version of kzalloc

2014-05-09 Thread Opensource [Anthony Olech]
> da9052_free_irq(tsi->da9052, DA9052_IRQ_PENDOWN, tsi); > err_free_mem: > - kfree(tsi); > input_free_device(input_dev); > > return error; > @@ -327,7 +326,6 @@ static int da9052_ts_remove(struct platform_device > *pdev) > da9052_free_irq(tsi->da9052, DA9052_IRQ_PENDOWN, tsi); > > input_unregister_device(tsi->dev); > - kfree(tsi); > > return 0; > } > -- > 1.9.1 for the content of this patch: Acked-by: Opensource [Anthony Olech] -- 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/

RE: [PATCH V1] drivers/rtc: da9052: ALARM causes interrupt storm

2014-04-30 Thread Opensource [Anthony Olech]
Hi Alessandro, you did not reply to my patch submission. Why not? Tony Olech Dialog Semiconductor > -Original Message- > From: Opensource [Anthony Olech] > [mailto:anthony.olech.opensou...@diasemi.com] > Sent: 02 April 2014 12:46 > To: Alessandro Zummo; Support Opensou

[PATCH V1] drivers/mfd: da9052: use multiwrite mode

2014-04-03 Thread Opensource [Anthony Olech]
Use the new regmap core API regmap_multi_reg_write(), to prevent a rare problem with the Dialog DA9052/3 PMIC devices that causes the device to fail. Signed-off-by: Anthony Olech --- This patch is relative to linux-next repository tag next-20140403 Even though the probability of the problem

[PATCH V1] drivers/rtc: da9052: ALARM causes interrupt storm

2014-04-02 Thread Opensource [Anthony Olech]
of the 'da9052' because there is no backwards pointer from the 'da9052' structure. Signed-off-by: Anthony Olech --- This patch is relative to linux-next repository tag next-20140402 This patch fixes the three issues described above. The first is serious because usiing the RTC

[RFC V3] drivers/base/regmap: Implementation for regmap_multi_reg_write

2014-03-04 Thread Opensource [Anthony Olech]
This is the implementation of regmap_multi_reg_write() There is a new capability 'can_multi_write' that device drivers must set in order to use this multi reg write mode. This replaces the first definition, which just defined the API. Signed-off-by: Anthony Olech --- This patch is r

[RFC V2] drivers/base/regmap: Implementation for regmap_multi_reg_write

2014-03-03 Thread Opensource [Anthony Olech]
This is the implementation of regmap_multi_reg_write() It replaces the first definition, which just defined the API. Signed-off-by: Anthony Olech --- This patch is relative to linux-next repository tag next-20140228 The API definition of regmap_multi_reg_write() has been in the kernel

RE: [RFC V1] drivers/base/regmap: Implementation for regmap_multi_reg_write

2014-02-28 Thread Opensource [Anthony Olech]
> -Original Message- > From: Mark Brown [mailto:broo...@kernel.org] > Sent: 28 February 2014 03:37 > To: Opensource [Anthony Olech] > Cc: Greg Kroah-Hartman; linux-kernel@vger.kernel.org; David Dajun Chen > Subject: Re: [RFC V1] drivers/base/regmap:

[RFC V1] drivers/base/regmap: Implementation for regmap_multi_reg_write

2014-02-27 Thread Opensource [Anthony Olech]
This is the implementation of regmap_multi_reg_write() It replaces the first definition, which just defined the API. Signed-off-by: Anthony Olech --- This patch is relative to linux-next repository tag next-20140224 The API definition of regmap_multi_reg_write() has been in the kernel

RE: [PATCH V1 2/3] MFD: da9052: Add new DA9053 BC chip variant

2014-02-25 Thread Opensource [Anthony Olech]
> -Original Message- > From: Lee Jones [mailto:lee.jo...@linaro.org] > Sent: 25 February 2014 08:57 > To: Opensource [Anthony Olech] > Cc: Samuel Ortiz; Liam Girdwood; linux-kernel@vger.kernel.org; Mark > Brown; David Dajun Chen > Subject: Re: [PATCH V1 2/3] MFD: da90

RE: [PATCH V1 3/3] REGULATOR: da9052: Add new DA9053 BC chip variant

2014-02-20 Thread Opensource [Anthony Olech]
> -Original Message- > From: Mark Brown [mailto:broo...@kernel.org] > Sent: 19 February 2014 16:48 > To: Opensource [Anthony Olech] > Cc: Liam Girdwood; Lee Jones; linux-kernel@vger.kernel.org; Samuel Ortiz; > David Dajun Chen > Subject: Re: [PATCH V1 3/3] REGULATOR: d

[PATCH V1 0/3] da9052: Add new supported chip

2014-02-19 Thread Opensource [Anthony Olech]
d first because it provides the hash definition of DA9053_BC Many thanks, Anthony Olech, Dialog Semiconductor Opensource [Anthony Olech] (3): include/linux/mfd/da9052/da9052: Add new BC chip MFD: da9052: Add new DA9053 BC chip variant REGULATOR: da9052: Add new DA9053 BC chip variant dri

[PATCH V1 1/3] include/linux/mfd/da9052/da9052: Add new BC chip

2014-02-19 Thread Opensource [Anthony Olech]
Add the hash define for the new variant of the DA9053 PMIC called BC. Signed-off-by: Anthony Olech --- This patch is relative to linux-next repository tag next-20140219 This patch must be applied before the others in this patch series or the drivers that the other patches modify will not

[PATCH V1 2/3] MFD: da9052: Add new DA9053 BC chip variant

2014-02-19 Thread Opensource [Anthony Olech]
Add support for a new BC variant of the DA9053 PMIC. There is one difference between it and the AA, BA and BB. This patch also corrects a typing mistake in one of the BA name strings that was incorrectly typed as "ab". Signed-off-by: Anthony Olech --- This patch is relative to

[PATCH V1 3/3] REGULATOR: da9052: Add new DA9053 BC chip variant

2014-02-19 Thread Opensource [Anthony Olech]
Add support for a new BC variant of the DA9053 PMIC. There is one difference between it and the AA, BA and BB. Signed-off-by: Anthony Olech --- This patch is relative to linux-next repository tag next-20140219 This patch depends on patch number 1 of this patch series being applied first or it

[PATCH V2] ONKEY: da9052: Use correct register bit for key status

2014-02-12 Thread Anthony Olech
The wrong register bit of the DA9052/3 PMIC registers was used to determine the status on the ONKEY. Also a failure in reading the status register will no longer result in the work queue being rescheduled as that would result in a (potentially) endless retry. Signed-off-by: Anthony Olech Acked

RE: [PATCH V1] da9052: ONKEY: use correct register bit for key status

2014-02-11 Thread Opensource [Anthony Olech]
> -Original Message- > From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] > Sent: 11 February 2014 16:29 ..[snip].. > > static void da9052_onkey_query(struct da9052_onkey *onkey) { > > - int key_stat; > > + int ret, key_stat; > > > > - key_stat = da9052_reg_read(onkey->da9052,

[PATCH V2] mfd: da9052: Fix volatile register definition ommissions

2014-02-11 Thread Anthony Olech
Three of the PMIC registers have some bits that are changed autonomously by the PMIC itself (some time) after being set by some component driver of the DA9052 PMIC and hence they need to be marked as volatile so that the regmap API will not cache their values. Signed-off-by: Anthony Olech Acked

[PATCH V1] rtc: da9052: Remove redundant private structure field

2014-02-11 Thread Anthony Olech
remove redundant irq field in private rtc structure. Signed-off-by: Anthony Olech Acked-by: David Dajun Chen --- This patch is relative to linux-next repository tag next-20140210 This issue was found when doing a code review whilst investigating a different problem. This patch has been test

[PATCH V1] da9052: ONKEY: use correct register bit for key status

2014-02-11 Thread Anthony Olech
The wrong register bit of the DA9052/3 PMIC registers was used to determine the status on the ONKEY. Signed-off-by: Anthony Olech Signed-off-by: David Dajun Chen --- This patch is relative to linux-next repository tag next-20140206 The bug that this patch fixes affects only the DA9052 ONKEY

RE: [PATCH V1] fix da9052 volatile register definition ommissions

2014-02-03 Thread Opensource [Anthony Olech]
> -Original Message- > From: Lee Jones [mailto:lee.jo...@linaro.org] > Sent: 03 February 2014 10:29 > To: Opensource [Anthony Olech] > Cc: Mark Brown; Samuel Ortiz; linux-kernel@vger.kernel.org; David Dajun > Chen > Subject: Re: [PATCH V1] fix da9052 volatile register

[PATCH V1] fix da9052 volatile register definition ommissions

2014-01-28 Thread Anthony Olech
Three of the PMIC registers have some bits that are changed autonomously by the PMIC itself (some time) after being set by some component driver of the DA9052 PMIC and hence they need to be marked as volatile so that the regmap API will not cache their values. Signed-off-by: Anthony Olech Signed

RE: [PATCH V1] input: use device managed memory in da9052 touchscreen driver

2014-01-10 Thread Opensource [Anthony Olech]
> -Original Message- > From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] > Sent: 09 January 2014 19:13 > To: Opensource [Anthony Olech] > Cc: linux-in...@vger.kernel.org; linux-kernel@vger.kernel.org; Huqiu Liu; > David Dajun Chen > Subject: Re: [PATCH V1] inpu

[PATCH V1] input: use device managed memory in da9052 touchscreen driver

2014-01-09 Thread Anthony Olech
driver are: devm_kzalloc() devm_input_allocate_device() devm_request_threaded_irq() Suggested-by: Huqiu Liu Signed-off-by: Anthony Olech --- This patch is relative to linux-next repository tag next-20140109 Many thanks to Huqiu Liu who instigated this patch. drivers/input/touchscreen

RE: [PATCH V1] input: fix memory leak in da9052 touchscreen driver

2014-01-08 Thread Opensource [Anthony Olech]
> -Original Message- > From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] > Sent: 08 January 2014 17:26 > To: Opensource [Anthony Olech] > Cc: linux-in...@vger.kernel.org; linux-kernel@vger.kernel.org; Huqiu Liu; > David Dajun Chen > Subject: Re: [PATCH V1] inpu

[PATCH V1] input: fix memory leak in da9052 touchscreen driver

2014-01-08 Thread Anthony Olech
Signed-off-by: Anthony Olech --- This patch is relative to linux-next repository tag next-20140108 Many thanks to Huqiu Liu who found the bug. drivers/input/touchscreen/da9052_tsi.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/input/touchscreen/da9052_tsi.c b/drivers/input

RE: [lm-sensors] [PATCH V1] fix adc to voltage calculation in da9052 power driver

2013-12-19 Thread Opensource [Anthony Olech]
> -Original Message- > From: Guenter Roeck [mailto:groe...@gmail.com] On Behalf Of Guenter > Roeck > Sent: 19 December 2013 18:11 > To: Jean Delvare > Cc: Opensource [Anthony Olech]; lm-sens...@lm-sensors.org; Anton > Vorontsov; David Woodhouse; linux-kernel@vger.ke

RE: [lm-sensors] [PATCH V1] fix adc to voltage calculation in da9052 power driver

2013-12-19 Thread Opensource [Anthony Olech]
> -Original Message- > From: Guenter Roeck [mailto:groe...@gmail.com] On Behalf Of Guenter > Roeck > Sent: 18 December 2013 17:24 > To: Opensource [Anthony Olech] > Cc: Jean Delvare; open list:HARDWARE MONITORING; Anton Vorontsov; > David Woodhouse; open list; David

RE: [lm-sensors] [PATCH V1] fix adc to voltage calculation in da9052 power driver

2013-12-18 Thread Opensource [Anthony Olech]
> -Original Message- > From: Jean Delvare [mailto:kh...@linux-fr.org] > Sent: 18 December 2013 15:33 > To: Opensource [Anthony Olech] > Cc: Anton Vorontsov; David Woodhouse; David Dajun Chen; open list; open > list:HARDWARE MONITORING > Subject: Re: [lm-sensors]

[PATCH V1] fix adc to voltage calculation in da9052 hwmon driver

2013-12-18 Thread Anthony Olech
The ADC resolution of the PMIC is 10-bits, this means that the maximum possible value is 1023 and not the 1024 as originally in the code. Signed-off-by: Anthony Olech --- This patch is relative to linux-next repository tag next-20131218 drivers/hwmon/da9052-hwmon.c |4 ++-- 1 file changed

[PATCH V1] fix adc to voltage calculation in da9052 power driver

2013-12-18 Thread Anthony Olech
The ADC resolution of the PMIC is 10-bits, this means that the maximum possible value is 1023 and not the 1024 as in the code. Signed-off-by: Anthony Olech --- This patch is relative to linux-next repository tag next-20131218 drivers/power/da9052-battery.c |2 +- 1 file changed, 1

RE: [PATCH V1] new API regmap_multi_reg_write() definition

2013-10-14 Thread Opensource [Anthony Olech]
> -Original Message- > From: Mark Brown [mailto:broo...@kernel.org] > Sent: 14 October 2013 15:15 > To: Opensource [Anthony Olech] > Cc: Greg Kroah-Hartman; LKML; David Dajun Chen > Subject: Re: [PATCH V1] new API regmap_multi_reg_write() definition > > On Fri, Oc

[PATCH V1] new API regmap_multi_reg_write() definition

2013-10-11 Thread Anthony Olech
sequence of single register writes. The implementation will be modified later to support those I2C clients that implement the alternative non-standard MULTIWRITE block write mode so to achieve a single I2C transfer that will be atomic even in multiple I2C master systems. Signed-off-by: Anthony Olech

RE: [PATCH V1] new API regmap_multi_write()

2013-10-10 Thread Opensource [Anthony Olech]
> -Original Message- > From: Mark Brown [mailto:broo...@kernel.org] > Sent: 10 October 2013 13:21 > To: Opensource [Anthony Olech] > Cc: Greg Kroah-Hartman; LKML; David Dajun Chen > Subject: Re: [PATCH V1] new API regmap_multi_write() > > On Thu, Oct 10, 2013 at 1

[PATCH V1] new API regmap_multi_write()

2013-10-10 Thread Anthony Olech
New API regmap_multi_write() to support a single I2C transfer consisting of writes to multiple non-sequential registers for those I2C clients that implement the alternative non-standard MULTIWRITE block write mode. Signed-off-by: Anthony Olech Signed-off-by: David Dajun Chen --- This patch is

[PATCH V1] Fix Regmap Block Write single-rw Mutex Deadlock

2013-10-09 Thread Anthony Olech
tex as well. It is obvious that no one other than myself tried it with a real device. I did, but only for the purposes of an experiment and demonstration. But even if this situation will never ever happen with a real device, it is a bug and therefore should be fixed. Signed-off-by: Anthony Ol

RE: [RFC PATCH 2/8] regulator: Add Dialog DA906x voltage regulators support.

2013-05-09 Thread Anthony Olech
s the first place to try. Do you mean the da7210 (audio CODEC)? I don't offhand recognise the da9210 part number. Best regards, Tony Olech > -Original Message- > From: Guennadi Liakhovetski [mailto:g.liakhovet...@gmx.de] > Sent: 09 May 2013 15:29 > To: Anthony Olech &g

RE: [RFC PATCH 2/8] regulator: Add Dialog DA906x voltage regulators support.

2013-05-09 Thread Anthony Olech
ummo; Jean Delvare; Dmitry Torokhov; Richard Purdie; Anthony Olech > Subject: Re: [RFC PATCH 2/8] regulator: Add Dialog DA906x voltage regulators > support. > > (trimmed the CC a bit) > > Hi Krystian > > On Fri, 31 Aug 2012, Krystian Garbaciak wrote: > > > > On Wed

RE: [NEW DRIVER V6 5/7] drivers/gpio: DA9058 GPIO driver

2013-05-03 Thread Opensource [Anthony Olech]
> -Original Message- > From: Linus Walleij [mailto:linus.wall...@linaro.org] > Sent: 03 May 2013 12:59 > To: Opensource [Anthony Olech] > Cc: Grant Likely; Linus Walleij; Mark Brown; LKML; Lee Jones > Subject: Re: [NEW DRIVER V6 5/7] drivers/gpio: DA9058 GPIO driver &

RE: [NEW DRIVER V6 5/7] drivers/gpio: DA9058 GPIO driver

2013-04-30 Thread Opensource [Anthony Olech]
> -Original Message- > From: Linus Walleij [mailto:linus.wall...@linaro.org] > Sent: 24 April 2013 14:15 > To: Opensource [Anthony Olech] > Cc: Grant Likely; Linus Walleij; Mark Brown; LKML; David Dajun Chen; Lee Jones > Subject: Re: [NEW DRIVER V6 5/7] drivers/gpio:

RE: [NEW DRIVER V6 1/7] drivers/mfd: DA9058 MFD core driver

2013-04-22 Thread Opensource [Anthony Olech]
> -Original Message- > From: Mark Brown [mailto:broo...@kernel.org] > Sent: 22 April 2013 14:34 > To: Opensource [Anthony Olech] > Cc: Samuel Ortiz; Arnd Bergmann; Mauro Carvalho Chehab; Steven Toth; > Michael Krufky; LKML; David Dajun Chen > Subject: Re: [NEW DRIVE

RE: [NEW DRIVER V6 6/7] drivers/hwmon: DA9058 HWMON driver

2013-04-21 Thread Opensource [Anthony Olech]
> -Original Message- > From: Guenter Roeck [mailto:li...@roeck-us.net] > Sent: 20 April 2013 18:35 > To: Lars-Peter Clausen > Cc: Opensource [Anthony Olech]; Jean Delvare; Mark Brown; Randy Dunlap; > lm-sens...@lm-sensors.org; LKML; David Dajun Chen > Subject: R

[NEW DRIVER V6 2/7] drivers/iio/adc: DA9058 ADC driver

2013-04-19 Thread Anthony Olech
-next.git - removed redundant #include - changed to using devm_request_threaded_irq() - corrected dates on copyright statements Signed-off-by: Anthony Olech Signed-off-by: David Dajun Chen --- drivers/iio/adc/Kconfig | 12 ++ drivers/iio/adc/Makefile |1 + drivers/iio/adc/da9058

[NEW DRIVER V6 3/7] drivers/input/misc: DA9058 ONKEY driver

2013-04-19 Thread Anthony Olech
next-20130419 in git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git - removed redundant #include - changed to using devm_request_threaded_irq() - replaced the very descriptive error exit labels by err1 and err1 - corrected dates on copyright statements Signed-off-by: Anthony Olech

[NEW DRIVER V6 6/7] drivers/hwmon: DA9058 HWMON driver

2013-04-19 Thread Anthony Olech
ultiple exit points in functions when no common code is to be executed. - aligned continuation lines to preceeding '(' or indent + 2 tabs - removed redundant mutex hwmon_lock - merged 6 duplicate lines from 2 branches of if statement Signed-off-by: Anthony Olech Signed-off-by: David Da

[NEW DRIVER V6 4/7] drivers/rtc: DA9058 RTC driver

2013-04-19 Thread Anthony Olech
-20130419 in git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git - removed redundant #include - changed to using devm_request_threaded_irq() - replaced the very descriptive error exit labels by err1 and err1 - corrected dates on copyright statements Signed-off-by: Anthony Olech

[NEW DRIVER V6 7/7] drivers/regulator: DA9058 REGULATOR driver

2013-04-19 Thread Anthony Olech
no common code is to be executed. - embedded a regulator_init_data in the platform data Signed-off-by: Anthony Olech Signed-off-by: David Dajun Chen --- drivers/regulator/Kconfig| 11 ++ drivers/regulator/Makefile |1 + drivers/regulator/da9058-regulator.c | 199

[NEW DRIVER V6 5/7] drivers/gpio: DA9058 GPIO driver

2013-04-19 Thread Anthony Olech
been documented in the driver source. Changes relative to V5 of this patch: - rebased to next-20130419 in git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git - removed redundant #include - corrected dates on copyright statements Signed-off-by: Anthony Olech Signed-off-by: David Dajun

[NEW DRIVER V6 0/7] DA9058 PMIC - please comment on this new driver

2013-04-19 Thread Anthony Olech
en adhered to, but if I have missed something please let me know. In a clean check out of next-20130419 in linux-next, each patch has been applied individually and the final result has been built successfully. Many thanks, Anthony Olech, Dialog Semiconductor Ltd. Tony Olech (at Home) (7): d

[NEW DRIVER V6 6/7] drivers/hwmon: DA9058 HWMON driver

2013-04-19 Thread Anthony Olech
ultiple exit points in functions when no common code is to be executed. - aligned continuation lines to preceeding '(' or indent + 2 tabs - removed redundant mutex hwmon_lock - merged 6 duplicate lines from 2 branches of if statement Signed-off-by: Anthony Olech Signed-off-by: David Da

[NEW DRIVER V6 7/7] drivers/regulator: DA9058 REGULATOR driver

2013-04-19 Thread Anthony Olech
no common code is to be executed. - embedded a regulator_init_data in the platform data Signed-off-by: Anthony Olech Signed-off-by: David Dajun Chen --- drivers/regulator/Kconfig| 11 ++ drivers/regulator/Makefile |1 + drivers/regulator/da9058-regulator.c | 199

[NEW DRIVER V6 0/7] DA9058 PMIC - please comment on this new driver

2013-04-19 Thread Anthony Olech
en adhered to, but if I have missed something please let me know. In a clean check out of next-20130419 in linux-next, each patch has been applied individually and the final result has been built successfully. Many thanks, Anthony Olech, Dialog Semiconductor Ltd. Tony Olech (at Home) (7): d

RE: CodingStyle

2013-04-18 Thread Opensource [Anthony Olech]
> -Original Message- > From: Guenter Roeck [mailto:li...@roeck-us.net] > Sent: 18 April 2013 14:42 > To: Opensource [Anthony Olech] > Cc: LKML > Subject: Re: CodingStyle > > On Thu, Apr 18, 2013 at 10:48:06AM +0000, Opensource [Anthony Olech] > wrote:

CodingStyle

2013-04-18 Thread Opensource [Anthony Olech]
> -Original Message- > From: Guenter Roeck [mailto:li...@roeck-us.net] > Sent: 18 April 2013 05:14 > To: Opensource [Anthony Olech] > Cc: Jean Delvare; Mark Brown; Randy Dunlap; lm-sens...@lm-sensors.org; > LKML; David Dajun Chen > Subject: Re: [NEW DRIVER V5 6/7]

[NEW DRIVER V5 2/7] drivers/iio/adc: DA9058 ADC driver

2013-04-17 Thread Anthony Olech
da9058_adc_channels as static const - changed to prefered style of nested struct instantiation - change to .info_mask_separate in struct instantiation - remove scan_mask - removed clearing of platform_set_drvdata Signed-off-by: Anthony Olech Signed-off-by: David Dajun Chen --- drivers/iio/adc/Kconfig | 12

[NEW DRIVER V5 3/7] drivers/input/misc: DA9058 ONKEY driver

2013-04-17 Thread Anthony Olech
tagged linux-next - previously relative to mainline Signed-off-by: Anthony Olech Signed-off-by: David Dajun Chen --- drivers/input/misc/Kconfig| 10 +++ drivers/input/misc/Makefile |1 + drivers/input/misc/da9058_onkey.c | 177 + 3 files

[NEW DRIVER V5 4/7] drivers/rtc: DA9058 RTC driver

2013-04-17 Thread Anthony Olech
linux-next - previously relative to mainline - changed seq_printf to seq_puts where there are no format effectors Signed-off-by: Anthony Olech Signed-off-by: David Dajun Chen --- drivers/rtc/Kconfig | 10 + drivers/rtc/Makefile |1 + drivers/rtc/rtc-da9058.c | 458

[NEW DRIVER V5 5/7] drivers/gpio: DA9058 GPIO driver

2013-04-17 Thread Anthony Olech
documented in the driver source. Changes relative to V4 of this patch: - rebased to latest tagged linux-next - previously relative to mainline Signed-off-by: Anthony Olech Signed-off-by: David Dajun Chen --- drivers/gpio/Kconfig | 12 ++ drivers/gpio/Makefile |1 + drivers/gpio/gpio

[NEW DRIVER V5 6/7] drivers/hwmon: DA9058 HWMON driver

2013-04-17 Thread Anthony Olech
driver da9058-hwmon +== + +Supported chips: + * Dialog Semiconductor DA9058 PMIC +Prefix: 'da9058' +Datasheet: + http://www.dialog-semiconductor.com/products/power-management/da9058 + +Authors: Opensource [Anthony Olech] + +Description +--- +

[NEW DRIVER V5 7/7] drivers/regulator: DA9058 REGULATOR driver

2013-04-17 Thread Anthony Olech
tagged linux-next - previously relative to mainline drivers/regulator/da9058-regulator.c - use generic regulator_set_voltage_time_sel for triggered BUCKs - print erroneous ret value in dev_err - changed all names with uV to uv just to confuse and upset all physicists Signed-off-by: Anthony Olech

[NEW DRIVER V5 0/7] DA9058 PMIC - please comment on this new driver

2013-04-17 Thread Anthony Olech
nt drivers have been adhered to, but if I have missed something please let me know. Many thanks, Anthony Olech, Dialog Semiconductor Ltd. Tony Olech (at Home) (7): drivers/mfd: DA9058 MFD core driver drivers/iio/adc: DA9058 ADC driver drivers/input/misc: DA9058 ONKEY driver drivers/rtc:

RE: [NEW DRIVER V4 2/7] DA9058 ADC driver

2013-04-16 Thread Opensource [Anthony Olech]
> [...] > please always test your drivers against the latest upstream version before > submitting them. > [...] Hi Lars, The driver was tested against linux mainline tag v3.9-rc6, because that was the most recent tagged commit in git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

RE: [NEW DRIVER V4 7/7] DA9058 REGULATOR driver

2013-04-16 Thread Opensource [Anthony Olech]
> -Original Message- > From: Guenter Roeck [mailto:li...@roeck-us.net] > Sent: 16 April 2013 14:36 > To: Opensource [Anthony Olech] > Cc: LKML > Subject: Re: [NEW DRIVER V4 7/7] DA9058 REGULATOR driver > > On Tue, Apr 16, 2013 at 09:17:27AM +0000, Opensource

RE: [NEW DRIVER V4 3/7] DA9058 ONKEY driver

2013-04-16 Thread Opensource [Anthony Olech]
> -Original Message- > From: Randy Dunlap [mailto:rdun...@infradead.org] > Sent: 12 April 2013 21:02 > To: Opensource [Anthony Olech] > Cc: Dmitry Torokhov; Mark Brown; Samuel Ortiz; Ashish Jangam; Eric > Andersson; Andrew Jones; linux-in...@vger.kernel.org; LKML

RE: [NEW DRIVER V4 7/7] DA9058 REGULATOR driver

2013-04-16 Thread Opensource [Anthony Olech]
> -Original Message- > From: Mark Brown [mailto:broo...@kernel.org] > Sent: 12 April 2013 14:27 > To: Opensource [Anthony Olech] > Cc: Liam Girdwood; Guenter Roeck; Jean Delvare; Randy Dunlap; LKML; David > Dajun Chen > Subject: Re: [NEW DRIVER V4 7/7] DA9058 REGULATOR

RE: [NEW DRIVER V4 0/7] DA9058 PMIC - please comment on this new driver

2013-04-16 Thread Opensource [Anthony Olech]
> -Original Message- > From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] > Sent: 12 April 2013 19:07 > To: Opensource [Anthony Olech] > Cc: LKML; Alessandro Zummo > Subject: Re: [NEW DRIVER V4 0/7] DA9058 PMIC - please comment on this new > driver > On Frid

RE: [NEW DRIVER V4 7/7] DA9058 REGULATOR driver

2013-04-16 Thread Opensource [Anthony Olech]
> -Original Message- > From: Guenter Roeck [mailto:li...@roeck-us.net] > Sent: 15 April 2013 18:46 > To: Opensource [Anthony Olech] > Cc: LKML > Subject: Re: [NEW DRIVER V4 7/7] DA9058 REGULATOR driver > > On Mon, Apr 15, 2013 at 05:29:13PM +0000, Opensource

RE: [NEW DRIVER V4 7/7] DA9058 REGULATOR driver

2013-04-15 Thread Opensource [Anthony Olech]
> -Original Message- > From: Guenter Roeck [mailto:li...@roeck-us.net] > Sent: 15 April 2013 17:36 > To: Opensource [Anthony Olech] > Cc: LKML > Subject: Re: [NEW DRIVER V4 7/7] DA9058 REGULATOR driver > > On Mon, Apr 15, 2013 at 03:00:58PM +0000, Opensource

RE: [NEW DRIVER V4 7/7] DA9058 REGULATOR driver

2013-04-15 Thread Opensource [Anthony Olech]
> -Original Message- > From: Guenter Roeck [mailto:li...@roeck-us.net] > Sent: 12 April 2013 14:32 > To: Opensource [Anthony Olech] > Cc: Mark Brown; Liam Girdwood; Jean Delvare; Randy Dunlap; LKML; David > Dajun Chen > Subject: Re: [NEW DRIVER V4 7/7] DA9058 REGULAT

[NEW DRIVER V4 2/7] DA9058 ADC driver

2013-04-12 Thread Anthony Olech
from the DA9058 CORE driver, whose settings may be overridden from the platform data supplied from the machine driver. Signed-off-by: Anthony Olech Signed-off-by: David Dajun Chen --- drivers/iio/adc/Kconfig | 14 ++ drivers/iio/adc/Makefile |1 + drivers/iio/adc/da9058-adc.c

[NEW DRIVER V4 3/7] DA9058 ONKEY driver

2013-04-12 Thread Anthony Olech
This is the ONKEY component driver of the Dialog DA9058 PMIC. This driver is just one component of the whole DA9058 PMIC driver. It depends on the CORE component driver of the DA9058 MFD. Signed-off-by: Anthony Olech Signed-off-by: David Dajun Chen --- drivers/input/misc/Kconfig| 10

[NEW DRIVER V4 4/7] DA9058 RTC driver

2013-04-12 Thread Anthony Olech
This is the RTC component driver of the Dialog DA9058 PMIC. This driver is just one component of the whole DA9058 PMIC driver. It depends on the CORE component driver of the DA9058 MFD. Signed-off-by: Anthony Olech Signed-off-by: David Dajun Chen --- drivers/rtc/Kconfig | 10 + drivers

[NEW DRIVER V4 0/7] DA9058 PMIC - please comment on this new driver

2013-04-12 Thread Anthony Olech
GPIO and a 3-wire I2C connection. All the components can be builtin to the kernel or compiled as modules. As far as I can tell, all the latest APIs both for the core driver and all the component drivers have been adhered to, but if I have missed something please let me know. Many thanks, Ant

[NEW DRIVER V4 5/7] DA9058 GPIO driver

2013-04-12 Thread Anthony Olech
: Anthony Olech Signed-off-by: David Dajun Chen --- drivers/gpio/Kconfig | 12 ++ drivers/gpio/Makefile |1 + drivers/gpio/gpio-da9058.c | 377 3 files changed, 390 insertions(+) create mode 100644 drivers/gpio/gpio-da9058.c diff --git a

[NEW DRIVER V4 7/7] DA9058 REGULATOR driver

2013-04-12 Thread Anthony Olech
names such as min_uV are in CamelCase, when it is obvious that they are not in CamelCase I have ignored them. Signed-off-by: Anthony Olech Signed-off-by: David Dajun Chen --- drivers/regulator/Kconfig| 11 ++ drivers/regulator/Makefile |1 + drivers/regulator/da9058

[NEW DRIVER V4 6/7] DA9058 HWMON driver

2013-04-12 Thread Anthony Olech
This is the HWMON component driver of the Dialog DA9058 PMIC. This driver is just one component of the whole DA9058 PMIC driver. It depends on the CORE and ADC component drivers of the DA9058 MFD. Signed-off-by: Anthony Olech Signed-off-by: David Dajun Chen --- Documentation/hwmon/da9058

RE: [NEW DRIVER V3 8/8] DA9058 REGULATOR driver

2012-09-17 Thread Opensource [Anthony Olech]
> -Original Message- > From: Mark Brown [mailto:broo...@opensource.wolfsonmicro.com] > Sent: 17 September 2012 12:33 > To: Opensource [Anthony Olech] > Cc: Liam Girdwood; Guenter Roeck; Jean Delvare; Randy Dunlap; LKML; David > Dajun Chen > Subject: Re: [NEW DRIVER V3

RE: [NEW DRIVER V3 8/8] DA9058 REGULATOR driver

2012-09-17 Thread Opensource [Anthony Olech]
> -Original Message- > From: Mark Brown [mailto:broo...@opensource.wolfsonmicro.com] > Sent: 17 September 2012 12:16 > To: Opensource [Anthony Olech] > Cc: Liam Girdwood; Guenter Roeck; Jean Delvare; Randy Dunlap; LKML; David > Dajun Chen > Subject: Re: [NEW DRIVER V3

RE: [NEW DRIVER V3 8/8] DA9058 REGULATOR driver

2012-09-17 Thread Opensource [Anthony Olech]
> -Original Message- > From: Mark Brown [mailto:broo...@opensource.wolfsonmicro.com] > Sent: 17 September 2012 11:40 > To: Opensource [Anthony Olech] > Cc: Liam Girdwood; Guenter Roeck; Jean Delvare; Randy Dunlap; LKML; David > Dajun Chen > Subject: Re: [NEW DRIVER V3

RE: [NEW DRIVER V3 8/8] DA9058 REGULATOR driver

2012-09-17 Thread Opensource [Anthony Olech]
> -Original Message- > From: Mark Brown [mailto:broo...@opensource.wolfsonmicro.com] > Sent: 27 August 2012 17:51 > To: Opensource [Anthony Olech] > Cc: Liam Girdwood; Guenter Roeck; Jean Delvare; Randy Dunlap; LKML; David > Dajun Chen > Subject: Re: [NEW DRIVER V3

RE: [NEW DRIVER V3 1/8] DA9058 MFD core driver

2012-08-16 Thread Opensource [Anthony Olech]
> -Original Message- > From: Mark Brown [mailto:broo...@opensource.wolfsonmicro.com] > Sent: 15 August 2012 19:53 > To: Opensource [Anthony Olech] > Cc: Samuel Ortiz; Arnd Bergmann; Mauro Carvalho Chehab; Steven Toth; > Michael Krufky; LKML; David Dajun Chen > Subject:

[NEW DRIVER V3 8/8] DA9058 REGULATOR driver

2012-08-15 Thread Anthony Olech
This is the REGULATOR component driver of the Dialog DA9058 PMIC. This driver is just one component of the whole DA9058 PMIC driver. It depends on the CORE component driver of the DA9058 MFD. Signed-off-by: Anthony Olech Signed-off-by: David Dajun Chen --- drivers/regulator/Kconfig

[NEW DRIVER V3 7/8] DA9058 HWMON driver

2012-08-15 Thread Anthony Olech
This is the HWMON component driver of the Dialog DA9058 PMIC. This driver is just one component of the whole DA9058 PMIC driver. It depends on the CORE and ADC component drivers of the DA9058 MFD. Signed-off-by: Anthony Olech Signed-off-by: David Dajun Chen --- Documentation/hwmon/da9058

[NEW DRIVER V3 5/8] DA9058 RTC driver

2012-08-15 Thread Anthony Olech
This is the RTC component driver of the Dialog DA9058 PMIC. This driver is just one component of the whole DA9058 PMIC driver. It depends on the CORE component driver of the DA9058 MFD. Signed-off-by: Anthony Olech Signed-off-by: David Dajun Chen --- drivers/rtc/Kconfig | 10 + drivers

[NEW DRIVER V3 4/8] DA9058 POWER driver

2012-08-15 Thread Anthony Olech
This is the POWER component driver of the Dialog DA9058 PMIC. This driver is just one component of the whole DA9058 PMIC driver. It depends on the CORE and ADC component drivers of the DA9058 MFD. Signed-off-by: Anthony Olech Signed-off-by: David Dajun Chen --- drivers/power/Kconfig

[NEW DRIVER V3 6/8] DA9058 GPIO driver

2012-08-15 Thread Anthony Olech
: Anthony Olech Signed-off-by: David Dajun Chen --- drivers/gpio/Kconfig | 12 ++ drivers/gpio/Makefile |1 + drivers/gpio/gpio-da9058.c | 367 3 files changed, 380 insertions(+), 0 deletions(-) create mode 100644 drivers/gpio/gpio-da9058

[NEW DRIVER V3 0/8] DA9058 PMIC - please comment on this new driver

2012-08-15 Thread Anthony Olech
now. Many thanks, Anthony Olech, Dialog Semiconductor Ltd. Tony Olech (at Home) (8): DA9058 MFD core driver DA9058 ADC driver DA9058 ONKEY driver DA9058 POWER driver DA9058 RTC driver DA9058 GPIO driver DA9058 HWMON driver DA9058 REGULATOR driver Documentation/hwmon/da9058

[NEW DRIVER V3 2/8] DA9058 ADC driver

2012-08-15 Thread Anthony Olech
, adc); + iio_device_free(idev); + + return 0; +} + +static struct platform_driver da9058_adc_driver = { + .probe = da9058_adc_probe, + .remove = __devexit_p(da9058_adc_remove), + .driver = { + .name = "da9058-adc", + .owner = THIS_MODULE,

[NEW DRIVER V3 3/8] DA9058 ONKEY driver

2012-08-15 Thread Anthony Olech
This is the ONKEY component driver of the Dialog DA9058 PMIC. This driver is just one component of the whole DA9058 PMIC driver. It depends on the CORE component driver of the DA9058 MFD. Signed-off-by: Anthony Olech Signed-off-by: David Dajun Chen --- drivers/input/misc/Kconfig| 10

RE: [NEW DRIVER V2 5/7] DA9058 GPIO driver

2012-08-15 Thread Opensource [Anthony Olech]
> -Original Message- > From: Linus Walleij [mailto:linus.wall...@linaro.org] > Sent: 13 August 2012 14:10 > To: Opensource [Anthony Olech] > Cc: Grant Likely; Linus Walleij; Mark Brown; LKML; David Dajun Chen; Samuel > Ortiz; Lee Jones > Subject: Re: [NEW DRIVER V2 5/

RE: [PATCH] regmap-irq: allow auto-allocated IRQs to be mapped

2012-08-08 Thread Opensource [Anthony Olech]
> -Original Message- > From: Mark Brown [mailto:broo...@opensource.wolfsonmicro.com] > Sent: 07 August 2012 18:02 > To: Opensource [Anthony Olech] > Cc: LKML; David Dajun Chen > Subject: Re: [PATCH] regmap-irq: allow auto-allocated IRQs to be mapped > On Tue, Aug 0

RE: [NEW DRIVER V1 5/7] DA9058 GPIO driver

2012-08-08 Thread Opensource [Anthony Olech]
> -Original Message- > From: Mark Brown [mailto:broo...@opensource.wolfsonmicro.com] > Sent: 07 August 2012 18:15 > To: Opensource [Anthony Olech] > Cc: LKML > Subject: Re: [NEW DRIVER V1 5/7] DA9058 GPIO driver > On Mon, Aug 06, 2012 at 03:15:17PM +, Opensource [A

RE: [PATCH] regmap-irq: allow auto-allocated IRQs to be mapped

2012-08-07 Thread Opensource [Anthony Olech]
> -Original Message- > From: Mark Brown [mailto:broo...@opensource.wolfsonmicro.com] > Sent: 07 August 2012 15:03 > On Tue, Aug 07, 2012 at 11:18:20AM +, Opensource [Anthony Olech] > wrote: > > if you don't TOP POST how can you tell who wrote what? > Well,

RE: [lm-sensors] [NEW DRIVER V2 6/7] DA9058 HWMON driver

2012-08-07 Thread Opensource [Anthony Olech]
> -Original Message- > From: Guenter Roeck [mailto:li...@roeck-us.net] > Sent: 06 August 2012 18:40 > To: Opensource [Anthony Olech] > Cc: Guenter Roeck; Jean Delvare; Randy Dunlop; Mark Brown; David Dajun > Chen; LKML; lm-sens...@lm-sensors.org > Subject: Re: [lm-sens

RE: [PATCH] regmap-irq: allow auto-allocated IRQs to be mapped

2012-08-07 Thread Opensource [Anthony Olech]
if you don't TOP POST how can you tell who wrote what? see my comments embedded below -Original Message- From: Mark Brown [mailto:broo...@opensource.wolfsonmicro.com] Sent: 04 August 2012 11:54 To: Opensource [Anthony Olech] Cc: LKML; Anthony Olech; David Dajun Chen Subject: Re: [

RE: [NEW DRIVER V2 1/7] DA9058 MFD core and ADC driver

2012-08-07 Thread Opensource [Anthony Olech]
al Message- From: Venu Byravarasu [mailto:vbyravar...@nvidia.com] Sent: 06 August 2012 09:38 To: Opensource [Anthony Olech]; Samuel Ortiz Cc: Mark Brown; Arnd Bergmann; Mauro Carvalho Chehab; Steven Toth; Michael Krufky; LKML; David Dajun Chen Subject: RE: [NEW DRIVER V2 1/7] DA9058 MFD core and

RE: [NEW DRIVER V1 5/7] DA9058 GPIO driver

2012-08-06 Thread Opensource [Anthony Olech]
why a driver mutex is required in addition to the regmap's register access mutex Tony Olech -Original Message- From: Mark Brown [mailto:broo...@opensource.wolfsonmicro.com] Sent: 02 August 2012 11:20 To: Opensource [Anthony Olech] Cc: LKML Subject: Re: [NEW DRIVER V1 5/7] DA9058 GPIO d

[NEW DRIVER V2 1/7] DA9058 MFD core and ADC driver

2012-08-06 Thread Anthony Olech
essential to provide any real platform data at all. Signed-off-by: Anthony Olech Signed-off-by: David Dajun Chen --- drivers/mfd/Kconfig | 18 ++ drivers/mfd/Makefile |3 + drivers/mfd/da9058-core.c| 268 +++ drivers/mfd/da9058

[NEW DRIVER V2 2/7] DA9058 ONKEY driver

2012-08-06 Thread Anthony Olech
This is the ONKEY component driver of the Dialog DA9058 PMIC. This driver is just one component of the whole DA9058 PMIC driver. It depends on the core DA9058 MFD driver. Signed-off-by: Anthony Olech Signed-off-by: David Dajun Chen --- drivers/input/misc/Kconfig| 10 ++ drivers/input

[NEW DRIVER V2 3/7] DA9058 POWER driver

2012-08-06 Thread Anthony Olech
This is the POWER component driver of the Dialog DA9058 PMIC. This driver is just one component of the whole DA9058 PMIC driver. It depends on the core DA9058 MFD driver. Signed-off-by: Anthony Olech Signed-off-by: David Dajun Chen --- drivers/power/Kconfig| 10 + drivers/power

[NEW DRIVER V2 4/7] DA9058 RTC driver

2012-08-06 Thread Anthony Olech
This is the RTC component driver of the Dialog DA9058 PMIC. This driver is just one component of the whole DA9058 PMIC driver. It depends on the core DA9058 MFD driver. Signed-off-by: Anthony Olech Signed-off-by: David Dajun Chen --- drivers/rtc/Kconfig | 10 + drivers/rtc/Makefile

  1   2   >