[RFC v1 0/1] introduce regulator chain locking scheme

2013-04-15 Thread Grygorii Strashko
? Grygorii Strashko (1): regulator: core: introduce regulator chain locking scheme drivers/regulator/core.c | 134 -- include/linux/regulator/driver.h |2 + 2 files changed, 88 insertions(+), 48 deletions(-) Regards Grygorii Strashko Cc: linux

[RFC v1] regulator: core: introduce regulator chain locking scheme

2013-04-15 Thread Grygorii Strashko
: Mike Turquette mturque...@linaro.org Cc: Nishanth Menon n...@ti.com Cc: Tero Kristo t-kri...@ti.com Cc: linux-omap linux-o...@vger.kernel.org Cc: linux-arm linux-arm-ker...@lists.infradead.org Signed-off-by: Grygorii Strashko grygorii.stras...@ti.com --- drivers/regulator/core.c | 134

Re: [RFC v1] regulator: core: introduce regulator chain locking scheme

2013-04-18 Thread Grygorii Strashko
On 04/15/2013 07:40 PM, Mark Brown wrote: On Mon, Apr 15, 2013 at 07:21:25PM +0300, Andrii Tseglytskyi wrote: On 04/15/2013 06:50 PM, Mark Brown wrote: In addition, such locking scheme allows to have access to the supplier regulator API from inside child's (consumer) regulator API. I've still

Re: [PATCH 0/6] Serial Omap fixes and cleanups

2013-04-19 Thread Grygorii Strashko
On 04/18/2013 10:17 PM, Sourav Poddar wrote: Hi Kevin, On Thursday 18 April 2013 11:53 PM, Kevin Hilman wrote: Hi Sourav, Sourav Poddarsourav.pod...@ti.com writes: Hi, This patch series contains fixes and cleanups around the issue that the console UART should not idled on suspend while

Re: [RFC][PATCH 1/2] ARM: OMAP4: clock: Add device tree support for AUXCLKs

2013-04-05 Thread Grygorii Strashko
On 04/04/2013 07:41 PM, Tony Lindgren wrote: * Roger Quadros rog...@ti.com [130404 00:39]: On 04/04/2013 02:42 AM, Tony Lindgren wrote: --- a/arch/arm/mach-omap2/cclock44xx_data.c +++ b/arch/arm/mach-omap2/cclock44xx_data.c @@ -27,6 +27,7 @@ #include linux/clk-private.h #include

Re: [RFC][PATCH 1/2] ARM: OMAP4: clock: Add device tree support for AUXCLKs

2013-04-11 Thread Grygorii Strashko
node described in typo: an-a device tree blob is used to identify the exact clock provided in the SoC specific data. This is then linked back using of_clk_add_provider to the device node to be accessible by of_clk_get. Based on discussion contributions from Roger Quadros, Grygorii Strashko

[PATCH v2 0/5] mfd: twl6030-irq: rework and add twl6032 support

2013-07-25 Thread Grygorii Strashko
irq_domain: The irq_find_mapping() is used in twl6030_mmc_card_detect_config() to get virtual IRQ number. Based on v3.11-rc1 Tested generation of RTC_ALARM(3) and PWRON(0) IRQs on OMAP4430/TWL6030 and OMAP4470/TWL6032. Grygorii Strashko (3): mfd: twl6030-irq: add error check when IRQs are masked

[PATCH v2 5/5] mfd: twl6030-irq: Add interrupt mapping table for the twl6032

2013-07-25 Thread Grygorii Strashko
From: Oleksandr Dmytryshyn oleksandr.dmytrys...@ti.com The TWL6032 PMIC has different IRQ status bits meaning. Hence, add interrupt mapping table for the twl6032. Signed-off-by: Oleksandr Dmytryshyn oleksandr.dmytrys...@ti.com Signed-off-by: Grygorii Strashko grygorii.stras...@ti.com

[PATCH v2 3/5] mfd: twl6030-irq: convert to use linear irq_domain

2013-07-25 Thread Grygorii Strashko
of irq_domain. So, IRQ mapping and descriptors allocation will be performed dynamically basing on DT configuration. The error message will be reported in case if unmapped IRQ is received by TWL6030 (virq==0). Signed-off-by: Grygorii Strashko grygorii.stras...@ti.com --- drivers/mfd/twl6030-irq.c | 119

[PATCH v2 4/5] mfd: twl6030-irq: create struct twl6030_irq

2013-07-25 Thread Grygorii Strashko
Create struct twl6030_irq and place all local variables inside it. Also allocate twl6030_irq structure dynamically during initialization. Signed-off-by: Grygorii Strashko grygorii.stras...@ti.com --- drivers/mfd/twl6030-irq.c | 101 ++--- 1 file changed

[PATCH v2 1/5] mfd: twl6030-irq: migrate to IRQ threaded handler

2013-07-25 Thread Grygorii Strashko
if nested IRQ is marked as IRQS_PENDING. Signed-off-by: Naga Venkata Srikanth V vnv.srika...@samsung.com Signed-off-by: Oleg_Kosheliev oleg.koshel...@ti.com Signed-off-by: Grygorii Strashko grygorii.stras...@ti.com --- drivers/mfd/twl6030-irq.c | 150

[PATCH v2 2/5] mfd: twl6030-irq: add error check when IRQs are masked initially

2013-07-25 Thread Grygorii Strashko
Add a missed check for errors when TWL IRQs are masked initially on probe and report an error in case of failure. Signed-off-by: Grygorii Strashko grygorii.stras...@ti.com --- Hi Graeme, I've tried to use only one write to STS_A register to clear IRQ status bits, but, unfortunatelly

Re: [PATCH] i2c-omap: always send stop after nack

2013-08-20 Thread Grygorii Strashko
On 08/19/2013 03:11 PM, Wolfram Sang wrote: Hi, Which means your original patch starts to make a lot more sense. I wonder is this is really what we should be doing though - breaking out of the loop, I mean. Yup, that is fine. I applied the old patch with Acks from Hein and Felipe to -next.

