[PATCH v2 06/10] mtd: nand: omap2: obtain memory from resource

2012-06-13 Thread Afzal Mohammed
gpmc initialization done by platform code now updates struct resource with the address space alloted for nand. Use this interface to obtain memory rather than relying on platform data field - phys_base. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/plat-omap/include/plat/nand.h |1

[PATCH v2 07/10] mtd: onenand: omap2: obtain memory from resource

2012-06-13 Thread Afzal Mohammed
gpmc initialization for onenand done by platform code now provides onenand address space as memory resource. Hence remove usage of gpmc_cs_request in onenand driver and obtain memory details from resource structure. Signed-off-by: Afzal Mohammed af...@ti.com --- drivers/mtd/onenand/omap2.c

[PATCH v2 08/10] ARM: OMAP2+: gpmc: Modify interrupt handling

2012-06-13 Thread Afzal Mohammed
this change) as the only user of GPMC interrupt is NAND. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/gpmc.c | 136 arch/arm/plat-omap/include/plat/gpmc.h |1 + 2 files changed, 120 insertions(+), 17 deletions(-) diff --git a/arch/arm

[PATCH v2 09/10] ARM: OMAP2+: gpmc-nand: Modify Interrupt handling

2012-06-13 Thread Afzal Mohammed
Now GPMC provides its client with interrupts that can be handled using the standard interrupt API. Modify GPMC NAND setup to work with it. Also disable write protect in GPMC code, so that NAND driver can be ignorant of GPMC configuration. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm

[PATCH v2 10/10] mtd: nand: omap2: use gpmc provided irqs

2012-06-13 Thread Afzal Mohammed
GPMC platform initialization provides it's clients with interrupts that can be used through struct resource. Make use of it for irq mode functionality. Also now write protect disable is done by GPMC, hence remove it. Signed-off-by: Afzal Mohammed af...@ti.com --- drivers/mtd/nand/omap2.c | 70

[PATCH v2 0/3] Prepare for GPMC driver conversion

2012-06-16 Thread Afzal Mohammed
of timing api for setting clock activation time, and remove direct writing to register for clock activation. Peripherals making use of it were tusb6010 onenand 2. Move ensuring that async mode in OneNAND has been setup from set_sync to setup function, improve commit message Afzal Mohammed (3): ARM

[PATCH v2 1/3] ARM: OMAP2+: nand: unify init functions

2012-06-16 Thread Afzal Mohammed
to be using CS0 based on u-boot, while google grep says omap3touchbook too has CS0. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-devkit8000.c |8 +++-- arch/arm/mach-omap2/board-flash.c | 45 ++- arch/arm/mach-omap2/board-flash.h

[PATCH v2 2/3] ARM: OMAP2+: onenand: prepare for gpmc driver migration

2012-06-16 Thread Afzal Mohammed
to gpmc_onenand_init function; gpmc for onenand needs to be initialized to async mode (even for sync mode initially). Ensuring that onenand part has been setup for async mode has been moved now to setup function. Thanks to Jon for his suggestions on improving this change. Signed-off-by: Afzal

[PATCH v2 3/3] ARM: OMAP2+: gpmc: handle additional timings

2012-06-16 Thread Afzal Mohammed
time by directly writing to registers. Thanks to Tony for making me aware of the issue being kind enough to test this change. Signed-off-by: Afzal Mohammed af...@ti.com --- v2: Make use of timings api for setting clock activation time, and remove direct writing to register for clock activation

[PATCH v3 0/3] Prepare for GPMC driver conversion

2012-06-21 Thread Afzal Mohammed
Afzal Mohammed (3): ARM: OMAP2+: nand: unify init functions ARM: OMAP2+: gpmc: handle additional timings ARM: OMAP2+: onenand: prepare for gpmc driver migration arch/arm/mach-omap2/board-devkit8000.c |8 +- arch/arm/mach-omap2/board-flash.c | 45 - arch/arm/mach

[PATCH v3 1/3] ARM: OMAP2+: nand: unify init functions

2012-06-21 Thread Afzal Mohammed
to be using CS0 based on u-boot, while google grep says omap3touchbook too has CS0. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-devkit8000.c |8 +++-- arch/arm/mach-omap2/board-flash.c | 45 ++- arch/arm/mach-omap2/board-flash.h

[PATCH v3 2/3] ARM: OMAP2+: gpmc: handle additional timings

2012-06-21 Thread Afzal Mohammed
existing users that were configuring clk activation time by directly writing to registers. Thanks to Tony for making me aware of the issue being kind enough to test this change. Signed-off-by: Afzal Mohammed af...@ti.com --- v3: Handle bool type timings too v2: Make use of timing api for setting

