Re: [PATCH V5] ARM: mach-shmobile: Don't init CNTVOFF/counter if PSCI is available

2019-05-24 Thread Oleksandr
Hello, all Gentle reminder... -- Regards, Oleksandr Tyshchenko

Re: [RFC PATCH] ARM: mach-shmobile: Parse DT to get ARCH timer memory region

2019-05-13 Thread Oleksandr
On 13.05.19 12:19, Julien Grall wrote: Hi, Hi, Julien, Geert On 5/10/19 5:22 PM, Oleksandr Tyshchenko wrote: From: Oleksandr Tyshchenko Don't use hardcoded address, retrieve it from device-tree instead. And besides, this patch fixes the memory error when running on top o

Re: [RFC PATCH] ARM: mach-shmobile: Parse DT to get ARCH timer memory region

2019-05-13 Thread Oleksandr
On 13.05.19 18:13, Geert Uytterhoeven wrote: Hi Oleksandr, Hi Geert So, if the DT bindings for the counter module is not an option (if I correctly understood a discussion pointed by Geert in another letter), we should probably prevent all timer code here from being executed if PSCI is in

Re: [RFC PATCH] ARM: mach-shmobile: Parse DT to get ARCH timer memory region

2019-05-14 Thread Oleksandr
On 14.05.19 10:16, Geert Uytterhoeven wrote: Hi Oleksandr, Hi Geert On Mon, May 13, 2019 at 6:00 PM Oleksandr wrote: On 13.05.19 18:13, Geert Uytterhoeven wrote: So, if the DT bindings for the counter module is not an option (if I correctly understood a discussion pointed by Geert in

Re: [PATCH V4] ARM: mach-shmobile: Don't init CNTVOFF/counter if PSCI is available

2019-05-14 Thread Oleksandr
On 14.05.19 19:13, Julien Grall wrote: Hi, Hi Julien On 14/05/2019 17:06, Oleksandr Tyshchenko wrote: diff --git a/arch/arm/mach-shmobile/setup-rcar-gen2.c b/arch/arm/mach-shmobile/setup-rcar-gen2.c index eea60b2..64e3abd 100644 --- a/arch/arm/mach-shmobile/setup-rcar-gen2.c +++ b/arch

Re: [PATCH V5] ARM: mach-shmobile: Don't init CNTVOFF/counter if PSCI is available

2019-05-28 Thread Oleksandr
On 28.05.19 11:27, Geert Uytterhoeven wrote: Hi Oleksandr, Hi Geert, all Thanks for the update! Reviewed-by: Geert Uytterhoeven Thank you for review! Just FYI: Required support for Gen2 Stout board has been already added to Xen [1]. What needs to be done next is to add support for

Re: [PATCH V5] ARM: mach-shmobile: Don't init CNTVOFF/counter if PSCI is available

2019-05-28 Thread Oleksandr
Oleksandr, could I trouble you to respin with the changes suggested by Geert? Hi, Simon. Sure, will send an updated patch tomorrow. -- Regards, Oleksandr Tyshchenko

Re: [v4,0/3] iommu/ipmmu-vmsa: r8a7796 support V4

2017-09-12 Thread Oleksandr
Hi, all. Gentle reminder. On 05.09.17 19:52, Oleksandr wrote: Hi, Magnus, maintainers, all. On 19.06.17 14:04, Magnus Damm wrote: iommu/ipmmu-vmsa: r8a7796 support V4 [PATCH v4 1/3] iommu/ipmmu-vmsa: Add r8a7796 DT binding [PATCH v4 2/3] iommu/ipmmu-vmsa: Increase maximum micro-TLBS to 48

Re: [PATCH] block,bfq: Disable writeback throttling

2017-09-14 Thread oleksandr
Tested-by: Oleksandr Natalenko Similarly to CFQ, BFQ has its write-throttling heuristics, and it is better not to combine them with further write-throttling heuristics of a different nature. So this commit disables write-back throttling for a device if BFQ is used as I/O scheduler for that

Re: I/O hangs after resuming from suspend-to-ram

2017-08-29 Thread oleksandr
Hello. Addressing your questions below. Can't reproduce even with putting dmcypt on raid10 after applying my patch. Just a side note, that dm-crypt is not necessary here — I am able to trigger hang with RAID10 and LVM only. BTW, could you share us which blk-mq scheduler you are using on s

Re: I/O hangs after resuming from suspend-to-ram

2017-08-30 Thread oleksandr
Hi. So, current summary: 1) first patch + debug patch: I can reproduce the issue in wild, but not with pm_test set; 2) first patch + debug patch + second patch: I cannot reproduce issue at all, neither with "none", nor with "mq-deadline". Thus, "blk-mq: align to legacy path for implementing