Re: [PATCH v2 0/5] mfd: twl6030-irq: rework and add twl6032 support

2013-08-20 Thread Grygorii Strashko
On 08/20/2013 11:18 AM, Samuel Ortiz wrote: On Tue, Aug 20, 2013 at 08:13:54AM +0100, Graeme Gregory wrote: On 20/08/13 02:01, Samuel Ortiz wrote: Hi Grygorii, On Thu, Jul 25, 2013 at 04:15:46PM +0300, Grygorii Strashko wrote: This patch series intorduces twl6030-irq module rework to use

[PATCH 1/2] serial: omap: enable PM runtime only when its fully configured

2013-07-12 Thread Grygorii Strashko
after all its parameters are configured. CC: Tony Lindgren t...@atomide.com CC: Rajendra Nayak rna...@ti.com CC: Felipe Balbi ba...@ti.com CC: Kevin Hilman khil...@linaro.org Signed-off-by: Grygorii Strashko grygorii.stras...@ti.com --- tested on OMAP4 SDP with and without earlyprintk enabled

[PATCH 2/2] serial: omap: fix wrong context restoration on init

2013-07-12 Thread Grygorii Strashko
://www.spinics.net/lists/arm-kernel/msg258062.html [3] http://www.spinics.net/lists/arm-kernel/msg258040.html CC: Tony Lindgren t...@atomide.com CC: Rajendra Nayak rna...@ti.com CC: Felipe Balbi ba...@ti.com CC: Kevin Hilman khil...@linaro.org Signed-off-by: Grygorii Strashko grygorii.stras...@ti.com --- tested

Re: [RFC] ARM: OMAP2+: omap_device: add pinctrl handling

2013-07-12 Thread Grygorii Strashko
Hi Linus, On 07/10/2013 11:36 PM, Linus Walleij wrote: On Thu, Jun 27, 2013 at 4:01 PM, Grygorii Strashko grygorii.stras...@ti.com wrote: I think, In the future the OMAP pinctrl configurations would be manged in more flexible way then now (thanks to pinctrl PM helpers and you;)) - Idle state

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

2013-07-15 Thread Grygorii Strashko
Hi All, I have a question regarding this patch and IIO in general - Does IIO provide sync mechanism with system wide suspend/resume or this should be handled by each driver itself? What if during system suspend iio_read_channel_raw() (or any other consumer API) will be called after gpadc

Re: [RFC] i2c: add deprecation warning for class based instantiation

2013-06-19 Thread Grygorii Strashko
Hi Wolfram, On 06/19/2013 01:15 PM, Wolfram Sang wrote: On Fri, Jun 07, 2013 at 11:09:26AM +0200, Wolfram Sang wrote: Class based instantiation can cause huge delays when booting. This mechanism was used when it was not possible to describe slaves on I2C busses. We now have other mechanisms,

Re: [RFC] i2c: add deprecation warning for class based instantiation

2013-06-19 Thread Grygorii Strashko
On 06/07/2013 12:09 PM, Wolfram Sang wrote: Class based instantiation can cause huge delays when booting. This mechanism was used when it was not possible to describe slaves on I2C busses. We now have other mechanisms, so most embedded I2C will not need classes and it was explicitly not

[RFC 2/2] i2c: gpio: drop class based instantiation of slaves

2013-06-19 Thread Grygorii Strashko
, so disable it by leaving I2C adapter class field undefined (remove I2C_CLASS_HWMON and I2C_CLASS_SPD) and add a deprecation warning to allow users, relying on this mechanism, to switch to something better. CC: Haavard Skinnemoen hskinnem...@gmail.com Signed-off-by: Grygorii Strashko

[RFC 1/2] i2c: omap: drop class based instantiation of slaves

2013-06-19 Thread Grygorii Strashko
undefined (remove I2C_CLASS_HWMON). CC: Tony Lindgren t...@atomide.com Signed-off-by: Grygorii Strashko grygorii.stras...@ti.com --- drivers/i2c/busses/i2c-omap.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c index

Re: [PATCH 1/5] i2c: omap: fix spurious IRQs: disable/enable IRQ at INTC when idle

2013-06-19 Thread Grygorii Strashko
On 06/07/2013 11:51 PM, Kevin Hilman wrote: Grygorii Strashko grygorii.stras...@ti.com writes: From: Kevin Hilman khil...@deeprootsystems.com Currently, runtime PM is used to keep the device enabled only during active transfers and for a configurable runtime PM autosuspend timout after

Re: [PATCH 3/5] i2c: omap: handle all irqs befor unblocking omap_i2c_xfer_msg()

2013-06-19 Thread Grygorii Strashko
Hi Felipe, On 06/07/2013 10:05 PM, Felipe Balbi wrote: Hi, On Fri, Jun 07, 2013 at 09:46:06PM +0300, Grygorii Strashko wrote: ARDY|NACK and ARDY|AL are set together in OMAP_I2C_STAT_REG, which will be Have you seen that happen ever ? AL is Arbitration Lost, we never put OMAP in a multi-master

Re: [PATCH 2/5] i2c: omap: add runtime check in isr to be sure that i2c is enabled

2013-06-19 Thread Grygorii Strashko
Hi Felipe, On 06/07/2013 10:02 PM, Felipe Balbi wrote: Hi, On Fri, Jun 07, 2013 at 09:46:05PM +0300, Grygorii Strashko wrote: Add runtime check at the beginning of omap_i2c_isr/omap_i2c_isr_thread to be sure that i2c is enabled, before performing IRQ handling and accessing I2C IP registers

Re: [PATCH 5/5] i2c: omap: remove omap_i2c_isr() hw irq handler

2013-06-19 Thread Grygorii Strashko
Hi Felipe, On 06/07/2013 10:07 PM, Felipe Balbi wrote: Hi, On Fri, Jun 07, 2013 at 09:46:08PM +0300, Grygorii Strashko wrote: The omap_i2c_isr() does the irq check and schedules threaded handler if any of enabled IRQs is active, but currently the I2C IRQs are enabled just once, when I2C IP

