RE: [PATCH 04/14] ARM: OMAP2+: Add function for configuring GPMC settings

2013-03-04 Thread Philip, Avinash
On Fri, Mar 01, 2013 at 21:13:37, Hunter, Jon wrote: On 02/28/2013 11:33 PM, Philip, Avinash wrote: On Thu, Feb 28, 2013 at 22:42:37, Hunter, Jon wrote: On 02/28/2013 09:52 AM, Jon Hunter wrote: On 02/28/2013 12:05 AM, Philip, Avinash wrote: On Tue, Feb 26, 2013 at 23:00:31, Hunter

RE: [PATCH 06/14] ARM: OMAP2+: Convert NAND to use gpmc_cs_program_settings()

2013-02-28 Thread Philip, Avinash
On Tue, Feb 26, 2013 at 23:00:33, Hunter, Jon wrote: Convert the OMAP2+ NAND code to use the gpmc_cs_program_settings() function for configuring the various GPMC options instead of directly programming the CONFIG1 register. This moves the configuration of some GPMC options outside the

RE: [PATCH 04/14] ARM: OMAP2+: Add function for configuring GPMC settings

2013-02-28 Thread Philip, Avinash
On Thu, Feb 28, 2013 at 22:42:37, Hunter, Jon wrote: On 02/28/2013 09:52 AM, Jon Hunter wrote: On 02/28/2013 12:05 AM, Philip, Avinash wrote: On Tue, Feb 26, 2013 at 23:00:31, Hunter, Jon wrote: The GPMC has various different configuration options such as bus-width, synchronous

RE: [PATCH 06/14] ARM: OMAP2+: Convert NAND to use gpmc_cs_program_settings()

2013-02-28 Thread Philip, Avinash
On Thu, Feb 28, 2013 at 21:32:01, Hunter, Jon wrote: On 02/28/2013 04:38 AM, Philip, Avinash wrote: On Tue, Feb 26, 2013 at 23:00:33, Hunter, Jon wrote: Convert the OMAP2+ NAND code to use the gpmc_cs_program_settings() function for configuring the various GPMC options instead of directly

RE: [PATCH 04/14] ARM: OMAP2+: Add function for configuring GPMC settings

2013-02-27 Thread Philip, Avinash
On Tue, Feb 26, 2013 at 23:00:31, Hunter, Jon wrote: The GPMC has various different configuration options such as bus-width, synchronous or asychronous mode selection, burst mode options etc. Currently, there is no common function for configuring these options and various devices set these

[PATCH v3 0/3] suspend/resume support for OMAP nand driver

2013-02-19 Thread Philip Avinash
suspend activity mtd class driver. Philip Avinash (3): arm: gpmc: Converts GPMC driver to pm_runtime capable arm: gpmc: Low power transition support mtd: devices: elm: Low power transition support arch/arm/mach-omap2/gpmc.c | 30 +--- drivers/mtd/devices/elm.c | 54

RE: [PATCH v2 3/4] mtd: devices: elm: Low power transition support

2013-02-19 Thread Philip, Avinash
On Wed, Feb 13, 2013 at 18:13:03, Russell King - ARM Linux wrote: On Wed, Feb 13, 2013 at 11:42:01AM +, Philip, Avinash wrote: On Sat, Feb 09, 2013 at 15:52:44, Russell King - ARM Linux wrote: On Thu, Feb 07, 2013 at 06:06:57PM +0530, Philip Avinash wrote: +static int elm_suspend

[PATCH v3 1/3] arm: gpmc: Converts GPMC driver to pm_runtime capable

2013-02-19 Thread Philip Avinash
Support for pm_runtime add to GPMC driver. Signed-off-by: Philip Avinash avinashphi...@ti.com --- arch/arm/mach-omap2/gpmc.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-omap2/gpmc.c b/arch/arm/mach-omap2/gpmc.c index 2c57f81..b1cd6c1 100644

[PATCH v3 2/3] arm: gpmc: Low power transition support

2013-02-19 Thread Philip Avinash
With GPMC converted to platform driver recently, adds low power transition support in driver itself. Signed-off-by: Philip Avinash avinashphi...@ti.com --- Changes since v1: Module disable enable added using pm_runtime support. arch/arm/mach-omap2/gpmc.c | 20 1

[PATCH v3 3/3] mtd: devices: elm: Low power transition support

2013-02-19 Thread Philip Avinash
In low power modes of AM335X platforms, peripherals power is cut off. This patch supports low power sleep transition support for ELM driver. Signed-off-by: Philip Avinash avinashphi...@ti.com --- Changes Since v2: - Removes wait queue mechanism. The order of device creation ensures

RE: [PATCH 1/2] ARM: OMAP2+: Prevent potential crash if GPMC probe fails

2013-02-14 Thread Philip, Avinash
broken on my igep board setup, if initialized through a device tree. Tested-by: Ezequiel Garcia ezequiel.gar...@free-electrons.com Without this patch GPMC is not working in am335x-evm. Tested-by: Philip Avinash avinashphi...@ti.com See Jon's comments. JON Hi Tony, this one appears

RE: [PATCH v2 3/4] mtd: devices: elm: Low power transition support

