30 Aug, 2007

1 commit

  • During GPIO testing on PiMX1 board there has been revealed
    problem with some pins input functions. The GIUS bit has
    to be set for inputs to work reliably too. It is surprising
    that input worked on some inputs with incorrect setup before.
    DR is not mandatory, but it ensures stable constant level
    on internal traces.

    Signed-off-by: Pavel Pisa
    Acked-by: Sascha Hauer
    Signed-off-by: Russell King

    Pavel Pisa
     

23 Aug, 2007

1 commit

  • The pins for GPIO should be provided as plain number
    build as (GPIO_PORTx + pin_number). But to setup
    the output GPIO_GIUS and GPIO_DR have to be specified
    in mode to route right value to the pin.

    This is a fix, it should go to 2.6.23

    Signed-off-by: Pavel Pisa
    Acked-by: Sascha Hauer
    Signed-off-by: Russell King

    Pavel Pisa
     

12 Jul, 2007

1 commit

  • Support for generic input output for MX1 family.
    The implementation prevents allocation of one pin
    by two users, but does not store pointer to the user
    description permanently, because this solution
    would have bigger memory overhead.

    The simple way to integrate code with per BSP
    pins setup and allocation is required else all GPIO
    registration checking is useless. The function
    imx_gpio_setup_multiple_pins() can be used for this
    purpose in future.

    Signed-off-by: Pavel Pisa
    Signed-off-by: Russell King

    Pavel Pisa
     

31 May, 2007

1 commit

  • The following patch fixes these section mismatch warnings:

    WARNING: arch/arm/mach-at91/built-in.o(.text+0xdf4): Section mismatch: reference to .init.data:dk_nand_partition (between 'nand_partitions' and 'at91_leds_event')
    WARNING: arch/arm/mach-at91/built-in.o(.text+0xbdc): Section mismatch: reference to .init.data:ek_nand_partition (after 'nand_partitions')
    WARNING: arch/arm/mach-at91/built-in.o(.text+0xbdc): Section mismatch: reference to .init.data:ek_nand_partition (between 'nand_partitions' and 'ads7843_pendown_state')
    WARNING: arch/arm/mach-at91/built-in.o(.text+0xbdc): Section mismatch: reference to .init.data:ek_nand_partition (after 'nand_partitions')
    WARNING: arch/arm/mach-at91/built-in.o(.text+0xc28): Section mismatch: reference to .init.data:kb9202_nand_partition (after 'nand_partitions')
    WARNING: arch/arm/mach-footbridge/built-in.o(.text+0xaa4): Section mismatch: reference to .init.data:cats_pci (between 'cats_pci_init' and 'ebsa285_leds_event')WARNING: arch/arm/mach-ixp2000/built-in.o(.text+0xb54): Section mismatch: reference to .init.text:ixp2000_init_irq (between 'ixdp2x00_init_irq' and 'ixdp2x00_irq_handler')
    WARNING: arch/arm/mach-ixp23xx/built-in.o(.text+0x670): Section mismatch: reference to .init.text:ixp23xx_pci_common_init (between 'ixp23xx_pci_slave_init' and 'ixp23xx_pci_scan_bus')
    WARNING: arch/arm/mach-ixp23xx/built-in.o(.text+0x890): Section mismatch: reference to .init.text:ixp23xx_init_irq (between 'ixdp2351_init_irq' and 'roadrunner_pci_preinit')
    WARNING: arch/arm/mach-ixp23xx/built-in.o(.text+0x9a8): Section mismatch: reference to .init.text:ixp23xx_pci_preinit (after 'roadrunner_pci_preinit')
    WARNING: arch/arm/mach-imx/built-in.o(__ksymtab+0x80): Section mismatch: reference to .init.text:imx_set_mmc_info (between '__ksymtab_imx_set_mmc_info' and '__ksymtab_set_imx_fb_info')
    WARNING: arch/arm/mach-imx/built-in.o(__ksymtab+0x88): Section mismatch: reference to .init.text:set_imx_fb_info (after '__ksymtab_set_imx_fb_info')
    WARNING: arch/arm/mach-sa1100/built-in.o(.text+0x1930): Section mismatch: reference to .init.data:neponset_port_fns (between 'neponset_probe' and 'assabet_leds_event')
    WARNING: drivers/built-in.o(.text+0x3f100): Section mismatch: reference to .init.text:ps2_clear_input (between 'ps2_probe' and 'ps2_cmd_aborted')
    WARNING: drivers/built-in.o(.text+0x3f1c8): Section mismatch: reference to .init.text:ps2_clear_input (between 'ps2_probe' and 'ps2_cmd_aborted')
    WARNING: drivers/built-in.o(.text+0x4f988): Section mismatch: reference to .init.text:ps2_clear_input (between 'ps2_probe' and 'ps2_cmd_aborted')
    WARNING: drivers/built-in.o(.text+0x4fa50): Section mismatch: reference to .init.text:ps2_clear_input (between 'ps2_probe' and 'ps2_cmd_aborted')

    Signed-off-by: Sam Ravnborg
    Acked-by: Lennert Buytenhek
    Signed-off-by: Russell King

    Russell King
     

