29 Mar, 2011

1 commit


19 Mar, 2011

1 commit

  • Commit db97eb7dfe13f6c04f0a0e77c32e2691f563ab8b
    (omap: gpmc: enable irq mode in gpmc) enabled interrupts for
    GPMC (General Purpose Memory Controller). However, looks like
    this patch only works on omap3. Fix the issues to avoid warnings
    on omap4 during the boot.

    GPMC: number of chip select is 8, CS0 to CS7. One less IRQ
    allocated throws below warning at boot:

    [ 0.429290] Trying to install type control for IRQ409
    [ 0.429290] Trying to set irq flags for IRQ409

    Resolve following warning messages in boot when irq chip is not set:

    [ 0.429229] Trying to install interrupt handler for IRQ402
    [ 0.429229] Trying to install interrupt handler for IRQ403
    [ 0.429229] Trying to install interrupt handler for IRQ404
    [ 0.429260] Trying to install interrupt handler for IRQ405
    [ 0.429260] Trying to install interrupt handler for IRQ406
    [ 0.429260] Trying to install interrupt handler for IRQ407
    [ 0.429290] Trying to install interrupt handler for IRQ408

    Resolve following warning in OMAP4:
    [ 0.429290] gpmc: irq-20 could not claim: err -22

    Signed-off-by: Balaji T K
    [tony@atomide.com: combined patches into one, updated comments]
    Signed-off-by: Tony Lindgren

    Balaji T K
     

18 Feb, 2011

2 commits


22 Dec, 2010

1 commit


02 Aug, 2010

2 commits


16 Feb, 2010

1 commit

  • Get rid of the following warnings:

    arch/arm/mach-omap2/gpmc.c:550:30: warning: non-ANSI
    function declaration of function 'omap3_gpmc_save_context'

    arch/arm/mach-omap2/gpmc.c:581:33: warning: non-ANSI
    function declaration of function 'omap3_gpmc_restore_context'

    Signed-off-by: Felipe Balbi
    Signed-off-by: Tony Lindgren

    Felipe Balbi
     

04 Feb, 2010

1 commit


21 Jan, 2010

1 commit

  • Don't assume that gpmc_l3_clk is on, enable it before touching
    configuration registers.

    Note that the current code assumes that this clock is always
    enabled. We are already setting smart idle and L3 autogating
    for GPMC clock in gpmc_init.

    Signed-off-by: Olof Johansson
    Signed-off-by: Tony Lindgren

    Olof Johansson
     

12 Dec, 2009

1 commit


23 Nov, 2009

1 commit


19 Nov, 2009

1 commit


12 Nov, 2009

1 commit


11 Nov, 2009

1 commit

  • Use the resource_size function instead of manually calculating the
    resource size. This reduces the chance of introducing off-by-one errors
    and actually fixes one in mailbox.c.

    Signed-off-by: Tobias Klauser
    Signed-off-by: Tony Lindgren

    Tobias Klauser
     

21 Oct, 2009

1 commit

  • Move the remaining headers under plat-omap/include/mach
    to plat-omap/include/plat. Also search and replace the
    files using these headers to include using the right path.

    This was done with:

    #!/bin/bash
    mach_dir_old="arch/arm/plat-omap/include/mach"
    plat_dir_new="arch/arm/plat-omap/include/plat"
    headers=$(cd $mach_dir_old && ls *.h)
    omap_dirs="arch/arm/*omap*/ \
    drivers/video/omap \
    sound/soc/omap"
    other_files="drivers/leds/leds-ams-delta.c \
    drivers/mfd/menelaus.c \
    drivers/mfd/twl4030-core.c \
    drivers/mtd/nand/ams-delta.c"

    for header in $headers; do
    old="#include

    Tony Lindgren
     

20 Sep, 2009

1 commit


29 May, 2009

1 commit

  • This patch adds the support for OMAP4. The platform and machine specific
    headers and sources updated for OMAP4430 SDP platform.

    OMAP4430 is Texas Instrument's SOC based on ARM Cortex-A9 SMP architecture.
    It's a dual core SOC with GIC used for interrupt handling and SCU for cache
    coherency.

    Signed-off-by: Santosh Shilimkar
    Signed-off-by: Tony Lindgren

    Santosh Shilimkar
     

05 Nov, 2008