[PATCH v3 3/3] ARM: OMAP2+: onenand: prepare for gpmc driver migration

2012-06-21 Thread Afzal Mohammed
to separate out timing calculation actual configuration (GPMC OneNAND side). Thanks to Jon for his suggestions. Signed-off-by: Afzal Mohammed af...@ti.com --- v3: Refactor set_sync/async functions to separate out timing and configurations v2: Move ensuring that async mode in OneNAND has been setup

[PATCH v4 0/3] Prepare for GPMC driver conversion

2012-06-22 Thread Afzal Mohammed
been setup from set_sync to setup function, improve commit message Afzal Mohammed (3): ARM: OMAP2+: nand: unify init functions ARM: OMAP2+: gpmc: handle additional timings ARM: OMAP2+: onenand: prepare for gpmc driver migration arch/arm/mach-omap2/board-devkit8000.c |8 +- arch

[PATCH v4 1/3] ARM: OMAP2+: nand: unify init functions

2012-06-22 Thread Afzal Mohammed
to be using CS0 based on u-boot, while google grep says omap3touchbook too has CS0. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-devkit8000.c |8 +++-- arch/arm/mach-omap2/board-flash.c | 45 ++- arch/arm/mach-omap2/board-flash.h

[PATCH v4 2/3] ARM: OMAP2+: gpmc: handle additional timings

2012-06-22 Thread Afzal Mohammed
existing users that were configuring clk activation time by directly writing to registers. Thanks to Tony for making me aware of the issue being kind enough to test this change. Signed-off-by: Afzal Mohammed af...@ti.com --- v3: Handle bool type timings too v2: Make use of timing api for setting

[PATCH v4 3/3] ARM: OMAP2+: onenand: prepare for gpmc driver migration

2012-06-22 Thread Afzal Mohammed
to separate out timing calculation actual configuration (GPMC OneNAND side). Thanks to Jon for his suggestions. Signed-off-by: Afzal Mohammed af...@ti.com --- v4: Reorganize set_sync/async functions in a better way v3: Refactor set_sync/async functions to separate out timing and configurations v2

[PATCH v6 00/13] GPMC driver conversion

2012-06-22 Thread Afzal Mohammed
movement that kept similar code together (for easy review) Afzal Mohammed (13): ARM: OMAP2+: gpmc: platform definitions ARM: OMAP2+: gpmc: Adapt to HWMOD ARM: OMAP2+: gpmc: driver migration helper ARM: OMAP2+: gpmc: minimal driver support ARM: OMAP2+: gpmc: resource creation helpers ARM

[PATCH v6 01/13] ARM: OMAP2+: gpmc: platform definitions

2012-06-22 Thread Afzal Mohammed
gpmc driver platform definitions Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/plat-omap/include/plat/gpmc.h | 37 1 file changed, 37 insertions(+) diff --git a/arch/arm/plat-omap/include/plat/gpmc.h b/arch/arm/plat-omap/include/plat/gpmc.h index

[PATCH v6 02/13] ARM: OMAP2+: gpmc: Adapt to HWMOD

2012-06-22 Thread Afzal Mohammed
Create API for platforms to adapt gpmc to HWMOD gpmc clk is stored as timing calculation for platform code require its rate so that GPMC timing values (platform data for gpmc driver) can be calculated. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/gpmc.c | 31

[PATCH v6 03/13] ARM: OMAP2+: gpmc: driver migration helper

2012-06-22 Thread Afzal Mohammed
as in old interface GPMC is configured at arch initcall and GPMC should be ready to handle old interface by that time Note: This commit has to be reverted once all boards have been converted to work with gpmc driver interface Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/gpmc.c

[PATCH v6 04/13] ARM: OMAP2+: gpmc: minimal driver support

2012-06-22 Thread Afzal Mohammed
Create a minimal driver out of gpmc code. Responsibilities handled by earlier gpmc initialization is now achieved in probe. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/gpmc.c | 179 1 file changed, 132 insertions(+), 47

[PATCH v6 05/13] ARM: OMAP2+: gpmc: resource creation helpers

2012-06-22 Thread Afzal Mohammed
Helpers for populating given resource structure with memory interrupt information. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/gpmc.c | 45 1 file changed, 45 insertions(+) diff --git a/arch/arm/mach-omap2/gpmc.c b/arch/arm

[PATCH v6 06/13] ARM: OMAP2+: gpmc: CS configuration helper