Re: [PATCH BUGFIX/IMPROVEMENT 0/3] three bfq fixes restoring service guarantees with random sync writes in bg

2017-08-30 Thread oleksandr
Tested-by: Oleksander Natalenko I'm "Oleksandr" :). 31.08.2017 08:10, Paolo Valente wrote: Hi, while testing the read-write unfairness issues reported by Mel, I found BFQ failing to guarantee good responsiveness against heavy random sync writes in the background, i.e., multipl

Re: [v4,0/3] iommu/ipmmu-vmsa: r8a7796 support V4

2017-09-05 Thread Oleksandr
Hi, Magnus, maintainers, all. On 19.06.17 14:04, Magnus Damm wrote: iommu/ipmmu-vmsa: r8a7796 support V4 [PATCH v4 1/3] iommu/ipmmu-vmsa: Add r8a7796 DT binding [PATCH v4 2/3] iommu/ipmmu-vmsa: Increase maximum micro-TLBS to 48 [PATCH v4 3/3] iommu/ipmmu-vmsa: Hook up r8a7796 DT matching code

[PATCH v5 1/2] staging: iio: Documentation sysfs-bus-iio add power_mode

2013-08-28 Thread Oleksandr Kravchenko
Add description about in_accelX_power_mode and in_accel_power_mode_available. Signed-off-by: Oleksandr Kravchenko --- Documentation/ABI/testing/sysfs-bus-iio | 10 ++ 1 file changed, 10 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing

[PATCH v5 2/2] iio: add Bosch BMA180 acceleration sensor driver

2013-08-28 Thread Oleksandr Kravchenko
: Oleksandr Kravchenko --- .../devicetree/bindings/iio/accel/bma180.txt | 24 + drivers/iio/accel/Kconfig | 12 + drivers/iio/accel/Makefile |2 + drivers/iio/accel/bma180.c | 676 4 files

Re: [PATCH v5 1/2] staging: iio: Documentation sysfs-bus-iio add power_mode

2013-08-28 Thread Oleksandr Kravchenko
Please ignore this patch, it is wrong -- 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 v5 2/2] iio: add Bosch BMA180 acceleration sensor driver

2013-08-28 Thread Oleksandr Kravchenko
: Oleksandr Kravchenko --- .../devicetree/bindings/iio/accel/bma180.txt | 24 + drivers/iio/accel/Kconfig | 12 + drivers/iio/accel/Makefile |2 + drivers/iio/accel/bma180.c | 676 4 files

[PATCH v5 1/2] staging: iio: Documentation sysfs-bus-iio add power_mode

2013-08-28 Thread Oleksandr Kravchenko
Add description about in_accelX_power_mode and in_accel_power_mode_available. Signed-off-by: Oleksandr Kravchenko --- Documentation/ABI/testing/sysfs-bus-iio | 10 ++ 1 file changed, 10 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing

[PATCH] drivers: misc: ti-st: fix potential race if st_kim_start fails

2013-08-29 Thread Oleksandr Kozaruk
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

[PATCH v2 1/2] ARM: dts: twl: Add GPADC data to device tree

2013-07-10 Thread Oleksandr Kozaruk
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