[RFC] ARM: OMAP2+: omap_device: add pinctrl handling

2013-06-21 Thread Grygorii Strashko
://lkml.org/lkml/2013/5/31/210 CC: Hebbar Gururaja gururaja.heb...@ti.com CC: Linus Walleij linus.wall...@linaro.org CC: linux-arm-ker...@lists.infradead.org CC: linux-o...@vger.kernel.org CC: linux-kernel@vger.kernel.org Signed-off-by: Grygorii Strashko grygorii.stras...@ti.com --- Hi Kevin, Tony

[RESEND][1/2] i2c: omap: convert to module_platform_driver()

2013-06-21 Thread Grygorii Strashko
shift it to module/device layer where the i2c -- pinctrl-single dependency is resolved in drivers/Makefile now. Signed-off-by: Grygorii Strashko grygorii.stras...@ti.com --- Hi Wolfram, The prerequsite patch https://lkml.org/lkml/2013/6/6/98 has been merged in linux-next, so re-send 11c506d drivers

Re: [PATCH] i2c-omap: always send stop after nack

2013-07-16 Thread Grygorii Strashko
Hi Hein, Felipe On 07/16/2013 12:42 PM, Felipe Balbi wrote: Hi, On Tue, Jul 16, 2013 at 05:33:47PM +0800, Hein Tibosch wrote: On 7/16/2013 5:03 PM, Felipe Balbi wrote: Hi, On Tue, Jul 16, 2013 at 04:19:35PM +0800, Hein Tibosch wrote: Hi Vikram, On a OMAP4460, i2c-bus-3: A driver (lm75)

Re: [PATCH] i2c-omap: always send stop after nack

2013-07-16 Thread Grygorii Strashko
Hi Felipe, On 07/16/2013 02:27 PM, Felipe Balbi wrote: Hi, On Tue, Jul 16, 2013 at 02:01:11PM +0300, Grygorii Strashko wrote: On a OMAP4460, i2c-bus-3: A driver (lm75) is causing many 'timeout waiting for bus ready' errors. SDA remains high (as it should), but SCL remains low after a NACK

Re: [PATCH 1/4] pinctrl: Remove duplicate code in pinctrl_pm_select_state functions

2013-07-16 Thread Grygorii Strashko
Hi Tony, This patch causes boot failure when I've applied my patch [RFC] ARM: OMAP2+: omap_device: add pinctrl handling https://lkml.org/lkml/2013/6/21/309 on top of it: [0.264007] L310 cache controller enabled [0.268310] l2x0: 16 ways, CACHE_ID 0x41c4, AUX_CTRL 0x7e47, Cache

Re: [PATCH 1/4] pinctrl: Remove duplicate code in pinctrl_pm_select_state functions

2013-07-16 Thread Grygorii Strashko
Hi Tony, On 07/16/2013 04:41 PM, Tony Lindgren wrote: * Grygorii Strashko grygorii.stras...@ti.com [130716 06:22]: Hi Tony, This patch causes boot failure when I've applied my patch [RFC] ARM: OMAP2+: omap_device: add pinctrl handling https://lkml.org/lkml/2013/6/21/309 on top of it: Hmm

[PATCH 1/3] pinctrl: rollback check for !dev-pins in pinctrl_pm_select*() APIs

2013-07-17 Thread Grygorii Strashko
...@linaro.org Cc: Stephen Warren swar...@wwwdotorg.org Signed-off-by: Grygorii Strashko grygorii.stras...@ti.com --- Seems this one can be squashed in series [PATCH 0/4] improved support for runtime muxing for pinctrl http://www.spinics.net/lists/arm-kernel/msg258827.html drivers/pinctrl/core.c

[PATCH 0/3] ARM: OMAP2+: omap_device: add dynamic pinctrl handling

2013-07-17 Thread Grygorii Strashko
/2670291/ - mmc: omap_hsmmc: Remux pins to support SDIO interrupt and PM runtime https://patchwork.kernel.org/patch/2690191/ - [PATCH 00/11] drivers: Add Pinctrl PM support https://lkml.org/lkml/2013/5/31/210 Grygorii Strashko (3): pinctrl: rollback check for !dev-pins in pinctrl_pm_select*() APIs

[PATCH 3/3] ARM: dts: omap4-sdp: add dynamic pin states for uart3/4

2013-07-17 Thread Grygorii Strashko
Signed-off-by: Grygorii Strashko grygorii.stras...@ti.com --- arch/arm/boot/dts/omap4-sdp.dts | 34 ++ 1 file changed, 30 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/omap4-sdp.dts b/arch/arm/boot/dts/omap4-sdp.dts index 7951b4e..2624504 100644

[PATCH 2/3] ARM: OMAP2+: omap_device: add pinctrl handling

2013-07-17 Thread Grygorii Strashko
SDIO interrupt and PM runtime https://patchwork.kernel.org/patch/2690191/ - [PATCH 00/11] drivers: Add Pinctrl PM support https://lkml.org/lkml/2013/5/31/210 CC: Linus Walleij linus.wall...@linaro.org Cc: Stephen Warren swar...@wwwdotorg.org Signed-off-by: Grygorii Strashko grygorii.stras

Re: [PATCH 0/4] improved support for runtime muxing for pinctrl

2013-07-17 Thread Grygorii Strashko
to do the muxing for runtime PM. I've posted my patch and tested this patch series. Seems everything is ok (except patch pinctrl: Remove duplicate code in pinctrl_pm_select_state functions). See http://www.spinics.net/lists/arm-kernel/msg259180.html So, Tested-By: Grygorii Strashko

Re: [PATCH 0/3] ARM: OMAP2+: omap_device: add dynamic pinctrl handling