2012-06-22 Thread Afzal Mohammed
Helper for configuring given CS based on flags. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/gpmc.c | 39 arch/arm/plat-omap/include/plat/gpmc.h |5 2 files changed, 44 insertions(+) diff --git a/arch/arm/mach-omap2

[PATCH v6 07/13] ARM: OMAP2+: gpmc: register time setting helper

2012-06-22 Thread Afzal Mohammed
Helper for setting GPMC timing by taking input as register values. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/gpmc.c | 45 1 file changed, 45 insertions(+) diff --git a/arch/arm/mach-omap2/gpmc.c b/arch/arm/mach-omap2/gpmc.c

[PATCH v6 08/13] ARM: OMAP2+: gpmc: holler if no configuration

2012-06-22 Thread Afzal Mohammed
so that all the gpmc periherals can be configured in Kernel for all boards instead of relying on bootloader. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/gpmc.c | 104 1 file changed, 104 insertions(+) diff --git a/arch/arm/mach

[PATCH v6 09/13] ARM: OMAP2+: gpmc: waitpin helper

2012-06-22 Thread Afzal Mohammed
) Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/gpmc.c | 123 arch/arm/plat-omap/include/plat/gpmc.h |9 +++ 2 files changed, 132 insertions(+) diff --git a/arch/arm/mach-omap2/gpmc.c b/arch/arm/mach-omap2/gpmc.c index 9e3960e

[PATCH v6 10/13] ARM: OMAP2+: gpmc: handle connected peripherals

2012-06-22 Thread Afzal Mohammed
-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/gpmc.c | 142 1 file changed, 142 insertions(+) diff --git a/arch/arm/mach-omap2/gpmc.c b/arch/arm/mach-omap2/gpmc.c index 15688da..ac66267 100644 --- a/arch/arm/mach-omap2/gpmc.c +++ b/arch

[PATCH v6 11/13] ARM: OMAP2+: gpmc: cs reconfigure helper

2012-06-22 Thread Afzal Mohammed
Helper for reconfiguring CS. This helps if a peripheral needs to reconfigure GPMC settings different from the one which was configured during probe. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/gpmc.c | 32 arch/arm/plat-omap

[PATCH v6 12/13] ARM: OMAP2+: gpmc: update nand register info

2012-06-22 Thread Afzal Mohammed
by itself instead of relying on GPMC exported symbols. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/gpmc.c |9 - arch/arm/plat-omap/include/plat/gpmc.h |1 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/gpmc.c b

[PATCH v6 13/13] ARM: OMAP2+: gpmc: configure writeprotect

2012-06-22 Thread Afzal Mohammed
GPMC has a writeprotect pin that can be connected to peripherals. Default is to disable writeprotect. In case of conflicting requirement of writeprotect, it will be left in enabled state to be on safer side, along with a warning to attract user attention. Signed-off-by: Afzal Mohammed af

[PATCH v5 0/3] Prepare for GPMC driver conversion

2012-06-27 Thread Afzal Mohammed
. Move ensuring that async mode in OneNAND has been setup from set_sync to setup function, improve commit message Afzal Mohammed (3): ARM: OMAP2+: nand: unify init functions ARM: OMAP2+: gpmc: handle additional timings ARM: OMAP2+: onenand: prepare for gpmc driver migration arch/arm/mach

[PATCH v5 1/3] ARM: OMAP2+: nand: unify init functions

2012-06-27 Thread Afzal Mohammed
to be using CS0 based on u-boot, while google grep says omap3touchbook too has CS0. Signed-off-by: Afzal Mohammed af...@ti.com Reviewed-by: Jon Hunter jon-hun...@ti.com --- arch/arm/mach-omap2/board-devkit8000.c |8 +++-- arch/arm/mach-omap2/board-flash.c | 45

[PATCH v5 2/3] ARM: OMAP2+: gpmc: handle additional timings

2012-06-27 Thread Afzal Mohammed
existing users that were configuring clk activation time by directly writing to registers. Thanks to Tony for making me aware of the issue being kind enough to test this change. Signed-off-by: Afzal Mohammed af...@ti.com --- v3: Handle bool type timings too v2: Make use of timing api for setting

[PATCH v5 3/3] ARM: OMAP2+: onenand: prepare for gpmc driver migration

2012-06-27 Thread Afzal Mohammed
to separate out timing calculation actual configuration (GPMC OneNAND side). Thanks to Jon for his suggestions. Signed-off-by: Afzal Mohammed af...@ti.com Reviewed-by: Jon Hunter jon-hun...@ti.com --- v5: Use flags for sync_read/write, hv, vhf v4: Reorganize set_sync/async functions in a better way v3

