05 Jan, 2012

1 commit

  • Rather than using DaVinci specific davinci_soc_info based
    restart hook, use the restart hook available in the machine
    descriptor instead.

    Tested on DM365 and AM18x EVMs.

    v2:
    Changed to use restart hook in machine descriptor
    per Russell's comment.

    Signed-off-by: Sekhar Nori
    Signed-off-by: Russell King

    Sekhar Nori
     

08 Nov, 2011

1 commit

  • * git://git.infradead.org/mtd-2.6: (226 commits)
    mtd: tests: annotate as DANGEROUS in Kconfig
    mtd: tests: don't use mtd0 as a default
    mtd: clean up usage of MTD_DOCPROBE_ADDRESS
    jffs2: add compr=lzo and compr=zlib options
    jffs2: implement mount option parsing and compression overriding
    mtd: nand: initialize ops.mode
    mtd: provide an alias for the redboot module name
    mtd: m25p80: don't probe device which has status of 'disabled'
    mtd: nand_h1900 never worked
    mtd: Add DiskOnChip G3 support
    mtd: m25p80: add EON flash EN25Q32B into spi flash id table
    mtd: mark block device queue as non-rotational
    mtd: r852: make r852_pm_ops static
    mtd: m25p80: add support for at25df321a spi data flash
    mtd: mxc_nand: preset_v1_v2: unlock all NAND flash blocks
    mtd: nand: switch `check_pattern()' to standard `memcmp()'
    mtd: nand: invalidate cache on unaligned reads
    mtd: nand: do not scan bad blocks with NAND_BBT_NO_OOB set
    mtd: nand: wait to set BBT version
    mtd: nand: scrub BBT on ECC errors
    ...

    Fix up trivial conflicts:
    - arch/arm/mach-at91/board-usb-a9260.c
    Merged into board-usb-a926x.c
    - drivers/mtd/maps/lantiq-flash.c
    add_mtd_partitions -> mtd_device_register vs changed to use
    mtd_device_parse_register.

    Linus Torvalds
     

11 Sep, 2011

2 commits

  • Recall the recently added prefix requirements:
    * "NAND_" for flags in nand.h, used in nand_chip.options
    * "NAND_BBT_" for flags in bbm.h, used in nand_chip.bbt_options
    or in nand_bbt_descr.options

    Thus, I am changing NAND_USE_FLASH_BBT to NAND_BBT_USE_FLASH.

    Again, this flag is found in bbm.h and so should NOT be used in the
    "nand_chip.options" field.

    Signed-off-by: Brian Norris
    Signed-off-by: Artem Bityutskiy

    Brian Norris
     
  • This patch works with the following three flags from two headers (nand.h
    and bbm.h):
    (1) NAND_USE_FLASH_BBT (nand.h)
    (2) NAND_USE_FLASH_BBT_NO_OOB (nand.h)
    (3) NAND_BBT_NO_OOB (bbm.h)

    These flags are all related and interdependent, yet they were in
    different headers. Flag (2) is simply the combination of (1) and (3) and
    can be eliminated.

    This patch accomplishes the following:
    * eliminate NAND_USE_FLASH_BBT_NO_OOB (i.e., flag (2))
    * move NAND_USE_FLASH_BBT (i.e., flag (1)) to bbm.h

    It's important to note that because (1) and (3) are now both found in
    bbm.h, they should NOT be used in the "nand_chip.options" field.

    I removed a small section from the mtdnand DocBook because it referes to
    NAND_USE_FLASH_BBT in nand.h, which has been moved to bbm.h.

    Signed-off-by: Brian Norris
    Signed-off-by: Artem Bityutskiy

    Brian Norris
     

22 Aug, 2011

1 commit


19 Jul, 2011

1 commit


20 Oct, 2010

1 commit

  • Since we're now using addruart to establish the debug mapping, we can
    remove the io_pg_offst and phys_io members of struct machine_desc.

    The various declarations were removed using the following script:

    grep -rl MACHINE_START arch/arm | xargs \
    sed -i '/MACHINE_START/,/MACHINE_END/ { /\.\(phys_io\|io_pg_offst\)/d }'

    [ Initial patch was from Jeremy Kerr, example script from Russell King ]

    Signed-off-by: Nicolas Pitre
    Acked-by: Eric Miao

    Nicolas Pitre
     