[PATCH v2 0/2] TWL6030, TWL6032 GPADC driver

2013-07-10 Thread Oleksandr Kozaruk
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

[PATCH v2 2/2] iio: twl6030-gpadc: TWL6030, TWL6032 GPADC driver

2013-07-10 Thread Oleksandr Kozaruk
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

[PATCH] iio: add APDS9300 ambilent light sensor driver

2013-07-10 Thread Oleksandr Kravchenko
From: Oleksandr Kravchenko This patch adds IIO driver for APDS9300 ambilent light sensor (ALS). http://www.avagotech.com/docs/AV02-1077EN The driver allows to read raw data from ADC registers or calculate lux value. It also can handle threshold inrerrupt. Signed-off-by: Oleksandr Kravchenko

[PATCH v3 0/2] TWL6030, TWL6032 GPADC driver

2013-07-12 Thread Oleksandr Kozaruk
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/

[PATCH v3 1/2] ARM: dts: twl: Add GPADC data to device tree

2013-07-12 Thread Oleksandr Kozaruk
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

[PATCH v3 2/2] iio: twl6030-gpadc: TWL6030, TWL6032 GPADC driver

2013-07-12 Thread Oleksandr Kozaruk
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

RE: [PATCH v1 2/2] mfd: twl6030-gpadc: TWL6030, TWL6032 GPADC driver

2013-07-13 Thread Kozaruk, Oleksandr
>> >> 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 Gregor

RE: [PATCH v1 2/2] mfd: twl6030-gpadc: TWL6030, TWL6032 GPADC driver

2013-07-13 Thread Kozaruk, Oleksandr
>I'd rather go straight on to review v4 with my comments addressed, if >it's all the same to you? Sure. Thank you. Best regards, OK.-- 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.

Re: [RFC v1] MFD: Change TWL6025 references to TWL6032

2013-06-13 Thread Oleksandr Kozaruk
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

Re: [RFC v1] MFD: Change TWL6025 references to TWL6032

2013-06-13 Thread Oleksandr Kozaruk
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

Re: [RFC v1] MFD: Change TWL6025 references to TWL6032

2013-06-13 Thread Oleksandr Kozaruk
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

Re: [RFC v1] MFD: Change TWL6025 references to TWL6032

2013-06-13 Thread Oleksandr Kozaruk
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

[PATCH] MFD: Change TWL6025 references to TWL6032

2013-06-19 Thread Oleksandr Kozaruk
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

Re: [PATCH 1/1] i2c: omap: correct usage of the interrupt enable register

2013-05-30 Thread Oleksandr Dmytryshyn
On 05/29/2013 08:22 PM, Kevin Hilman wrote: Oleksandr Dmytryshyn writes: Starting from the OMAP chips with version2 registers scheme there are 2 registers (I2C_IRQENABLE_SET and I2C_IRQENABLE_CLR) to manage interrupts instead of the older OMAP chips with old scheme which have only one

Re: [PATCH 1/1] i2c: omap: correct usage of the interrupt enable register

2013-05-30 Thread Oleksandr Dmytryshyn
On 05/30/2013 05:18 PM, Kevin Hilman wrote: Oleksandr Dmytryshyn writes: On 05/29/2013 08:22 PM, Kevin Hilman wrote: Oleksandr Dmytryshyn writes: Starting from the OMAP chips with version2 registers scheme there are 2 registers (I2C_IRQENABLE_SET and I2C_IRQENABLE_CLR) to manage

[PATCH v2 0/1] i2c: omap: correct usage of the interrupt enable register

2013-05-30 Thread Oleksandr Dmytryshyn
E register. But with my patch interrupts are disabled in the omap_i2c_runtime_suspend() function. Next patch fixes it. Patch is based on: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git tag: v3.10-rc2 Verified on OMAP4430. Oleksandr Dmytryshyn (1): i2c: omap: correct usage of the

[PATCH v2 1/1] i2c: omap: correct usage of the interrupt enable register