[PATCH] cpufreq: OMAP: specify range for voltage scaling

2012-02-23 Thread Afzal Mohammed
Specify voltage in ranges for regulator. Range used is tolerance specified for OPP. This helps to achieve DVFS with a wider range of regulators. Cc: Kevin Hilman khil...@ti.com Cc: Sekhar Nori nsek...@ti.com Signed-off-by: Afzal Mohammed af...@ti.com --- Hi, Tolerance specified here

[RFC][PATCH 0/5] Convert GPMC to driver

2012-03-23 Thread Afzal Mohammed
NAND driver deal with GPMC NAND block 2. Remove struct gpmc * stored as static 3. Convert all peripherals to use GPMC driver 4. Devise method to handle OneNAND cleanly 5. Handle acquiring CS# cases 6. Convert to MFD driver Regards Afzal Afzal Mohammed (5): ARM: OMAP2+: gpmc: driver conversion

[RFC][PATCH 1/5] ARM: OMAP2+: gpmc: driver conversion

2012-03-23 Thread Afzal Mohammed
CS# cases 6. Convert to MFD driver Signed-off-by: Afzal Mohammed af...@ti.com Cc: Vaibhav Hiremath hvaib...@ti.com --- arch/arm/mach-omap2/gpmc.c | 1083 +++- arch/arm/plat-omap/include/plat/gpmc.h | 34 +- 2 files changed, 672 insertions(+), 445

[RFC][PATCH 2/5] ARM: OMAP2+: nand: create platform data structure

2012-03-23 Thread Afzal Mohammed
been removed. Acquiring CS probably should be avoided, if ever required, do in GPMC driver. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-devkit8000.c |6 ++- arch/arm/mach-omap2/board-flash.c | 63 ++-- arch/arm/mach-omap2/board

[RFC][PATCH 3/5] ARM: OMAP2+: gpmc-nand: populate gpmc configs

2012-03-23 Thread Afzal Mohammed
Currently gpmc is configured in platform for nand. As configuring gpmc has been moved to gpmc driver, populate details needed for the driver to configure gpmc. gpmc driver would configure based on this information. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/gpmc-nand.c

[RFC][PATCH 4/5] mtd: nand: omap2: obtain memory from resource

2012-03-23 Thread Afzal Mohammed
gpmc being converted to driver, provides drivers of peripheral connected memory space used by the peripheral as memory resource. Modify nand omap driver to obtain memory detials from resource structure. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/plat-omap/include/plat/nand.h |1

[TMP][PATCH 5/5] OMAP3EVM: Test gpmc-nand

2012-03-23 Thread Afzal Mohammed
Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-omap3evm.c | 82 ++ 1 file changed, 82 insertions(+) diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c index a659e19..9ed48d4 100644 --- a/arch/arm

[RFC][PATCH v2 0/5] Convert GPMC to driver

2012-03-26 Thread Afzal Mohammed
peripherals to use GPMC driver 4. Devise method to handle OneNAND cleanly 5. Handle acquiring CS# cases 6. Decide on where GPMC driver should live 7. Adapt to HWMOD, use RPM 8. GPMC driver cleanup Regards Afzal Afzal Mohammed (5): ARM: OMAP2+: gpmc: driver conversion ARM: OMAP2+: nand: create

[RFC][PATCH v2 1/5] ARM: OMAP2+: gpmc: driver conversion

2012-03-26 Thread Afzal Mohammed
, use RPM 8. GPMC driver cleanup Cc: Vaibhav Hiremath hvaib...@ti.com Signed-off-by: Afzal Mohammed af...@ti.com --- v2: Avoid code movement that kept similar code together arch/arm/mach-omap2/gpmc.c | 366 arch/arm/plat-omap/include/plat/gpmc.h | 34

[RFC][PATCH v2 2/5] ARM: OMAP2+: nand: create platform data structure

2012-03-26 Thread Afzal Mohammed
been removed. Acquiring CS probably should be avoided, if ever required, do in GPMC driver. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-devkit8000.c |6 ++- arch/arm/mach-omap2/board-flash.c | 63 ++-- arch/arm/mach-omap2/board

[RFC][PATCH v2 3/5] ARM: OMAP2+: gpmc-nand: populate gpmc configs

2012-03-26 Thread Afzal Mohammed
Currently gpmc is configured in platform for nand. As configuring gpmc has been moved to gpmc driver, populate details needed for the driver to configure gpmc. gpmc driver would configure based on this information. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/gpmc-nand.c

