30 Aug, 2013

1 commit


22 Aug, 2013

1 commit

  • …gene/linux-samsung into next/cleanup

    From Kukjin Kim:
    samsung cleanup for v3.12
    - cleanup non-dt stuff in exynos
    - remove 0x from exynos dt files
    - remove unused codes

    * tag 'samsung-cleanup-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung:
    ARM: SAMSUNG: Remove unnecessary exynos4_default_sdhci*()
    ARM: dts: Remove '0x's from Exynos5440 DTS file
    ARM: dts: Remove '0x's from Exynos5420 DTS file
    ARM: dts: Remove '0x's from Exynos5250 DTS file
    ARM: dts: Remove '0x's from Exynos4x12 DTSI file
    ARM: dts: Remove '0x's from Exynos4210 DTSI file
    ARM: EXYNOS: Cleanup common.h file
    irqchip: exynos: cleanup non-DT stuff in exynos-combiner

    Signed-off-by: Kevin Hilman <khilman@linaro.org>

    Kevin Hilman
     

21 Aug, 2013

1 commit


20 Aug, 2013

2 commits


19 Aug, 2013

1 commit


16 Aug, 2013

1 commit


14 Aug, 2013

2 commits

  • From Tomasz Figa:
    Here is the Samsung PWM cleanup series. Particular patches of the series
    involve following modifications:
    - fixing up few things in samsung_pwm_timer clocksource driver,
    - moving remaining Samsung platforms to the new clocksource driver,
    - removing old clocksource driver,
    - adding new multiplatform- and DT-aware PWM driver,
    - moving all Samsung platforms to use the new PWM driver,
    - removing old PWM driver,
    - removing all PWM-related code that is not used anymore.

    * tag 'v3.12-pwm-cleanup-for-olof' of git://github.com/tom3q/linux: (684 commits)
    ARM: SAMSUNG: Remove plat/regs-timer.h header
    ARM: SAMSUNG: Remove remaining uses of plat/regs-timer.h header
    ARM: SAMSUNG: Remove pwm-clock infrastructure
    ARM: SAMSUNG: Remove old PWM timer platform devices
    pwm: Remove superseded pwm-samsung-legacy driver
    ARM: SAMSUNG: Modify board files to use new PWM platform device
    ARM: SAMSUNG: Rework private data handling in dev-backlight
    pwm: Add new pwm-samsung driver
    pwm: samsung: Rename to pwm-samsung-legacy
    ARM: SAMSUNG: Remove unused PWM timer IRQ chip code
    ARM: SAMSUNG: Remove old samsung-time driver
    ARM: SAMSUNG: Move all platforms to new clocksource driver
    ARM: SAMSUNG: Set PWM platform data
    ARM: SAMSUNG: Add new PWM platform device
    ARM: SAMSUNG: Unify base address definitions of timer block
    clocksource: samsung_pwm_timer: Handle suspend/resume correctly
    clocksource: samsung_pwm_timer: Do not use clocksource_mmio
    clocksource: samsung_pwm_timer: Cache clocksource register address
    clocksource: samsung_pwm_timer: Correct definition of AUTORELOAD bit
    clocksource: samsung_pwm_timer: Do not request PWM mem region
    + v3.11-rc4

    Conflicts:
    arch/arm/Kconfig.debug

    Signed-off-by: Olof Johansson

    Olof Johansson
     
  • From David Brown :
    * msm/cleanup:
    ARM: msm: Only compile io.c on platforms that use it
    iommu/msm: Move mach includes to iommu directory
    ARM: msm: Remove devices-iommu.c
    ARM: msm: Move mach/board.h contents to common.h
    ARM: msm: Migrate msm_timer to CLOCKSOURCE_OF_DECLARE
    ARM: msm: Remove TMR and TMR0 static mappings
    ARM: msm: Move debug-macro.S to include/debug
    ARM: msm: Don't compile __msm_ioremap_caller() unless used
    ARM: msm: Remove unused and unmapped MSM_TLMM_BASE for 8x60

    Signed-off-by: Kevin Hilman

    Kevin Hilman
     

13 Aug, 2013