2013-05-30 Thread Oleksandr Dmytryshyn
addresses, the interrupt enabling procedure is unchanged. Signed-off-by: Oleksandr Dmytryshyn --- drivers/i2c/busses/i2c-omap.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c index e02f9e3..2419899

Re: [PATCH v2 1/1] i2c: omap: correct usage of the interrupt enable register

2013-05-31 Thread Oleksandr Dmytryshyn
On 05/30/2013 07:46 PM, Kevin Hilman wrote: Oleksandr Dmytryshyn writes: If the i2c controller during suspend will generate an interrupt, it can lead to unpredictable behaviour in the kernel. Based on the logic of the kernel code interrupts from i2c should be prohibited during suspend

[PATCH v3 1/1] i2c: omap: correct usage of the interrupt enable register

2013-05-31 Thread Oleksandr Dmytryshyn
addresses, the interrupt enabling procedure is unchanged. Change-Id: Ie49165990a4e7c67a4ccf2e4a66cd3b78f2e2b70 Signed-off-by: Oleksandr Dmytryshyn --- drivers/i2c/busses/i2c-omap.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/drivers/i2c/busses/i2c-omap.c b

[PATCH v3 0/1] i2c: omap: correct usage of the interrupt enable register

2013-05-31 Thread Oleksandr Dmytryshyn
led in the omap_i2c_runtime_suspend() function. This has been working up until now because we've just been lucky. Next patch fixes it. Patch is based on: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git tag: v3.10-rc2 Verified on OMAP4430. Oleksandr Dmytryshyn (1): i2c

[PATCH v4 0/1] i2c: omap: correct usage of the interrupt enable register

2013-05-31 Thread Oleksandr Dmytryshyn
) function. This has been working up until now because we've just been lucky. Next patch fixes it. Patch is based on: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git tag: v3.10-rc2 Verified on OMAP4430. Oleksandr Dmytryshyn (1): i2c: omap: correct usage of the i

[PATCH v4 1/1] i2c: omap: correct usage of the interrupt enable register

2013-05-31 Thread Oleksandr Dmytryshyn
addresses, the interrupt enabling procedure is unchanged. Signed-off-by: Oleksandr Dmytryshyn --- drivers/i2c/busses/i2c-omap.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c index e02f9e3..64c26f9

[PATCH v5] i2c: omap: correct usage of the interrupt enable register

2013-06-03 Thread Oleksandr Dmytryshyn
s based on: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git tag: v3.10-rc2 Verified on OMAP4430. Signed-off-by: Oleksandr Dmytryshyn --- drivers/i2c/busses/i2c-omap.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/drivers/i2c/busses/i2

[RFC v1] MFD: Change TWL6025 references to TWL6032

2013-06-07 Thread Oleksandr Kozaruk
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&#

[PATCH v1 0/2] TWL6030, TWL6032 GPADC driver

2013-06-27 Thread Oleksandr Kozaruk
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 ..

[PATCH v1 2/2] mfd: twl6030-gpadc: TWL6030, TWL6032 GPADC driver

2013-06-27 Thread Oleksandr Kozaruk
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

[PATCH v1 1/2] ARM: dts: twl: Add GPADC data to device tree

2013-06-27 Thread Oleksandr Kozaruk
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

Re: [PATCH v3] iio: add Bosch BMA180 acceleration sensor driver

2013-08-15 Thread Oleksandr Kravchenko
On Thu, Aug 15, 2013 at 1:22 PM, Jonathan Cameron wrote: > On 08/13/13 16:44, Oleksandr Kravchenko wrote: >> This patch adds IIO driver for Bosch BMA180 triaxial >> acceleration sensor. >> http://dlnmh9ip6v2uc.cloudfront.net/datasheets/ >> Sensors/Acce

RE: [PATCH v8 0/2] TWL6030, TWL6032 GPADC driver