[RFC][PATCH v2 4/5] mtd: nand: omap2: obtain memory from resource

2012-03-26 Thread Afzal Mohammed
gpmc being converted to driver, provides drivers of peripheral connected memory space used by the peripheral as memory resource. Modify nand omap driver to obtain memory detials from resource structure. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/plat-omap/include/plat/nand.h |1

[TMP][PATCH v2 5/5] OMAP3EVM: Test gpmc-nand

2012-03-26 Thread Afzal Mohammed
Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-omap3evm.c | 82 ++ 1 file changed, 82 insertions(+) diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c index a659e19..2695663 100644 --- a/arch/arm

[PATCH v3 0/9] Convert OMAP GPMC to driver

2012-04-05 Thread Afzal Mohammed
peripherals make use of GPMC driver all the exported symbols can be removed, and complete removal of a few of these functions would be possible, like gpmc_nand_* can be deleted now itself) Afzal Mohammed (9): ARM: OMAP2+: gpmc: driver conversion ARM: OMAP2+: gpmc: registers for nand

[PATCH v3 2/9] ARM: OMAP2+: gpmc: registers for nand driver

2012-04-05 Thread Afzal Mohammed
If peripheral connected is NAND, update NAND drivers platform data with NAND related register addresses so that NAND driver can handle GPMC NAND operations by itself Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/gpmc.c | 25 + arch/arm

[PATCH v3 1/9] ARM: OMAP2+: gpmc: driver conversion

2012-04-05 Thread Afzal Mohammed
folders (even if the driver is moved to MFD) as input clock is beyond the control of GPMC and calculating timing for the peripheral may need other helpers. Cc: Vaibhav Hiremath hvaib...@ti.com Cc: Jon Hunter jon-hun...@ti.com Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/gpmc.c

[PATCH v3 3/9] ARM: OMAP2+: nand: create platform data structure

2012-04-05 Thread Afzal Mohammed
been removed. Acquiring CS probably should be avoided, if ever required, do in GPMC driver. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-devkit8000.c |6 ++- arch/arm/mach-omap2/board-flash.c | 63 ++-- arch/arm/mach-omap2/board

[PATCH v3 4/9] ARM: OMAP2+: gpmc-nand: populate gpmc configs

2012-04-05 Thread Afzal Mohammed
Currently gpmc is configured in platform for nand. As configuring gpmc has been moved to gpmc driver, populate details needed for the driver to configure gpmc. gpmc driver would configure based on this information. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/gpmc-nand.c

[PATCH v3 5/9] ARM: OMAP2+: gpmc-smsc911x: gpmc driver information

2012-04-05 Thread Afzal Mohammed
gpmc has been converted to driver. And all gpmc related configuration would be done by gpmc driver. Provide gpmc driver with sufficient information so that it can configure. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/gpmc-smsc911x.c | 59

[PATCH v3 6/9] mtd: nand: omap2: obtain memory from resource

2012-04-05 Thread Afzal Mohammed
gpmc being converted to driver, provides drivers of peripheral connected memory space used by the peripheral as memory resource. Modify nand omap driver to obtain memory detials from resource structure. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/plat-omap/include/plat/nand.h |1

[PATCH v3 7/9] mtd: nand: omap2: use gpmc provided irqs

2012-04-05 Thread Afzal Mohammed
GPMC driver provides it's clientsd with interrupts that can be used through struct resource. Make use of it for irq mode functionality. Signed-off-by: Afzal Mohammed af...@ti.com --- drivers/mtd/nand/omap2.c | 67 +- 1 file changed, 42 insertions

[PATCH v3 8/9] mtd: nand: omap2: handle nand on gpmc

2012-04-05 Thread Afzal Mohammed
no issues as there are no boards that use NAND on multiple CS. With GPMC modifications, perhaps it would be better to consider NAND connected on multiple CS as a single peripheral using multiple CS. This would make handling multiple CS issues easier. Signed-off-by: Afzal Mohammed af...@ti.com

[TMP] OMAP3EVM: Test gpmc nand smsc911x

2012-04-05 Thread Afzal Mohammed
Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-omap3evm.c | 95 +- 1 file changed, 94 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c index 49df127..60938af 100644

[PATCH 00/39] OMAP GPMC driver conversion

2012-05-01 Thread Afzal Mohammed
Afzal Afzal Mohammed (38): ARM: OMAP2+: gpmc: driver conversion ARM: OMAP2+: gpmc: Adapt to HWMOD ARM: OMAP2+: gpmc: register details for nand driver ARM: OMAP2+: gpmc: Acquire NAND CS value ARM: OMAP2+: nand: create platform data structure ARM: OMAP2+: onenand: return value in init