6 commits

  • Since all uses of the header has been removed by previous patches it can
    be removed safely.

    Signed-off-by: Tomasz Figa
    Reviewed-by: Sylwester Nawrocki
    Tested-by: Heiko Stuebner
    Tested-by: Mark Brown
    Tested-by: Sylwester Nawrocki
    Acked-by: Arnd Bergmann

    Tomasz Figa
     
  • This patch removes remaining inclusions of plat/regs-timer.h as
    a preparation to remove the header.

    As a part of this, things like save and restore of PWM registers are
    removed from SoC-specific code, because it is handled in appropriate
    drivers now.

    Signed-off-by: Tomasz Figa
    Reviewed-by: Sylwester Nawrocki
    Tested-by: Heiko Stuebner
    Tested-by: Mark Brown
    Tested-by: Sylwester Nawrocki
    Acked-by: Arnd Bergmann

    Tomasz Figa
     
  • Since all the used PWM prescalers and dividers configuration has been
    moved to appropriate drivers, the pwm-clock infrastructure is now
    unused and so this patch removes it.

    Signed-off-by: Tomasz Figa
    Reviewed-by: Sylwester Nawrocki
    Tested-by: Heiko Stuebner
    Tested-by: Mark Brown
    Tested-by: Sylwester Nawrocki
    Acked-by: Arnd Bergmann

    Tomasz Figa
     
  • This patch removes old Samsung PWM timer platform devices that are not
    used any more.

    Signed-off-by: Tomasz Figa
    Reviewed-by: Sylwester Nawrocki
    Tested-by: Heiko Stuebner
    Tested-by: Mark Brown
    Tested-by: Sylwester Nawrocki
    Acked-by: Arnd Bergmann

    Tomasz Figa
     
  • This patch modifies any board files using the legacy PWM device to use
    the new device instead.

    Signed-off-by: Tomasz Figa
    Reviewed-by: Sylwester Nawrocki
    Tested-by: Heiko Stuebner
    Tested-by: Mark Brown
    Tested-by: Sylwester Nawrocki
    Acked-by: Arnd Bergmann

    Tomasz Figa
     
  • This patch modifies dev-backlight helpers to get private data using
    container_of instead of abusing platform_data field of PWM device.

    Signed-off-by: Tomasz Figa
    Reviewed-by: Sylwester Nawrocki
    Tested-by: Heiko Stuebner
    Tested-by: Mark Brown
    Tested-by: Sylwester Nawrocki
    Acked-by: Arnd Bergmann

    Tomasz Figa
     

12 Aug, 2013

1 commit

  • …m/linux/kernel/git/tmlind/linux-omap into next/cleanup

    From Tony Lindgren:
    Removal of unused omap defines via Paul Walmsley <paul@pwsan.com>:

    This series removes the currently-unused PRCM macros from
    arch/arm/mach-omap2.

    Basic test logs are available at:

    http://www.pwsan.com/omap/testlogs/drop_unused_prcm_macros_v3.11-rc/20130721211401/

    Once, years ago, we thought that it would be good to document the PRCM
    register bits in the Linux codebase. Most folks in the broader
    community did not have access to the same documentation, so we thought
    that they might be able to use these bits to fix bugs and improve the
    code.

    We were also able to autogenerate most of these macros, so it was
    thought that defining them in advance would reduce the risk of error,
    inconsistencies, and merge conflicts caused when patch sets
    incrementally defined them by hand.

    Well, nice thoughts. But the first rationale was rendered partially
    obsolete when TI started to release public TRM documentation PDFs at
    some point in the OMAP3 timeframe. (Despite their weaknesses, TI's
    public OMAP TRMs remain the most useful public documentation available
    for any ARM Linux SoC -- at least to the extent of my knowledge.) And
    then the current Linux development tropism towards
    development-by-negative-diffstat obliterated the remainder of the
    above two philosophies.

    So, for the few, the masochistic, out there who wish to continue
    developing TI PRCM code, I would ask that you resurrect any
    additionally-needed macros from these commits, rather than writing
    them manually. Purely for the sake of a pleasant atavism, perhaps; the
    way one appreciates a used bookstore, or a video rental store...

    And thanks to the upstream maintainers for being patient while we
    adjust.

    * tag 'omap-for-v3.12/cleanup-unused-defines' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
    ARM: OMAP5: PRM/CM: Cleanup unused header
    ARM: OMAP4: PRM/CM: Cleanup unused header
    ARM: OMAP3: PRM/CM: Cleanup unused header
    ARM: OMAP2: PRM/CM: Cleanup unused header

    Signed-off-by: Olof Johansson <olof@lixom.net>

    Olof Johansson
     

09 Aug, 2013

2 commits


07 Aug, 2013

