Update helper function that provides gpmc-nand register
details for nand driver with bch register information.
Using this nand driver can be made self sufficient to
handle remaining gpmc-nand operations by itself instead
of relying on gpmc exported nand functions.
Signed-off-by: Afzal Mohammed af
gpmc-nand bch registers are now available in driver,
make use of it to handle bch[48] instead of relying
on gpmc exported functions.
And so nand driver no longer needs gpmc header, remove it.
Signed-off-by: Afzal Mohammed af...@ti.com
---
drivers/mtd/nand/omap2.c | 100
nand driver handles gpmc-nand block fully, hence no more
users for these exported nand functions, remove it.
Signed-off-by: Afzal Mohammed af...@ti.com
---
arch/arm/mach-omap2/gpmc.c | 432 -
arch/arm/plat-omap/include/plat/gpmc.h | 31 ---
2 files
Requirement of gpmc header outside of mach-omap2 has been
cutoff, move gpmc header file in plat-omap folder to local
mach-omap2 folder
Objective - common zImage participation of omap
Signed-off-by: Afzal Mohammed af...@ti.com
---
arch/arm/mach-omap2/board-2430sdp.c | 2 +-
arch/arm
Hi Tony,
On Tuesday 09 October 2012 08:31 AM, Tony Lindgren wrote:
* Afzal Mohammedaf...@ti.com [121005 09:02]:
Proposed generic routine has been tested on OneNAND (async) on
OMAP3EVM rev C (as mainline does not have the OneNAND support for this,
local patch were used to test). For other
On Tuesday 09 October 2012 02:27 PM, Vaibhav Hiremath wrote:
This patch adds of_have_populated_dt() check before creating
Signed-off-by: Vaibhav Hiremathhvaib...@ti.com
Cc: Afzal Mohammedaf...@ti.com
Reviewed-by: Afzal Mohammed af...@ti.com
--
To unsubscribe from this list: send the line
that the corresponding clock is dummy.
Reported-by: Russell King rmk+ker...@arm.linux.org.uk
Signed-off-by: Afzal Mohammed af...@ti.com
---
arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
b/arch/arm/mach-omap2
to 3ef5d0071cf6c8b9a00b559232bb700ad5d7:
ARM: OMAP2+: gpmc: localize gpmc header (2012-10-15 14:42:15 +0530)
gpmc cleanup for common ARM zImage
Afzal Mohammed (16):
ARM: OMAP2+: nand
to 3ef5d0071cf6c8b9a00b559232bb700ad5d7:
ARM: OMAP2+: gpmc: localize gpmc header (2012-10-15 14:42:15 +0530)
gpmc cleanup for common ARM zImage
Afzal Mohammed (16):
ARM: OMAP2+: nand
Hi Tony,
On Monday 15 October 2012 09:31 PM, Tony Lindgren wrote:
* Mohammed, Afzalaf...@ti.com [121015 05:42]:
On Thu, Oct 11, 2012 at 20:17:56, Tony Lindgren wrote:
Yes, then please do a second pull request for what's needed
to apply the minimal DT bindings. For the DT binding, let's
Hi Ivan,
On Tuesday 16 October 2012 11:36 PM, Tony Lindgren wrote:
* Ivan Djelicivan.dje...@parrot.com [121010 09:40]:
I ran several mtd regression tests on a Beagle Board on your gpmc-czimage-v2
tag.
All BCH error correcting tests passed successfully.
I occasionally had weird read
Hi Tony,
On Tuesday 16 October 2012 12:26 PM, Afzal Mohammed wrote:
I certainly don't think it is easier, rather tougher, cleaner
as well. One thing that worried me was, if we pursue the
auxdata path (a last resort option) and later if it is
objected, we would be back to square one.
I
Hi Tony,
On Wednesday 17 October 2012 03:27 AM, Tony Lindgren wrote:
* Afzal Mohammedaf...@ti.com [121015 05:15]:
The following changes since commit ddffeb8c4d0331609ef2581d84de4d763607bd37:
Linux 3.7-rc1 (2012-10-14 14:41:04 -0700)
are available in the git repository at:
Hi Daniel,
On Wednesday 17 October 2012 08:43 PM, Daniel Mack wrote:
On 17.10.2012 07:42, Afzal Mohammed wrote:
I doubt whether auxdata would help here, it seems using
compatible field alone would help in deciding relevant
custom timing routine. Whether we want this kind of
peripheral
Hi Daniel,
On Thursday 11 October 2012 05:15 PM, Daniel Mack wrote:
Could you tell me which patches I need on top of soon-to-be-3.7-rc1? I
would like to augment this to make GPMC attached NAND probable in DT, in
case this is still an open topic.
In case you can help on making gpmc nand dt
On Friday 26 October 2012 10:11 PM, Tony Lindgren wrote:
* Paul Walmsleyp...@pwsan.com [121025 22:05]:
It also breaks an OMAP3+4 config:
Fix below.
Thanks, I'd like to pull this fix in too along with the
others.
Thanks Paul and Tony for taking care of this issue.
I am sorry about the
Hi Daniel,
On Monday 29 October 2012 12:49 AM, Daniel Mack wrote:
Afzal, are you planning to resubmit this for mainline? My version can of
course be disposed then.
I am not planning to submit it as of now, and Vaibhav H has
a better suggestion on this, you may co-ordinate with him.
Regards
Hi Daniel,
On Thursday 25 October 2012 01:30 PM, Daniel Mack wrote:
Hmm, that number is currently hard-coded in GPMC_CS_NUM. It would take
some effort to make that dynamic but I agree that this would be a good
thing to have. Afzal?
It would be good to have (to the best of my knowledge
am335x
Hi Daniel,
On Thursday 25 October 2012 05:01 AM, Daniel Mack wrote:
Thanks for the review. I'll wait for feedback from Afzal next week and
then repost. Wanted to see first if that goes in the right direction at
all before bordering the DT people with binding details :)
I was thinking of a
Hi Daniel,
On Monday 29 October 2012 04:45 PM, Daniel Mack wrote:
On 29.10.2012 09:10, Afzal Mohammed wrote:
Also perhaps memory size (and offset if
needed) to be mapped for peripherals can go with reg
property of child.
Which detail are you referring to here? The only size property
Hi Daniel,
On Monday 29 October 2012 06:02 PM, Daniel Mack wrote:
On 29.10.2012 12:28, Afzal Mohammed wrote:
I was referring to that of child, now in gpmc_nand_init(),
gpmc_cs_request() is being done, later on if we want to
make it generic and remove gpmc_nand_init(), additional
information
, further changes to handle control
module registers for phy has to be made, they will be posted as
a seperate series.
Regards
Afzal
Afzal Mohammed (2):
Revert usb: musb: dsps: remove explicit NOP device creation
usb: musb: dsps: document dt bindings properly
Documentation/devicetree/bindings
.
Hence revert it so that at least single instance can be supported.
Signed-off-by: Afzal Mohammed af...@ti.com
---
drivers/usb/musb/musb_dsps.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsps.c
index 828d2a2..63128a3
DT bindings normally use '-' (hyphens) instead of '_' (underscore),
driver has it the proper way, but binding documentation does not
reflect it, fix it.
Signed-off-by: Afzal Mohammed af...@ti.com
---
Documentation/devicetree/bindings/usb/am33xx-usb.txt | 8
1 file changed, 4 insertions
Hi Balbi,
On Thursday 27 September 2012 11:15 AM, Afzal Mohammed wrote:
This series is made over over Balbi's usb master branch.
It applies cleanly over musb branch too.
Please ignore this series, a new series has been posted,
usb: musb: dsps: fixes for -rc.
Regards
Afzal
--
To unsubscribe
Hi Balbi,
On Wednesday 31 October 2012 07:54 PM, Afzal Mohammed wrote:
This series contains a couple of fixes for musb dsps wrapper.
First one restores capability to support at least one instance of musb.
Without it, even a single instance can't be supported as change which
is reverted
driver
itself requring a quirk in driver as well as DT or hwmod.
Regards
Afzal
Afzal Mohammed (4):
usb: musb: dsps: remove platform callback
usb: musb: dsps: reduce musb instance to one
usb: musb: dsps: get resources by index
usb: musb: dsps: dt binding - add resources, example
dsps wrapper is dt only, it cannot execute platform callbacks.
Presence of this would cause NULL dereference, hence remove it.
Signed-off-by: Afzal Mohammed af...@ti.com
---
drivers/usb/musb/musb_dsps.c | 26 --
1 file changed, 26 deletions(-)
diff --git a/drivers/usb
of it.
Signed-off-by: Afzal Mohammed af...@ti.com
---
drivers/usb/musb/musb_dsps.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsps.c
index 2396bcd..524c003 100644
--- a/drivers/usb/musb/musb_dsps.c
+++ b/drivers/usb/musb
dsps wrapper is now dt only. This requires that resources be obtained
using index and not name, modify accordingly.
Signed-off-by: Afzal Mohammed af...@ti.com
---
drivers/usb/musb/musb_dsps.c | 14 ++
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/drivers/usb/musb
OMAP2+ family of devices are now obtaining resources via DT, earlier
it was obtained from hwmod. Update binding document accrodingly, while
at it add example.
Signed-off-by: Afzal Mohammed af...@ti.com
---
.../devicetree/bindings/usb/am33xx-usb.txt | 21 +
1 file
quirk to dsps wrapper]
Signed-off-by: Santhapuri, Damodar damodar.santhap...@ti.com
Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com
Signed-off-by: Ravi Babu ravib...@ti.com
Signed-off-by: Afzal Mohammed af...@ti.com
---
drivers/usb/musb/musb_dsps.c | 69
, Damodar damodar.santhap...@ti.com
Signed-off-by: Ravi Babu ravib...@ti.com
Signed-off-by: Afzal Mohammed af...@ti.com
---
Hi Benoit,
This is based on your for_3.8/dts branch.
This is made on top of usb: musb: am335x support
(http://marc.info/?l=linux-omapm=135187391904863w=2)
and has been tested
-kernel.git
Regards
Afzal
Afzal Mohammed (6):
ARM: OMAP2+: gpmc: driver conversion
ARM: OMAP2+: gpmc: Adapt to HWMOD
ARM: OMAP3: hwmod data: add gpmc
ARM: OMAP2+: gpmc: driver migration hack
ARM: OMAP2+: gpmc-smsc911x: Add helper for driver conversion
ARM: OMAP2+: board omap3evm: gpmc
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
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
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
This has been made for migrating boards one by one so that
old new interface can coexist. As a board is migrated to
new interface, return from gpmc_driver_migration w/o doing
anything; add a machine_is_ check for that board to return
Signed-off-by: Afzal Mohammed af...@ti.com
---
arch/arm/mach
-by: Afzal Mohammed af...@ti.com
---
arch/arm/mach-omap2/gpmc-smsc911x.c | 70 +++
arch/arm/plat-omap/include/plat/gpmc-smsc911x.h |9 +++
2 files changed, 79 insertions(+)
diff --git a/arch/arm/mach-omap2/gpmc-smsc911x.c
b/arch/arm/mach-omap2/gpmc-smsc911x.c
as the patch,
ARM: OMAP2+: gpmc: driver migration hack
Signed-off-by: Afzal Mohammed af...@ti.com
---
arch/arm/mach-omap2/board-omap3evm.c | 14 +-
arch/arm/mach-omap2/gpmc.c |3 +++
2 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-omap2/board
Add gpmc hwmod and associated interconnect data
Signed-off-by: Afzal Mohammed af...@ti.com
---
Hi Paul,
This is patch 13/39 14/39 of v4 OMAP GPMC driver conversion
series modified and squashed into one.
Regards
Afzal
arch/arm/mach-omap2/omap_hwmod_2420_data.c | 18 ++
arch/arm
Hi,
This series provides the ability for OMAP NAND driver to configure
GPMC_NAND registers by NAND driver itself instead of using GPMC
exported symbols.
Regards
Afzal
Afzal Mohammed (3):
ARM: OMAP2+: gpmc: update nand register helper
ARM: OMAP2+: gpmc-nand: update gpmc-nand regs
mtd: nand
Provide helper function for updating NAND register details for
the necessary chip select. NAND drivers platform data can be
updated with this information 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
GPMC has NAND registers, update nand platform data with those details
so that NAND driver can configure those by itself instead of using
exported symbols.
Signed-off-by: Afzal Mohammed af...@ti.com
---
arch/arm/mach-omap2/gpmc-nand.c|2 ++
arch/arm/plat-omap/include/plat/nand.h
using multiple CS. This would
make handling multiple CS issues easier.
Signed-off-by: Afzal Mohammed af...@ti.com
---
drivers/mtd/nand/omap2.c | 207 --
1 file changed, 163 insertions(+), 44 deletions(-)
diff --git a/drivers/mtd/nand/omap2.c b/drivers
] http://marc.info/?l=linux-omapm=133675123118577w=2
[2] http://marc.info/?l=linux-omapm=133675123718579w=2
[3] http://marc.info/?l=linux-omapm=133675124818580w=2
Afzal Mohammed (4):
ARM: OMAP2+: gpmc-nand: update resource with memory
ARM: OMAP2+: gpmc-onenand: provide memory as resource
mtd
-off-by: Afzal Mohammed af...@ti.com
---
arch/arm/mach-omap2/gpmc-nand.c |4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-omap2/gpmc-nand.c b/arch/arm/mach-omap2/gpmc-nand.c
index d4e803c..c0320d2 100644
--- a/arch/arm/mach-omap2/gpmc-nand.c
+++ b/arch/arm/mach
in onenand driver.
This helps in smooth migration of gpmc to driver.
Signed-off-by: Afzal Mohammed af...@ti.com
---
arch/arm/mach-omap2/gpmc-onenand.c | 23 ++-
1 file changed, 22 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-omap2/gpmc-onenand.c
b/arch/arm/mach
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
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
.html
Afzal Mohammed (3):
ARM: OMAP2+: gpmc: Modify interrupt handling
ARM: OMAP2+: gpmc-nand: Modify Interrupt handling
mtd: nand: omap2: use gpmc provided irqs
arch/arm/mach-omap2/gpmc-nand.c| 28 +--
arch/arm/mach-omap2/gpmc.c | 137
this change) as the only user of GPMC interrupt is NAND.
This helps in smooth migration of GPMC to driver.
Signed-off-by: Afzal Mohammed af...@ti.com
---
arch/arm/mach-omap2/gpmc.c | 137
arch/arm/plat-omap/include/plat/gpmc.h |1 +
2 files changed, 121
-off-by: Afzal Mohammed af...@ti.com
---
arch/arm/mach-omap2/gpmc-nand.c | 28 ++--
1 file changed, 22 insertions(+), 6 deletions(-)
diff --git a/arch/arm/mach-omap2/gpmc-nand.c b/arch/arm/mach-omap2/gpmc-nand.c
index c0320d2..e58f450 100644
--- a/arch/arm/mach-omap2/gpmc
GPMC driver 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 code, hence remove it.
Signed-off-by: Afzal Mohammed af...@ti.com
---
drivers/mtd/nand/omap2.c | 70
://www.mail-archive.com/linux-omap@vger.kernel.org/msg69066.html
Afzal Mohammed (10):
ARM: OMAP2+: gpmc: update nand register helper
ARM: OMAP2+: gpmc-nand: update gpmc-nand regs
mtd: nand: omap2: handle nand on gpmc
ARM: OMAP2+: gpmc-nand: update resource with memory
ARM: OMAP2+: gpmc-onenand
Provide helper function for updating NAND register details for
the necessary chip select. NAND drivers platform data can be
updated with this information 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
GPMC has NAND registers, update nand platform data with those details
so that NAND driver can configure those by itself instead of using
exported symbols.
Signed-off-by: Afzal Mohammed af...@ti.com
---
arch/arm/mach-omap2/gpmc-nand.c|2 ++
arch/arm/plat-omap/include/plat/nand.h
as a single peripheral using multiple CS.
This would make handling multiple CS issues easier.
Signed-off-by: Afzal Mohammed af...@ti.com
---
drivers/mtd/nand/omap2.c | 207 --
1 file changed, 163 insertions(+), 44 deletions(-)
diff --git a/drivers/mtd/nand
-off-by: Afzal Mohammed af...@ti.com
---
arch/arm/mach-omap2/gpmc-nand.c |4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-omap2/gpmc-nand.c b/arch/arm/mach-omap2/gpmc-nand.c
index d4e803c..c0320d2 100644
--- a/arch/arm/mach-omap2/gpmc-nand.c
+++ b/arch/arm/mach
in onenand driver.
This helps in smooth migration of gpmc to driver.
Signed-off-by: Afzal Mohammed af...@ti.com
---
arch/arm/mach-omap2/gpmc-onenand.c | 23 ++-
1 file changed, 22 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-omap2/gpmc-onenand.c
b/arch/arm/mach
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
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
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
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
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
is also required for smooth migration to gpmc driver;
approach being taken is to hold old interface until boards are
converted to use driver interface one-by-one. Till that time,
this flag is a must as old interface rely on bootloader
Signed-off-by: Afzal Mohammed af...@ti.com
---
v2: rebased
This series is based on 3.5-rc1 made on top of
http://www.mail-archive.com/linux-omap@vger.kernel.org/msg69501.html
http://www.mail-archive.com/linux-omap@vger.kernel.org/msg69881.html
Regards
Afzal
Afzal Mohammed (3):
ARM: OMAP2+: nand: unify init functions
ARM: OMAP2+: onenand: cleanup
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
as onenand driver always calls indirectly
omap2_onenand_set_sync_mode, and has placed such that
configuring onenand for async read/write would happen once
GPMC is setup for async mode (which happens even for sync
mode, before configuring to sync mode).
Signed-off-by: Afzal Mohammed af...@ti.com
Configure busturnaround, cycle2cycledelay, waitmonitoringtime,
clkactivationtime in gpmc_cs_set_timings(). This is done so
that boards can configure these parameters of gpmc in Kernel
instead of relying on bootloader.
Signed-off-by: Afzal Mohammed af...@ti.com
---
arch/arm/mach-omap2/gpmc.c
driver
v2: Avoid code movement that kept similar code together (for easy review)
Afzal Mohammed (14):
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
gpmc driver platform definitions
Signed-off-by: Afzal Mohammed af...@ti.com
---
arch/arm/plat-omap/include/plat/gpmc.h | 49
1 file changed, 49 insertions(+)
diff --git a/arch/arm/plat-omap/include/plat/gpmc.h
b/arch/arm/plat-omap/include/plat/gpmc.h
index
Create API for platforms to adapt gpmc to HWMOD
Signed-off-by: Afzal Mohammed af...@ti.com
---
arch/arm/mach-omap2/gpmc.c | 31 +++
arch/arm/plat-omap/include/plat/gpmc.h |2 ++
2 files changed, 33 insertions(+)
diff --git a/arch/arm/mach-omap2
is configured at arch initcall and GPMC should be
ready to handle old interface by that time
Signed-off-by: Afzal Mohammed af...@ti.com
---
arch/arm/mach-omap2/gpmc.c | 19 ++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-omap2/gpmc.c b/arch/arm/mach
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 | 170
1 file changed, 123 insertions(+), 47
Helpers for propulating 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
Helper for configuring given CS based on flags.
Signed-off-by: Afzal Mohammed af...@ti.com
---
arch/arm/mach-omap2/gpmc.c | 33
arch/arm/plat-omap/include/plat/gpmc.h |5 +
2 files changed, 38 insertions(+)
diff --git a/arch/arm/mach-omap2
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 | 43 +++
1 file changed, 43 insertions(+)
diff --git a/arch/arm/mach-omap2/gpmc.c b/arch/arm/mach-omap2/gpmc.c
Some of the timing configuration like extra delay
has bool type configurations. Provide a helper so
that these too can be configured in Kernel.
Signed-off-by: Afzal Mohammed af...@ti.com
---
arch/arm/mach-omap2/gpmc.c | 55
1 file changed, 55
Some of the GPMC peripherals depend on bootloader to do the
configuration. This facility is deprecated, notify user
about the present GPMC settings inform that that relying
on bootloader for GPMC setting is deprecated.
Signed-off-by: Afzal Mohammed af...@ti.com
---
arch/arm/mach-omap2/gpmc.c
)
Signed-off-by: Afzal Mohammed af...@ti.com
---
arch/arm/mach-omap2/gpmc.c | 122
arch/arm/plat-omap/include/plat/gpmc.h |9 +++
2 files changed, 131 insertions(+)
diff --git a/arch/arm/mach-omap2/gpmc.c b/arch/arm/mach-omap2/gpmc.c
index 5a6f708
-off-by: Afzal Mohammed af...@ti.com
---
arch/arm/mach-omap2/gpmc.c | 146
1 file changed, 146 insertions(+)
diff --git a/arch/arm/mach-omap2/gpmc.c b/arch/arm/mach-omap2/gpmc.c
index 9073a8a..281bd23 100644
--- a/arch/arm/mach-omap2/gpmc.c
+++ b/arch
Helper for reconfiguring CS, peripheral that necessitated
it was OneNAND.
Signed-off-by: Afzal Mohammed af...@ti.com
---
arch/arm/mach-omap2/gpmc.c | 32
arch/arm/plat-omap/include/plat/gpmc.h |2 ++
2 files changed, 34 insertions(+)
diff --git
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
GPMC has a writeprotect pin that can be connected to
peripherals. If any CS wants to enable writeprotect,
writeprotect will be enabled, once CS configurations
are finished.
Signed-off-by: Afzal Mohammed af...@ti.com
---
arch/arm/mach-omap2/gpmc.c | 20
1 file changed, 20
@vger.kernel.org/msg69881.html
[3] http://www.mail-archive.com/linux-omap@vger.kernel.org/msg69891.html
[4] http://www.mail-archive.com/linux-omap@vger.kernel.org/msg69897.html
Afzal Mohammed (9):
ARM: OMAP2+: gpmc-nand: Adapt to use gpmc driver
ARM: OMAP2+: gpmc-onenand: Adapt to use gpmc
too. This is done so that driver conversion can
be done gradually without breaking any.
Signed-off-by: Afzal Mohammed af...@ti.com
---
arch/arm/mach-omap2/gpmc-nand.c| 41
arch/arm/plat-omap/include/plat/nand.h |7 ++
2 files changed, 48 insertions
using old interface too. This is done so that driver
conversion can be done gradually without breaking any.
Signed-off-by: Afzal Mohammed af...@ti.com
---
arch/arm/mach-omap2/board-flash.c | 126 +
arch/arm/mach-omap2/board-flash.h | 29 +
2 files changed
interface too. This is done so that driver conversion can
be done gradually without breaking any.
Signed-off-by: Afzal Mohammed af...@ti.com
---
arch/arm/mach-omap2/usb-tusb6010.c | 113 +++-
arch/arm/plat-omap/include/plat/gpmc.h |8 +++
2 files changed, 119
too. This is done so that driver conversion can
be done gradually without breaking any.
Signed-off-by: Afzal Mohammed af...@ti.com
---
arch/arm/mach-omap2/gpmc-smc91x.c | 69 +
arch/arm/plat-omap/include/plat/gpmc-smc91x.h | 12 +++--
2 files changed, 66
,
if it is not provided, default one used is that of 9220.
Signed-off-by: Afzal Mohammed af...@ti.com
---
arch/arm/mach-omap2/gpmc-smsc911x.c | 53 +++
arch/arm/plat-omap/include/plat/gpmc-smsc911x.h | 14 ++
2 files changed, 67 insertions(+)
diff --git a/arch
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 | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach
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 | 16 ++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/arch/arm
interface too. This is done so that driver conversion can
be done gradually without breaking any.
Signed-off-by: Afzal Mohammed af...@ti.com
---
arch/arm/mach-omap2/gpmc-smsc911x.c | 66 +++
arch/arm/plat-omap/include/plat/gpmc-smsc911x.h | 11 ++--
2 files changed, 73
: handle nand on gpmc] simplify omap_prefetch_enable()
Afzal Mohammed (10):
ARM: OMAP2+: gpmc: update nand register helper
ARM: OMAP2+: gpmc-nand: update gpmc-nand regs
mtd: nand: omap2: handle nand on gpmc
ARM: OMAP2+: gpmc-nand: update resource with memory
ARM: OMAP2+: gpmc-onenand
Provide helper function for updating NAND register details for
the necessary chip select. NAND drivers platform data can be
updated with this information 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
GPMC has NAND registers, update nand platform data with those details
so that NAND driver can configure those by itself instead of using
exported symbols.
Signed-off-by: Afzal Mohammed af...@ti.com
---
arch/arm/mach-omap2/gpmc-nand.c|2 ++
arch/arm/plat-omap/include/plat/nand.h
as a single peripheral using multiple CS.
This would make handling multiple CS issues easier.
Signed-off-by: Afzal Mohammed af...@ti.com
---
v2: simplify omap_prefetch_enable function
drivers/mtd/nand/omap2.c | 204 --
1 file changed, 160 insertions(+), 44
-off-by: Afzal Mohammed af...@ti.com
---
arch/arm/mach-omap2/gpmc-nand.c |4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-omap2/gpmc-nand.c b/arch/arm/mach-omap2/gpmc-nand.c
index d4e803c..c0320d2 100644
--- a/arch/arm/mach-omap2/gpmc-nand.c
+++ b/arch/arm/mach
in onenand driver.
This helps in smooth migration of gpmc to driver.
Signed-off-by: Afzal Mohammed af...@ti.com
---
arch/arm/mach-omap2/gpmc-onenand.c | 23 ++-
1 file changed, 22 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-omap2/gpmc-onenand.c
b/arch/arm/mach
101 - 200 of 612 matches
Mail list logo