st_gdata data members.
Hold spin lock while calling st_reg_complete if st_kim_start() fails.
Signed-off-by: Oleksandr Kozaruk
---
drivers/misc/ti-st/st_core.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/misc/ti-st/st_core.c b/drivers/misc/ti-st/st_core.c
index 0a14280..8d64b68 100644
#x27;m guessing a consumer would be in some_board.dts, and describe it as
battery_consumer {
io-channels = <&adc 1>, <&adc 7>, <&adc 8>;
...
}
The purpose of the channels is not arbitrary but dedicated to certain functions
in
Add required documentation for twl6030 GPADC device tree
bindings.
Signed-off-by: Oleksandr Kozaruk
---
.../devicetree/bindings/iio/adc/twl6030-gpadc.txt | 45 ++
1 file changed, 45 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/adc/twl6030
Using devm_iio_device_alloc and devm_request_threaded_irq makes
code simpler.
Signed-off-by: Oleksandr Kozaruk
---
drivers/iio/adc/twl6030-gpadc.c | 36 ++--
1 file changed, 10 insertions(+), 26 deletions(-)
diff --git a/drivers/iio/adc/twl6030-gpadc.c b/drivers
), and
OMAP4470(twl6032) SOMs.
The patches were tested against 3.11-rc2
Oleksandr Kozaruk (2):
ARM: dts: twl: Add GPADC data to device tree
iio: twl6030-gpadc: TWL6030, TWL6032 GPADC driver
arch/arm/boot/dts/twl6030.dtsi |6 +
drivers/iio/adc/Kconfig | 14 +
drivers/iio/adc/Ma
values are interpreted differently.
Based on the driver patched from Balaji TK, Graeme Gregory, Ambresh K,
Girish S Ghongdemath.
Signed-off-by: Balaji T K
Signed-off-by: Graeme Gregory
Signed-off-by: Oleksandr Kozaruk
---
drivers/iio/adc/Kconfig | 14 +
drivers/iio/adc/Makefile
GPADC is the general purpose ADC present on twl6030.
The dt data is interrupt used to trigger end of ADC
conversion.
Signed-off-by: Oleksandr Kozaruk
---
arch/arm/boot/dts/twl6030.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/twl6030.dtsi b/arch/arm/boot/dts
On Sat, Jul 20, 2013 at 11:43:42AM +0100, Jonathan Cameron wrote:
> On 07/19/2013 10:27 AM, Oleksandr Kozaruk wrote:
> > The GPADC is general purpose ADC found on TWL6030, and TWL6032 PMIC,
> > known also as Phoenix and PhoenixLite.
> >
> > The TWL6030 and TWL603
pt instead;
- iio framework is used
Tested with on blaze tablet 2 with OMAP4430(twl6030), and
OMAP4470(twl6032) SOMs.
The patches were tested against 3.11-rc2
Oleksandr Kozaruk (2):
ARM: dts: twl: Add GPADC data to device tree
iio: twl6030-gpadc: TWL6030, TWL6032 GPADC driver
arch/arm/boot/dts
GPADC is the general purpose ADC present on twl6030.
The dt data is interrupt used to trigger end of ADC
conversion.
Signed-off-by: Oleksandr Kozaruk
---
arch/arm/boot/dts/twl6030.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/twl6030.dtsi b/arch/arm/boot/dts
values are interpreted differently.
Based on the driver patched from Balaji TK, Graeme Gregory, Ambresh K,
Girish S Ghongdemath.
Signed-off-by: Balaji T K
Signed-off-by: Graeme Gregory
Signed-off-by: Oleksandr Kozaruk
---
drivers/iio/adc/Kconfig | 14 +
drivers/iio/adc/Makefile
Hi Jonathan,
On Sat, Jul 20, 2013 at 1:43 PM, Jonathan Cameron wrote:
> On 07/19/2013 10:27 AM, Oleksandr Kozaruk wrote:
>> The GPADC is general purpose ADC found on TWL6030, and TWL6032 PMIC,
>> known also as Phoenix and PhoenixLite.
>>
>> The TWL6030 and TWL603
>>>> conversion.
>
>
>>>> Signed-off-by: Oleksandr Kozaruk
>>>> ---
>>>> arch/arm/boot/dts/twl6030.dtsi | 6 ++
>>>> 1 file changed, 6 insertions(+)
>
>
>>>> diff --git a/arch/arm/boot/dts/twl6030.dtsi
>>>
values are interpreted differently.
Based on the driver patched from Balaji TK, Graeme Gregory, Ambresh K,
Girish S Ghongdemath.
Signed-off-by: Balaji T K
Signed-off-by: Graeme Gregory
Signed-off-by: Oleksandr Kozaruk
---
drivers/iio/adc/Kconfig | 14 +
drivers/iio/adc/Makefile
GPADC is the general purpose ADC present on twl6030.
The dt data is interrupt used to trigger end of ADC
conversion.
Signed-off-by: Oleksandr Kozaruk
---
arch/arm/boot/dts/twl6030.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/twl6030.dtsi b/arch/arm/boot/dts
ablet 2 with OMAP4430(twl6030), and
OMAP4470(twl6032) SOMs.
The patches were tested against 3.10-rc7
Oleksandr Kozaruk (2):
ARM: dts: twl: Add GPADC data to device tree
iio: twl6030-gpadc: TWL6030, TWL6032 GPADC driver
arch/arm/boot/dts/twl6030.dtsi | 6 +
drivers/iio/adc/Kconfig
Hello Lars,
On Thu, Jul 18, 2013 at 12:48 PM, Lars-Peter Clausen wrote:
> On 07/18/2013 10:36 AM, Oleksandr Kozaruk wrote:
>> Hello Lars,
>>
>> On Wed, Jul 17, 2013 at 9:04 PM, Lars-Peter Clausen wrote:
>>>> +static int twl6032_calibration
Hello Lars,
On Wed, Jul 17, 2013 at 9:04 PM, Lars-Peter Clausen wrote:
>> +static int twl6032_calibration(struct twl6030_gpadc_data *gpadc)
>> +{
>> + int chn, d1 = 0, d2 = 0, temp;
>> + u8 trim_regs[17];
>> + int ret;
>> +
>> + ret = twl_i2c_read(TWL6030_MODULE_ID2, trim_regs + 1
On Mon, Jul 15, 2013 at 01:33:53PM +0200, Lars-Peter Clausen wrote:
> On 07/15/2013 01:09 PM, Kozaruk, Oleksandr wrote:
> [...]
> >
> >>> + ret = devm_request_threaded_irq(dev, irq, NULL,
> >>> + twl6030_gpadc_irq_handler,
> >>> + IRQF_ONESHOT, "twl6030_gpadc", gpadc);
> >>
> >> You access mem
he patches were tested against 3.10-rc7
Oleksandr Kozaruk (2):
ARM: dts: twl: Add GPADC data to device tree
iio: twl6030-gpadc: TWL6030, TWL6032 GPADC driver
arch/arm/boot/dts/twl6030.dtsi |6 +
drivers/iio/adc/Kconfig | 14 +
drivers/iio/adc/Makefile|1 +
dri
values are interpreted differently.
Based on the driver patched from Balaji TK, Graeme Gregory, Ambresh K,
Girish S Ghongdemath.
Signed-off-by: Balaji T K
Signed-off-by: Graeme Gregory
Signed-off-by: Oleksandr Kozaruk
---
drivers/iio/adc/Kconfig | 14 +
drivers/iio/adc/Makefile
GPADC is the general purpose ADC present on twl6030.
The dt data is interrupt used to trigger end of ADC
conversion.
Signed-off-by: Oleksandr Kozaruk
---
arch/arm/boot/dts/twl6030.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/twl6030.dtsi b/arch/arm/boot/dts
Hello Jonathan,
>Two very quick comments based on quick glance as it may be a while
before I can do a full review.
>We still have channels that are only usable for temperature being
output to user space as voltage channels? Is the conversion so very hard?
Can you please clarify what should
version and use interrupt instead;
- iio framework is used
Tested with on blaze tablet 2 with OMAP4430(twl6030), and
OMAP4470(twl6032) SOMs.
The patches were tested against 3.10-rc7
Oleksandr Kozaruk (2):
ARM: dts: twl: Add GPADC data to device tree
iio: twl6030-gpadc: TWL6030, TWL6032 GPADC dr
values are interpreted differently.
Based on the driver patched from Balaji TK, Graeme Gregory, Ambresh K,
Girish S Ghongdemath.
Signed-off-by: Balaji T K
Signed-off-by: Graeme Gregory
Signed-off-by: Oleksandr Kozaruk
---
drivers/iio/adc/Kconfig | 14 +
drivers/iio/adc/Makefile
GPADC is the general purpose ADC present on twl6030.
The dt data is interrupt used to trigger end of ADC
conversion.
Signed-off-by: Oleksandr Kozaruk
---
arch/arm/boot/dts/twl6030.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/twl6030.dtsi b/arch/arm/boot/dts
GPADC is the general purpose ADC present on twl6030.
The dt data is interrupt used to trigger end of ADC
conversion.
Signed-off-by: Oleksandr Kozaruk
---
arch/arm/boot/dts/twl6030.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/twl6030.dtsi b/arch/arm/boot/dts
values are interpreted differently.
Based on the driver patched from Balaji TK, Graeme Gregory, Ambresh K,
Girish S Ghongdemath.
Signed-off-by: Balaji T K
Signed-off-by: Graeme Gregory
Signed-off-by: Oleksandr Kozaruk
---
drivers/iio/adc/Kconfig | 14 +
drivers/iio/adc/Makefile
GPADC is the general purpose ADC present on twl6030.
The dt data is interrupt used to trigger end of ADC
conversion.
Signed-off-by: Oleksandr Kozaruk
---
arch/arm/boot/dts/twl6030.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/twl6030.dtsi b/arch/arm/boot/dts
version and use interrupt instead;
- iio framework is used
Tested with on blaze tablet 2 with OMAP4430(twl6030), and
OMAP4470(twl6032) SOMs.
The patches were tested against 3.10-rc7
Oleksandr Kozaruk (2):
ARM: dts: twl: Add GPADC data to device tree
iio: twl6030-gpadc: TWL6030, TWL6032 GPADC dr
values are interpreted differently.
Based on the driver patched from Balaji TK, Graeme Gregory, Ambresh K,
Girish S Ghongdemath.
Signed-off-by: Balaji T K
Signed-off-by: Graeme Gregory
Signed-off-by: Oleksandr Kozaruk
---
drivers/iio/adc/Kconfig | 14 +
drivers/iio/adc/Makefile
GPADC is the general purpose ADC present on twl6030.
The dt data is interrupt used to trigger end of ADC
conversion.
Signed-off-by: Oleksandr Kozaruk
---
arch/arm/boot/dts/twl6030.dtsi |6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/twl6030.dtsi b/arch/arm/boot
values are interpreted differently.
The driver exports function returning converted value for
requested channels.
Based on the driver patched from Balaji TK, Graeme Gregory, Ambresh K,
Girish S Ghongdemath.
Signed-off-by: Balaji T K
Graeme Gregory
Signed-off-by: Oleksandr Kozaruk
---
drivers/iio
Tested with on blaze tablet 2 with OMAP4430(twl6030), and
OMAP4470(twl6032) SOMs.
The patches were tested against 3.10-rc7
Oleksandr Kozaruk (2):
ARM: dts: twl: Add GPADC data to device tree
iio: twl6030-gpadc: TWL6030, TWL6032 GPADC driver
arch/arm/boot/dts/twl6030.dtsi |6 +
drivers/
values are interpreted differently.
The driver exports function returning converted value for
requested channels.
Based on the driver patched from Balaji TK, Graeme Gregory, Ambresh K,
Girish S Ghongdemath.
Signed-off-by: Balaji T K
Graeme Gregory
Signed-off-by: Oleksandr Kozaruk
---
drivers/iio
blaze tablet 2 with OMAP4430(twl6030), and
OMAP4470(twl6032) SOMs.
The patches were tested against 3.10-rc7
Oleksandr Kozaruk (2):
ARM: dts: twl: Add GPADC data to device tree
iio: twl6030-gpadc: TWL6030, TWL6032 GPADC driver
arch/arm/boot/dts/twl6030.dtsi |6 +
drivers/iio/adc/Kconfig
GPADC is the general purpose ADC present on twl6030.
The dt data is interrupt used to trigger end of ADC
conversion.
Signed-off-by: Oleksandr Kozaruk
---
arch/arm/boot/dts/twl6030.dtsi |6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/twl6030.dtsi b/arch/arm/boot
GPADC is the general purpose ADC present on twl6030.
The dt data is interrupt used to trigger end of ADC
conversion.
Signed-off-by: Oleksandr Kozaruk
---
arch/arm/boot/dts/twl6030.dtsi |5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/twl6030.dtsi b/arch/arm/boot/dts
ported external function interface to the driver.
Tested with on blaze tablet 2 with OMAP4430(twl6030), and
OMAP4470(twl6032) SOMs.
The patches were tested against 3.10-rc7
Oleksandr Kozaruk (2):
ARM: dts: twl: Add GPADC data to device tree
mfd: twl6030-gpadc: TWL6030, TWL6032 GPADC driver
..
values are interpreted differently.
The driver exports function returning converted value for
requested channels.
Based on the driver patched from Balaji TK, Graeme Gregory, Ambresh K,
Girish S Ghongdemath.
Signed-off-by: Balaji T K
Graeme Gregory
Signed-off-by: Oleksandr Kozaruk
---
.../testing
there are no users of TWL6025 in the code.
Signed-off-by: Graeme Gregory
Signed-off-by: Oleksandr Kozaruk
Acked-by: Lee Jones
---
There are non-mainline branches that use twl6032 by its name (for example
git://git.omapzoom.org/kernel/omap.git). There is intention to add support
of twl6032 device
On 06/13/2013 11:17 AM, Oleksandr Kozaruk wrote:
On Fri, Jun 7, 2013 at 5:44 PM, <mailto:g...@slimlogic.co.uk>> wrote:
>
> On 2013-06-07 15:36, Mark Brown wrote:
>>
>> On Fri, Jun 07, 2013 at 01:53:10PM +0300, Oleksandr Kozaruk wrote:
>>>
>>> Fro
On 06/07/2013 05:44 PM, g...@slimlogic.co.uk wrote:
On 2013-06-07 15:36, Mark Brown wrote:
On Fri, Jun 07, 2013 at 01:53:10PM +0300, Oleksandr Kozaruk wrote:
From: Graeme Gregory
The TWL6025 was never released beyond sample form and was replaced by
the PhoenixLite range of chips - TWL6032
On 06/07/2013 05:44 PM, g...@slimlogic.co.uk wrote:
On 2013-06-07 15:36, Mark Brown wrote:
On Fri, Jun 07, 2013 at 01:53:10PM +0300, Oleksandr Kozaruk wrote:
From: Graeme Gregory
The TWL6025 was never released beyond sample form and was replaced by
the PhoenixLite range of chips - TWL6032
On 06/07/2013 05:44 PM, g...@slimlogic.co.uk wrote:
On 2013-06-07 15:36, Mark Brown wrote:
On Fri, Jun 07, 2013 at 01:53:10PM +0300, Oleksandr Kozaruk wrote:
From: Graeme Gregory
The TWL6025 was never released beyond sample form and was replaced by
the PhoenixLite range of chips - TWL6032
there is no users of TWL6025 in the code.
Signed-off-by: Graeme Gregory
Signed-off-by: Oleksandr Kozaruk
---
There are non-mainline branches that use twl6032 by its name (for example
git://git.omapzoom.org/kernel/omap.git). There is intention to add support
of twl6032 device in mainline, but we
46 matches
Mail list logo