[PATCH 02/39] ARM: OMAP2+: gpmc: Adapt to HWMOD

2012-05-01 Thread Afzal Mohammed
Create API for platforms to adapt gpmc to HWMOD Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/gpmc.c | 52 +++- arch/arm/plat-omap/include/plat/gpmc.h |1 + 2 files changed, 38 insertions(+), 15 deletions(-) diff --git a/arch

[PATCH 01/39] ARM: OMAP2+: gpmc: driver conversion

2012-05-01 Thread Afzal Mohammed
with driver, former for calculation in platform code. Thanks to Vaibhav Hiremath Jonathan Hunter on their various good suggestions which resulted in improving the code. Cc: Vaibhav Hiremath hvaib...@ti.com Cc: Jon Hunter jon-hun...@ti.com Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2

[PATCH 03/39] ARM: OMAP2+: gpmc: register details for nand driver

2012-05-01 Thread Afzal Mohammed
If peripheral connected is NAND, update NAND drivers platform data with NAND related register addresses so that NAND driver can handle GPMC NAND operations by itself Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/gpmc.c | 25 + arch/arm

[PATCH 04/39] ARM: OMAP2+: gpmc: Acquire NAND CS value

2012-05-01 Thread Afzal Mohammed
is not available, educate gpmc driver to acquire chip select value for NAND. this ideally should be removed once CS for those boards are available. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/gpmc.c | 32 +++- 1 file changed, 31 insertions(+), 1

[PATCH 05/39] ARM: OMAP2+: nand: create platform data structure

2012-05-01 Thread Afzal Mohammed
been removed. Acquiring CS is done in GPMC driver. To leverage this feature, pass CS # as any value outside the allowed range of 0 - 7 (this is valid only for connected NAND), eg. GPMC_CS_NUM (8) Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-devkit8000.c |6

[PATCH 06/39] ARM: OMAP2+: onenand: return value in init function

2012-05-01 Thread Afzal Mohammed
Modify board_onenand_init to return platform data. This would be required for boards to be able to pass it to gpmc driver so that it finally reaches onenand driver. Also un-static the function so that boards can use it. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board

[PATCH 07/39] ARM: OMAP2+: gpmc-nand: Adapt to use gpmc driver

2012-05-01 Thread Afzal Mohammed
Currently gpmc is configured in platform for nand. As configuring gpmc has been moved to gpmc driver, populate details needed for the driver to configure gpmc. gpmc driver would configure based on this information. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/gpmc-nand.c

[PATCH 08/39] ARM: OMAP2+: gpmc-onenand: Adapt to use gpmc driver

2012-05-01 Thread Afzal Mohammed
Currently gpmc is configured in platform for onenand. As configuring gpmc has been moved to gpmc driver, populate details needed for the driver to configure gpmc. gpmc driver would configure based on this information. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/gpmc

[PATCH 09/39] ARM: OMAP2+: flash: Adapt to gpmc driver

2012-05-01 Thread Afzal Mohammed
gpmc driver has been converted to driver. Modify board_flash_init so that it can setup gpmc driver platform details for boards Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-3430sdp.c |2 +- arch/arm/mach-omap2/board-3630sdp.c |3 +- arch/arm/mach-omap2/board

[PATCH 10/39] ARM: OMAP2+: gpmc-smsc911x: Adapt to use gpmc driver

2012-05-01 Thread Afzal Mohammed
gpmc has been converted to driver. And all gpmc related configuration would be done by gpmc driver. Provide gpmc driver with sufficient information so that it can configure. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/gpmc-smsc911x.c | 59

[PATCH 11/39] ARM: OMAP2+: gpmc-smc91x: Adapt to use gpmc driver

2012-05-01 Thread Afzal Mohammed
Currently gpmc is configured in platform for smc91x. As configuring gpmc has been moved to gpmc driver, populate details needed for the driver to configure gpmc. gpmc driver would configure based on this information. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board

[PATCH 12/39] ARM: OMAP2+: gpmc-tusb6010: Adapt to gpmc driver

2012-05-01 Thread Afzal Mohammed
Currently gpmc is configured in platform for tusb6010. As configuring gpmc has been moved to gpmc driver, populate details needed for the driver to configure gpmc. gpmc driver would configure based on this information. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/usb

[PATCH 13/39] ARM: OMAP3: hwmod data: add gpmc

