02 Aug, 2012

1 commit

  • Pull ARM DMA engine updates from Russell King:
    "This looks scary at first glance, but what it is is:
    - a rework of the sa11x0 DMA engine driver merged during the previous
    cycle, to extract a common set of helper functions for DMA engine
    implementations.
    - conversion of amba-pl08x.c to use these helper functions.
    - addition of OMAP DMA engine driver (using these helper functions),
    and conversion of some of the OMAP DMA users to use DMA engine.

    Nothing in the helper functions is ARM specific, so I hope that other
    implementations can consolidate some of their code by making use of
    these helpers.

    This has been sitting in linux-next most of the merge cycle, and has
    been tested by several OMAP folk. I've tested it on sa11x0 platforms,
    and given it my best shot on my broken platforms which have the
    amba-pl08x controller.

    The last point is the addition to feature-removal-schedule.txt, which
    will have a merge conflict. Between myself and TI, we're planning to
    remove the old TI DMA implementation next year."

    Fix up trivial add/add conflicts in Documentation/feature-removal-schedule.txt
    and drivers/dma/{Kconfig,Makefile}

    * 'dmaengine' of git://git.linaro.org/people/rmk/linux-arm: (53 commits)
    ARM: 7481/1: OMAP2+: omap2plus_defconfig: enable OMAP DMA engine
    ARM: 7464/1: mmc: omap_hsmmc: ensure probe returns error if DMA channel request fails
    Add feature removal of old OMAP private DMA implementation
    mtd: omap2: remove private DMA API implementation
    mtd: omap2: add DMA engine support
    spi: omap2-mcspi: remove private DMA API implementation
    spi: omap2-mcspi: add DMA engine support
    ARM: omap: remove mmc platform data dma_mask and initialization
    mmc: omap: remove private DMA API implementation
    mmc: omap: add DMA engine support
    mmc: omap_hsmmc: remove private DMA API implementation
    mmc: omap_hsmmc: add DMA engine support
    dmaengine: omap: add support for cyclic DMA
    dmaengine: omap: add support for setting fi
    dmaengine: omap: add support for returning residue in tx_state method
    dmaengine: add OMAP DMA engine driver
    dmaengine: sa11x0-dma: add cyclic DMA support
    dmaengine: sa11x0-dma: fix DMA residue support
    dmaengine: PL08x: ensure all descriptors are freed when channel is released
    dmaengine: PL08x: get rid of write only pool_ctr and free_txd locking
    ...

    Linus Torvalds
     

18 Jul, 2012

1 commit

  • The max limit of con_id is 16 and dev_id is 20. As of now for spear3xx, many clk
    ids are exceeding this predefined limit.

    This patch is intended to rename clk ids like:
    mux_clk -> _mclk
    gate_clk -> _gclk
    synth_clk -> syn_clk
    ras_gen1_synth_gate_clk -> ras_syn1_gclk
    ras_pll3_48m -> ras_pll3_
    pll3_48m -> pll3_

    Signed-off-by: Vipul Kumar Samar
    Signed-off-by: Shiraz Hashim
    Acked-by: Viresh Kumar
    Acked-by: Arnd Bergmann

    Vipul Kumar Samar
     

01 Jul, 2012

1 commit


21 Jun, 2012

1 commit

  • viresh.kumar@st.com email-id doesn't exist anymore as I have left the
    company. Replace ST's id with viresh.linux@gmail.com.

    It also updates .mailmap file to fix address for 'git shortlog'

    Signed-off-by: Viresh Kumar
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Viresh Kumar
     

14 May, 2012

2 commits

  • Conflicts:
    arch/arm/mach-spear3xx/clock.c
    arch/arm/mach-spear3xx/include/mach/generic.h
    arch/arm/mach-spear3xx/include/mach/misc_regs.h
    arch/arm/mach-spear3xx/spear320.c
    arch/arm/mach-spear6xx/clock.c
    arch/arm/mach-spear6xx/include/mach/misc_regs.h

    Resolve even more merge conflicts.

    Signed-off-by: Arnd Bergmann

    Arnd Bergmann
     
  • Conflicts:
    arch/arm/mach-spear3xx/Makefile
    arch/arm/mach-spear3xx/clock.c
    arch/arm/mach-spear3xx/include/mach/generic.h
    arch/arm/mach-spear6xx/clock.c
    arch/arm/plat-spear/Makefile
    drivers/pinctrl/core.c

    This resolves some annoying merge conflicts.

    Signed-off-by: Arnd Bergmann

    Arnd Bergmann
     

