1. 28 Jul, 2015 2 commits
    • Rob Herring's avatar
      ARM: kill off set_irq_flags usage · e8d36d5d
      Rob Herring authored
      set_irq_flags is ARM specific with custom flags which have genirq
      equivalents. Convert drivers to use the genirq interfaces directly, so we
      can kill off set_irq_flags. The translation of flags is as follows:
      
      IRQF_VALID -> !IRQ_NOREQUEST
      IRQF_PROBE -> !IRQ_NOPROBE
      IRQF_NOAUTOEN -> IRQ_NOAUTOEN
      
      For IRQs managed by an irqdomain, the irqdomain core code handles clearing
      and setting IRQ_NOREQUEST already, so there is no need to do this in
      .map() functions and we can simply remove the set_irq_flags calls. Some
      users also modify IRQ_NOPROBE and this has been maintained although it
      is not clear that is really needed. There appears to be a great deal of
      blind copy and paste of this code.
      Signed-off-by: Rob Herring's avatarRob Herring <robh@kernel.org>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Sekhar Nori <nsekhar@ti.com>
      Cc: Kevin Hilman <khilman@deeprootsystems.com>
      Cc: Jason Cooper <jason@lakedaemon.net>
      Cc: Andrew Lunn <andrew@lunn.ch>
      Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
      Cc: Gregory Clement <gregory.clement@free-electrons.com>
      Acked-by: default avatarHans Ulli Kroll <ulli.kroll@googlemail.com>
      Acked-by: default avatarShawn Guo <shawnguo@kernel.org>
      Cc: Sascha Hauer <kernel@pengutronix.de>
      Cc: Imre Kaloz <kaloz@openwrt.org>
      Acked-by: default avatarKrzysztof Halasa <khalasa@piap.pl>
      Cc: Greg Ungerer <gerg@uclinux.org>
      Cc: Roland Stigge <stigge@antcom.de>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: Daniel Mack <daniel@zonque.org>
      Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
      Cc: Robert Jarzmik <robert.jarzmik@free.fr>
      Cc: Simtec Linux Team <linux@simtec.co.uk>
      Cc: Kukjin Kim <kgene@kernel.org>
      Cc: Krzysztof Kozlowski <k.kozlowski@samsung.com>
      Acked-by: default avatarWan ZongShun <mcuos.com@gmail.com>
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: linux-omap@vger.kernel.org
      Cc: linux-samsung-soc@vger.kernel.org
      Tested-by: default avatarKevin Hilman <khilman@linaro.org>
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      e8d36d5d
    • Nicolas Pitre's avatar
      ARM: appropriate __init annotation for const data · 19c233b7
      Nicolas Pitre authored
      Init data marked const should be annotated with __initconst for
      correctness and not __initdata.  In some cases the array gathering
      references to that data has to be marked const as well. This fixes
      LTO builds that otherwise fail with section mismatch errors.
      Signed-off-by: default avatarNicolas Pitre <nico@linaro.org>
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      19c233b7
  2. 27 Jul, 2015 1 commit
  3. 22 Jul, 2015 1 commit
    • Olof Johansson's avatar
      Merge tag 'omap-for-v4.3/legacy-v2-signed' of... · 9521f492
      Olof Johansson authored
      Merge tag 'omap-for-v4.3/legacy-v2-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/cleanup
      
      Merge "drop few more legacy boards for v4.3" from Tony Lindgren:
      
      Drop more omap3 legacy board-*.c files for v4.3. This time we're
      dropping the board files for omap3logic and omap3pandora.
      
      The reason for dropping these now rather than later is that now
      we can simply revert the patches in case of unexpected issues as
      we are not dropping any platform data at this point.
      
      This leaves us with only the following board-*.c files:
      
      BOARD                   REASON NEEDED
      board-ldp.c             Still used in RMKs boot test system
      board-rx51-*.c          Needs /proc/atags support for user space
      
      Once we have the n900 legacy user space issues sorted out for
      /proc/atags and system_rev, we can drop the remaining two
      board-*.c files. And then one merge window after that we can
      drop the legacy booting support assuming no unexpected issues
      are found.
      
      * tag 'omap-for-v4.3/legacy-v2-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
        ARM: OMAP2+: Remove legacy booting support for Pandora
        ARM: OMAP2+: Remove legacy booting support for LogicPD Torpedo
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      9521f492
  4. 17 Jul, 2015 28 commits
  5. 16 Jul, 2015 1 commit
    • Tony Lindgren's avatar
      ARM: OMAP2+: Remove legacy booting support for Pandora · 7fcf7e06
      Tony Lindgren authored
      We've been moving all omap2+ based systems to boot in device tree only
      mode for a few years now. Only omap3 has legacy booting support
      remaining. Most omap3 boards already have related arch/arm/boot/*.dts*
      files for booting with device tree.
      
      This board has support for device tree based booting, and we've been
      printing warnings about the legacy booting being deprecated for a
      few merge cycles now. Let's attempt to remove the legacy booting
      for it.
      
      The reason for removing the legacy booting support now rather than
      later is we can simply revert this patch if necessary if we run
      into some unexpected issues that are not trivial to fix for the
      device tree based booting.
      
      Cc: Grazvydas Ignotas <notasas@gmail.com>
      Signed-off-by: Tony Lindgren's avatarTony Lindgren <tony@atomide.com>
      7fcf7e06
  6. 14 Jul, 2015 3 commits
    • Olof Johansson's avatar
      Merge tag 'renesas-pm-domain-for-v4.3' of... · b3f81739
      Olof Johansson authored
      Merge tag 'renesas-pm-domain-for-v4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/cleanup
      
      Merge "Renesas ARM Based SoC PM Domain Updates for v4.3" from Simon Horman:
      
      * Make rcar_sysc_ch const for r8a779[09] SoCs
      * Get rid of on_off_fn() function pointer
      * Use BIT() macro instead of open coding
      * Make struct rcar_sysc_ch * parameters const
      * Break infinite loop
      * Shrink rcar_sysc_ch size
      * Improve documentation
      
      * tag 'renesas-pm-domain-for-v4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
        ARM: shmobile: r8a7790: Make struct rcar_sysc_ch const
        ARM: shmobile: r8a7779: Make struct rcar_sysc_ch const
        ARM: shmobile: R-Car: Get rid of on_off_fn() function pointer
        ARM: shmobile: R-Car: Use BIT() macro instead of open coding
        ARM: shmobile: R-Car: Make struct rcar_sysc_ch * parameters const
        ARM: shmobile: R-Car: Break infinite loop
        ARM: shmobile: R-Car: Shrink rcar_sysc_ch size
        ARM: shmobile: R-Car: Improve documentation
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      b3f81739
    • Olof Johansson's avatar
      Merge tag 'renesas-cleanup-for-v4.3' of... · 63f34693
      Olof Johansson authored
      Merge tag 'renesas-cleanup-for-v4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/cleanup
      
      Merge "Renesas ARM Based SoC Cleanup for v4.3" from Simon Horman:
      
      * Remove non-multiplatform code from timer
      * Remove CONFIG_ARCH_SHMOBILE_MULTI check in setup-rcar-gen2.c
        as it is always true
      * Remove legacy (non-multiplatform) support for both sh73a0/kzm9g and
        r8a7740/armadillo800eva
      * Move to_rmobile_pd from header to source file where it is used
      * Use BIT() macro instead of open coding in r-mobile PM code
      * r8a7779: Remove usage of GENPD_FLAG_PM_CLK flag which has no effect
      
      * tag 'renesas-cleanup-for-v4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
        ARM: shmobile: timer: r8a73a4 and r8a7790 are multi-platform only
        ARM: shmobile: R-Car Gen2: CONFIG_ARCH_SHMOBILE_MULTI is always set
        ARM: shmobile: Remove obsolete zboot support
        ARM: shmobile: R-Mobile: Remove legacy PM Domain code
        ARM: shmobile: Remove unused dma-register.h
        ARM: shmobile: Remove legacy SoC code for R-Mobile A1
        ARM: shmobile: Drop r8a7740-armadillo800eva.dtb for legacy builds
        ARM: shmobile: Remove legacy armadillo800eva_defconfig
        ARM: shmobile: Remove legacy board code for Armadillo-800 EVA
        ARM: shmobile: Remove legacy SoC code for SH-Mobile AG5
        ARM: shmobile: Drop sh73a0-kzm9g.dtb for legacy builds
        ARM: shmobile: Remove legacy kzm9g_defconfig
        ARM: shmobile: Remove legacy board code for KZM-A9-GT
        ARM: shmobile: r8a7779: Remove GENPD_FLAG_PM_CLK flag
        ARM: shmobile: R-Mobile: Use BIT() macro instead of open coding
        ARM: shmobile: R-Mobile: Move to_rmobile_pd from header to source file
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      63f34693
    • Wolfram Sang's avatar
      ARM: shmobile: apmu: silence build warnings · 151dd346
      Wolfram Sang authored
      With shmobile_defconfig but SMP=n && SUSPEND=n, I get:
      
      arch/arm/mach-shmobile/platsmp-apmu.c:49:12: warning: 'apmu_power_off' defined but not used [-Wunused-function]
      arch/arm/mach-shmobile/platsmp-apmu.c:70:12: warning: 'apmu_wrap' defined but not used [-Wunused-function]
      
      Annotate those functions like the functions around it.
      Signed-off-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
      Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
      151dd346
  7. 13 Jul, 2015 1 commit
    • Tony Lindgren's avatar
      ARM: OMAP2+: Remove legacy booting support for LogicPD Torpedo · d0796c4c
      Tony Lindgren authored
      We've been moving all omap2+ based systems to boot in device tree only
      mode for a few years now. Only omap3 has legacy booting support
      remaining. Most omap3 boards already have related arch/arm/boot/*.dts*
      files for booting with device tree.
      
      This board has support for device tree based booting, and we've been
      printing warnings about the legacy booting being deprecated for a
      few merge cycles now. Let's attempt to remove the legacy booting
      for it.
      
      The reason for removing the legacy booting support now rather than
      later is we can simply revert this patch if necessary if we run
      into some unexpected issues that are not trivial to fix for the
      device tree based booting.
      
      Cc: Tim Nordell <tim.nordell@logicpd.com>
      Signed-off-by: Tony Lindgren's avatarTony Lindgren <tony@atomide.com>
      d0796c4c
  8. 12 Jul, 2015 3 commits