7 commits

  • Only the non-dt based MSM platforms need to map memory from their
    machine descriptor. Unfortunately it is always compiled if
    ARCH_MSM=y and the file also has mach/ includes in it. Since
    dt-based MSM platforms aren't actually using anything in this
    file just compile io.c on the non-dt based MSM platforms. This
    allows the dt-based platforms to participate in the
    multi-platform kernel.

    Signed-off-by: Stephen Boyd
    Signed-off-by: David Brown

    Stephen Boyd
     
  • Two header files exist in mach-msm's include/mach directory that
    are only used by the MSM iommu driver. Move these files to the
    iommu driver directory and prefix them with "msm_". This allows
    us to compile the MSM iommu driver on multi-platform kernels.

    Acked-by: Joerg Roedel
    Cc: Stepan Moskovchenko
    Signed-off-by: Stephen Boyd
    Signed-off-by: David Brown

    Stephen Boyd
     
  • The iommu devices are registered in software, when they should
    really be part of the DT. Since we don't currently have DT
    bindings in place for the MSM iommu driver just remove this file
    for the time being. This is not removing any functionality anyway
    because these devices aren't probing today due to missing clocks.

    Cc: Stepan Moskovchenko
    Signed-off-by: Stephen Boyd
    Signed-off-by: David Brown

    Stephen Boyd
     
  • The contents of mach/board.h are only used by files within
    mach-msm so there is no need to export this file outside of the
    mach-msm directory. Move the contents of the file to common.h to
    allow us to compile MSM in the multi-platform kernel.

    Cc: Florian Tobias Schandinat
    Signed-off-by: Stephen Boyd
    Acked-by: Tomi Valkeinen
    Signed-off-by: David Brown

    Stephen Boyd
     
  • This allows us to remove the init_time callback in the DT machine
    descriptors, shrinking the code.

    Signed-off-by: Stephen Boyd
    Signed-off-by: David Brown

    Stephen Boyd
     
  • Nobody is using these mappings so just drop them. of_iomap() in
    the timer driver will take care of it for us. Doing this allows
    us to remove the 8x60 and 8960 iomap files completely.

    Signed-off-by: Stephen Boyd
    Signed-off-by: David Brown

    Stephen Boyd
     
  • One more step to allowing MSM to participate in the
    multi-platform defconfig.

    Signed-off-by: Stephen Boyd
    [davidb: Comment cleanup requested by sboyd]
    Signed-off-by: David Brown

    Stephen Boyd
     

06 Aug, 2013

11 commits


05 Aug, 2013

1 commit

  • …el/git/horms/renesas into next/cleanup

    From Simon Horman:
    renesas-cleanup-for-v3.12 Renesas ARM based SoC cleanups for v3.12

    * remove mach/dma.h, it is not used
    * r8a7778 SoC: Removed unused r8a7778_init_irq
    * emev2 SoC: Use less verbose resource declarations
    * emev2 SoC: Correct typo in comment
    * r8a7790 SoC: Remove redundant init_machine callback
    * emev2, r8a7740, r8a7778, r8a7779, sh7372 and sh73a0 SoCs: Remove auxdata
    * emev2, r8a73a4, ape6evm, r8a7790 and sh73a0 SoCs, and
    lager and kzm9g boards: remove init_irq declaration in machine description
    * sh73a0 SoC: pinmux platform device cleanup
    * r8a7778 SoC: add __initdata on resource and device data
    * armadillo800eva board: Remove unused commend and define

    * tag 'renesas-cleanup-for-v3.12' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: (22 commits)
    ARM: shmobile: Remove unused mach/dma.h
    ARM: shmobile: r8a7778: remove r8a7778_init_irq()
    ARM: shmobile: Fix EMEV2 clock comment typo
    ARM: shmobile: Make EMEV2 platform devices more compact
    ARM: shmobile: Remove unused EMEV2/KZM9D early console
    ARM: shmobile: Remove redundant r8a7790 callback
    ARM: shmobile: Remove unused sh73a0 auxdata table
    ARM: shmobile: Remove unused sh7372 auxdata table
    ARM: shmobile: Remove unused r8a7779 auxdata table
    ARM: shmobile: Remove unused r8a7778 auxdata and callback
    ARM: shmobile: Remove unused r8a7740 auxdata table
    ARM: shmobile: Remove unused EMEV2 auxdata and callback
    ARM: shmobile: kzm9g: Remove init_irq declaration in machine description
    ARM: shmobile: sh73a0: Remove init_irq declaration in machine description
    ARM: shmobile: lager: Remove init_irq declaration in machine description
    ARM: shmobile: r8a7790: Remove init_irq declaration in machine description
    ARM: shmobile: ape6evm: Remove init_irq declaration in machine description
    ARM: shmobile: r8a73a4: Remove init_irq declaration in machine description
    ARM: shmobile: emev2: Remove init_irq declaration in machine description
    ARM: shmobile: sh73a0 pinmux platform device cleanup
    ...

    Signed-off-by: Olof Johansson <olof@lixom.net>

    Olof Johansson
     

04 Aug, 2013

1 commit

  • Pull arm fixes fixes from Russell King:
    "This fixes a couple of problems with commit 48be69a026b2 ("ARM: move
    signal handlers into a vdso-like page"), one of which was originally
    discovered via my testing originally, but the fix for it was never
    actually committed.

    The other shows up on noMMU builds, and such platforms are extremely
    rare and as such are not part of my nightly testing"

    * 'fixes' of git://git.linaro.org/people/rmk/linux-arm:
    ARM: fix nommu builds with 48be69a02 (ARM: move signal handlers into a vdso-like page)
    ARM: fix a cockup in 48be69a02 (ARM: move signal handlers into a vdso-like page)

    Linus Torvalds
     

03 Aug, 2013

2 commits