2013-07-17 Thread Grygorii Strashko
On 07/17/2013 02:57 PM, Roger Quadros wrote: Hi Grygorii, On 07/17/2013 02:41 PM, Grygorii Strashko wrote: Hi Tony, Kevin This patch series introduces dynamic pinctrl handling in OMAP device framework in the same way as it was before switching to DT. This allow OMAP devices driver's

Re: [PATCH 3/3] ARM: dts: omap4-sdp: add dynamic pin states for uart3/4

2013-07-17 Thread Grygorii Strashko
Hi, On 07/17/2013 06:32 PM, Tony Lindgren wrote: * Grygorii Strashko grygorii.stras...@ti.com [130717 04:49]: Add dynamic active/idle pin states for uart3/4 which will be applied when uart3/4 state is switched from active to idle and back by Runtime PM or during system suspend. This is good

Re: [PATCH 2/3] ARM: OMAP2+: omap_device: add pinctrl handling

2013-07-17 Thread Grygorii Strashko
On 07/17/2013 06:38 PM, Tony Lindgren wrote: * Grygorii Strashko grygorii.stras...@ti.com [130717 04:49]: Before switching to DT pinctrl states of OMAP IPs have been handled by hwmod framework. After switching to DT-boot the pinctrl handling was dropped from hwmod framework

Re: [PATCH 3/3] ARM: dts: omap4-sdp: add dynamic pin states for uart3/4

2013-07-18 Thread Grygorii Strashko
On 07/18/2013 11:09 AM, Tony Lindgren wrote: * Grygorii Strashko grygorii.stras...@ti.com [130717 09:48]: Hi, On 07/17/2013 06:32 PM, Tony Lindgren wrote: * Grygorii Strashko grygorii.stras...@ti.com [130717 04:49]: Add dynamic active/idle pin states for uart3/4 which will be applied when

Re: [PATCH 2/3] ARM: OMAP2+: omap_device: add pinctrl handling

2013-07-18 Thread Grygorii Strashko
On 07/18/2013 11:14 AM, Tony Lindgren wrote: * Grygorii Strashko grygorii.stras...@ti.com [130717 10:11]: On 07/17/2013 06:38 PM, Tony Lindgren wrote: * Grygorii Strashko grygorii.stras...@ti.com [130717 04:49]: Before switching to DT pinctrl states of OMAP IPs have been handled by hwmod

Re: [PATCH 3/3] ARM: dts: omap4-sdp: add dynamic pin states for uart3/4

2013-07-18 Thread Grygorii Strashko
Hi Tony, On 07/18/2013 12:04 PM, Tony Lindgren wrote: * Grygorii Strashko grygorii.stras...@ti.com [130718 02:01]: On 07/18/2013 11:09 AM, Tony Lindgren wrote: Don't think it's debug code - IO chain need to be rearmed after each PRCM IO IRQ - otherwise IO wakeup events may be lost (at least

Re: [PATCH 3/4] pinctrl: Add support for additional dynamic states

2013-07-19 Thread Grygorii Strashko
Hi Tony, Stephen On 07/19/2013 10:39 AM, Tony Lindgren wrote: * Stephen Warren swar...@wwwdotorg.org [130718 12:33]: On 07/18/2013 01:36 AM, Tony Lindgren wrote: * Stephen Warren swar...@wwwdotorg.org [130717 14:30]: On 07/16/2013 03:05 AM, Tony Lindgren wrote: ... Why shouldn't e.g. a

Re: [PATCH v4 4/6] gpio: davinci: add OF support

2013-11-04 Thread Grygorii Strashko
Hi Prabhakar Lad, On 11/02/2013 05:39 PM, Lad, Prabhakar wrote: From: KV Sujith sujit...@ti.com This patch adds OF parser support for davinci gpio driver and also appropriate documentation in gpio-davinci.txt located at Documentation/devicetree/bindings/gpio/. I worry, do we need to have

Re: [PATCH v4 3/6] gpio: davinci: use irqdomain

2013-11-04 Thread Grygorii Strashko
Hi Prabhakar Lad, On 11/02/2013 05:39 PM, Lad, Prabhakar wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch converts the davinci gpio driver to use irqdomain support. This patch needs to be splitted in two: 1) add IRQ domain support 2) remove intc_irq_num Signed-off-by:

Re: [PATCH v4 4/6] gpio: davinci: add OF support

2013-11-05 Thread Grygorii Strashko
On 11/05/2013 10:53 AM, Prabhakar Lad wrote: Hi Grygorii, Thanks for the review. On Mon, Nov 4, 2013 at 11:58 PM, Grygorii Strashko grygorii.stras...@ti.com wrote: Hi Prabhakar Lad, On 11/02/2013 05:39 PM, Lad, Prabhakar wrote: From: KV Sujith sujit...@ti.com This patch adds

Re: [PATCH v4 1/6] gpio: davinci: Fixed a check for unbanked gpio

2013-11-06 Thread Grygorii Strashko
Hi Sekhar, Linus, On 11/06/2013 12:49 PM, Sekhar Nori wrote: On Wednesday 06 November 2013 03:45 PM, Prabhakar Lad wrote: Hi Linus, On Wed, Nov 6, 2013 at 3:26 PM, Linus Walleij linus.wall...@linaro.org wrote: On Wed, Nov 6, 2013 at 10:33 AM, Prabhakar Lad prabhakar.cse...@gmail.com wrote:

Re: [PATCH v4 4/6] gpio: davinci: add OF support

2013-11-06 Thread Grygorii Strashko
On 11/06/2013 12:08 PM, Prabhakar Lad wrote: Hi Grygorii, On Tue, Nov 5, 2013 at 10:29 PM, Grygorii Strashko grygorii.stras...@ti.com wrote: On 11/05/2013 10:53 AM, Prabhakar Lad wrote: Hi Grygorii, Thanks for the review. On Mon, Nov 4, 2013 at 11:58 PM, Grygorii Strashko grygorii.stras

Re: [PATCH v5 1/7] gpio: davinci: remove unnecessary printk