2013-02-13 Thread Philip, Avinash
On Sat, Feb 09, 2013 at 15:52:44, Russell King - ARM Linux wrote: On Thu, Feb 07, 2013 at 06:06:57PM +0530, Philip Avinash wrote: +static int elm_suspend(struct device *dev) +{ + struct elm_info *info = dev_get_drvdata(dev); + wait_queue_head_t wq; + DECLARE_WAITQUEUE(wait

RE: [PATCH 4/7] ARM: AM33XX: clk: Add clock node for EHRPWM TBCLK

2013-02-11 Thread Philip, Avinash
On Fri, Feb 08, 2013 at 20:36:53, Paul Walmsley wrote: Hi, On Wed, 2 Jan 2013, Philip Avinash wrote: EHRPWM module requires explicit clock gating of TBCLK from control module. Hence add TBCLK clock node in clock tree for EHRPWM modules. Signed-off-by: Philip Avinash avinashphi

RE: [PATCH 1/7] ARM: OMAP: AM33xx hwmod: Corrects PWM subsystem HWMOD entries

2013-02-11 Thread Philip, Avinash
On Fri, Feb 08, 2013 at 20:40:18, Paul Walmsley wrote: Hi On Wed, 2 Jan 2013, Philip Avinash wrote: EQEP entry is HWMOD entry is not present in HWMOD entry. Patch descriptions need to make sense. This one does not. I've fixed it for you this time, but please take more care

[PATCH v2] ARM: AM33XX: clk: Add clock node for EHRPWM TBCLK

2013-02-11 Thread Philip Avinash
From: Philip, Avinash avinashphi...@ti.com EHRPWM module requires explicit clock gating of TBCLK from control module. Hence add TBCLK clock node in clock tree for EHRPWM modules. Signed-off-by: Philip Avinash avinashphi...@ti.com --- Changes since v1: - Remove sparse warnings

[PATCH v2 0/4] suspend/resume support for OMAP nand driver

2013-02-07 Thread Philip Avinash
]. 1. ARM: OMAP2+: AM33XX: Add suspend-resume support http://comments.gmane.org/gmane.linux.ports.arm.omap/91405 2. https://github.com/avinashphilip/am335x_linux/commits/NAND_supend_resume_support Philip Avinash (4): arm: gpmc: Converts GPMC driver to pm_runtime capable arm: gpmc: Low power

[PATCH v2 1/4] arm: gpmc: Converts GPMC driver to pm_runtime capable

2013-02-07 Thread Philip Avinash
Support for pm_runtime add to GPMC driver. Signed-off-by: Philip Avinash avinashphi...@ti.com --- arch/arm/mach-omap2/gpmc.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-omap2/gpmc.c b/arch/arm/mach-omap2/gpmc.c index 2c57f81..b1cd6c1 100644

[PATCH v2 2/4] arm: gpmc: Low power transition support

2013-02-07 Thread Philip Avinash
With GPMC converted to platform driver recently, adds low power transition support in driver itself. Signed-off-by: Philip Avinash avinashphi...@ti.com --- Changes since v1: Module disable enable added using pm_runtime support. arch/arm/mach-omap2/gpmc.c | 20 1

[PATCH v2 3/4] mtd: devices: elm: Low power transition support

2013-02-07 Thread Philip Avinash
In low power modes of AM335X platforms, peripherals power is cut off. This patch supports low power sleep transition support for ELM driver. Signed-off-by: Philip Avinash avinashphi...@ti.com --- drivers/mtd/devices/elm.c | 40 1 file changed, 40

[PATCH v2 4/4] mtd: nand: omap2: Low power transition support

2013-02-07 Thread Philip Avinash
Add support for Low power transition support in nand driver. Also ensures the current transaction finishes before going to low power mode with _suspend support in mtd layer. Signed-off-by: Philip Avinash avinashphi...@ti.com --- drivers/mtd/nand/omap2.c | 19 +++ 1 file changed

RE: [PATCH 1/4] arch: arm: gpmc: gpmc migration support

2013-02-06 Thread Philip, Avinash
On Sat, Feb 02, 2013 at 03:35:10, Tony Lindgren wrote: * Philip Avinash avinashphi...@ti.com [130123 01:28]: With recent GPMC driver conversion, usage of gpmc_save/restore_context can done from gpmc driver itself. Hence removes the usage from pm34xx.c. Also removes the conditional

RE: [PATCH v2 0/3] Add device tree support for NAND flash in am335x-evm

2013-01-31 Thread Philip, Avinash
Benoit, On Thu, Jan 24, 2013 at 13:32:26, Philip, Avinash wrote: This patch series adds device tree support for NAND flash in am335x-evm. Also ELM node is populated in device tree and been used for BCH error correction in NAND flash part. Also this patch series ensures RBL ecc layout

[PATCH] ARM: dts: AM33XX: Corrects typo in interrupt field in SPI node

2013-01-31 Thread Philip Avinash
DT field of interrupts was mentioned wrongly as interrupt in SPI node. This went unnoticed as spi-omap2 driver not making use of interrupt. Fixes the typo. Signed-off-by: Philip Avinash avinashphi...@ti.com --- arch/arm/boot/dts/am33xx.dtsi |4 ++-- 1 file changed, 2 insertions(+), 2

RE: [PATCH] ARM: dts: AM33XX: Corrects typo in interrupt field in SPI node

2013-01-31 Thread Philip, Avinash
On Fri, Feb 01, 2013 at 11:07:27, Philip, Avinash wrote: DT field of interrupts was mentioned wrongly as interrupt in SPI node. This went unnoticed as spi-omap2 driver not making use of interrupt. Fixes the typo. Signed-off-by: Philip Avinash avinashphi...@ti.com Reported-by: Vaibhav Bedia

[PATCH v2 0/3] Add device tree support for NAND flash in am335x-evm

2013-01-24 Thread Philip Avinash
on [1] and depends on [2]. 1. http://git.kernel.org/?p=linux/kernel/git/bcousson/linux-omap-dt.git;a=tree;h=refs/heads/for_3.9/dts;hb=refs/heads/for_3.9/dts 2.mtd: devices: elm: Removes xx literals in elm DT node https://lkml.org/lkml/2013/1/24/30 Philip Avinash (1): ARM: dts: AM33XX: Add NAND

[PATCH v2 1/3] ARM: dts: AM33XX: Add ELM node

2013-01-24 Thread Philip Avinash
From: Philip, Avinash avinashphi...@ti.com Add ELM data node to AM33XX device tree file. Signed-off-by: Philip Avinash avinashphi...@ti.com Acked-by: Peter Korsgaard jac...@sunsite.dk --- Changes since v2: - Replace xx literals to 52 - remove tab arch/arm/boot/dts/am33xx.dtsi

[PATCH v2 2/3] ARM: dts: AM33XX: Add GPMC node

2013-01-24 Thread Philip Avinash
From: Philip, Avinash avinashphi...@ti.com Add GPMC data node to AM33XX device tree file. Signed-off-by: Philip Avinash avinashphi...@ti.com Acked-by: Peter Korsgaard jac...@sunsite.dk --- Changes since v2: - Change number of chip select to 7 arch/arm/boot/dts/am33xx.dtsi | 12

[PATCH v2 3/3] ARM: dts: AM33XX: Add NAND flash device tree data to am335x-evm

2013-01-24 Thread Philip Avinash
NAND flash connected in am335x-evm on GPMC controller. This patch adds device tree node in am3355-evm with GPMC contoller timing for NAND flash interface, NAND partition table, ECC scheme, elm handle id. Signed-off-by: Philip Avinash avinashphi...@ti.com --- arch/arm/boot/dts/am335x-evm.dts

[PATCH 0/4] LOW power sleep support for OMAP nand driver

2013-01-23 Thread Philip Avinash
] and is available [2] 1. ARM: OMAP2+: AM33XX: Add suspend-resume support http://comments.gmane.org/gmane.linux.ports.arm.omap/91405 2. https://github.com/avinashphilip/am335x_linux/commits/NAND_supend_resume_support Philip Avinash (4): arch: arm: gpmc: gpmc migration support mtd: devices: elm

