An error occurred fetching the project authors.
- 04 Apr, 2013 1 commit
-
-
Jon Hunter authored
When booting with device-tree, retrieve GPMC settings for NAND from the device-tree blob. This will allow us to remove all static settings stored in the gpmc-nand.c in the future once the migration to device-tree is complete. Signed-off-by:
Jon Hunter <jon-hunter@ti.com> Tested-by:
Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
-
- 01 Apr, 2013 3 commits
-
-
Jon Hunter authored
With the addition of the gpmc_cs_program_settings(), we no longer need or use gpmc_cs_configure() to configure some of the GPMC chip-select options. So rename the function to gpmc_configure() and remove code that modifies options in the CONFIG1 register. Signed-off-by:
Jon Hunter <jon-hunter@ti.com> Tested-by:
Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
-
Jon Hunter authored
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 nand_gpmc_retime() because these options should only need to be set once regardless of whether the gpmc timing is changing dynamically at runtime. The programming of where the wait-pin is also moved slightly, but this will not have any impact to existing devices as no boards are currently setting the dev_ready variable. Signed-off-by:
Jon Hunter <jon-hunter@ti.com> Tested-by:
Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
-
Ezequiel Garcia authored
If CS request fails the current error message is rather unhelpful. Fix it by printing the failing chip select and the error code. Signed-off-by:
Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Reviewed-by:
Jon Hunter <jon-hunter@ti.com> Signed-off-by:
Jon Hunter <jon-hunter@ti.com>
-
- 15 Jan, 2013 2 commits
-
-
Daniel Mack authored
The am33xx is capable of handling bch error correction modes, so enable that feature in the driver. Signed-off-by:
Daniel Mack <zonque@gmail.com> Acked-by:
Grant Likely <grant.likely@secretlab.ca> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Daniel Mack authored
gpmc_nand_init() will be called from another driver's probe() function, so the easiest way to prevent section mismatches is to drop the annotation here. Signed-off-by:
Daniel Mack <zonque@gmail.com> Acked-by:
Grant Likely <grant.likely@secretlab.ca> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
- 08 Nov, 2012 1 commit
-
-
Afzal Mohammed authored
gpmc_cs_set_timings() calculate ticks to be programmed by rounding time in ns to next tick value. Hence remove redundant rounding of nanosecond timing. Signed-off-by:
Afzal Mohammed <afzal@ti.com>
-
- 15 Oct, 2012 3 commits
-
-
Afzal Mohammed authored
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 <afzal@ti.com>
-
Afzal Mohammed authored
Capability of bch schemes could be discovered using soc revision checks. If soc revision indicates that selected ecc scheme is not supported bail out. Signed-off-by:
Afzal Mohammed <afzal@ti.com>
-
Afzal Mohammed authored
For common arm zImage existing nand header file in platform specific location was moved to generic platform data location, but it contained more than platform data, remove it. New local header has been created for exposing functions. Also move gpmc-nand platform data to platform header meant for nand from gpmc header file Signed-off-by:
Afzal Mohammed <afzal@ti.com>
-
- 19 Sep, 2012 1 commit
-
-
Arnd Bergmann authored
Platform data for device drivers should be defined in include/linux/platform_data/*.h, not in the architecture and platform specific directories. This moves such data out of the omap include directories Signed-off-by:
Arnd Bergmann <arnd@arndb.de> Acked-by:
Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by:
Nicolas Pitre <nico@linaro.org> Acked-by:
Tony Lindgren <tony@atomide.com> Cc: Kevin Hilman <khilman@ti.com> Cc: "Benoît Cousson" <b-cousson@ti.com> Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> Cc: David Woodhouse <dwmw2@infradead.org> Cc: Kyungmin Park <kyungmin.park@samsung.com> Cc: Ohad Ben-Cohen <ohad@wizery.com> Cc: Grant Likely <grant.likely@secretlab.ca> Cc: Omar Ramirez Luna <omar.ramirez@ti.com> Cc: Tomi Valkeinen <tomi.valkeinen@ti.com> Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de> Cc: Peter Ujfalusi <peter.ujfalusi@ti.com> Cc: Jarkko Nikula <jarkko.nikula@bitmer.com> Cc: Liam Girdwood <lrg@ti.com> Cc: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Cc: Jean Pihet <j-pihet@ti.com> Cc: J Keerthy <j-keerthy@ti.com> Cc: linux-omap@vger.kernel.org
-
- 13 Sep, 2012 1 commit
-
-
Tony Lindgren authored
As the plat and mach includes need to disappear for single zImage work, we need to remove plat/hardware.h. Do this by splitting plat/hardware.h into omap1 and omap2+ specific files. The old plat/hardware.h already has omap1 only defines, so it gets moved to mach/hardware.h for omap1. For omap2+, we use the local soc.h that for now just includes the related SoC headers to keep this patch more readable. Note that the local soc.h still includes plat/cpu.h that can be dealt with in later patches. Let's also include plat/serial.h from common.h for all the board-*.c files. This allows making the include files local later on without patching these files again. Note that only minimal changes are done in this patch for the drivers/watchdog/omap_wdt.c driver to keep things compiling. Further patches are needed to eventually remove cpu_is_omap usage in the drivers. Also only minimal changes are done to sound/soc/omap/* to remove the unneeded includes and to define OMAP44XX_MCPDM_L3_BASE locally so there's no need to include omap44xx.h. While at it, also sort some of the includes in the standard way. Cc: linux-watchdog@vger.kernel.org Cc: alsa-devel@alsa-project.org Cc: Peter Ujfalusi <peter.ujfalusi@ti.com> Cc: Jarkko Nikula <jarkko.nikula@bitmer.com> Cc: Liam Girdwood <lrg@ti.com> Acked-by:
Wim Van Sebroeck <wim@iguana.be> Acked-by:
Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
- 10 Sep, 2012 1 commit
-
-
Igor Grinberg authored
plat/board.h file is now empty - remove it. Cc: Jarkko Lavinen <jarkko.lavinen@nokia.com> Cc: Chris Ball <cjb@laptop.org> Cc: Kyungmin Park <kyungmin.park@samsung.com> Cc: linux-mmc@vger.kernel.org Cc: linux-mtd@lists.infradead.org Signed-off-by:
Igor Grinberg <grinberg@compulab.co.il> Acked-by:
Chris Ball <cjb@laptop.org> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
- 30 Aug, 2012 3 commits
-
-
Afzal Mohammed authored
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 <afzal@ti.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Afzal Mohammed authored
Currently omap nand driver uses a field in platform data - phys_base for passing the address space allocated by gpmc for nand. Use struct resource instead. With this change omap nand driver has to get address space from memory resource. This helps in smooth migration of gpmc to driver. Signed-off-by:
Afzal Mohammed <afzal@ti.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Afzal Mohammed authored
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 <afzal@ti.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
- 24 Feb, 2012 1 commit
-
-
Tony Lindgren authored
This is needed to minimize io.h so the SoC specific io.h for ARMs can removed. Note that minimal driver changes for DSS and RNG are needed to include cpu.h for SoC detection macros. Cc: Tomi Valkeinen <tomi.valkeinen@ti.com> Cc: Matt Mackall <mpm@selenic.com> Cc: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
- 29 Jun, 2011 1 commit
-
-
Grazvydas Ignotas authored
omap_nand_platform_data fields 'options', 'gpio_irq', 'nand_setup' and 'dma_channel' are never referenced by the NAND driver, yet various board files are initializing those fields. This is both incorrect and confusing, so remove them. This allows to get rid of a global variable in gpmc-nand.c. This also corrects an issue where some boards are trying to pass NAND 16bit flag through .options, but the driver is using .devsize instead and ignoring .options. Finally, .dev_ready is treated as a flag by the driver, so make it bool instead of a function pointer. Signed-off-by:
Grazvydas Ignotas <notasas@gmail.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
- 17 Feb, 2011 1 commit
-
-
Sukumar Ghorai authored
zoom3 and 3630-sdp having the x16 nand device. This patch configure gpmc as x16 and select the currect function in driver for polled mode (without prefetch enable) transfer. Signed-off-by:
Sukumar Ghorai <s-ghorai@ti.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
- 21 Dec, 2010 1 commit
-
-
Adrian Hunter authored
The calculations done with sync_clk are anyway in picoseconds and switching to picoseconds allows sync_clk values that are not a whole number of nanoseconds - which is sometimes the case. Signed-off-by:
Adrian Hunter <adrian.hunter@nokia.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
- 02 Aug, 2010 1 commit
-
-
Sukumar Ghorai authored
This patch removes direct reference of gpmc address from generic nand platform code. Nand platform code now uses wrapper functions which are implemented in gpmc module. Signed-off-by:
Sukumar Ghorai <s-ghorai@ti.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
- 23 Apr, 2010 1 commit
-
-
stanley.miao authored
If gpmc_t isn't given, we don't need to set timing for gpmc, or it will cause a Oops. Signed-off-by:
Stanley.Miao <stanley.miao@windriver.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
- 15 Feb, 2010 1 commit
-
-
Vimal Singh authored
Introducing 'gpmc-nand.c' for GPMC specific NAND init. For example: GPMC timing parameters and all. This patch also migrates gpmc related calls from 'nand/omap2.c' to 'gpmc-nand.c'. Signed-off-by:
Vimal Singh <vimalsingh@ti.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-