13 May, 2012

2 commits


23 Apr, 2012

8 commits

  • Signed-off-by: Viresh Kumar
    Acked-by: Linus Walleij
    Reviewed-by: Stephen Warren

    Viresh Kumar
     
  • We must use pinctrl framework instead of defining per SoC pinmux drivers. This
    patch removes existing padmux support present for SPEAr platform.

    Signed-off-by: Viresh Kumar
    Acked-by: Linus Walleij
    Reviewed-by: Stephen Warren

    Viresh Kumar
     
  • The register and irq definitions in mach/*.h for spear3xx and
    spear6xx are now mostly obsolete, after the platforms have been
    converted to device tree based probing and the data is now
    part of the device tree files.

    The misc_regs.h contents are moved into clock.c because that is
    the only user, aside from the DMA_CHN_CFG that should eventually
    get handled differently. Some of the contents of mach/spear.h
    still remain, because they are used to set up the static map table,
    timer, uart and auxdata tables, but almost everything got removed.
    We might remove everything but the map table as the DT conversion
    completes, but that is not a priority. I've also made sure to
    make both copies of spear.h more or less identical so we can
    eventually combine them.

    The spear3?0.h files were only used by the spear3?0.c files, so I
    merged the contents in there and removed the bits that were unused.
    This is something that should still be looked at.

    Signed-off-by: Arnd Bergmann
    Acked-by: Viresh Kumar

    Arnd Bergmann
     
  • Both SPEAr3xx and SPEAr6xx families have one instance of ARM PL080 DMA
    controller. This patch adds in support for that.

    Signed-off-by: Viresh Kumar

    Viresh Kumar
     
  • This patch adds a generic target for SPEAr3xx machines that can be configured
    via the device-tree. Currently the following devices are supported via the
    devicetree:

    - VIC interrupts
    - PL011 UART
    - PL061 GPIO
    - PL110 CLCD
    - SP805 WDT
    - Synopsys DW I2C
    - Synopsys DW ethernet
    - ST FSMC-NAND
    - ST SPEAR-SMI
    - ST SPEAR-KEYBOARD
    - ST SPEAR-RTC
    - ARASAN SDHCI-SPEAR
    - SPEAR-EHCI
    - SPEAR-OHCI

    Other peripheral devices will follow in later patches.

    This also removes IO_ADDRESS macro and creates 16 MB static mappings instead of
    4K for individual peripherals. This is done to have efficient TLB lookup for any
    I/O windows that are located closely together. ioremap() on this range will
    return this mapping only instead of creating another.

    Signed-off-by: Viresh Kumar

    Viresh Kumar
     
  • For better print logs/messages, it is advisable to use pr_*() routines instead
    of directly calling printks. This patch removes direct calling of printks for
    spear3xx.

    Signed-off-by: Viresh Kumar

    Viresh Kumar
     
  • This patch adds following clocks: "usbh.0_clk" and "usbh.1_clk". They are used
    by ehci and ohci drivers for SPEAr3xx usb host devices.

    Signed-off-by: Viresh Kumar

    Viresh Kumar
     
  • Signed-off-by: Viresh Kumar

    Viresh Kumar
     

30 Mar, 2012

1 commit

  • Pull "ARM: cleanups of io includes" from Olof Johansson:
    "Rob Herring has done a sweeping change cleaning up all of the
    mach/io.h includes, moving some of the oft-repeated macros to a common
    location and removing a bunch of boiler plate. This is another step
    closer to a common zImage for multiple platforms."

    Fix up various fairly trivial conflicts ( removal vs changes
    around it, tegra localtimer.o is *still* gone, yadda-yadda).

    * tag 'cleanup2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (29 commits)
    ARM: tegra: Include assembler.h in sleep.S to fix build break
    ARM: pxa: use common IOMEM definition
    ARM: dma-mapping: convert ARCH_HAS_DMA_SET_COHERENT_MASK to kconfig symbol
    ARM: __io abuse cleanup
    ARM: create a common IOMEM definition
    ARM: iop13xx: fix missing declaration of iop13xx_init_early
    ARM: fix ioremap/iounmap for !CONFIG_MMU
    ARM: kill off __mem_pci
    ARM: remove bunch of now unused mach/io.h files
    ARM: make mach/io.h include optional
    ARM: clps711x: remove unneeded include of mach/io.h
    ARM: dove: add explicit include of dove.h to addr-map.c
    ARM: at91: add explicit include of hardware.h to uncompressor
    ARM: ep93xx: clean-up mach/io.h
    ARM: tegra: clean-up mach/io.h
    ARM: orion5x: clean-up mach/io.h
    ARM: davinci: remove unneeded mach/io.h include
    [media] davinci: remove includes of mach/io.h
    ARM: OMAP: Remove remaining includes for mach/io.h
    ARM: msm: clean-up mach/io.h
    ...

    Linus Torvalds
     

24 Mar, 2012

1 commit

  • Pull #1 ARM updates from Russell King:
    "This one covers stuff which Arnd is waiting for me to push, as this is
    shared between both our trees and probably other trees elsewhere.

    Essentially, this contains:
    - AMBA primecell device initializer updates - mostly shrinking the
    size of the device declarations in platform code to something more
    reasonable.
    - Getting rid of the NO_IRQ crap from AMBA primecell stuff.
    - Nicolas' idle cleanups. This in combination with the restart
    cleanups from the last merge window results in a great many
    mach/system.h files being deleted."

    Yay: ~80 files, ~2000 lines deleted.

    * 'for-armsoc' of git://git.linaro.org/people/rmk/linux-arm: (60 commits)
    ARM: remove disable_fiq and arch_ret_to_user macros
    ARM: make entry-macro.S depend on !MULTI_IRQ_HANDLER
    ARM: rpc: make default fiq handler run-time installed
    ARM: make arch_ret_to_user macro optional
    ARM: amba: samsung: use common amba device initializers
    ARM: amba: spear: use common amba device initializers
    ARM: amba: nomadik: use common amba device initializers
    ARM: amba: u300: use common amba device initializers
    ARM: amba: lpc32xx: use common amba device initializers
    ARM: amba: netx: use common amba device initializers
    ARM: amba: bcmring: use common amba device initializers
    ARM: amba: ep93xx: use common amba device initializers
    ARM: amba: omap2: use common amba device initializers
    ARM: amba: integrator: use common amba device initializers
    ARM: amba: realview: get rid of private platform amba_device initializer
    ARM: amba: versatile: get rid of private platform amba_device initializer
    ARM: amba: vexpress: get rid of private platform amba_device initializer
    ARM: amba: provide common initializers for static amba devices
    ARM: amba: make use of -1 IRQs warn
    ARM: amba: u300: get rid of NO_IRQ initializers
    ...

    Linus Torvalds
     

14 Mar, 2012

1 commit

  • Several platforms create IOMEM defines for casting to 'void __iomem *',
    and other platforms are incorrectly using __io() macro for the same
    purpose. This creates a common definition and removes all the platform
    specific versions. Rather than try to make linux/io.h and asm/io.h
    assembly safe, the assembly version of IOMEM is moved into
    asm/assembler.h.

    Signed-off-by: Rob Herring
    Cc: Russell King
    Cc: Sekhar Nori
    Cc: Kevin Hilman
    Acked-by: H Hartley Sweeten
    Cc: Ryan Mallon
    Cc: Eric Miao
    Cc: Haojian Zhuang
    Acked-by: David Brown
    Cc: Daniel Walker
    Cc: Bryan Huntsman
    Cc: Sascha Hauer
    Cc: Shawn Guo
    Acked-by: Tony Lindgren
    Acked-by: Paul Walmsley
    Acked-by: Viresh Kumar
    Cc: Rajeev Kumar
    Cc: Colin Cross
    Cc: Olof Johansson
    Cc: Stephen Warren
    Acked-by: Linus Walleij
    Acked-by: Arnd Bergmann

    Rob Herring
     

07 Mar, 2012

1 commit

  • Now that many platforms don't need mach/io.h, remove the unused ones.

    Signed-off-by: Rob Herring
    Acked-by: Shawn Guo
    Acked-by: Linus Walleij
    Acked-by: H Hartley Sweeten
    Acked-by: Jean-Christophe PLAGNIOL-VILLARD
    Acked-by: Jamie Iles
    Acked-by: Pawel Moll
    Acked-by: Nicolas Pitre

    Rob Herring
     

23 Feb, 2012

1 commit


22 Feb, 2012

1 commit

  • Now that most platforms don't need disable_fiq and arch_ret_to_user
    macros, we can remove the empty macros or empty entry-macro.S files.

    Signed-off-by: Rob Herring
    Acked-by: Jamie Iles
    Acked-by: Nicolas Pitre
    Acked-by: Tony Lindgren
    Acked-by: Linus Walleij
    Acked-by: Ryan Mallon
    Acked-by: Nicolas Ferre
    Acked-by: H Hartley Sweeten
    Acked-by: Shawn Guo

    Rob Herring
     

21 Feb, 2012

1 commit


27 Jan, 2012

2 commits


25 Jan, 2012

1 commit


21 Jan, 2012

1 commit

  • When this is the only content remaining in mach/system.h then the
    whole file is removed.

    Signed-off-by: Nicolas Pitre
    Acked-by: H Hartley Sweeten
    Acked-and-tested-by: Jamie Iles
    Acked-by: Tony Lindgren
    Acked-by: David Brown
    Acked-by: Stephen Warren
    Acked-by: Linus Walleij

    Nicolas Pitre
     

05 Jan, 2012

2 commits


06 Dec, 2011

1 commit


27 Nov, 2011

1 commit


16 Nov, 2011

1 commit


29 Oct, 2011

1 commit

  • …git-cur/linux-2.6-arm

    * 'devel-stable' of http://ftp.arm.linux.org.uk/pub/linux/arm/kernel/git-cur/linux-2.6-arm: (178 commits)
    ARM: 7139/1: fix compilation with CONFIG_ARM_ATAG_DTB_COMPAT and large TEXT_OFFSET
    ARM: gic, local timers: use the request_percpu_irq() interface
    ARM: gic: consolidate PPI handling
    ARM: switch from NO_MACH_MEMORY_H to NEED_MACH_MEMORY_H
    ARM: mach-s5p64x0: remove mach/memory.h
    ARM: mach-s3c64xx: remove mach/memory.h
    ARM: plat-mxc: remove mach/memory.h
    ARM: mach-prima2: remove mach/memory.h
    ARM: mach-zynq: remove mach/memory.h
    ARM: mach-bcmring: remove mach/memory.h
    ARM: mach-davinci: remove mach/memory.h
    ARM: mach-pxa: remove mach/memory.h
    ARM: mach-ixp4xx: remove mach/memory.h
    ARM: mach-h720x: remove mach/memory.h
    ARM: mach-vt8500: remove mach/memory.h
    ARM: mach-s5pc100: remove mach/memory.h
    ARM: mach-tegra: remove mach/memory.h
    ARM: plat-tcc: remove mach/memory.h
    ARM: mach-mmp: remove mach/memory.h
    ARM: mach-cns3xxx: remove mach/memory.h
    ...

    Fix up mostly pretty trivial conflicts in:
    - arch/arm/Kconfig
    - arch/arm/include/asm/localtimer.h
    - arch/arm/kernel/Makefile
    - arch/arm/mach-shmobile/board-ap4evb.c
    - arch/arm/mach-u300/core.c
    - arch/arm/mm/dma-mapping.c
    - arch/arm/mm/proc-v7.S
    - arch/arm/plat-omap/Kconfig
    largely due to some CONFIG option renaming (ie CONFIG_PM_SLEEP ->
    CONFIG_ARM_CPU_SUSPEND for the arm-specific suspend code etc) and
    addition of NEED_MACH_MEMORY_H next to HAVE_IDE.

    Linus Torvalds
     

17 Oct, 2011

1 commit

  • Boards used to specify zreladdr in their Makefile.boot with
    zreladdr-y := x, so conflicting zreladdrs were silently overwritten.
    This patch changes this to zreladdr-y += x, so that we end
    up with multiple words in zreladdr in such a case. We can
    detect this later and complain if necessary.

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

    Sascha Hauer
     

14 Oct, 2011

1 commit


22 Aug, 2011

1 commit


20 Jul, 2011

1 commit

  • Now most of ARM machines has the alsmot same __clk_get/put() macro

    So place it at the arch/arm/include/asm/clkdev.h and remove the reduntant header files

    But some machines don't have the same form as above. It can use the machince specific clkdev file by HAVE_MACH_CLKDEV config

    Now there are only 3 caese.

    1) define the clk structure with clkdev macro => Need to move clk structure to proper header file

    arch/arm/mach-versatile/include/mach/clkdev.h
    arch/arm/mach-realview/include/mach/clkdev.h
    arch/arm/mach-vexpress/include/mach/clkdev.h
    arch/arm/mach-integrator/include/mach/clkdev.h

    2) export the __clk_get/put function at clock.c

    arch/arm/mach-shmobile/include/mach/clkdev.h

    3) demuxing the clk source
    arch/arm/mach-u300/include/mach/clkdev.h

    Acked-by: Viresh Kumar
    Acked-by: H Hartley Sweeten
    Acked-by: Jean-Christophe PLAGNIOL-VILLARD
    Signed-off-by: Kyungmin Park

    Kyungmin Park
     

21 May, 2011

3 commits