[PATCH 1/4] arch: arm: gpmc: gpmc migration support

2013-01-23 Thread Philip Avinash
With recent GPMC driver conversion, usage of gpmc_save/restore_context can done from gpmc driver itself. Hence removes the usage from pm34xx.c. Also removes the conditional compilation primitives ARCH_OMAP3 for gpmc_save/restore_context. Signed-off-by: Philip Avinash avinashphi...@ti.com

[PATCH 2/4] mtd: devices: elm: Low power transition support

2013-01-23 Thread Philip Avinash
In low power modes of AM335X platforms, peripherals power is cut off. This patch supports low power sleep transition support for ELM driver. Signed-off-by: Philip Avinash avinashphi...@ti.com --- drivers/mtd/devices/elm.c | 40 1 file changed, 40

[PATCH 3/4] arm: gpmc: Low power transition support

2013-01-23 Thread Philip Avinash
With GPMC converted to platform driver recently, adds low power transition support in driver itself. Signed-off-by: Philip Avinash avinashphi...@ti.com --- arch/arm/mach-omap2/gpmc.c | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/mach-omap2/gpmc.c b/arch/arm

[PATCH 4/4] mtd: nand: omap2: Low power transition support

2013-01-23 Thread Philip Avinash
Add support for Low power transition support in nand driver. Also ensures the current transaction finishes before going to low power mode with _suspend support in mtd layer. Signed-off-by: Philip Avinash avinashphi...@ti.com --- drivers/mtd/nand/omap2.c | 19 +++ 1 file changed

RE: [PATCH 2/3] ARM: dts: AM33XX: Add GPMC node

2013-01-22 Thread Philip, Avinash
On Tue, Jan 22, 2013 at 02:31:53, Peter Korsgaard wrote: Philip == Philip Avinash avinashphi...@ti.com writes: Philip From: Philip, Avinash avinashphi...@ti.com Philip Add GPMC data node to AM33XX device tree file. Philip Signed-off-by: Philip Avinash avinashphi...@ti.com Philip

RE: [PATCH 1/3] ARM: dts: AM33XX: Add ELM node

2013-01-22 Thread Philip, Avinash
On Tue, Jan 22, 2013 at 02:17:38, Peter Korsgaard wrote: Philip == Philip Avinash avinashphi...@ti.com writes: Philip From: Philip, Avinash avinashphi...@ti.com Philip Add ELM data node to AM33XX device tree file. Philip Signed-off-by: Philip Avinash avinashphi...@ti.com Philip

[PATCH v2 0/2] LOW power sleep support for TI PWM submodules

2013-01-17 Thread Philip Avinash
based PWM backlight. 1. ARM: OMAP2+: AM33XX: Add suspend-resume support http://www.mail-archive.com/linux-omap@vger.kernel.org/msg82635.html 2. HWMOD fixes for AM33xx PWM submodules and device tree nodes. https://lkml.org/lkml/2013/1/2/87 Philip Avinash (2): pwm: pwm-tiehrpwm: Low power sleep

[PATCH v2 1/2] pwm: pwm-tiehrpwm: Low power sleep support

2013-01-17 Thread Philip Avinash
In low power modes of AM33XX platforms, peripherals power is cut off. This patch supports low power sleep transition support for EHRPWM driver. Signed-off-by: Philip Avinash avinashphi...@ti.com --- Changes since v1: - check the enabled status of pwm device for handling module

[PATCH v2 2/2] pwm: pwm-tiecap: Low power sleep support

2013-01-17 Thread Philip Avinash
In low power modes of AM33XX platforms, peripherals power is cut off. This patch supports low power sleep transition support for ECAP driver. Signed-off-by: Philip Avinash avinashphi...@ti.com --- Changes since v1: - check the enabled status of pwm device for handling module

RE: [PATCH v4 0/3] mtd: nand: OMAP: ELM error correction support for BCH ecc

2013-01-17 Thread Philip, Avinash
On Thu, Jan 17, 2013 at 17:36:15, Artem Bityutskiy wrote: On Wed, 2013-01-16 at 12:22 +, Philip, Avinash wrote: This series is based on linux 3.8-rc2 and tested with [1]. Also this patch series depend on [1] for NAND flash device tree data and gpmc nand device tree binding

RE: [PATCH v2] pwm: pwm-tiehrpwm: Update the clock handling of pwm-tiehrpwm driver

2013-01-17 Thread Philip, Avinash
On Thu, Jan 17, 2013 at 21:22:18, Thierry Reding wrote: On Thu, Jan 10, 2013 at 06:35:26PM +0530, Philip Avinash wrote: From: Philip, Avinash avinashphi...@ti.com The clock framework has changed and it's now better to invoke clock_prepare_enable() and clk_disable_unprepare() rather than

RE: [PATCH v2 1/2] pwm: pwm-tiehrpwm: Low power sleep support

2013-01-17 Thread Philip, Avinash
On Thu, Jan 17, 2013 at 21:29:04, Thierry Reding wrote: On Thu, Jan 17, 2013 at 02:50:02PM +0530, Philip Avinash wrote: In low power modes of AM33XX platforms, peripherals power is cut off. This patch supports low power sleep transition support for EHRPWM driver. Signed-off-by: Philip

RE: [PATCH v2 2/2] pwm: pwm-tiecap: Low power sleep support

2013-01-17 Thread Philip, Avinash
On Thu, Jan 17, 2013 at 21:29:14, Thierry Reding wrote: On Thu, Jan 17, 2013 at 02:50:03PM +0530, Philip Avinash wrote: In low power modes of AM33XX platforms, peripherals power is cut off. This patch supports low power sleep transition support for ECAP driver. Signed-off-by: Philip

[PATCH] ARM: OMAP: gpmc: Add device tree documentation for elm handle

2013-01-17 Thread Philip Avinash
. Signed-off-by: Philip Avinash avinashphi...@ti.com --- This patch based [1] and depends on [2]. As Artem suggested, this patch can go in omap_tree due to the dependency on [3]. Discussion can found at [4] Tony, Can you accept this patch. 1. http://git.kernel.org/?p=linux/kernel/git/tmlind

[PATCH 0/3] Add device tree support for NAND flash in am335x-evm

2013-01-17 Thread Philip Avinash
. mtd: nand: OMAP: ELM error correction support for BCH ecc http://git.infradead.org/users/dedekind/l2-mtd-2.6.git/shortlog/refs/heads/master Philip Avinash (1): ARM: dts: AM33XX: Add NAND flash device tree data to am335x-evm Philip, Avinash (2): ARM: dts: AM33XX: Add ELM node ARM: dts

[PATCH 1/3] ARM: dts: AM33XX: Add ELM node

2013-01-17 Thread Philip Avinash
From: Philip, Avinash avinashphi...@ti.com Add ELM data node to AM33XX device tree file. Signed-off-by: Philip Avinash avinashphi...@ti.com --- arch/arm/boot/dts/am33xx.dtsi |8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts

[PATCH 2/3] ARM: dts: AM33XX: Add GPMC node

2013-01-17 Thread Philip Avinash
From: Philip, Avinash avinashphi...@ti.com Add GPMC data node to AM33XX device tree file. Signed-off-by: Philip Avinash avinashphi...@ti.com --- arch/arm/boot/dts/am33xx.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts

[PATCH 3/3] ARM: dts: AM33XX: Add NAND flash device tree data to am335x-evm

2013-01-17 Thread Philip Avinash
NAND flash connected in am335x-evm on GPMC controller. This patch adds device tree node in am335x-evm with GPMC controller timing for NAND flash interface, NAND partition table, ECC scheme, elm handle id, pin-mux setup. Signed-off-by: Philip Avinash avinashphi...@ti.com --- arch/arm/boot/dts

RE: [PATCH 2/2] pwm: pwm-tiecap: Low power sleep support

2013-01-16 Thread Philip, Avinash
On Mon, Jan 14, 2013 at 12:40:34, Thierry Reding wrote: On Thu, Jan 10, 2013 at 06:33:44PM +0530, Philip Avinash wrote: In low power modes of AM33XX platforms, peripherals power is cut off. This patch supports low power sleep transition support for ECAP driver. Signed-off-by: Philip

RE: [PATCH 1/2] pwm: pwm-tiehrpwm: Low power sleep support

