1. 18 Jan, 2013 2 commits
  2. 06 Jan, 2013 1 commit
    • Fabio Estevam's avatar
      ARM: 7612/1: imx: Do not select some errata that depends on !ARCH_MULTIPLATFORM · a47e3bc1
      Fabio Estevam authored
      Since commit 62e4d357
      
       (ARM: 7609/1: disable errata work-arounds which access
      secure registers) ARM_ERRATA_743622/751472 depends on !ARCH_MULTIPLATFORM.
      
      Since imx has been converted to multiplatform, the following warning happens:
      
      $ make imx_v6_v7_defconfig
      warning: (SOC_IMX6Q && ARCH_TEGRA_2x_SOC && ARCH_TEGRA_3x_SOC) selects
      ARM_ERRATA_751472 which has unmet direct dependencies (CPU_V7 &&
      !ARCH_MULTIPLATFORM)
      warning: (SOC_IMX6Q && ARCH_TEGRA_3x_SOC) selects ARM_ERRATA_743622
      which has unmet direct dependencies (CPU_V7 && !ARCH_MULTIPLATFORM)
      warning: (SOC_IMX6Q && ARCH_TEGRA_3x_SOC) selects ARM_ERRATA_743622
      which has unmet direct dependencies (CPU_V7 && !ARCH_MULTIPLATFORM)
      warning: (SOC_IMX6Q && ARCH_TEGRA_2x_SOC && ARCH_TEGRA_3x_SOC) selects
      ARM_ERRATA_751472 which has unmet direct dependencies (CPU_V7 &&
      !ARCH_MULTIPLATFORM)
      
      Recommended approach is to remove ARM_ERRATA_743622/751472 from being selected
      by SOC_IMX6Q and apply such workarounds into the bootloader.
      Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
      Acked-by: default avatarRob Herring <rob.herring@calxeda.com>
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      a47e3bc1
  3. 03 Jan, 2013 1 commit
    • Greg Kroah-Hartman's avatar
      ARM: drivers: remove __dev* attributes. · 351a102d
      Greg Kroah-Hartman authored
      
      
      CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
      markings need to be removed.
      
      This change removes the use of __devinit, __devexit_p, __devinitdata,
      and __devexit from these drivers.
      
      Based on patches originally written by Bill Pemberton, but redone by me
      in order to handle some of the coding style issues better, by hand.
      
      Cc: Bill Pemberton <wfp5p@virginia.edu>
      Cc: Russell King <linux@arm.linux.org.uk>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      351a102d
  4. 17 Dec, 2012 2 commits
    • Fabio Estevam's avatar
      ARM: imx: Move platform-mx2-emma to arch/arm/mach-imx/devices · 027c0a6a
      Fabio Estevam authored
      
      
      Move platform-mx2-emma to arch/arm/mach-imx/devices and fix the following build
      error:
      
      make[2]: *** No rule to make target `arch/arm/mach-imx/devices/platform-mx2-emma.o', needed by `arch/arm/mach-imx/devices/built-in.o'.  Stop.
      Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
      Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
      027c0a6a
    • Sascha Hauer's avatar
      ARM i.MX51 clock: Fix regression since enabling MIPI/HSP clocks · 69155fd6
      Sascha Hauer authored
      The MIPI/HSP clocks were recently turned on in the i.MX51 clock tree.
      It turned out that the system does not work properly when the MIPI/HSP
      clocks are enabled, but the IPU clock is disabled. This happens when
      IPU support is disabled. In this case the IPU clock gets disabled when
      the clock framework turns off unused clock in a late_initcall. This
      is broken since:
      
      | commit 9a2d4825
      
      
      | Author: Sascha Hauer <s.hauer@pengutronix.de>
      | Date:   Tue Jun 5 13:53:32 2012 +0200
      |
      |     ARM i.MX5: switch IPU clk support to devicetree bindings
      |
      |     The i.MX5 clk support has platform based clock bindings for the
      |     IPU. IPU support is devicetree only, so move them over to devicetree
      |     based bindings. Also, enable MIPI clocks which do not have a device
      |     associated with, but still need to be enabled to do graphics on
      |     i.MX51.
      
      This patch fixes this by setting some reserved bits in the CCM as recommended
      in the reference manual.
      Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
      Tested-by: default avatarShawn Guo <shawn.guo@linaro.org>
      69155fd6
  5. 22 Nov, 2012 4 commits
  6. 16 Nov, 2012 10 commits
  7. 15 Nov, 2012 4 commits
  8. 12 Nov, 2012 2 commits
  9. 02 Nov, 2012 1 commit
  10. 01 Nov, 2012 1 commit
  11. 27 Oct, 2012 1 commit
    • Arnd Bergmann's avatar
      Revert "ARM i.MX25: Fix PWM per clock lookups" · 943bb487
      Arnd Bergmann authored
      This reverts commit 92063cee
      
      , it
      was applied prematurely, causing this build error for
      imx_v4_v5_defconfig:
      
      arch/arm/mach-imx/clk-imx25.c: In function 'mx25_clocks_init':
      arch/arm/mach-imx/clk-imx25.c:206:26: error: 'pwm_ipg_per' undeclared (first use in this function)
      arch/arm/mach-imx/clk-imx25.c:206:26: note: each undeclared identifier is reported only once for each function it appears in
      
      Sascha Hauer explains:
      > There are several gates missing in clk-imx25.c. I have a patch which
      > adds support for them and I seem to have missed that the above depends
      > on it.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      943bb487
  12. 23 Oct, 2012 1 commit
    • Shawn Guo's avatar
      ARM: imx: select HAVE_IMX_SRC when SMP is enabled · 68b25325
      Shawn Guo authored
      
      
      With being part of multi-platform support, SMP can be enabled by other
      platform even when SOC_IMX6Q is deselected.  It leads to a situation
      that arch/arm/mach-imx/platsmp.c is built without HAVE_IMX_SRC selection
      which will cause build error.  For example, the following link errors
      will be seen when building imx5 with other v7 platforms.
      
       arch/arm/mach-imx/built-in.o: In function `imx_cpu_die':
       platform-ahci-imx.c:(.text+0x219c): undefined reference to `imx_enable_cpu'
       arch/arm/mach-imx/built-in.o: In function `imx_boot_secondary':
       platform-ahci-imx.c:(.cpuinit.text+0x14): undefined reference to `imx_set_cpu_jump'
       platform-ahci-imx.c:(.cpuinit.text+0x20): undefined reference to `imx_enable_cpu'
      
      Select HAVE_IMX_SRC as long as SMP is enabled to fix the problem.
      Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
      68b25325
  13. 19 Oct, 2012 1 commit
    • Fabio Estevam's avatar
      ARM: mach-imx: Fix selection of ARCH_MXC · 4cc3c840
      Fabio Estevam authored
      Since commit c5a0d497
      
      (ARM: imx: enable multi-platform build),
      ARCH_MXC is selected by the following logic:
      
      config ARCH_MXC
              def_bool y if ARCH_MULTI_V4_V5 || ARCH_MULTI_V6_V7
      
      , which causes build error on vexpress_defconfig:
      
      arch/arm/mach-imx/hotplug.c:49: undefined reference to `imx_enable_cpu'
      arch/arm/mach-imx/platsmp.c:57: undefined reference to `imx_set_cpu_jump'
      arch/arm/mach-imx/platsmp.c:58: undefined reference to `imx_enable_cpu'
      
      Make ARCH_MXC a user selectable option, so that it does not get built
      by default on other defconfigs that select ARCH_MULTI_V4_V5 or ARCH_MULTI_V6_V7.
      Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
      Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
      4cc3c840
  14. 14 Oct, 2012 9 commits