2012-05-01 Thread Afzal Mohammed
Add gpmc hwmod and associated interconnect data Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 52 1 file changed, 52 insertions(+) diff --git a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c b/arch/arm/mach-omap2

[PATCH 14/39] ARM: OMAP2xxx: hwmod data: add gpmc

2012-05-01 Thread Afzal Mohammed
Add gpmc hwmod and associated interconnect data Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/omap_hwmod_2420_data.c | 18 + arch/arm/mach-omap2/omap_hwmod_2430_data.c | 18 + arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c | 41

[PATCH 15/39] mtd: nand: omap2: obtain memory from resource

2012-05-01 Thread Afzal Mohammed
gpmc being converted to driver, provides drivers of peripheral connected memory space used by the peripheral as memory resource. Modify nand omap driver to obtain memory detials from resource structure. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/plat-omap/include/plat/nand.h |1

[PATCH 16/39] mtd: nand: omap2: use gpmc provided irqs

2012-05-01 Thread Afzal Mohammed
GPMC driver provides it's clientsd with interrupts that can be used through struct resource. Make use of it for irq mode functionality. Signed-off-by: Afzal Mohammed af...@ti.com --- drivers/mtd/nand/omap2.c | 67 +- 1 file changed, 42 insertions

[PATCH 17/39] mtd: nand: omap2: handle nand on gpmc

2012-05-01 Thread Afzal Mohammed
no issues as there are no boards that use NAND on multiple CS. With GPMC modifications, perhaps it would be better to consider NAND connected on multiple CS as a single peripheral using multiple CS. This would make handling multiple CS issues easier. Signed-off-by: Afzal Mohammed af...@ti.com

[PATCH 18/39] mtd: onenand: omap: obtain memory from resource

2012-05-01 Thread Afzal Mohammed
gpmc being converted to driver, provides drivers of peripheral connected memory space used by the peripheral as memory resource. Modify nand omap driver to obtain memory detials from resource structure. And so remove usage of gpmc exported symbols. Signed-off-by: Afzal Mohammed af...@ti.com

[PATCH 19/39] ARM: OMAP2+: board omap3evm: gpmc driver adaptation

2012-05-01 Thread Afzal Mohammed
gpmc code has been converted to driver. Modify the board code to provide gpmc driver with required information Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-omap3evm.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach

[PATCH 20/39] ARM: OMAP2+: board omap3beagle: gpmc driver adaptation

2012-05-01 Thread Afzal Mohammed
gpmc code has been converted to driver. Modify the board code to provide gpmc driver with required information Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-omap3beagle.c | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/arch/arm

[PATCH 21/39] ARM: OMAP2+: board apollon: gpmc driver adaptation

2012-05-01 Thread Afzal Mohammed
hardcoded and written onto registers, whether making use of gpmc_smc91x_init would configure timing properly has to be tested. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-apollon.c | 152 +-- 1 file changed, 38 insertions(+), 114

[PATCH 22/39] ARM: OMAP2+: board h4: gpmc driver adaptation

2012-05-01 Thread Afzal Mohammed
gpmc code has been converted to driver. Modify the board code to provide gpmc driver with required information. Remove unused h4_init_debug too. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-h4.c | 130 +--- 1 file changed, 15

[PATCH 23/39] ARM: OMAP2+: board 3630sdp: gpmc driver adaptation

2012-05-01 Thread Afzal Mohammed
gpmc code has been converted to driver. Modify the board code to provide gpmc driver with required information. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-3630sdp.c | 23 +++ 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/arch

[PATCH 24/39] ARM: OMAP2+: board 3430sdp: gpmc driver adaptation

2012-05-01 Thread Afzal Mohammed
gpmc code has been converted to driver. Modify the board code to provide gpmc driver with required information. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-3430sdp.c | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/arch/arm

[PATCH 25/39] ARM: OMAP2+: board 2430sdp: gpmc driver adaptation

2012-05-01 Thread Afzal Mohammed
gpmc code has been converted to driver. Modify the board code to provide gpmc driver with required information. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-2430sdp.c | 42 +-- 1 file changed, 25 insertions(+), 17 deletions(-) diff

[PATCH 26/39] ARM: OMAP2+: board cm-t3517: gpmc driver adaptation

2012-05-01 Thread Afzal Mohammed
gpmc code has been converted to driver. Modify the board code to provide gpmc driver with required information. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-cm-t3517.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2

[PATCH 27/39] ARM: OMAP2+: board cm-t35: gpmc driver adaptation

2012-05-01 Thread Afzal Mohammed
gpmc code has been converted to driver. Modify the board code to provide gpmc driver with required information. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-cm-t35.c | 21 +++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/arch/arm