2013-11-08 Thread Grygorii Strashko
On 11/08/2013 12:11 PM, Prabhakar Lad wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com the devm_*() helper prints error messages in case of errors no need to do the same in the driver. Pls, drop it - devm_clk_get() doesn't always print error messages Signed-off-by: Lad, Prabhakar

[PATCH 0/2] OMAP4460: cpuidle: Workaround for ROM bug because of CA9 r2pX GIC control register change

2013-10-17 Thread Grygorii Strashko
PandaES and Tablet/Blaze with SOM OMAP4460 ES1.0 when CONFIG_CPU_IDLE is enabled. - GIC distributor is disabled - scheduling is not performed any more Grygorii Strashko (2): Revert ARM: OMAP4+: CPUidle: Deprecate use of omap4_mpuss_read_prev_context_state() ARM: OMAP4460: cpuidle: WA for ROM

[PATCH 2/2] ARM: OMAP4460: cpuidle: WA for ROM bug because of CA9 r2pX gic control register change

2013-10-17 Thread Grygorii Strashko
khil...@linaro.org Reported-and-Tested-by: Taras Kondratiuk taras.kondrat...@linaro.org Signed-off-by: Grygorii Strashko grygorii.stras...@ti.com --- arch/arm/mach-omap2/common.h |1 + arch/arm/mach-omap2/cpuidle44xx.c | 34 +- arch/arm/mach-omap2/omap4

[PATCH 1/2] Revert ARM: OMAP4+: CPUidle: Deprecate use of omap4_mpuss_read_prev_context_state()

2013-10-17 Thread Grygorii Strashko
+: CPUidle: Deprecate use of omap4_mpuss_read_prev_context_state(). Cc: Santosh Shilimkar santosh.shilim...@ti.com Cc: Kevin Hilman khil...@linaro.org Reported-and-Tested-by: Taras Kondratiuk taras.kondrat...@linaro.org Signed-off-by: Grygorii Strashko grygorii.stras...@ti.com --- arch/arm/mach-omap2

Re: [PATCH 0/2] OMAP4460: cpuidle: Workaround for ROM bug because of CA9 r2pX GIC control register change

2013-10-17 Thread Grygorii Strashko
Sorry, forgot to mention that patches are based on 4a10c2a Linux 3.12-rc2 On 10/17/2013 12:23 PM, Grygorii Strashko wrote: The same workaround as ff999b8a0983ee15668394ed49e38d3568fc6859 ARM: OMAP4460: Workaround for ROM bug because of CA9 r2pX GIC control register change. need to be applied

Re: [PATCH 2/2] ARM: OMAP4460: cpuidle: WA for ROM bug because of CA9 r2pX gic control register change

2013-10-17 Thread Grygorii Strashko
On 10/17/2013 04:57 PM, Santosh Shilimkar wrote: On Thursday 17 October 2013 05:24 AM, Grygorii Strashko wrote: On OMAP4+ devices, GIC register context is lost when MPUSS hits the OSWR. On the CPU wakeup path, ROM code gets executed and one of the steps in it is to restore the saved context

Re: [PATCH] PM / Clocks: fix pm_clk_resume/suspend if CONFIG_PM_RUNTIME is set

2013-11-25 Thread Grygorii Strashko
On 11/22/2013 09:01 PM, Santosh Shilimkar wrote: On Friday 22 November 2013 01:43 PM, Kevin Hilman wrote: Santosh Shilimkar santosh.shilim...@ti.com writes: [...] It looks like even if you just remove the locks here, the PM core is free to call this function with irqs disabled if

Re: [PATCH 06/12] mtd: nand: davinci: adjust DT properties to MTD generic

2013-11-26 Thread Grygorii Strashko
On 11/26/2013 09:03 AM, Sekhar Nori wrote: On Monday 11 November 2013 10:31 PM, Khoronzhuk, Ivan wrote: The properties davinci-ecc-mode, davinci-nand-use-bbt, davinci-nand-buswidth are MTD generic. Correct names for them are: nand-ecc-mode, nand-on-flash-bbt, nand-bus-width accordingly. So

Re: [PATCH v3 1/6] watchdog: davinci: change driver to use WDT core

2013-11-26 Thread Grygorii Strashko
On 11/25/2013 04:04 PM, Ivan Khoronzhuk wrote: To reduce code duplicate and increase code readability use WDT core code to handle WDT interface. Remove io_lock as the WDT core uses mutex to lock each wdt device. Remove wdt_state as the WDT core tracks state with its own variable. The

Re: [PATCH v3 1/6] watchdog: davinci: change driver to use WDT core

2013-11-26 Thread Grygorii Strashko
On 11/26/2013 02:10 PM, Guenter Roeck wrote: On 11/26/2013 03:09 AM, Grygorii Strashko wrote: On 11/25/2013 04:04 PM, Ivan Khoronzhuk wrote: To reduce code duplicate and increase code readability use WDT core code to handle WDT interface. Remove io_lock as the WDT core uses mutex to lock each

Re: [PATCH v6 4/6] gpio: davinci: add OF support

2013-11-26 Thread Grygorii Strashko
On 11/25/2013 01:00 PM, Sekhar Nori wrote: On Thursday 21 November 2013 11:45 PM, Prabhakar Lad wrote: From: KV Sujith sujit...@ti.com This patch adds OF parser support for davinci gpio driver and also appropriate documentation in gpio-davinci.txt located at

Re: [PATCH 2/2] memory: ti-aemif: add bindings for AEMIF driver

2013-11-26 Thread Grygorii Strashko
On 11/22/2013 11:04 PM, Kumar Gala wrote: On Nov 20, 2013, at 9:46 AM, Ivan Khoronzhuk ivan.khoronz...@ti.com wrote: Add bindings for AEMIF controller drivers/memory/ti-aemif.c Binding shouldn’t normally refer to code. Just saying something like: Adding binging for TI Async

[RFC v1 0/9] gpio: davinci: reuse for keystone arch