13 Mar, 2007

1 commit


08 Dec, 2006

1 commit

  • The future high resolution support inclusion utilizes
    imx_decode_pll() in timer base frequency computation.
    This use requires more precise computation without
    discarding 10 bits by shifting left.

    Signed-off-by: Pavel Pisa
    Acked-by: Sascha Hauer
    Signed-off-by: Russell King

    Pavel Pisa
     

04 May, 2006

1 commit


03 Apr, 2006

1 commit

  • Patch from Pavel Pisa

    This patch adds support of i.MX/MX1 SD/MMC controller.
    It has been significantly redesigned from the original Sascha Hauer's
    version to support scatter-gather DMA, to conform to latest Pierre Ossman's
    and Russell King's MMC-SD Linux 2.6.x infrastructure.
    The handling of all events has been moved to the softirq context
    and is designed with no busy-looping in mind. Unfortunately
    some controller bugs has to be overcome by limited looping
    about 2-20 usec but these are observed only for initial card
    recognition phase.

    There are still some missing/missed IRQs problems under heavy load.
    Help of somebody with access to the full SDHC design information
    is probably necessary.

    Regenerated against 2.6.16-git-060402 to solve clash with other patches.

    Signed-off-by: Pavel Pisa
    Acked-by: Sascha Hauer
    Signed-off-by: Russell King

    Pavel Pisa
     

31 Oct, 2005

2 commits

  • Manual #include fixups for clashes - there may be some unnecessary

    Linus Torvalds
     
  • I recently picked up my older work to remove unnecessary #includes of
    sched.h, starting from a patch by Dave Jones to not include sched.h
    from module.h. This reduces the number of indirect includes of sched.h
    by ~300. Another ~400 pointless direct includes can be removed after
    this disentangling (patch to follow later).
    However, quite a few indirect includes need to be fixed up for this.

    In order to feed the patches through -mm with as little disturbance as
    possible, I've split out the fixes I accumulated up to now (complete for
    i386 and x86_64, more archs to follow later) and post them before the real
    patch. This way this large part of the patch is kept simple with only
    adding #includes, and all hunks are independent of each other. So if any
    hunk rejects or gets in the way of other patches, just drop it. My scripts
    will pick it up again in the next round.

    Signed-off-by: Tim Schmielau
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Tim Schmielau
     

30 Oct, 2005

1 commit


28 Oct, 2005

1 commit


05 Oct, 2005

1 commit

  • Patch from Sascha Hauer

    Current implementation of imx_gpio_mode does not allow to
    configure all alternate routing possibilities of the i.MX. With
    this patch every bit in the gpio setup registers has a
    corresponding bit in the gpio_mode parameter, so every routing
    should be possible now.

    Signed-off-by: Sascha Hauer
    Signed-off-by: Russell King

    Sascha Hauer
     

04 May, 2005

1 commit


17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds