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 wrot

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

2012-11-27 Thread Philip, Avinash
3df1af5c5a9aa9adcdcfeb3429d3be pwm: Device tree support 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 paren

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

2012-11-27 Thread Philip, Avinash
amp; ECAP as a child to PWMSS node. Signed-off-by: Philip, Avinash --- 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 pref

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

2012-11-27 Thread Philip, Avinash
flags in PWM submodule register address space. 3. Adds EQEP HWMOD entries. Signed-off-by: Philip, Avinash --- 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
igned-off-by: Philip, Avinash --- Changes since v4: - Split HWMOD patch to handle Parent<->child relation arch/arm/mach-omap2/omap_hwmod_33xx_data.c | 434 +--- 1 files changed, 203 insertions(+), 231 deletions(-) diff --git a/arch/arm/mach-omap2/omap_hwmod_33xx_

[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 --- Changes since v4: - Changes warning message. drivers/pwm/pwm-tiecap.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/drivers

[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 --- Changes since v4: - Add dev_id field in clcok tree for TBCLK to remove support for optional HWMOD clock

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

2012-11-27 Thread Philip, Avinash
able. Platforms don't have explicit TBCLK gating has to add dummy TBCLK node. Signed-off-by: Philip, Avinash --- 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 for TB

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

2012-11-27 Thread Philip, Avinash
r in platform_driver structure to THIS_MODULE. Signed-off-by: Philip, Avinash Cc: Grant Likely Cc: Rob Herring Cc: Rob Landley --- Changes since v4: - Made dt match property in single line for consistency - Corrected commit subject for consistency. Changes sinc

[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 --- Changes since v4: - Changes warning message. drivers/pwm/pwm-tiehrpwm.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a

[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 Reviewed-by: Thierry Reding

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

2012-11-27 Thread Philip, Avinash
mber in platform_driver structure to THIS_MODULE. Signed-off-by: Philip, Avinash Cc: Grant Likely Cc: Rob Herring Cc: Rob Landley --- Changes since v4: - Made dt match property in single line for consistency - Corrected commit subject for consistency. Changes sinc

[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 Reviewed-by: Thierry Reding --- Changes since v4: - Replaced usage of tab with space in compatible field Changes since

[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 Reviewed-by: Thierry Reding --- Changes since v4: - Replaced usage of tab with space in compatible

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

2012-11-27 Thread Philip, Avinash
On Thu, Nov 22, 2012 at 20:06:41, Philip, Avinash wrote: > On Thu, Nov 22, 2012 at 16:13:52, Artem Bityutskiy wrote: > > On Wed, 2012-11-21 at 07:01 +0000, Philip, Avinash wrote: > > > > I am not sure how this dependency has to be handled for this series, > > > > l

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

2012-11-29 Thread Philip, Avinash
Changes since v2: - 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

[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 --- :100644 100644 359293e... 7e61dac... M drivers/mtd/nand/omap2.c drivers/mtd/nand/omap2.c | 12 1 files changed, 8 insertions(+

[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 Cc: Grant Likely Cc: Rob Herring Cc: Rob Landley --- Changes since v2: - Remove __devinit & __devexit annotations

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

2012-11-29 Thread Philip, Avinash
med 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 --- Changes since v2: - Threshold for erased bit flip in erased page set

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) &

[PATCH v2] pwm: davinci: Add Kconfig support for ECAP & EHRPWM devices

2013-03-19 Thread Philip Avinash
emove': drivers/pwm/pwm-tiecap.c:291:49: error: 'PWMSS_ECAPCLK_STOP_REQ' undeclared (first use in this function) make[2]: *** [drivers/pwm/pwm-tiecap.o] Error 1 make[1]: *** [drivers/pwm] Error 2 make: *** [drivers] Error 2 Signed-off-by: Phi

[PATCH v2 0/3] Platform support for EHRPWM & ECAP devices in DAVINCI.

2013-03-19 Thread Philip Avinash
-v3.9/dt-2 [2] https://gitorious.org/linux-pwm/linux-pwm/trees/for-next [3] https://github.com/avinashphilip/am335x_linux/tree/davinci-for-v3.9_soc_pwm Note: DT support for EHRPWM backlight has not been added in da850-evm.dts as there is conflicting pin-mux requirement with SPI flash. Philip

[PATCH v2 1/3] ARM: davinci: clk framework support for enable/disable functionality

2013-03-19 Thread Philip Avinash
functionality. Signed-off-by: Philip Avinash --- Changes since v1: - Add support for clock enable/disable functionality. :100644 100644 d458558... aa89e5e... M arch/arm/mach-davinci/clock.c :100644 100644 8694b39... 1e4e836... M arch/arm/mach-davinci/clock.h arch/arm/mach-davinci/clock.c

[PATCH v2 2/3] arm: davinci: clock node support for ECAP & EHRPWM

2013-03-19 Thread Philip Avinash
Add clock node support for ECAP and EHRPWM modules. Also adds TBCLK for EHRWPM TBCLK to comply with pwm-tiehrpwm driver. Signed-off-by: Philip Avinash --- Changes Since v1: - TBCLK make it as actual clock with enable/disable feature. :100644 100644 0c4a26d... dbed75c... M arch/arm/mach

[PATCH v2 3/3] ARM: davinci: da850: add EHRPWM & ECAP DT node

2013-03-19 Thread Philip Avinash
Add da850 EHRPWM & ECAP DT node. Also adds OF_DEV_AUXDATA for EHRPWM & ECAP driver to use EHRPWM & ECAP clock. Signed-off-by: Philip Avinash --- Changes since v1: - Reusing ti,am33xx as compatible field as both IP's are same with am33xx platform and da85

RE: [PATCH v2 1/3] ARM: davinci: clk framework support for enable/disable functionality

2013-03-20 Thread Philip, Avinash
On Wed, Mar 20, 2013 at 16:49:55, Nori, Sekhar wrote: > On 3/20/2013 12:11 PM, Philip Avinash wrote: > > DAVINCI clock framework currently not supporting clock enable/disable > > functionality on clock nodes. In DAVINCI platform EHRPWM module requires > > Wrong. clock enable

RE: [PATCH v2 2/3] arm: davinci: clock node support for ECAP & EHRPWM

2013-03-20 Thread Philip, Avinash
On Wed, Mar 20, 2013 at 16:54:34, Nori, Sekhar wrote: > On 3/20/2013 12:11 PM, Philip Avinash wrote: > > Add clock node support for ECAP and EHRPWM modules. > > Also adds TBCLK for EHRWPM TBCLK to comply with pwm-tiehrpwm > > driver. > > > > Signed-off-by: Ph

RE: [PATCH v2 3/3] ARM: davinci: da850: add EHRPWM & ECAP DT node

2013-03-21 Thread Philip, Avinash
On Wed, Mar 20, 2013 at 18:17:59, Peter Korsgaard wrote: > >>>>> "Sekhar" == Sekhar Nori writes: > > Sekhar> On 3/20/2013 12:11 PM, Philip Avinash wrote: > >> Add da850 EHRPWM & ECAP DT node. > >> Also adds OF_DEV_AUXDAT

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 [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 c

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

2013-02-07 Thread Philip Avinash
n [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): arm: gpmc: Converts GPMC driver to pm_runtime capable arm: gpmc: Low p

[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 --- 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 --- a/arch/arm/mach

[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 --- Changes since v1: Module disable & enable added using pm_runtime support. arch/arm/mach-omap2/gpmc.c | 20 1 file changed

[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 --- drivers/mtd/devices/elm.c | 40 1 file changed, 40 insertions(+) diff --git

[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 --- drivers/mtd/nand/omap2.c | 19 +++ 1 file changed, 19 insertions

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. > > >

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

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

2013-02-11 Thread Philip Avinash
From: "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 --- Changes since v1: - Remove sparse warnings arch/arm/mach-omap2/cclock33xx_

RE: [PATCH v3 0/3] Platform support for EHRPWM & ECAP devices in DAVINCI.

2013-04-03 Thread Philip, Avinash
On Tue, Apr 02, 2013 at 14:05:09, Nori, Sekhar wrote: > On 3/25/2013 1:19 PM, Philip Avinash wrote: > > Add platform support for EHRPWM and ECAP by providing clock nodes and > > device tree nodes. > > This series depends on [1] and [2] and is available for testing at [3]. >

RE: [PATCH v3 0/3] Platform support for EHRPWM & ECAP devices in DAVINCI.

2013-04-03 Thread Philip, Avinash
On Thu, Apr 04, 2013 at 11:19:44, Nori, Sekhar wrote: > On 4/4/2013 10:09 AM, Philip, Avinash wrote: > > On Tue, Apr 02, 2013 at 14:05:09, Nori, Sekhar wrote: > >> On 3/25/2013 1:19 PM, Philip Avinash wrote: > >>> Add platform support for EHRPWM and ECAP by providin

RE: [PATCH v3 0/3] Platform support for EHRPWM & ECAP devices in DAVINCI.

2013-04-04 Thread Philip, Avinash
On Thu, Apr 04, 2013 at 12:07:44, Philip, Avinash wrote: > On Thu, Apr 04, 2013 at 11:19:44, Nori, Sekhar wrote: > > On 4/4/2013 10:09 AM, Philip, Avinash wrote: > > > On Tue, Apr 02, 2013 at 14:05:09, Nori, Sekhar wrote: > > >> On 3/25/2013 1:19 PM, Philip Avina

RE: [PATCH] mtd: devices: elm: Removes literals in elm DT node

2013-01-30 Thread Philip, Avinash
Hi Artem, On Thu, Jan 24, 2013 at 14:00:38, Peter Korsgaard wrote: > >>>>> "Philip" == Philip Avinash writes: > > Philip> As part of removing generalized dependency, replace > Philip> literal fields in DT compatible field with <52> for

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

[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 --- arch/arm/boot/dts/am33xx.dtsi |4 ++-- 1 file changed, 2 insertions(+),

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

[PATCH] mtd: devices: elm: Removes literals in elm DT node

2013-01-23 Thread Philip Avinash
As part of removing generalized dependency, replace literal fields in DT compatible field with <52> for am335x platforms. Signed-off-by: Philip Avinash --- Documentation/devicetree/bindings/mtd/elm.txt |2 +- drivers/mtd/devices/elm.c |2 +- 2 files chan

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

2013-01-24 Thread Philip Avinash
[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 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" Add ELM data node to AM33XX device tree file. Signed-off-by: Philip Avinash Acked-by: Peter Korsgaard --- Changes since v2: - Replace literals to 52 - remove tab arch/arm/boot/dts/am33xx.dtsi |8 1 file changed, 8 insertion

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

2013-01-24 Thread Philip Avinash
From: "Philip, Avinash" Add GPMC data node to AM33XX device tree file. Signed-off-by: Philip Avinash Acked-by: Peter Korsgaard --- Changes since v2: - Change number of chip select to 7 arch/arm/boot/dts/am33xx.dtsi | 12 1 file changed, 12 insertions(+) di

[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 --- arch/arm/boot/dts/am335x-evm.dts | 98

RE: linux-next: JFFS2 corruption

2013-02-27 Thread Philip, Avinash
On Wed, Feb 27, 2013 at 20:42:01, Mark Jackson wrote: > On 26/02/13 23:18, Stephen Rothwell wrote: > > Hi Mark, > > > > On Tue, 26 Feb 2013 15:50:18 + Mark Jackson > > wrote: > >> > >> Just tested the current next-20130226 on a custom AM335X board, and if I > >> mount > >> our JFFS2 image a

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

2013-02-19 Thread Philip Avinash
from 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 |

[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 --- 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 --- a/arch/arm/mach

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 +0000, 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: &

[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 --- Changes since v1: Module disable & enable added using pm_runtime support. arch/arm/mach-omap2/gpmc.c | 20 1 file changed

[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 --- Changes Since v2: - Removes wait queue mechanism. The order of device creation ensures that nand driver

[PATCH 0/3] Davinci support for EHRPWM & ECAP

2013-03-14 Thread Philip Avinash
ilip/am335x_linux/tree/davinci-for-v3.9_soc_pwm Philip Avinash (3): pwm: davinci: Add Kconfig support for ECAP & EHRPWM devices pwm: pwm-tiecap: Add device-tree binding support for da850 SOC pwm: pwm-tiehrpwm: Add device tree binding support for da850 SOC .../devicetree/bindings

[PATCH 1/3] pwm: davinci: Add Kconfig support for ECAP & EHRPWM devices

2013-03-14 Thread Philip Avinash
emove': drivers/pwm/pwm-tiecap.c:291:49: error: 'PWMSS_ECAPCLK_STOP_REQ' undeclared (first use in this function) make[2]: *** [drivers/pwm/pwm-tiecap.o] Error 1 make[1]: *** [drivers/pwm] Error 2 make: *** [drivers] Error 2 Signed-off-by: Phi

[PATCH 2/3] pwm: pwm-tiecap: Add device-tree binding support for da850 SOC

2013-03-14 Thread Philip Avinash
ECAP IP is used in da850 SOC's also. Hence adds ECAP device tree binding support for da850. Cc: Grant Likely Cc: Rob Herring Cc: Rob Landley Signed-off-by: Philip Avinash --- :100644 100644 131e8c1... fcbd3c1... M Documentation/devicetree/bindings/pwm/pwm-tiecap.txt :100644 100644 22

[PATCH 3/3] pwm: pwm-tiehrpwm: Add device tree binding support for da850 SOC

2013-03-14 Thread Philip Avinash
EHRPWM IP is used in da850 SOC's also. Hence adds EHRPWM device tree binding support for da850. Cc: Grant Likely Cc: Rob Herring Cc: Rob Landley Signed-off-by: Philip Avinash --- :100644 100644 4fc7079... 0442d65... M Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.txt :100644 1

[PATCH 3/3] ARM: davinci: da850: add EHRPWM & ECAP DT node

2013-03-14 Thread Philip Avinash
Add da850 EHRPWM & ECAP DT node. Also adds OF_DEV_AUXDATA for EHRPWM & ECAP driver to use EHRPWM & ECAP clock. Signed-off-by: Philip Avinash --- :100644 100644 3ec1bda... 9b5b613... M arch/arm/boot/dts/da850.dtsi :100644 100644 72466ab... e32484c... M arch/arm/mach-davinci/da8xx-dt

[PATCH 0/3] Platform support for EHRPWM & ECAP devices in Davinci.

2013-03-14 Thread Philip Avinash
-next [3] https://github.com/avinashphilip/am335x_linux/tree/davinci-for-v3.9_soc_pwm Philip Avinash (3): arm: davinci: clock node support for ECAP & EHRPWM ARM: davinci: da850: Enable EHRPWM TBCLK from CFG_CHIP1 ARM: davinci: da850: add EHRPWM & ECAP DT node arch/arm/boot/dts/da

[PATCH 2/3] ARM: davinci: da850: Enable EHRPWM TBCLK from CFG_CHIP1

2013-03-14 Thread Philip Avinash
da850 platforms require TBCLK synchronization in CFG_CHIP1 register for TBCLK enable in EHRPWM modules. Enabling of TBCLK is done only if EHRPWM DT node status is set to "okay" DT blob. Also adds macro definitions for DA8XX_EHRPWM_TBCLKSYNC and DA8XX_CFGCHIP1_REG. Signed-off-by: Phil

[PATCH 1/3] arm: davinci: clock node support for ECAP & EHRPWM

2013-03-14 Thread Philip Avinash
Add clock node support for ECAP and EHRPWM modules. Also adds dummy clock for EHRWPM TBCLK to comply with pwm-tiehrpwm driver. Signed-off-by: Philip Avinash --- :100644 100644 0c4a26d... 891d075... M arch/arm/mach-davinci/da850.c arch/arm/mach-davinci/da850.c | 24 1

RE: [PATCH 1/3] pwm: davinci: Add Kconfig support for ECAP & EHRPWM devices

2013-03-14 Thread Philip, Avinash
On Thu, Mar 14, 2013 at 17:09:04, Nori, Sekhar wrote: > On 3/14/2013 4:02 PM, Philip Avinash wrote: > > Add EHRPWM and ECAP support build support for DAVINCI_DA850 platforms. > > > > Also, since DAVINCI platforms doesn't support TI-PWM-Subsystem module, > &

RE: [PATCH 2/3] pwm: pwm-tiecap: Add device-tree binding support for da850 SOC

2013-03-14 Thread Philip, Avinash
On Thu, Mar 14, 2013 at 17:13:08, Nori, Sekhar wrote: > On 3/14/2013 4:02 PM, Philip Avinash wrote: > > ECAP IP is used in da850 SOC's also. Hence adds ECAP device tree binding > > support for da850. > > > > Cc: Grant Likely > > Cc: Rob Herring > >

RE: [PATCH 2/3] ARM: davinci: da850: Enable EHRPWM TBCLK from CFG_CHIP1

2013-03-14 Thread Philip, Avinash
On Thu, Mar 14, 2013 at 18:31:52, Nori, Sekhar wrote: > On 3/14/2013 4:07 PM, Philip Avinash wrote: > > da850 platforms require TBCLK synchronization in CFG_CHIP1 register for > > TBCLK enable in EHRPWM modules. Enabling of TBCLK is done only if EHRPWM > > DT node status is

RE: [PATCH 2/3] ARM: davinci: da850: Enable EHRPWM TBCLK from CFG_CHIP1

2013-03-14 Thread Philip, Avinash
On Fri, Mar 15, 2013 at 10:38:58, Nori, Sekhar wrote: > On 3/15/2013 10:27 AM, Philip, Avinash wrote: > > On Thu, Mar 14, 2013 at 18:31:52, Nori, Sekhar wrote: > >> On 3/14/2013 4:07 PM, Philip Avinash wrote: > >>> da850 platforms require TBCLK synchronization in CFG_

RE: [PATCH 2/2] pwm: pwm-tiehrpwm: Add support for configuring polarity of PWM

2012-08-27 Thread Philip, Avinash
On Fri, Aug 24, 2012 at 22:23:14, Thierry Reding wrote: > On Thu, Aug 23, 2012 at 12:30:51PM +0530, Philip, Avinash wrote: > [...] > > diff --git a/drivers/pwm/pwm-tiehrpwm.c b/drivers/pwm/pwm-tiehrpwm.c > [...] > > @@ -100,10 +109,17 @@ > > > > #de

[PATCH 0/4] mtd: nand: OMAP: Add support to use ELM as error correction module

2012-10-03 Thread Philip, Avinash
or. This being tested by introducing bit errors at multiple sectors inside page. Philip, Avinash (4): mtd: nand: omap2: Update nerrors using ecc.strength mtd: devices: elm: Add support for ELM error correction ARM: OMAP2: gpmc: Add support for BCH ECC scheme mtd: nand: omap2: Add data correction

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

2012-10-03 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 --- :100644 100644 5b31386... af511a9... M drivers/mtd/nand/omap2.c drivers/mtd/nand/omap2.c | 12 1 files changed, 8 insertions(+

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

2012-10-03 Thread Philip, Avinash
Platforms containing the ELM module can be used to correct errors reported by BCH 4, 8 & 16 bit ECC scheme. For now only 4 & 8 bit support is added. Signed-off-by: Philip, Avinash Cc: Grant Likely Cc: Rob Herring Cc: Rob Landley --- :00 100644 000... b88ee83... A Docum

[PATCH 3/4] ARM: OMAP2: gpmc: Add support for BCH ECC scheme

2012-10-03 Thread Philip, Avinash
o 14 to make compatible with RBL. Signed-off-by: Philip, Avinash --- :100644 100644 72428bd... c9bc3cf... M arch/arm/mach-omap2/gpmc.c :100644 100644 2e6e259... c916510... M arch/arm/plat-omap/include/plat/gpmc.h arch/arm/mach-omap2/gpmc.c | 120 +--- arch/a

[PATCH 4/4] mtd: nand: omap2: Add data correction support

2012-10-03 Thread Philip, Avinash
dule is used for error correction or not. Note: ECC layout of BCH8 uses 14 bytes for 512 byte of data to make compatible with RBL ECC layout, even though the requirement was only 13 byte. This results a common ecc layout across RBL, U-boot & Linux. Signed-off-by: Philip, Avinash --- :100644 1006

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

2012-10-04 Thread Philip, Avinash
On Wed, Oct 03, 2012 at 20:40:46, Peter Meerwald wrote: > > some minor nitpicks below > > > + * > > + * On completion of processing by elm module, error location status > > + * register updated with correctable/uncorrectable error information. > > + * In case of correctable errors, number of erro

RE: [PATCH 3/4] ARM: OMAP2: gpmc: Add support for BCH ECC scheme

2012-10-04 Thread Philip, Avinash
On Thu, Oct 04, 2012 at 00:24:58, Ivan Djelic wrote: > On Wed, Oct 03, 2012 at 03:29:48PM +0100, Philip, Avinash wrote: > > Add support for BCH ECC scheme to gpmc driver and also enabling multi > > sector read/write. This helps in doing single shot NAND page read and > > write

RE: [PATCH 4/4] mtd: nand: omap2: Add data correction support

2012-10-04 Thread Philip, Avinash
On Thu, Oct 04, 2012 at 00:50:45, Ivan Djelic wrote: > On Wed, Oct 03, 2012 at 03:29:49PM +0100, Philip, Avinash wrote: > > ELM module can be used for error correction of BCH 4 & 8 bit. Also > > support read & write page in one shot by adding custom read_page & > &g

RE: [PATCH 4/4] mtd: nand: omap2: Add data correction support

2012-10-05 Thread Philip, Avinash
On Thu, Oct 04, 2012 at 15:51:03, Philip, Avinash wrote: > On Thu, Oct 04, 2012 at 00:50:45, Ivan Djelic wrote: > > On Wed, Oct 03, 2012 at 03:29:49PM +0100, Philip, Avinash wrote: > > > ELM module can be used for error correction of BCH 4 & 8 bit. Also > > > suppor

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

2012-10-23 Thread Philip, Avinash
On Tue, Oct 16, 2012 at 00:26:40, Peter Korsgaard wrote: > >>>>> Philip, Avinash writes: > > > Update number of errors using nand ecc strength. > > Also add macro definitions BCH8_ERROR_MAX & BCH4_ERROR_MAX > > > Signed-off-by: Philip, Avinash &

RE: [PATCH 3/4] ARM: OMAP2: gpmc: Add support for BCH ECC scheme

2012-10-23 Thread Philip, Avinash
On Tue, Oct 16, 2012 at 00:18:30, Peter Korsgaard wrote: > >>>>> Philip, Avinash writes: > > > Add support for BCH ECC scheme to gpmc driver and also enabling multi > > sector read/write. This helps in doing single shot NAND page read and > > write. >

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

2012-10-23 Thread Philip, Avinash
On Tue, Oct 16, 2012 at 01:10:47, Peter Korsgaard wrote: > >>>>> Philip, Avinash writes: > > > Platforms containing the ELM module can be used to correct errors > > reported by BCH 4, 8 & 16 bit ECC scheme. For now only 4 & 8 bit > > support i

RE: [RFC PATCH v3 16/16] ARM: dts: add AM33XX SPI support

2012-10-31 Thread Philip, Avinash
On Wed, Oct 31, 2012 at 16:05:13, Cousson, Benoit wrote: > > On 10/31/2012 11:16 AM, Benoit Cousson wrote: > > Hi Avinash, > > > > On 10/30/2012 10:41 AM, Philip, Avinash wrote: > >> On Mon, Oct 29, 2012 at 14:40:02, Philip, Avinash wrote: > >>> O

[PATCH v3] ARM: dts: AM33xx: Add SPI node

2012-10-31 Thread Philip, Avinash
Add McSPI data node to AM33XX device tree file. The McSPI module (and so as the driver) is reused from OMAP4. Signed-off-by: Philip, Avinash Tested-by: Matt Porter --- Changes since v2: - Commit message corrected. - Rebase on top of for_3.8/dts Changes since v1

[PATCH 0/8] Support for AM33xx PWM Susbsytem

2012-11-05 Thread Philip, Avinash
tch #7-8. This patch series based on linux-next/20121102 and tested on AM335x-evm. It depends on [1] 1. https://lkml.org/lkml/2012/10/29/589 pwm: Device tree support for PWM polarity Philip, Avinash (8): PWMSS: Add PWM Subsystem driver for parent<->child relationship ARM: am33xx: clk: A

[PATCH 2/8] ARM: am33xx: clk: Add optional clock for EHRPWM

2012-11-05 Thread Philip, Avinash
EHRPWM module requires explicit clock gating from control module. Hence add clock node in clock tree for EHRPWM modules. Signed-off-by: Philip, Avinash --- :100644 100644 17e3de5... 833260f... M arch/arm/mach-omap2/clock33xx_data.c :100644 100644 a89e825... c0e34e6... M arch/arm/mach-omap2

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

2012-11-05 Thread Philip, Avinash
Add support for opt_clks in EHRPWM HWMOD entry to handle additional clock gating from control module. 3. Add HWMOD entries for EQEP PWM submodule. Signed-off-by: Philip, Avinash --- :100644 100644 ad8d43b... c419269... M arch/arm/mach-omap2/omap_hwmod_33xx_data.c arch/ar

[PATCH 4/8] pwm: pwm-tiecap: Add device-tree binding support for APWM driver

2012-11-05 Thread Philip, Avinash
iver structure to THIS_MODULE. Signed-off-by: Philip, Avinash Cc: Grant Likely Cc: Rob Herring Cc: Rob Landley --- Second version - Combined with HWMOD changes & DT bindings. - Remove the custom of_xlate support. :00 100644 000... fe24cac... A Documentation/devicetree/

[PATCH 5/8] pwm: pwm-tiehrpwm: Add device-tree binding support for EHRPWM driver

2012-11-05 Thread Philip, Avinash
ture to THIS_MODULE. Signed-off-by: Philip, Avinash Cc: Grant Likely Cc: Rob Herring Cc: Rob Landley --- Second version - Combined with HWMOD changes & DT bindings. - Remove the custom of_xlate support. :00 100644 000... aa2ed0a... A Documentation/devicetree/bind

[PATCH 6/8] pwm: pwm-tiehrpwm: Adding TBCLK gating support.

2012-11-05 Thread Philip, Avinash
Some platforms (like AM33XX) requires clock gating from control module explicitly. So adding optional TBCLK handling if DT node populated with tbclkgating. This helps the driver can coexist for Davinci platforms. Signed-off-by: Philip, Avinash --- :100644 100644 1e63652... cf69da3... M drivers

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

2012-11-05 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 --- Second version - C

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

2012-11-05 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 --- Second version - Combined with HWMOD changes & DT bindings. - No changes :100644 100644 185d632... 985

[PATCH 1/8] PWMSS: Add PWM Subsystem driver for parent<->child relationship

2012-11-05 Thread Philip, Avinash
amp; ECAP as a child to PWMSS node. Signed-off-by: Philip, Avinash Cc: Grant Likely Cc: Rob Herring Cc: Rob Landley --- :00 100644 000... b6c2814... A Documentation/devicetree/bindings/pwm/tipwmss.txt :100644 100644 ed81720... 99ebcfa... M drivers/pwm/Kconfig :100644 100644 acf

RE: [PATCH v3] ARM: dts: AM33xx: Add SPI node

2012-11-05 Thread Philip, Avinash
On Thu, Nov 01, 2012 at 19:19:41, Cousson, Benoit wrote: > Hi Avinash, > > On 10/31/2012 11:51 AM, Philip, Avinash wrote: > > Add McSPI data node to AM33XX device tree file. The McSPI module (and so > > as the driver) is reused from OMAP4. > > > > Signed-off-b

RE: [GIT PULL] PWM subsystem for v3.6

2012-07-27 Thread Philip, Avinash
r, who did the original work, and Arnd Bergmann who was involved in > the review process. Other people such as Shawn Guo and Mark Brown have > also been reviewing these patches and new patches have been contributed > by Eric Bénard, Axel Lin, Sachin Kamat, Alexandre Courbot, Alexandre > Per

RE: [PATCH] pwm_backlight: Add device tree support for Low Threshold Brightness

2012-09-20 Thread Philip, Avinash
On Wed, Sep 19, 2012 at 12:14:25, Thierry Reding wrote: > On Wed, Aug 01, 2012 at 06:51:21AM +0000, Philip, Avinash wrote: > > On Mon, Jul 30, 2012 at 12:28:05, Thierry Reding wrote: > > > On Wed, Jul 25, 2012 at 05:54:02PM +0530, Philip, Avinash wrote: > > > > Low

[PATCH v2] pwm_backlight: Add device tree support for Low Threshold Brightness

2012-09-20 Thread Philip, Avinash
. Signed-off-by: Philip, Avinash --- Changes since v1: - Updated commit message. - Changes to low-threshold-brightness. - Merged example section to original. :100644 100644 1e4fc72... 5baebff... M Documentation/devicetree/bindings/video/backlight/pwm-backlight.txt

RE: [PATCH v2] pwm_backlight: Add device tree support for Low Threshold Brightness

2012-09-20 Thread Philip, Avinash
Hi Stephen, On Fri, Sep 21, 2012 at 10:46:45, Stephen Warren wrote: > On 09/20/2012 10:51 PM, Philip, Avinash wrote: > > Some backlights perform poorly when driven by a PWM with a short > > duty-cycle. For such devices, the low threshold can be used to specify a > > lower bou

RE: [PATCH v2] pwm_backlight: Add device tree support for Low Threshold Brightness

2012-09-24 Thread Philip, Avinash
On Fri, Sep 21, 2012 at 23:13:39, Stephen Warren wrote: > On 09/21/2012 12:03 AM, Philip, Avinash wrote: > > Hi Stephen, > > > > On Fri, Sep 21, 2012 at 10:46:45, Stephen Warren wrote: > >> On 09/20/2012 10:51 PM, Philip, Avinash wrote: > >>> Some back

RE: [PATCH v2] pwm_backlight: Add device tree support for Low Threshold Brightness

2012-09-25 Thread Philip, Avinash
On Tue, Sep 25, 2012 at 11:49:14, Stephen Warren wrote: > On 09/24/2012 10:29 PM, Philip, Avinash wrote: > > On Fri, Sep 21, 2012 at 23:13:39, Stephen Warren wrote: > >> On 09/21/2012 12:03 AM, Philip, Avinash wrote: > >>> Hi Stephen, > >>> > >>

RE: [PATCH v2] arm/dts: AM33XX: Add SPI device tree data

2012-09-26 Thread Philip, Avinash
Hi Benoit, On Tue, Sep 18, 2012 at 11:00:28, Philip, Avinash wrote: > Add McSPI data node to AM33XX device tree file. The McSPI module (and so > as the driver) is reused from OMAP4. > > Signed-off-by: Philip, Avinash > Tested-by: Matt Porter I haven't received any c

[PATCH 0/2] DT binding support for ECAP & EHRPWM driver

2012-09-26 Thread Philip, Avinash
_3.7/dts_part2 Philip, Avinash (2): pwm: pwm-tiecap: Add device-tree binding support for APWM driver pwm: pwm-tiehrpwm: Add device-tree binding support for EHRPWM driver .../devicetree/bindings/pwm/pwm-tiecap.txt | 26 + .../devicetree/bindings/pwm/pwm-tiehrpwm.txt |

  1   2   3   4   >