2013-11-26 Thread Grygorii Strashko
on: git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone.git branch: keystone/master This series has been marked as RFC because it's based on an unfinished series of patches [2], but with hope that it will help to reach final decisions and satisfy all interested parties. Grygorii

[RFC v1 9/9] ARM: keystone_defconfig: enable LED support

2013-11-26 Thread Grygorii Strashko
The Keystone GPIO functionality is ready for use, so LED support can be enabled in config. Signed-off-by: Grygorii Strashko grygorii.stras...@ti.com --- arch/arm/configs/keystone_defconfig |8 1 file changed, 8 insertions(+) diff --git a/arch/arm/configs/keystone_defconfig b/arch

[RFC v1 7/9] ARM: keystone_defconfig: enable gpio support

2013-11-26 Thread Grygorii Strashko
Enable enable GPIO support for Keystone by setting CONFIG_GPIOLIB and CONFIG_GPIO_DAVINCI options in keystone_defconfig. Signed-off-by: Grygorii Strashko grygorii.stras...@ti.com --- arch/arm/configs/keystone_defconfig |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs

[RFC v1 3/9] gpio: davinci: use chained_irq_enter/chained_irq_exit API

2013-11-26 Thread Grygorii Strashko
-by: Grygorii Strashko grygorii.stras...@ti.com --- drivers/gpio/gpio-davinci.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpio/gpio-davinci.c b/drivers/gpio/gpio-davinci.c index 70b5f2f..ee7a2df 100644 --- a/drivers/gpio/gpio-davinci.c +++ b/drivers/gpio/gpio

[RFC v1 8/9] arm: dts: keystone-evm: add LEDs supports

2013-11-26 Thread Grygorii Strashko
/K2H_K2EVM-HK_SCH_A102_Rev1_0.pdf Signed-off-by: Grygorii Strashko grygorii.stras...@ti.com --- arch/arm/boot/dts/k2hk-evm.dts | 23 +++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/boot/dts/k2hk-evm.dts b/arch/arm/boot/dts/k2hk-evm.dts index 15b3a95..07bf1e9 100644

Re: [PATCH v6 4/6] gpio: davinci: add OF support

2013-11-26 Thread Grygorii Strashko
On 11/26/2013 07:12 PM, Sekhar Nori wrote: On Tuesday 26 November 2013 06:03 PM, Grygorii Strashko wrote: On 11/25/2013 01:00 PM, Sekhar Nori wrote: On Thursday 21 November 2013 11:45 PM, Prabhakar Lad wrote: From: KV Sujith sujit...@ti.com This patch adds OF parser support for davinci gpio

[RFC v1 6/9] arm: dts: keystone: add GPIO device entry

2013-11-26 Thread Grygorii Strashko
This patch adds Keystone GPIO IP device definitions in DT which supports up to 32 GPIO lines and each GPIO line can be configured as separate interrupt source (so called unbanked IRQ). For more information see: http://www.ti.com/lit/ug/sprugv1/sprugv1.pdf Signed-off-by: Grygorii Strashko

Re: [PATCH v3 0/6] Update Davinci watchdog driver

2013-11-26 Thread Grygorii Strashko
Hi Sekhar, On 11/25/2013 04:04 PM, Ivan Khoronzhuk wrote: These patches are intended to update Davinci watchdog to use WDT core and reuse driver for keystone arch, because Keystone uses the similar IP like Davinci. See Documentation: Davinci DM646x -

[RFC v1 4/9] gpio: davinci: make IRQ initialization soc specific

2013-11-26 Thread Grygorii Strashko
can be selected using compatibility property in case of DT-boot and update code accordingly by splitting IRQ initialization code to banked and unbanked IRQs initialization functions. Select Davinci specific initialization data by default for non-DT boot case. Signed-off-by: Grygorii Strashko

[RFC v1 2/9] gpio: introduce GPIO_DAVINCI kconfig option

2013-11-26 Thread Grygorii Strashko
for Davinci SoCs by default. Signed-off-by: Grygorii Strashko grygorii.stras...@ti.com --- drivers/gpio/Kconfig |7 +++ drivers/gpio/Makefile |2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 0f0..7c75f5a 100644

[RFC v1 5/9] gpio: davinci: reuse for Keystone SoC

2013-11-26 Thread Grygorii Strashko
The similar GPIO HW block is used by keystone SoCs as in Davinci SoCs. Hence, reuse Davinci GPIO driver for Keystone. Documentation: http://www.ti.com/lit/ug/sprugv1/sprugv1.pdf Signed-off-by: Grygorii Strashko grygorii.stras...@ti.com --- .../devicetree/bindings/gpio/gpio-davinci.txt

[RFC v1 1/9] gpio: davinci: get rid of DAVINCI_N_GPIO

2013-11-26 Thread Grygorii Strashko
value for ARCH_NR_GPIOS=256 and maximum number of supported GPIOs for Davinci is DAVINCI_N_GPIO=144. More over, this is one of steps to re-use Davinci GPIO driver by other mach/platform. Signed-off-by: Grygorii Strashko grygorii.stras...@ti.com --- drivers/gpio/gpio-davinci.c |4 ++-- 1 file

Re: [PATCH v4 0/5] Update Davinci watchdog driver

2013-11-29 Thread Grygorii Strashko
Hi Sekhar, On 11/27/2013 02:48 PM, Ivan Khoronzhuk wrote: These patches are intended to update Davinci watchdog to use WDT core and reuse driver for keystone arch, because Keystone uses the similar IP like Davinci. See Documentation: Davinci DM646x -

Re: [PATCH 2/2] memory: ti-aemif: add bindings for AEMIF driver

2013-11-29 Thread Grygorii Strashko
Hi Jean-Christophe, On 11/22/2013 08:42 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: On 21:03 Wed 20 Nov , ivan.khoronzhuk wrote: On 11/20/2013 08:21 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: + the chip select signal. + Minimum value is 1