14 May, 2010

1 commit

  • This patch implements the following:

    - interrupt initialization uses ioremap() instead of passing a virtual address
    via davinci_soc_info.

    - machine definitions directly point to cp_intc_init() or davinci_irq_init()

    - davinci_intc_type and davinci_intc_base now get initialized in controller
    specific init functions instead of davinci_common_init()

    - minor fix in davinci_irq_init() to use intc_irq_num instead of
    DAVINCI_N_AINTC_IRQ

    Signed-off-by: Cyril Chemparathy
    Signed-off-by: Kevin Hilman

    Cyril Chemparathy
     

07 May, 2010

1 commit

  • Currently each DaVinci board file #define's its own version of the EMIFA base
    addresses (all named DAVINCI_ASYNC_EMIF_*_BASE), which leads to duplication.
    Move these #define's to the SoC specific headers, changing their prefixes from
    'DAVINCI' to the 'DM355', 'DM644X', and 'DM646X' since all these base addresses
    are SoC specific...

    And while at it, rename DM646X_ASYNC_EMIF_DATA_CE0_BASE to
    DM646X_ASYNC_EMIF_CS2_SPACE_BASE in order to match the DM646x datasheet.

    Signed-off-by: Sergei Shtylyov
    Signed-off-by: Kevin Hilman

    Sergei Shtylyov
     

05 Feb, 2010

1 commit

  • Patch adds SDA and SCL pin numbers to the i2c platform data
    structure for Davinci DM355 and DM6446. This at present is
    used for i2c bus recovery.
    TODO: Add SDA and SCL pin number information to include all
    Davinci platforms such as dm355-leopard, dm365, dm646x, da8xx etc.

    Signed-off-by: Philby John
    Signed-off-by: Kevin Hilman

    Philby John
     

07 Jan, 2010

1 commit


26 Nov, 2009

3 commits


17 Sep, 2009

1 commit

  • DM355 platform and board setup

    This has platform and board setup changes to support vpfe capture
    driver for DM355 EVMs.

    Tested video capture on DM355 using tvp514x

    Reviewed-by: Hans Verkuil
    Reviewed-by: Laurent Pinchart
    Reviewed-by: David Brownell
    Signed-off-by: Muralidharan Karicheri
    Signed-off-by: Denys Dmytriyenko
    Signed-off-by: Kevin Hilman

    Muralidharan Karicheri
     

26 Aug, 2009

3 commits


26 Jul, 2009

1 commit


26 May, 2009

3 commits

  • Create a structure to encapsulate SoC-specific information.
    This will assist in generalizing code so it can be used by
    different SoCs that have similar hardware but with minor
    differences such as having a different base address.

    The idea is that the code for each SoC fills out a structure
    with the correct information. The board-specific code then
    calls the SoC init routine which in turn will call a common
    init routine that makes a copy of the structure, maps in I/O
    regions, etc.

    After initialization, code can get a pointer to the structure
    by calling davinci_get_soc_info(). Eventually, the common
    init routine will make a copy of all of the data pointed to
    by the structure so the original data can be made __init_data.
    That way the data for SoC's that aren't being used won't consume
    memory for the entire life of the kernel.

    The structure will be extended in subsequent patches but
    initially, it holds the map_desc structure for any I/O
    regions the SoC/board wants statically mapped.

    Signed-off-by: Mark A. Greer
    Signed-off-by: Kevin Hilman

    Mark A. Greer
     
  • Add SoC and platform-specific data and init for MMC driver.

    Signed-off-by: Kevin Hilman

    Kevin Hilman
     
  • In addition, add board support for the DM355 Evaluation Module (EVM)
    and the DM355 Leopard board.

    Original DM355 EVM support done by Sandeep Paulraj, with significant
    updates and improvements by David Brownell. DM355 Leopord support
    done by Koen Kooi.

    Signed-off-by: Sandeep Paulraj
    Signed-off-by: Koen Kooi
    Cc: David Brownell
    Signed-off-by: Kevin Hilman

    Kevin Hilman