2013-08-15 Thread Kozaruk, Oleksandr
w that there is nothing else to be specified. >> >> Yup, that's why. Also, Linux isn't necessarily the only consumer, and >> other consumers shouldn't need to read Linux code to figure out how a >> particular binding is supposed to look. >> &

Re: [PATCH v3] iio: add Bosch BMA180 acceleration sensor driver

2013-08-16 Thread Oleksandr Kravchenko
On Thu, Aug 15, 2013 at 8:57 PM, Jonathan Cameron wrote: > On 08/15/13 14:41, Oleksandr Kravchenko wrote: >> On Thu, Aug 15, 2013 at 1:22 PM, Jonathan Cameron wrote: >>> On 08/13/13 16:44, Oleksandr Kravchenko wrote: >>>> This patch adds IIO driver for Bosch BMA

[PATCH v4 1/2] staging: iio: Documentation sysfs-bus-iio add power_mode

2013-08-16 Thread Oleksandr Kravchenko
Add description about in_accelX_power_mode and in_accel_power_mode_available. Signed-off-by: Oleksandr Kravchenko --- Documentation/ABI/testing/sysfs-bus-iio | 10 ++ 1 file changed, 10 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing

[PATCH v4 2/2] iio: add Bosch BMA180 acceleration sensor driver

2013-08-16 Thread Oleksandr Kravchenko
This patch adds IIO driver for Bosch BMA180 triaxial acceleration sensor. http://dlnmh9ip6v2uc.cloudfront.net/datasheets/ Sensors/Accelerometers/BST-BMA180-DS000-07_2.pdf Signed-off-by: Oleksandr Kravchenko --- .../devicetree/bindings/iio/accel/bma180.txt | 24 + drivers

[PATCH] iio: adc: twl6030-gpadc: Use devm_* API family

2013-08-19 Thread Oleksandr Kozaruk
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

[PATCH] iio: adc: Add bindigs documentation for twl6030 GPADC

2013-08-19 Thread Oleksandr Kozaruk
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

RE: [PATCH v3 2/2] iio: twl6030-gpadc: TWL6030, TWL6032 GPADC driver

2013-07-15 Thread Kozaruk, Oleksandr
Hello Lars-Peter, Thank you for the review. >> diff --git a/drivers/iio/adc/twl6030-gpadc.c >> b/drivers/iio/adc/twl6030-gpadc.c >> new file mode 100644 >> index 000..6ceb789 >> --- /dev/null >> +++ b/drivers/iio/adc/twl6030-gpadc.c >> @@ -0,0 +1,1019 @@ >[...] >> +static u8 twl6032_channel_t

Re: [PATCH] iio: add APDS9300 ambilent light sensor driver

2013-07-15 Thread Oleksandr Kravchenko
er that is freed > before the irq is freed. Do you mean than that indio_dev may be used in interrupt handler after iio_device_free(indio_dev) called in als_remove() function? If so, can I use disable_irq() in als_remove() before iio_device_free() to avoid this problem? On Fri, Jul 12, 2013 at 8:

RE: [PATCH v3 2/2] iio: twl6030-gpadc: TWL6030, TWL6032 GPADC driver

2013-07-15 Thread Kozaruk, Oleksandr
Hello Jonathan, Thanks for the review. >Couple of things: > >1) It looks from the driver that a lot of the channels are not measuring >voltages but rather temperature or currents etc. If so then their >types in the channel mask should be appropriately set. Also if some >of the channels are entir

Re: [PATCH] iio: add APDS9300 ambilent light sensor driver

2013-07-15 Thread Oleksandr Kravchenko
I can't to find devm_iio_device_alloc() in my kernel v3.11-rc1 On Mon, Jul 15, 2013 at 3:35 PM, Lars-Peter Clausen wrote: > On 07/15/2013 02:27 PM, Oleksandr Kravchenko wrote: >> Thank you for review! But I don't completely understand one of your comment: >> >>

[PATCH 2/2] iio: twl6030-gpadc: TWL6030, TWL6032 GPADC driver

2013-07-16 Thread Oleksandr Kozaruk
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