Re: [PATCH 2/2] memory: ti-aemif: add bindings for AEMIF driver

2013-11-29 Thread Grygorii Strashko
Hi Kumar Gala, On 11/22/2013 11:06 PM, Kumar Gala wrote: On Nov 20, 2013, at 1:03 PM, ivan.khoronzhuk ivan.khoronz...@ti.com wrote: On 11/20/2013 08:21 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: + the chip select signal. + Minimum value

Re: [PATCH 1/2] memory: ti-aemif: introduce AEMIF driver

2013-11-29 Thread Grygorii Strashko
On 11/29/2013 05:32 PM, Santosh Shilimkar wrote: On Wednesday 20 November 2013 10:46 AM, Ivan Khoronzhuk wrote: Add new AEMIF driver for EMIF16 Texas Instruments controller. The EMIF16 module is intended to provide a glue-less interface to a variety of asynchronous memory devices like ASRA M,

Re: [PATCH 0/7] Davinci nand driver fixes and updates

2013-11-29 Thread Grygorii Strashko
On 11/29/2013 05:37 PM, Santosh Shilimkar wrote: Ivan, On Wednesday 20 November 2013 10:22 AM, Ivan Khoronzhuk wrote: This series contains fixes and updates of Davinci nand driver, in order to prepare it to be reused for Keystone platform. V1: https://lkml.org/lkml/2013/11/11/352 Ivan

Re: [RFC v1 0/9] gpio: davinci: reuse for keystone arch

2013-12-02 Thread Grygorii Strashko
Hi All, On 11/29/2013 10:37 AM, Linus Walleij wrote: On Tue, Nov 26, 2013 at 8:40 PM, Grygorii Strashko grygorii.stras...@ti.com wrote: [1] Depends on patch: [PATCH 1/2] gpio: davinci: Fix a check for unbanked gpio https://lkml.org/lkml/2013/11/8/22 [2] and depends on series from Prabhakar

Re: [PATCH v3 1/3] gpio: davinci: add OF support

2013-10-14 Thread Grygorii Strashko
Hi Prabhakar Lad, On 10/11/2013 07:18 PM, Prabhakar Lad wrote: Hi Linus, On 10/11/13, Linus Walleij linus.wall...@linaro.org wrote: On Fri, Oct 11, 2013 at 4:59 PM, Prabhakar Lad prabhakar.cse...@gmail.com wrote: On 10/11/13, Linus Walleij linus.wall...@linaro.org wrote: On Fri, Oct 4,

Re: [PATCH v5 5/7] gpio: davinci: add OF support

2013-11-11 Thread Grygorii Strashko
On 11/08/2013 12:11 PM, Prabhakar Lad wrote: From: KV Sujith sujit...@ti.com This patch adds OF parser support for davinci gpio driver and also appropriate documentation in gpio-davinci.txt located at Documentation/devicetree/bindings/gpio/. Signed-off-by: KV Sujith sujit...@ti.com

Re: [PATCH v5 5/7] gpio: davinci: add OF support

2013-11-11 Thread Grygorii Strashko
On 11/11/2013 05:37 PM, Prabhakar Lad wrote: Hi Grygorii, Thanks for the review. On Mon, Nov 11, 2013 at 8:48 PM, Grygorii Strashko grygorii.stras...@ti.com wrote: On 11/08/2013 12:11 PM, Prabhakar Lad wrote: [Snip] @@ -134,6 +137,40 @@ davinci_gpio_set(struct gpio_chip *chip, unsigned

Re: [PATCH 0/2] DaVinci: GPIO: fixes

2013-11-11 Thread Grygorii Strashko
Hi Sekhar, Prabhakar Lad On 11/08/2013 08:45 AM, Prabhakar Lad wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch series fixes gpio driver regestration and offset check for unbanked gpio. Lad, Prabhakar (2): gpio: davinci: Fix a check for unbanked gpio ARM: davinci:

Re: [PATCH v5 0/7] gpio: daVinci: cleanup and feature enhancement

2013-11-11 Thread Grygorii Strashko
Hi Prabhakar Lad, On 11/08/2013 12:11 PM, Prabhakar Lad wrote: From: KV Sujith sujit...@ti.com This patch series does the following 1 Ports the driver to use irqdomain. 2 Adds dt binding support for gpio-davinci. 3 Adds DA850 dt support goio. Changes for v5: 1: Fixed review comments pointed

Re: [PATCH 0/2] DaVinci: GPIO: fixes

2013-11-12 Thread Grygorii Strashko
Hi Sekhar, On 11/12/2013 08:18 AM, Sekhar Nori wrote: On Monday 11 November 2013 09:13 PM, Grygorii Strashko wrote: Hi Sekhar, Prabhakar Lad On 11/08/2013 08:45 AM, Prabhakar Lad wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch series fixes gpio driver regestration

Re: [PATCH v5 3/7] gpio: davinci: use irqdomain

2013-11-18 Thread Grygorii Strashko
Hi Linus, On 11/18/2013 03:11 PM, Linus Walleij wrote: On Fri, Nov 8, 2013 at 11:11 AM, Prabhakar Lad prabhakar.cse...@gmail.com wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch converts the davinci gpio driver to use irqdomain support. Signed-off-by: Lad, Prabhakar

Re: [PATCH 1/6] watchdog: davinci: change driver to use WDT core

2013-11-19 Thread Grygorii Strashko
On 11/19/2013 07:12 AM, Guenter Roeck wrote: On 11/18/2013 09:18 AM, Ivan Khoronzhuk wrote: To reduce code duplicate and increase code readability use WDT core code to handle WDT interface. Remove io_lock as the WDT core uses mutex to lock each wdt device. Remove wdt_state as the WDT core

Re: [PATCH v5 3/7] gpio: davinci: use irqdomain

2013-11-19 Thread Grygorii Strashko
On 11/19/2013 01:06 AM, Linus Walleij wrote: On Mon, Nov 18, 2013 at 3:34 PM, Grygorii Strashko grygorii.stras...@ti.com wrote: On 11/18/2013 03:11 PM, Linus Walleij wrote: I think we recently established that map creating cannot be done in gpio_to_irq* functions as that will not work

[PATCH] clk: keystone: gate: fix error handling on init

2013-11-20 Thread Grygorii Strashko
This patch fixes Keystone gate control clock driver initialization path: 1) clk_register_psc() returns error code and not a pure pointer, hence its return value need to be checked using IS_ERR(clk) macro. 2) Mapped IO memory isn't unmapped in case of errors, hence fix it. Signed-off-by: Grygorii

