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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
].
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
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
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
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
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
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
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
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
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
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
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
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
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
] 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
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
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
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
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
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
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
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
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
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
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
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
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
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
.
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
. 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
://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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
:
- 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
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
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
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
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])) {
+
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
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
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
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
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
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
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
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
. 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
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
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
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
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
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
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
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
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
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
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
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 - 100 of 205 matches
Mail list logo