[PATCH 1/2] ARM: dts: twl: Add GPADC data to device tree

2013-07-16 Thread Oleksandr Kozaruk
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

[PATCH v4 0/2] TWL6030, TWL6032 GPADC driver

2013-07-16 Thread Oleksandr Kozaruk
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

[PATCH v4 2/2] iio: twl6030-gpadc: TWL6030, TWL6032 GPADC driver

2013-07-16 Thread Oleksandr Kozaruk
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

[PATCH v4 1/2] ARM: dts: twl: Add GPADC data to device tree

2013-07-16 Thread Oleksandr Kozaruk
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

[PATCH v4 1/2] ARM: dts: twl: Add GPADC data to device tree

2013-07-16 Thread Oleksandr Kozaruk
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

[PATCH v4 0/2] TWL6030, TWL6032 GPADC driver

2013-07-16 Thread Oleksandr Kozaruk
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

[PATCH v4 2/2] iio: twl6030-gpadc: TWL6030, TWL6032 GPADC driver

2013-07-16 Thread Oleksandr Kozaruk
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

Re: [PATCH 2/2] iio: twl6030-gpadc: TWL6030, TWL6032 GPADC driver

2013-07-17 Thread Oleksandr Kozaruk
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

[PATCH v5 1/2] ARM: dts: twl: Add GPADC data to device tree

2013-07-17 Thread Oleksandr Kozaruk
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

[PATCH v5 0/2] TWL6030, TWL6032 GPADC driver

2013-07-17 Thread Oleksandr Kozaruk
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

[PATCH v5 2/2] iio: twl6030-gpadc: TWL6030, TWL6032 GPADC driver

2013-07-17 Thread Oleksandr Kozaruk
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

Re: [PATCH v3 2/2] iio: twl6030-gpadc: TWL6030, TWL6032 GPADC driver

2013-07-17 Thread Oleksandr Kozaruk
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_ONESHO

Re: [PATCH v5 2/2] iio: twl6030-gpadc: TWL6030, TWL6032 GPADC driver

2013-07-18 Thread Oleksandr Kozaruk
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

[PATCH 1/3] iio: core: implement devm_iio_device_alloc/devm_iio_device_free

2013-07-18 Thread Oleksandr Kravchenko
c"] Signed-off-by: Oleksandr Kravchenko Tested-by: Oleksandr Kravchenko --- drivers/iio/industrialio-core.c | 47 +++ include/linux/iio/iio.h | 25 + 2 files changed, 72 insertions(+) diff --git a/drivers/iio/industrialio-c

[PATCH 3/3] iio: add APDS9300 ambilent light sensor driver

2013-07-18 Thread Oleksandr Kravchenko
From: Oleksandr Kravchenko This patch adds IIO driver for APDS9300 ambient light sensor (ALS). http://www.avagotech.com/docs/AV02-1077EN The driver allows to read raw data from ADC registers or calculate lux value. It also can handle threshold interrupt. Signed-off-by: Oleksandr Kravchenko

[PATCH 2/3] of: Add Avago Technologies vendor prefix

2013-07-18 Thread Oleksandr Kravchenko
From: Oleksandr Kravchenko This commit adds a device tree vendor prefix for Avago Technologies. Signed-off-by: Oleksandr Kravchenko --- .../devicetree/bindings/vendor-prefixes.txt|1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor

[PATCH 2/3] of: Add Avago Technologies vendor prefix

2013-07-18 Thread Oleksandr Kravchenko
From: Oleksandr Kravchenko This commit adds a device tree vendor prefix for Avago Technologies. Signed-off-by: Oleksandr Kravchenko --- .../devicetree/bindings/vendor-prefixes.txt|1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor

[PATCH 1/3] iio: core: implement devm_iio_device_alloc/devm_iio_device_free

