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 TWL6032 have GPADC with 17 and 19 channels
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 balaj...@ti.com
Signed-off-by: Graeme Gregory g...@slimlogic.co.uk
Signed-off-by: Oleksandr Kozaruk oleksandr.koza...@ti.com
---
drivers/iio/adc
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 oleksandr.koza...@ti.com
---
arch/arm/boot/dts/twl6030.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/twl6030
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/Makefile|1 +
drivers/iio/adc
Hi Jonathan,
On Sat, Jul 20, 2013 at 1:43 PM, Jonathan Cameron ji...@kernel.org 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 TWL6032 have GPADC with 17
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 oleksandr.koza...@ti.com
---
arch/arm/boot/dts/twl6030.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/twl6030
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 balaj...@ti.com
Signed-off-by: Graeme Gregory g...@slimlogic.co.uk
Signed-off-by: Oleksandr Kozaruk oleksandr.koza...@ti.com
---
drivers/iio/adc
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/twl6030.dtsi | 6 +
drivers/iio/adc
-by: Oleksandr Kozaruk oleksandr.koza...@ti.com
---
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/twl6030.dtsi
index 2e3bd31..d7d4c28 100644
--- a/arch/arm/boot/dts/twl6030.dtsi
+++ b/arch/arm
Hello Lars,
On Thu, Jul 18, 2013 at 12:48 PM, Lars-Peter Clausen l...@metafoo.de 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 l...@metafoo.de wrote:
+static int twl6032_calibration(struct twl6030_gpadc_data *gpadc
), 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 | 14 +
drivers/iio/adc/Makefile
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 balaj...@ti.com
Signed-off-by: Graeme Gregory g...@slimlogic.co.uk
Signed-off-by: Oleksandr Kozaruk oleksandr.koza...@ti.com
---
drivers/iio/adc
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 oleksandr.koza...@ti.com
---
arch/arm/boot/dts/twl6030.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/twl6030
Hello Lars,
On Wed, Jul 17, 2013 at 9:04 PM, Lars-Peter Clausen l...@metafoo.de 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 +
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
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 +
drivers/iio/adc/twl6030-gpadc.c | 1026
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 balaj...@ti.com
Signed-off-by: Graeme Gregory g...@slimlogic.co.uk
Signed-off-by: Oleksandr Kozaruk oleksandr.koza...@ti.com
---
drivers/iio/adc
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 oleksandr.koza...@ti.com
---
arch/arm/boot/dts/twl6030.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/twl6030
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 memory in the interrupt
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 oleksandr.koza...@ti.com
---
arch/arm/boot/dts/twl6030.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/twl6030
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 balaj...@ti.com
Signed-off-by: Graeme Gregory g...@slimlogic.co.uk
Signed-off-by: Oleksandr Kozaruk oleksandr.koza...@ti.com
---
drivers/iio/adc
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 driver
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 oleksandr.koza...@ti.com
---
arch/arm/boot/dts/twl6030.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/twl6030
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 balaj...@ti.com
Signed-off-by: Graeme Gregory g...@slimlogic.co.uk
Signed-off-by: Oleksandr Kozaruk oleksandr.koza...@ti.com
---
drivers/iio/adc
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 driver
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 oleksandr.koza...@ti.com
---
arch/arm/boot/dts/twl6030.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/twl6030
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 balaj...@ti.com
Signed-off-by: Graeme Gregory g...@slimlogic.co.uk
Signed-off-by: Oleksandr Kozaruk oleksandr.koza...@ti.com
---
drivers/iio/adc
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/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 oleksandr.koza...@ti.com
---
arch/arm/boot/dts/twl6030.dtsi |6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/twl6030
-by: Oleksandr Kozaruk oleksandr.koza...@ti.com
---
drivers/iio/adc/Kconfig |8 +
drivers/iio/adc/Makefile|1 +
drivers/iio/adc/twl6030-gpadc.c | 1019 +++
3 files changed, 1028 insertions(+)
create mode 100644 drivers/iio/adc/twl6030-gpadc.c
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 |8
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 oleksandr.koza...@ti.com
---
arch/arm/boot/dts/twl6030.dtsi |6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/twl6030
-by: Oleksandr Kozaruk oleksandr.koza...@ti.com
---
drivers/iio/adc/Kconfig |8 +
drivers/iio/adc/Makefile|1 +
drivers/iio/adc/twl6030-gpadc.c | 1019 +++
3 files changed, 1028 insertions(+)
create mode 100644 drivers/iio/adc/twl6030-gpadc.c
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
.../testing/sysfs
-by: Oleksandr Kozaruk oleksandr.koza...@ti.com
---
.../testing/sysfs-devices-platform-twl6030_gpadc |5 +
drivers/mfd/Kconfig|8 +
drivers/mfd/Makefile |1 +
drivers/mfd/twl6030-gpadc.c| 1053
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 oleksandr.koza...@ti.com
---
arch/arm/boot/dts/twl6030.dtsi |5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/twl6030
confusion.
Currently there are no users of TWL6025 in the code.
Signed-off-by: Graeme Gregory g...@slimlogic.co.uk
Signed-off-by: Oleksandr Kozaruk oleksandr.koza...@ti.com
Acked-by: Lee Jones lee.jo...@linaro.org
---
There are non-mainline branches that use twl6032 by its name (for example
git
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 g...@slimlogic.co.uk
The TWL6025 was never released beyond sample form and was replaced by
the PhoenixLite range
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 g...@slimlogic.co.uk
The TWL6025 was never released beyond sample form and was replaced by
the PhoenixLite range
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 g...@slimlogic.co.uk
The TWL6025 was never released beyond sample form and was replaced by
the PhoenixLite range
On 06/13/2013 11:17 AM, Oleksandr Kozaruk wrote:
On Fri, Jun 7, 2013 at 5:44 PM, g...@slimlogic.co.uk
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:
From: Graeme Gregory g...@slimlogic.co.uk
confusion.
Currently there is no users of TWL6025 in the code.
Signed-off-by: Graeme Gregory g...@slimlogic.co.uk
Signed-off-by: Oleksandr Kozaruk oleksandr.koza...@ti.com
---
There are non-mainline branches that use twl6032 by its name (for example
git://git.omapzoom.org/kernel/omap.git
42 matches
Mail list logo