[PATCH] PM / Clocks: fix pm_clk_resume/suspend if CONFIG_PM_RUNTIME is set

2013-11-20 Thread Grygorii Strashko
is set. Actually, This is remainder fix of the earlier commit c122f27e1c base: power - use clk_prepare_enable and clk_prepare_disable. Signed-off-by: Grygorii Strashko grygorii.stras...@ti.com --- drivers/base/power/clock_ops.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

Re: [PATCH] PM / Clocks: fix pm_clk_resume/suspend if CONFIG_PM_RUNTIME is set

2013-11-20 Thread Grygorii Strashko
Hi Stephen, On 11/20/2013 08:42 PM, Stephen Boyd wrote: On 11/20/13 05:31, Grygorii Strashko wrote: The following warning is shown and clk_enable() failed on Keystone platform if CONFIG_PM_RUNTIME is set and Runtime PM is enabled for Davinci gpio driver: [0.564486] [ cut

Re: [PATCH] PM / Clocks: fix pm_clk_resume/suspend if CONFIG_PM_RUNTIME is set

2013-11-20 Thread Grygorii Strashko
On 11/20/2013 09:53 PM, Stephen Boyd wrote: On 11/20/13 11:06, Grygorii Strashko wrote: On 11/20/2013 08:42 PM, Stephen Boyd wrote: On 11/20/13 05:31, Grygorii Strashko wrote: @@ -230,7 +230,7 @@ int pm_clk_suspend(struct device *dev) list_for_each_entry_reverse(ce, psd-clock_list

Re: [PATCH 0/7] Davinci nand driver fixes and updates

2013-11-20 Thread Grygorii Strashko
DT properties to MTD generic For overall series: Reviewed-by: Grygorii Strashko grygorii.stras...@ti.com .../devicetree/bindings/arm/davinci/nand.txt | 46 -- .../devicetree/bindings/mtd/davinci-nand.txt | 92 drivers/mtd/nand/davinci_nand.c

Re: [PATCH 0/3] Reuse davinci-nand driver for Keystone arch

2013-11-20 Thread Grygorii Strashko
mtd: nand: davinci: don't request AEMIF address range For patches: Reviewed-by: Grygorii Strashko grygorii.stras...@ti.com .../devicetree/bindings/mtd/davinci-nand.txt |8 +-- drivers/mtd/nand/Kconfig |6 +-- drivers/mtd/nand/davinci_nand.c

Re: [PATCH v2 08/23] mm/memblock: Add memblock memory allocation apis

2013-12-05 Thread Grygorii Strashko
Hi Tejun, On 12/04/2013 06:46 PM, Santosh Shilimkar wrote: On Wednesday 04 December 2013 11:07 AM, Tejun Heo wrote: Hello, On Wed, Dec 04, 2013 at 10:54:47AM -0500, Santosh Shilimkar wrote: Well as you know there are architectures still using bootmem even after this series. Changing

Re: [PATCH v2 08/23] mm/memblock: Add memblock memory allocation apis

2013-12-05 Thread Grygorii Strashko
Hi Tejun, On 12/04/2013 01:24 AM, Tejun Heo wrote: Hello, On Mon, Dec 02, 2013 at 09:27:23PM -0500, Santosh Shilimkar wrote: So we add equivalent APIs so that we can replace usage of bootmem with memblock interfaces. Architectures already converted to NO_BOOTMEM use these new interfaces

Re: [PATCH 1/2] rtc: rtc-twl: Use devm_*() functions

2013-12-05 Thread Grygorii Strashko
On 12/05/2013 03:03 AM, Jingoo Han wrote: Use devm_*() functions to make cleanup paths simpler, and remove unnecessary remove(). Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/rtc/rtc-twl.c | 38 +- 1 file changed, 13 insertions(+), 25

Re: [PATCHv4 2/2] arm: Get rid of meminfo

2014-03-12 Thread Grygorii Strashko
On 03/12/2014 03:38 PM, Russell King - ARM Linux wrote: On Wed, Mar 12, 2014 at 03:09:53PM +0200, Grygorii Strashko wrote: Hi Russell, On 03/12/2014 10:54 AM, Russell King - ARM Linux wrote: On Tue, Feb 18, 2014 at 02:15:33PM -0800, Laura Abbott wrote: memblock is now fully integrated

[PATCH][next] phy: core: make NULL a valid phy reference if !CONFIG_GENERIC_PHY

2014-03-13 Thread Grygorii Strashko
by the patch 04c2facad8fee66c981a51852806d8923336f362 drivers: phy: Make NULL a valid phy reference. CC: Kishon Vijay Abraham I kis...@ti.com CC: Felipe Balbi ba...@ti.com CC: Santosh Shilimkar santosh.shilim...@ti.com Signed-off-by: Grygorii Strashko grygorii.stras...@ti.com --- include/linux/phy/phy.h

Re: [PATCH v2] gpio: davinci: fix gpio selection for OF

2014-03-17 Thread Grygorii Strashko
entries for gpio-leds in a DT. So I didn't reinvent the wheel but just copied and tested stuff. Thanks to Grygorii Strashko for the hint to the existing code in gpio-pxa. Signed-off-by: Alexander Holler hol...@ahsoftware.de Signed-off-by: Grygorii Strashko grygorii.stras...@ti.com This v2

  1   2   3   4   5   6   7   8   9   10   >