1 commit

  • Fix these compiler warnings:

    gpmc.c: In function 'gpmc_init':
    gpmc.c:432: warning: 'return' with a value, in function returning void
    gpmc.c:439: warning: 'return' with a value, in function returning void

    Signed-off-by: Sanjeev Premi
    Signed-off-by: Tony Lindgren

    Sanjeev Premi
     

15 Oct, 2008

1 commit


09 Oct, 2008

1 commit

  • Add minimal omap3430 support based on earlier patches from
    Syed Mohammed Khasim. Also merge in omap34xx SRAM support
    from Karthik Dasu and use consistent naming for sram init
    functions.

    Also do following changes that make 34xx support usable:

    - Remove unused sram.c functions for 34xx

    - Rename IRQ_SIR_IRQ to INTCPS_SIR_IRQ and define it locally
    in entry-macro.S

    - Update mach-omap2/io.c to support 2420, 2430, and 34xx

    - Also merge in 34xx GPMC changes to add fields wr_access and
    wr_data_mux_bus from Adrian Hunter

    - Remove memory initialization call omap2_init_memory() until
    until more generic memory initialization patches are posted.
    It's OK to rely on bootloader initialization until then.

    Signed-off-by: Syed Mohammed, Khasim
    Signed-off-by: Karthik Dasu
    Signed-off-by: Adrian Hunter
    Signed-off-by: Tony Lindgren

    Syed Mohammed, Khasim
     

06 Oct, 2008

2 commits


06 Sep, 2008

2 commits

  • Signed-off-by: Russell King

    Russell King
     
  • OMAP1_IO_ADDRESS(), OMAP2_IO_ADDRESS() and IO_ADDRESS() returns cookies
    for use with __raw_{read|write}* for accessing registers. Therefore,
    these macros should return (void __iomem *) cookies, not integer values.

    Doing this improves typechecking, and means we can find those places
    where, eg, DMA controllers are incorrectly given virtual addresses to
    DMA to, or physical addresses are thrown through a virtual to physical
    address translation.

    Signed-off-by: Russell King

    Russell King
     

07 Aug, 2008

1 commit


07 Jun, 2008

1 commit


15 Apr, 2008

1 commit

  • This patch changes 24xx to use new register access, except for clock
    framework. Clock framework register access will get updates in the
    next patch.

    Note that board-*.c files change GPMC (General Purpose Memory Controller)
    access to use gpmc_cs_write_reg() instead of accessing the registers
    directly. The code also uses gpmc_fck instead of it's parent clock
    core_l3_ck for GPMC clock.

    The H4 board file also adds h4_init_flash() function, which specify the
    flash start and end addresses.

    Also note that sleep.S removes some unused registers addresses.

    Signed-off-by: Paul Walmsley
    Signed-off-by: Tony Lindgren

    Paul Walmsley
     

21 Sep, 2007

3 commits

  • This patch merges gpmc changes from N800 tree
    and adds gpmc_get_fclk_period() to gpmc.h.

    Signed-off-by: Kai Svahn
    Signed-off-by: Tony Lindgren

    Kai Svahn
     
  • This patch adds minimal OMAP2430 support to get the kernel booting on 2430SDP.

    Signed-off-by: Syed Mohammed Khasim
    Signed-off-by: Tony Lindgren

    Syed Mohammed Khasim
     
  • GPMC updates:
    - bugfixes: wrong/missing flags, omitted write, wrong test
    - don't map memory segments starting at zero
    - improve debug messaging
    - export gpmc_get_fclk_perio]d() since it's needed to calc timings
    - expect gpmc_cs_set_timings() caller to have initialized sync vs async

    Note that this API is glitchy; likely the best fix would be to add
    a member to "struct gpmc_timings" to hold GPMC_CONFIG1, since that
    holds one key aspect of the GPMC timings (the gpmc_fclk divisor,
    and sync vs. async == whether that divisor matters).

    Signed-off-by: David Brownell
    Signed-off-by: Tony Lindgren

    David Brownell
     

12 May, 2007

1 commit


09 May, 2007

1 commit


31 Dec, 2006

1 commit


25 Sep, 2006

1 commit

  • Add support for assigning memory regions dynamically to peripherals
    attached to GPMC interface. Platform specific code should now call
    gpmc_cs_request to get a free GPMC memory region instead of using
    a fixed address.

    Make the H4 and Apollon platform initialization use the new API.

    Signed-off-by: Imre Deak
    Signed-off-by: Juha Yrjola
    Signed-off-by: Tony Lindgren

    Imre Deak
     

27 Jun, 2006

2 commits