2013-07-18 Thread Oleksandr Kravchenko
c"] Signed-off-by: Oleksandr Kravchenko Tested-by: Oleksandr Kravchenko --- drivers/iio/industrialio-core.c | 47 +++ include/linux/iio/iio.h | 25 + 2 files changed, 72 insertions(+) diff --git a/drivers/iio/industrialio-c

[PATCH 3/3] iio: add APDS9300 ambilent light sensor driver

2013-07-18 Thread Oleksandr Kravchenko
From: Oleksandr Kravchenko This patch adds IIO driver for APDS9300 ambient light sensor (ALS). http://www.avagotech.com/docs/AV02-1077EN The driver allows to read raw data from ADC registers or calculate lux value. It also can handle threshold interrupt. Signed-off-by: Oleksandr Kravchenko

Re: [PATCH 3/3] iio: add APDS9300 ambilent light sensor driver

2013-07-18 Thread Oleksandr Kravchenko
Please ignore this patch. It is wrong. On Thu, Jul 18, 2013 at 12:44 PM, Oleksandr Kravchenko wrote: > From: Oleksandr Kravchenko > > This patch adds IIO driver for APDS9300 ambient light sensor (ALS). > http://www.avagotech.com/docs/AV02-1077EN > > The driver allows to read

[PATCH 1/2] ARM: OMAP4: Tablet: Add BMA180 sensor

2013-07-29 Thread Oleksandr Kravchenko
From: Oleksandr Kravchenko Add Bosch BMA180 acceleration sensor devicetree Signed-off-by: Oleksandr Kravchenko --- arch/arm/boot/dts/omap4-sdp.dts | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/omap4-sdp.dts b/arch/arm/boot/dts/omap4-sdp.dts index

[PATCH 2/2] iio: add Bosch BMA180 acceleration sensor driver

2013-07-29 Thread Oleksandr Kravchenko
From: Oleksandr Kravchenko This patch adds IIO driver for Bosch BMA180 triaxial acceleration sensor. http://omapworld.com/BMA180_111_1002839.pdf Signed-off-by: Oleksandr Kravchenko --- .../devicetree/bindings/iio/accel/bma180.txt | 53 +++ drivers/iio/accel/Kconfig

Re: [PATCH 2/2] iio: add Bosch BMA180 acceleration sensor driver

2013-08-02 Thread Oleksandr Kravchenko
or the Bosch BMA180 >>> + triaxial acceleration sensor. >>> + >>> + To compile this driver as a module, choose M here: the >>> + module will be called bma180. >>> + >>> config HID_SENSOR_ACCEL_3D >>> depends on HID_SENSOR_HUB

Re: [PATCH] iio: adc: Add bindigs documentation for twl6030 GPADC

2013-08-20 Thread Oleksandr Kozaruk
Hi Mark, On Tue, Aug 20, 2013 at 12:12 PM, Mark Rutland wrote: > Hi Oleksandr, > > [Adding Jonathan Cameron and Guenter Roeck to Cc] > > Apologies for the delay replying to this. In attempting to verify this > made sense I went and read the IIO bindings documentation, and I

[PATCH] iio: core: Avoid double minus in sysfs output

2013-07-18 Thread Oleksandr Kravchenko
From: Oleksandr Kravchenko This patch fixes the issue with double minus in output when reading channels from sysfs for IIO_VAL_INT_PLUS_MICRO and IIO_VAL_INT_PLUS_NANO cases. Until this patch if val and val2 both are negatives output string contains "--" before digits. It is resu

Re: [PATCH] iio: core: Avoid double minus in sysfs output

2013-07-18 Thread Oleksandr Kravchenko
On Thu, Jul 18, 2013 at 7:24 PM, Lars-Peter Clausen wrote: > On 07/18/2013 05:47 PM, Oleksandr Kravchenko wrote: >> From: Oleksandr Kravchenko >> >> This patch fixes the issue with double minus in output when >> reading channels from sysfs for IIO_VAL_INT_PLUS_MICRO a

Re: [PATCH v5 2/2] iio: twl6030-gpadc: TWL6030, TWL6032 GPADC driver