2013-01-16 Thread Philip, Avinash
On Mon, Jan 14, 2013 at 12:38:56, Thierry Reding wrote: On Thu, Jan 10, 2013 at 06:33:43PM +0530, Philip Avinash wrote: [...] diff --git a/drivers/pwm/pwm-tiehrpwm.c b/drivers/pwm/pwm-tiehrpwm.c [...] +static int ehrpwm_pwm_suspend(struct device *dev) +{ + struct ehrpwm_pwm_chip *pc

RE: [PATCH v4 0/3] mtd: nand: OMAP: ELM error correction support for BCH ecc

2013-01-16 Thread Philip, Avinash
Hi Artem, On Fri, Jan 04, 2013 at 13:26:48, Philip, Avinash wrote: Support to use ELM as BCH 4 8 bit error correction module. Also performance enhancement by adding single shot read_page and write_page functions for the nand flashes with page size less than 4 KB. ELM module can be used

[PATCH 2/2] pwm: pwm-tiecap: Low power sleep support

2013-01-10 Thread Philip Avinash
In low power modes of AM33XX platforms, peripherals power is cut off. This patch supports low power sleep transition support for ECAP driver. Signed-off-by: Philip Avinash avinashphi...@ti.com --- drivers/pwm/pwm-tiecap.c | 44 1 file changed, 44

[PATCH 1/2] pwm: pwm-tiehrpwm: Low power sleep support

2013-01-10 Thread Philip Avinash
In low power modes of AM33XX platforms, peripherals power is cut off. This patch supports low power sleep transition support for EHRPWM driver. Signed-off-by: Philip Avinash avinashphi...@ti.com --- drivers/pwm/pwm-tiehrpwm.c | 65 1 file changed

[PATCH 0/2] LOW power sleep support for TI PWM submodules

2013-01-10 Thread Philip Avinash
based PWM backlight. 1. ARM: OMAP2+: AM33XX: Add suspend-resume support http://www.mail-archive.com/linux-omap@vger.kernel.org/msg82635.html 2. HWMOD fixes for AM33xx PWM submodules and device tree nodes. https://lkml.org/lkml/2013/1/2/87 Philip Avinash (2): pwm: pwm-tiehrpwm: Low power sleep

[PATCH v2] pwm: pwm-tiehrpwm: Update the clock handling of pwm-tiehrpwm driver

2013-01-10 Thread Philip Avinash
From: Philip, Avinash avinashphi...@ti.com The clock framework has changed and it's now better to invoke clock_prepare_enable() and clk_disable_unprepare() rather than the legacy clk_enable() and clk_disable() calls. This patch converts the pwm-tiehrpwm driver to the new framework. Signed-off

RE: [PATCH 0/7] HWMOD fixes for AM33xx PWM submodules and device tree nodes.

2013-01-09 Thread Philip, Avinash
Hi Paul, On Wed, Jan 02, 2013 at 18:54:47, Philip, Avinash wrote: This patch series is being part of [1] and resubmitting on top of 3.8-rc1 to make it to 3.9. In AM33xx PWM sub modules like ECAP, EHRPWM EQEP are integrated to PWM subsystem. All these submodules shares the resources (clock

RE: [PATCH 3/7] pwm: pwm-tiehrpwm: Update the clock handling of pwm-tiehrpwm driver

2013-01-09 Thread Philip, Avinash
On Wed, Jan 02, 2013 at 19:08:43, Thierry Reding wrote: On Wed, Jan 02, 2013 at 06:54:50PM +0530, Philip Avinash wrote: The clock framework has changed and it's now better to invoke clock_prepare_enable() and clk_disable_unprepare() rather than the legacy clk_enable() and clk_disable

[PATCH v4 2/3] mtd: devices: elm: Add support for ELM error correction

2013-01-03 Thread Philip Avinash
The ELM hardware module can be used to speedup BCH 4/8/16 ECC scheme error correction. For now only 4 8 bit support is added Signed-off-by: Philip Avinash avinashphi...@ti.com --- Changes since v3: - Remove export symbol and API support for elm_request and provided

[PATCH v4 1/3] mtd: nand: omap2: Update nerrors using ecc.strength

2013-01-03 Thread Philip Avinash
Remove check of ecc bytes with 13, number of errors can directly update from nand ecc strength. This will increase re-usability of the code. Also add macro definitions BCH8_ERROR_MAX BCH4_ERROR_MAX for better readability and cleaner code. Signed-off-by: Philip Avinash avinashphi...@ti.com

[PATCH v4 0/3] mtd: nand: OMAP: ELM error correction support for BCH ecc

2013-01-03 Thread Philip Avinash
in OOB ecc data if bit flip happen OOB data. Changes since v3: - Availability and usability of ELM module is detected from device tree nodes by checking availability of ELM node in device tree. Philip Avinash (3): mtd: nand: omap2: Update nerrors using ecc.strength mtd

[PATCH v4 3/3] mtd: nand: omap2: Support for hardware BCH error correction.

2013-01-03 Thread Philip Avinash
to handle erased pages. Extra byte programmed to zero for programmed pages. Also BCH8 requires 14 byte ecc to maintain compatibility with RBL ECC layout. This results a common ecc layout across RBL, U-boot Linux with BCH8. Signed-off-by: Philip Avinash avinashphi...@ti.com --- This patch depend on http

[PATCH 0/7] HWMOD fixes for AM33xx PWM submodules and device tree nodes.

2013-01-02 Thread Philip Avinash
://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap.git;a=commit;h=c4e2e79ff7c9f4fdad7da432c6b449121cc3033e Philip Avinash (7): ARM: OMAP: AM33xx hwmod: Corrects PWM subsystem HWMOD entries ARM: OMAP: AM33xx hwmod: Add parent-child relationship for PWM subsystem pwm: pwm-tiehrpwm: Update

[PATCH 1/7] ARM: OMAP: AM33xx hwmod: Corrects PWM subsystem HWMOD entries

2013-01-02 Thread Philip Avinash
submodule register address space. 3. Adds EQEP HWMOD entries. Signed-off-by: Philip Avinash avinashphi...@ti.com --- arch/arm/mach-omap2/omap_hwmod_33xx_data.c | 158 +--- 1 file changed, 145 insertions(+), 13 deletions(-) diff --git a/arch/arm/mach-omap2

[PATCH 3/7] pwm: pwm-tiehrpwm: Update the clock handling of pwm-tiehrpwm driver

2013-01-02 Thread Philip Avinash
The clock framework has changed and it's now better to invoke clock_prepare_enable() and clk_disable_unprepare() rather than the legacy clk_enable() and clk_disable() calls. This patch converts the pwm-tiehrpwm driver to the new framework. Signed-off-by: Philip Avinash avinashphi...@ti.com Cc

[PATCH 2/7] ARM: OMAP: AM33xx hwmod: Add parent-child relationship for PWM subsystem

2013-01-02 Thread Philip Avinash
As part of PWM subsystem integration, PWM subsystem are sharing resources like clock across submodules (ECAP, EQEP EHRPWM). To handle resource sharing IP integration rework on parent child relation between PWMSS and ECAP, EQEP EHRPWM child devices to support runtime PM. Signed-off-by: Philip

[PATCH 4/7] ARM: AM33XX: clk: Add clock node for EHRPWM TBCLK

2013-01-02 Thread Philip Avinash
EHRPWM module requires explicit clock gating of TBCLK from control module. Hence add TBCLK clock node in clock tree for EHRPWM modules. Signed-off-by: Philip Avinash avinashphi...@ti.com --- - common clock frame work support arch/arm/mach-omap2/cclock33xx_data.c | 30

[PATCH 5/7] ARM: dts: AM33XX: Add PWMSS device tree nodes

2013-01-02 Thread Philip Avinash
Add PWMSS device tree nodes in relation with ECAP EHRPWM DT nodes to AM33XX SoC family. Also populates device tree nodes for ECAP EHRPWM by adding necessary properties like pwm-cells, base reg set disabled as status. Signed-off-by: Philip Avinash avinashphi...@ti.com Reviewed-by: Thierry

[PATCH 6/7] ARM: dts: AM33XX: Add PWM backlight DT data to am335x-evm

2013-01-02 Thread Philip Avinash
PWM output from ecap0 uses as backlight source. Also adds low threshold value to have a uniform divisions in brightness-levels scales. Signed-off-by: Philip Avinash avinashphi...@ti.com Reviewed-by: Thierry Reding thierry.red...@avionic-design.de --- arch/arm/boot/dts/am335x-evm.dts | 23

[PATCH 7/7] ARM: dts: AM33XX: Add PWM backlight DT data to am335x-evmsk

2013-01-02 Thread Philip Avinash
PWM output from ecap2 uses as backlight source. Also adds low threshold value to have a uniform divisions in brightness-levels scales with inverse polarity. Signed-off-by: Philip Avinash avinashphi...@ti.com Reviewed-by: Thierry Reding thierry.red...@avionic-design.de --- arch/arm/boot/dts

RE: [PATCH v3 2/3] mtd: devices: elm: Add support for ELM error correction

2012-12-11 Thread Philip, Avinash
On Tue, Dec 11, 2012 at 14:33:56, Grant Likely wrote: On Thu, 29 Nov 2012 17:16:33 +0530, Philip, Avinash avinashphi...@ti.com wrote: The ELM hardware module can be used to speedup BCH 4/8/16 ECC scheme error correction. For now only 4 8 bit support is added Signed-off-by: Philip

RE: [PATCH v3 2/3] mtd: devices: elm: Add support for ELM error correction

2012-12-09 Thread Philip, Avinash
On Fri, Dec 07, 2012 at 16:07:23, Nori, Sekhar wrote: On 11/29/2012 5:16 PM, Philip, Avinash wrote: The ELM hardware module can be used to speedup BCH 4/8/16 ECC scheme error correction. For now only 4 8 bit support is added Signed-off-by: Philip, Avinash avinashphi...@ti.com Cc

RE: [PATCH v3 1/3] mtd: nand: omap2: Update nerrors using ecc.strength

2012-12-09 Thread Philip, Avinash
On Fri, Dec 07, 2012 at 16:10:04, Nori, Sekhar wrote: On 12/5/2012 6:13 PM, Philip, Avinash wrote: On Wed, Dec 05, 2012 at 17:33:37, Nori, Sekhar wrote: Hi Avinash, On 11/29/2012 5:16 PM, Philip, Avinash wrote: Update number of errors using nand ecc strength. Also add macro

RE: [PATCH v3 4/4] ARM: OMAP: gpmc: add DT bindings for GPMC timings and NAND

2012-12-06 Thread Philip, Avinash
On Thu, Dec 06, 2012 at 15:45:41, Ivan Djelic wrote: On Wed, Dec 05, 2012 at 05:15:52AM +, Philip, Avinash wrote: (...) First a short reminder of pros and cons of the constant polynomial addition (let's just call it CPA) feature: pros: - it elegantly solves all problems

RE: [PATCH v3 1/3] mtd: nand: omap2: Update nerrors using ecc.strength

2012-12-05 Thread Philip, Avinash
On Wed, Dec 05, 2012 at 17:33:37, Nori, Sekhar wrote: Hi Avinash, On 11/29/2012 5:16 PM, Philip, Avinash wrote: Update number of errors using nand ecc strength. Also add macro definitions BCH8_ERROR_MAX BCH4_ERROR_MAX Can you please describe why the original method of setting nerrors

RE: [PATCH v3 4/4] ARM: OMAP: gpmc: add DT bindings for GPMC timings and NAND

2012-12-04 Thread Philip, Avinash
On Sun, Dec 02, 2012 at 03:20:14, Ivan Djelic wrote: On Wed, Nov 28, 2012 at 05:01:30AM +, Philip, Avinash wrote: (...) Daniel, So can you start supporting bch8-am335xrbl-compatible and remove usage of is_elm_used in dt. This should come in ecc_opt field. In omap2 NAND

RE: [PATCH v5 00/12] Support for AM33xx PWM Subsystem

2012-11-30 Thread Philip, Avinash
On Wed, Nov 28, 2012 at 19:51:01, Thierry Reding wrote: On Tue, Nov 27, 2012 at 02:18:05PM +0530, Philip, Avinash wrote: In AM33xx PWM sub modules like ECAP, EHRPWM EQEP are integrated to PWM subsystem. All these submodules shares the resources (clock) has a clock gating register in PWM

[PATCH v3 0/3] mtd: nand: OMAP: ELM error correction support for BCH ecc

2012-11-29 Thread Philip, Avinash
: - Added runtime detection of elm module, instead of depending on platform data. - Added bit flip correction in OOB ecc data if bit flip happen OOB data. Philip, Avinash (3): mtd: nand: omap2: Update nerrors using ecc.strength mtd: devices: elm: Add support for ELM error

[PATCH v3 1/3] mtd: nand: omap2: Update nerrors using ecc.strength

2012-11-29 Thread Philip, Avinash
Update number of errors using nand ecc strength. Also add macro definitions BCH8_ERROR_MAX BCH4_ERROR_MAX Signed-off-by: Philip, Avinash avinashphi...@ti.com --- :100644 100644 359293e... 7e61dac... M drivers/mtd/nand/omap2.c drivers/mtd/nand/omap2.c | 12 1 files changed, 8

[PATCH v3 2/3] mtd: devices: elm: Add support for ELM error correction

2012-11-29 Thread Philip, Avinash
The ELM hardware module can be used to speedup BCH 4/8/16 ECC scheme error correction. For now only 4 8 bit support is added Signed-off-by: Philip, Avinash avinashphi...@ti.com Cc: Grant Likely grant.lik...@secretlab.ca Cc: Rob Herring rob.herr...@calxeda.com Cc: Rob Landley r...@landley.net

[PATCH v3 3/3] mtd: nand: omap2: Support for hardware BCH error correction.

2012-11-29 Thread Philip, Avinash
requires 14 byte ecc to maintain compatibility with RBL ECC layout. This results a common ecc layout across RBL, U-boot Linux with BCH8. Signed-off-by: Philip, Avinash avinashphi...@ti.com --- Changes since v2: - Threshold for erased bit flip in erased page set to minimum of 4

RE: [PATCH v5 4/4] ARM: OMAP: gpmc: add DT bindings for GPMC timings and NAND

2012-11-29 Thread Philip, Avinash
On Wed, Nov 28, 2012 at 22:28:59, Daniel Mack wrote: [...] + if (!of_property_read_string(child, ti,nand-ecc-opt, s)) { + for (val = 0; val ARRAY_SIZE(nand_ecc_opts); val++) + if (!strcasecmp(s, nand_ecc_opts[val])) { +

RE: [PATCH v5 4/4] ARM: OMAP: gpmc: add DT bindings for GPMC timings and NAND

2012-11-29 Thread Philip, Avinash
On Thu, Nov 29, 2012 at 18:11:42, Daniel Mack wrote: On 29.11.2012 13:36, Philip, Avinash wrote: On Wed, Nov 28, 2012 at 22:28:59, Daniel Mack wrote: [...] + if (!of_property_read_string(child, ti,nand-ecc-opt, s)) { + for (val = 0; val ARRAY_SIZE(nand_ecc_opts); val

RE: [PATCH RESEND v5 0/4] OMAP GPMC DT bindings

2012-11-29 Thread Philip, Avinash
On Thu, Nov 29, 2012 at 17:28:04, Daniel Mack wrote: Hi Avinash, On 29.11.2012 06:24, Philip, Avinash wrote: On Wed, Nov 28, 2012 at 22:28:55, Daniel Mack wrote: [Resending +devicetree-discuss, +Rob, +Grant] This is a series of patches to support GPMC peripherals on OMAP boards

RE: [PATCH v5 4/4] ARM: OMAP: gpmc: add DT bindings for GPMC timings and NAND

2012-11-29 Thread Philip, Avinash
On Thu, Nov 29, 2012 at 20:37:20, Daniel Mack wrote: On 29.11.2012 15:59, Philip, Avinash wrote: On Thu, Nov 29, 2012 at 18:11:42, Daniel Mack wrote: On 29.11.2012 13:36, Philip, Avinash wrote: On Wed, Nov 28, 2012 at 22:28:59, Daniel Mack wrote

RE: [PATCH RESEND v5 0/4] OMAP GPMC DT bindings

2012-11-28 Thread Philip, Avinash
On Wed, Nov 28, 2012 at 22:28:55, Daniel Mack wrote: [Resending +devicetree-discuss, +Rob, +Grant] This is a series of patches to support GPMC peripherals on OMAP boards. Depends on Linus' master + omap-next (branch omap-for-v3.8/cleanup-headers-gpmc) Can you resend this series on top

[PATCH v5 00/12] Support for AM33xx PWM Subsystem

2012-11-27 Thread Philip, Avinash
for PWM polarity Changes since v3: - Rebased on top of omap_dt/for_3.8/dts_part2 - Add pwm backlight for am335xevm_sk - Moved tipwmss.h to pwm-tipwmss.h Philip, Avinash (12): PWMSS: Add PWM Subsystem driver for parent-child relationship ARM: OMAP: AM33xx hwmod: Corrects

[PATCH v5 01/12] PWMSS: Add PWM Subsystem driver for parent-child relationship

2012-11-27 Thread Philip, Avinash
to PWMSS node. Signed-off-by: Philip, Avinash avinashphi...@ti.com --- Changes since v4: - Made dt match property in single line for consistency - Use SIMPLE_DEV_PM_OPS Changes since v3: - Corrected the usage of ranges property in documentation. - Add pwm prefix

[PATCH v5 02/12] ARM: OMAP: AM33xx hwmod: Corrects PWM subsystem HWMOD entries

2012-11-27 Thread Philip, Avinash
submodule register address space. 3. Adds EQEP HWMOD entries. Signed-off-by: Philip, Avinash avinashphi...@ti.com --- Changes since v4: - Split the HWMOD patches to handle correction of PWMi subsystem correction. arch/arm/mach-omap2/omap_hwmod_33xx_data.c | 158

[PATCH v5 03/12] ARM: OMAP: AM33xx hwmod: Add parent-child relationship for PWM subsystem

2012-11-27 Thread Philip, Avinash
As part of PWM subsystem integration, PWM subsystem are sharing resources like clock across submodules (ECAP, EQEP EHRPWM). To handle resource sharing IP integration rework on parent child relation between PWMSS and ECAP, EQEP EHRPWM child devices to support runtime PM. Signed-off-by: Philip

[PATCH v5 07/12] pwm: pwm-tiehrpwm: Adding TBCLK gating support.

2012-11-27 Thread Philip, Avinash
. Platforms don't have explicit TBCLK gating has to add dummy TBCLK node. Signed-off-by: Philip, Avinash avinashphi...@ti.com --- Changes since v4: - Made TBCLK gating as a must clock for EHRPWM. Platforms don't have explicit TBCLK gating, has to populate dummy clock node

[PATCH v5 08/12] pwm: tiehrpwm: Add device-tree binding

2012-11-27 Thread Philip, Avinash
in platform_driver structure to THIS_MODULE. Signed-off-by: Philip, Avinash avinashphi...@ti.com Cc: Grant Likely grant.lik...@secretlab.ca Cc: Rob Herring rob.herr...@calxeda.com Cc: Rob Landley r...@landley.net --- Changes since v4: - Made dt match property in single line for consistency

[PATCH v5 09/12] pwm: pwm-tiehrpwm: pinctrl support

2012-11-27 Thread Philip, Avinash
Enable pinctrl for pwm-tiehrpwm if pinctrl driver available, else bail out with warning message. Signed-off-by: Philip, Avinash avinashphi...@ti.com --- Changes since v4: - Changes warning message. drivers/pwm/pwm-tiehrpwm.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions

[PATCH v5 04/12] pwm: tiecap: Add device-tree binding

2012-11-27 Thread Philip, Avinash
in platform_driver structure to THIS_MODULE. Signed-off-by: Philip, Avinash avinashphi...@ti.com Cc: Grant Likely grant.lik...@secretlab.ca Cc: Rob Herring rob.herr...@calxeda.com Cc: Rob Landley r...@landley.net --- Changes since v4: - Made dt match property in single line

[PATCH v5 05/12] pwm: pwm-tiecap: pinctrl support

2012-11-27 Thread Philip, Avinash
Enable pinctrl for pwm-tiecap if pinctrl driver available, else bail out with warning message. Signed-off-by: Philip, Avinash avinashphi...@ti.com --- Changes since v4: - Changes warning message. drivers/pwm/pwm-tiecap.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions

[PATCH v5 06/12] ARM: AM33XX: clk: Add clock node for EHRPWM TBCLK

2012-11-27 Thread Philip, Avinash
EHRPWM module requires explicit clock gating of TBCLK from control module. Hence add TBCLK clock node in clock tree for EHRPWM modules. Signed-off-by: Philip, Avinash avinashphi...@ti.com --- Changes since v4: - Add dev_id field in clcok tree for TBCLK to remove support

[PATCH v5 10/12] ARM: dts: AM33XX: Add PWMSS device tree nodes

2012-11-27 Thread Philip, Avinash
Add PWMSS device tree nodes in relation with ECAP EHRPWM DT nodes to AM33XX SoC family. Also populates device tree nodes for ECAP EHRPWM by adding necessary properties like pwm-cells, base reg set disabled as status. Signed-off-by: Philip, Avinash avinashphi...@ti.com Reviewed-by: Thierry

[PATCH v5 11/12] ARM: dts: AM33XX: Add PWM backlight DT data to am335x-evm

2012-11-27 Thread Philip, Avinash
PWM output from ecap0 uses as backlight source. Also adds low threshold value to have a uniform divisions in brightness-levels scales. Signed-off-by: Philip, Avinash avinashphi...@ti.com Reviewed-by: Thierry Reding thierry.red...@avionic-design.de --- Changes since v4: - Replaced usage

[PATCH v5 12/12] ARM: dts: AM33XX: Add PWM backlight DT data to am335x-evmsk

2012-11-27 Thread Philip, Avinash
PWM output from ecap2 uses as backlight source. Also adds low threshold value to have a uniform divisions in brightness-levels scales with inverse polarity. Signed-off-by: Philip, Avinash avinashphi...@ti.com Reviewed-by: Thierry Reding thierry.red...@avionic-design.de --- Changes since v4

RE: [PATCH v3 4/4] ARM: OMAP: gpmc: add DT bindings for GPMC timings and NAND

2012-11-27 Thread Philip, Avinash
On Tue, Nov 27, 2012 at 19:30:54, Daniel Mack wrote: Hi Avinash, Hi Peter, On 23.11.2012 11:43, Philip, Avinash wrote: On Wed, Nov 21, 2012 at 15:45:23, Daniel Mack wrote: On 20.11.2012 16:59, Peter Korsgaard wrote: Daniel == Daniel Mack zon...@gmail.com writes: Peter, In patch

RE: [PATCH v3 03/10] ARM: OMAP: AM33xx hwmod: Add parent-child relationship for PWM subsystem

2012-11-26 Thread Philip, Avinash
On Mon, Nov 26, 2012 at 16:37:36, Bedia, Vaibhav wrote: Hi Benoit, On Mon, Nov 26, 2012 at 14:32:59, Cousson, Benoit wrote: Hi Vaibhav, On 11/26/2012 06:19 AM, Bedia, Vaibhav wrote: On Fri, Nov 23, 2012 at 16:36:06, Philip, Avinash wrote: On Tue, Nov 20, 2012 at 10:33:44, Philip

RE: [PATCH v4 01/11] PWMSS: Add PWM Subsystem driver for parent-child relationship

2012-11-23 Thread Philip, Avinash
On Fri, Nov 23, 2012 at 02:17:04, Thierry Reding wrote: On Wed, Nov 21, 2012 at 06:40:58PM +0530, Philip, Avinash wrote: [...] +static const struct of_device_id pwmss_of_match[] = { + { + .compatible = ti,am33xx-pwmss, + }, For consistency with other drivers

  1   2   3   >