[PATCH 28/39] ARM: OMAP2+: board ldp: gpmc driver adaptation

2012-05-01 Thread Afzal Mohammed
gpmc code has been converted to driver. Modify the board code to provide gpmc driver with required information. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-ldp.c | 26 +++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/arch

[PATCH 29/39] ARM: OMAP2+: board n8x0: gpmc driver adaptation

2012-05-01 Thread Afzal Mohammed
gpmc code has been converted to driver. Modify the board code to provide gpmc driver with required information. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-n8x0.c | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach

[PATCH 30/39] ARM: OMAP2+: board omap3logic: gpmc driver adaptation

2012-05-01 Thread Afzal Mohammed
gpmc code has been converted to driver. Modify the board code to provide gpmc driver with required information. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-omap3logic.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach

[PATCH 31/39] ARM: OMAP2+: board omap3pandora: gpmc driver adaptation

2012-05-01 Thread Afzal Mohammed
gpmc code has been converted to driver. Modify the board code to provide gpmc driver with required information. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-omap3pandora.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach

[PATCH 32/39] ARM: OMAP2+: board omap3stalker: gpmc driver adaptation

2012-05-01 Thread Afzal Mohammed
gpmc code has been converted to driver. Modify the board code to provide gpmc driver with required information. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-omap3stalker.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/arch/arm

[PATCH 33/39] ARM: OMAP2+: board omap4pcm049: gpmc driver adaptation

2012-05-01 Thread Afzal Mohammed
gpmc code has been converted to driver. Modify the board code to provide gpmc driver with required information. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-omap4pcm049.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach

[PATCH 34/39] ARM: OMAP2+: board overo: gpmc driver adaptation

2012-05-01 Thread Afzal Mohammed
gpmc code has been converted to driver. Modify the board code to provide gpmc driver with required information. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-overo.c | 29 ++--- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git

[PATCH 35/39] ARM: OMAP2+: board rm680: gpmc driver adaptation

2012-05-01 Thread Afzal Mohammed
gpmc code has been converted to driver. Modify the board code to provide gpmc driver with required information. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-rm680.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2

[PATCH 36/39] ARM: OMAP2+: board rx51: gpmc driver adaptation

2012-05-01 Thread Afzal Mohammed
gpmc code has been converted to driver. Modify the board code to provide gpmc driver with required information. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-rx51-peripherals.c | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git

[PATCH 37/39] ARM: OMAP2+: board zoom-debugboard: gpmc driver adaptation

2012-05-01 Thread Afzal Mohammed
gpmc code has been converted to driver. Modify the board code to provide gpmc driver with required information. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-zoom-debugboard.c | 47 +++ 1 file changed, 27 insertions(+), 20 deletions(-) diff

[PATCH 38/39] OMAP3: igep0020: Add support for Micron NAND Flash storage memory

2012-05-01 Thread Afzal Mohammed
...@ti.com: Update to use modified board_nand_init Signed-off-by: Javier Martinez Canillas jav...@dowhile0.org Signed-off-by: Afzal Mohammed af...@ti.com fixup: igep --- arch/arm/mach-omap2/board-igep0020.c | 75 ++ 1 file changed, 31 insertions(+), 44 deletions

[PATCH 39/39] ARM: OMAP2+: board igep0020: gpmc driver adaptation

2012-05-01 Thread Afzal Mohammed
gpmc code has been converted to driver. Modify the board code to provide gpmc driver with required information. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-igep0020.c | 32 1 file changed, 28 insertions(+), 4 deletions(-) diff

[PATCH v4 00/39] OMAP GPMC driver conversion

2012-05-01 Thread Afzal Mohammed
Afzal Afzal Mohammed (38): ARM: OMAP2+: gpmc: driver conversion ARM: OMAP2+: gpmc: Adapt to HWMOD ARM: OMAP2+: gpmc: register details for nand driver ARM: OMAP2+: gpmc: Acquire NAND CS value ARM: OMAP2+: nand: create platform data structure ARM: OMAP2+: onenand: return value in init

[PATCH v4 02/39] ARM: OMAP2+: gpmc: Adapt to HWMOD

2012-05-01 Thread Afzal Mohammed
Create API for platforms to adapt gpmc to HWMOD Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/gpmc.c | 52 +++- arch/arm/plat-omap/include/plat/gpmc.h |1 + 2 files changed, 38 insertions(+), 15 deletions(-) diff --git a/arch

<    1   2   3   4   5   6   7   >