2013-07-19 Thread Oleksandr Kozaruk
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

[PATCH v6 1/2] ARM: dts: twl: Add GPADC data to device tree

2013-07-19 Thread Oleksandr Kozaruk
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

[PATCH v6 0/2] TWL6030, TWL6032 GPADC driver

2013-07-19 Thread Oleksandr Kozaruk
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

[PATCH v6 2/2] iio: twl6030-gpadc: TWL6030, TWL6032 GPADC driver

2013-07-19 Thread Oleksandr Kozaruk
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

Re: [PATCH v6 1/2] ARM: dts: twl: Add GPADC data to device tree

2013-07-19 Thread Oleksandr Kozaruk
>>>> 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 >>>

Re: [PATCH v6 2/2] iio: twl6030-gpadc: TWL6030, TWL6032 GPADC driver

2013-07-22 Thread Oleksandr Kozaruk
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

Re: [PATCH] iio: core: Avoid double minus in sysfs output

2013-07-22 Thread Oleksandr Kravchenko
Please ignore this patch for now. I'll rework it soon. It issues warnings when compiling. On Sat, Jul 20, 2013 at 12:06 AM, Jonathan Cameron wrote: > On 07/19/2013 07:15 AM, Oleksandr Kravchenko wrote: >> On Thu, Jul 18, 2013 at 7:24 PM, Lars-Peter Clausen wrote: >>>

[PATCH] iio: core: Avoid double minus in sysfs output

2013-07-22 Thread Oleksandr Kravchenko
From: Oleksandr Kravchenko This patch fixes the issue with double minus in output when reading channels from sysfs for IIO_VAL_INT_PLUS_MICRO and IIO_VAL_INT_PLUS_NANO cases. Until this patch if val and val2 both are negatives output string contains "--" before digits. It is resu

[PATCH] iio: core: Avoid double minus in sysfs output

2013-07-22 Thread Oleksandr Kravchenko
From: Oleksandr Kravchenko This patch fixes the issue with double minus in output when reading channels from sysfs for IIO_VAL_INT_PLUS_MICRO and IIO_VAL_INT_PLUS_NANO cases. Until this patch if val and val2 both are negatives output string contains "--" before digits. It is resu

[PATCH v7 2/2] iio: twl6030-gpadc: TWL6030, TWL6032 GPADC driver

2013-07-22 Thread Oleksandr Kozaruk
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

[PATCH v7 1/2] ARM: dts: twl: Add GPADC data to device tree

2013-07-22 Thread Oleksandr Kozaruk
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

[PATCH v7 0/2] TWL6030, TWL6032 GPADC driver

2013-07-22 Thread Oleksandr Kozaruk
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

[PATCH v3 1/2] of: Add Avago Technologies vendor prefix

2013-07-22 Thread Oleksandr Kravchenko
From: Oleksandr Kravchenko This commit adds a device tree vendor prefix for Avago Technologies. Signed-off-by: Oleksandr Kravchenko --- .../devicetree/bindings/vendor-prefixes.txt|1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor

[PATCH v3 2/2] iio: add APDS9300 ambilent light sensor driver

2013-07-22 Thread Oleksandr Kravchenko
From: Oleksandr Kravchenko This patch adds IIO driver for APDS9300 ambient light sensor (ALS). http://www.avagotech.com/docs/AV02-1077EN The driver allows to read raw data from ADC registers or calculate lux value. It also can handle threshold interrupt. Signed-off-by: Oleksandr Kravchenko

[PATCH] Documentation: devres: add IIO device alloc/free functions to list

2013-07-23 Thread Oleksandr Kravchenko
From: Oleksandr Kravchenko Add devm_iio_device_alloc() and devm_iio_device_free() functions to list of supported calls. Signed-off-by: Oleksandr Kravchenko --- Documentation/driver-model/devres.txt |4 1 file changed, 4 insertions(+) diff --git a/Documentation/driver-model

  1   2   3   4   5   6   7   8   9   10   >