1. 27 4月, 2013 1 次提交
    • O
      Revert "ARM: exynos: enable multiplatform support" · 4923ee44
      Olof Johansson 提交于
      This reverts commit bd51de53.
      
      Turns out that multiplatform breaks some uses cases, such as when you
      have an existing defconfig, since it adds the new EXYNOS_SINGLE config
      option as a dependecy. As a result, nearly all exynos config options
      will be disabled by default.
      
      Reverting instead of rebasing since this branch is pulled in as a
      dependency elsewhere.
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      4923ee44
  2. 19 4月, 2013 8 次提交
    • A
      ARM: exynos: enable multiplatform support · bd51de53
      Arnd Bergmann 提交于
      This makes it possible to enable the exynos platform as part of a
      multiplatform kernel, in addition to keeping the single-platform
      exynos support.
      
      The multiplatform variant has a number of limitations at the moment:
      
      * It only supports DT-enabled machines. This is not a problem in
        the long run, as non-DT machines for exynos are going away.
        The main problem here is that the gpio code and the exynos_eint
        irqchip are not multiplatform capable but still required for
        ATAGS based boot.
      * The watchdog driver is still missing a conversion.
      * sparsemem and memory_holes are currently not supported in
        multiplatform.
      
      The the multiplatform aware ARCH_EXYNOS Kconfig symbol is disabled
      for now, as dependent patches are still pending in other
      subsystem trees. We will enable it once everything comes together.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      bd51de53
    • A
      rtc: s3c: make header file local · b9d7c5d3
      Arnd Bergmann 提交于
      Nothing outside of the rtc driver includes plat/regs-rtc.h,
      so we can simply move the file into the same directory,
      which allows us to build the file as platform-independent
      code.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: rtc-linux@googlegroups.com
      Cc: Alessandro Zummo <a.zummo@towertech.it>
      b9d7c5d3
    • A
      mtd: onenand/samsung: make regs-onenand.h file local · 93115b7f
      Arnd Bergmann 提交于
      Nothing uses the NAND register definitions other than the
      actual driver, so we can move the header file into the
      same local directory, which lets us build it in a multiplatform
      configuration.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NKyungmin Park <kyungmin.park@samsung.com>
      Cc: linux-mtd@lists.infradead.org
      Cc: David Woodhouse <dwmw2@infradead.org>
      93115b7f
    • A
      mmc: sdhci-s3c: remove platform dependencies · cc014f3e
      Arnd Bergmann 提交于
      plat/regs-sdhci.h is not used anywhere but in the sdhci-s3c
      driver, so it can become a local file there and all other
      inclusions removed.
      
      plat/sdhci.h is used only to define the platform devices,
      and with the exception of the platform_data structure not
      needed by the driver, so we can split out the platform_data
      definition instead and leave the rest to platform code.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NChris Ball <cjb@laptop.org>
      cc014f3e
    • A
      ARM: samsung: move mfc device definition to s5p-dev-mfc.c · f76da510
      Arnd Bergmann 提交于
      For a DT-only build we don't want to compile devs.c, but we do need
      the mfc device, which is also referenced by the DT based platforms,
      so move it all into one place.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      f76da510
    • A
      ARM: exynos: move debug-macro.S to include/debug/ · a2e40710
      Arnd Bergmann 提交于
      The move is necessary to support early debug output on exynos
      with multiplatform configurations. This implies also moving the
      plat/debug-macro.S file, but we are leaving the remaining users of that
      file in place, to avoid adding large numbers of extra configuration
      options to Kconfig.debug
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      a2e40710
    • A
      ARM: exynos: prepare for sparse IRQ · 7ba8022f
      Arnd Bergmann 提交于
      When we enable CONFIG_SPARSE_IRQ, we have to set the value of NR_IRQS in
      the machine_desc for legacy IRQ domains, and any file referring to the
      number of interrupts or a specific number must include the mach/irqs.h
      header file explicitly.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      7ba8022f
    • A
      ARM: exynos: introduce EXYNOS_ATAGS symbol · b4cf27f7
      Arnd Bergmann 提交于
      As a preparation for multiplatform support, this introduces
      a new Kconfig symbol to split the ATAGS based EXYNOS platforms
      from the DT based ones. Turning off CONFIG_EXYNOS_ATAGS disables
      all platforms that are not yet converted to DT, and we can
      have code that relies on DT checking for this symbol being
      disabled.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      b4cf27f7
  3. 23 3月, 2013 1 次提交
  4. 19 3月, 2013 2 次提交
    • S
      ARM: imx: add dependency check for DEBUG_IMX_UART_PORT · 287939a3
      Shawn Guo 提交于
      While adding i.MX DEBUG_LL selection, commit f8c95fe6 (ARM: imx: support
      DEBUG_LL uart port selection for all i.MX SoCs) leaves Kconfig symbol
      DEBUG_IMX_UART_PORT there without any dependency check.  This results in
      that everyone gets the symbol in their config, which is someting
      undesirable.  Add "depends on ARCH_MXC" for the symbol to prevent that.
      Reported-by: NKarl Beldan <karl.beldan@gmail.com>
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      287939a3
    • M
      ARM: video: mxs: Fix mxsfb misconfiguring VDCTRL0 · 6a15075e
      Marek Vasut 提交于
      The issue fixed by this patch manifests only then using X11
      with mxsfb driver. The X11 will display either shifted image
      or otherwise distorted image on the LCD.
      
      The problem is that the X11 tries to reconfigure the framebuffer
      and along the way calls fb_ops.fb_set_par() with X11's desired
      configuration values. The field of particular interest is
      fb_info->var.sync which contains non-standard values if
      configured by kernel. These are either FB_SYNC_DATA_ENABLE_HIGH_ACT,
      FB_SYNC_DOTCLK_FAILING_ACT or both, depending on the platform
      configuration. Both of these values are defined in the
      include/linux/mxsfb.h file.
      
      The driver interprets these values and configures the LCD controller
      accordingly. Yet X11 only has access to the standard values for this
      field defined in include/uapi/linux/fb.h and thus, unlike kernel,
      omits these special values. This results in distorted image on the
      LCD.
      
      This patch moves these non-standard values into new field of the
      mxsfb_platform_data structure so the driver can in turn check this
      field instead of the video mode field for these specific portions.
      
      Moreover, this patch prefixes these values with MXSFB_SYNC_ prefix
      instead of FB_SYNC_ prefix to prevent confusion of subsequent users.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      Cc: Linux ARM <linux-arm-kernel@lists.infradead.org>
      Cc: Linux FBDEV <linux-fbdev@vger.kernel.org>
      Cc: Lothar Waßmann <LW@karo-electronics.de>
      Cc: Sascha Hauer <kernel@pengutronix.de>
      Tested-by: NFabio Estevam <fabio.estevam@freescale.com>
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      6a15075e
  5. 18 3月, 2013 1 次提交
    • A
      ARM: fix CONFIG_VIRT_TO_BUS handling · b4811bac
      Arnd Bergmann 提交于
      887cbce0 "arch Kconfig: centralise CONFIG_ARCH_NO_VIRT_TO_BUS"
      and  4febd95a "Select VIRT_TO_BUS directly where needed" from
      Stephen Rothwell changed globally how CONFIG_VIRT_TO_BUS is
      selected, while my own a5d533ee "ARM: disable virt_to_bus/
      virt_to_bus almost everywhere" was merged at the same time and
      changed which platforms select it on ARM.
      
      The result of this conflict was that we again see CONFIG_VIRT_TO_BUS
      on all ARM systems. This patch fixes up the problem and removes
      CONFIG_ARCH_NO_VIRT_TO_BUS again on ARM.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Stephen Rothwell <sfr@canb.auug.org.au>
      b4811bac
  6. 16 3月, 2013 1 次提交
  7. 15 3月, 2013 4 次提交
    • S
      ARM: i.MX35: enable MAX clock · 5dc2eb7d
      Sascha Hauer 提交于
      The i.MX35 has two bits per clock gate which are decoded as follows:
            0b00 -> clock off
            0b01 -> clock is on in run mode, off in wait/doze
            0b10 -> clock is on in run/wait mode, off in doze
            0b11 -> clock is always on
      
      The reset value for the MAX clock is 0b10.
      
      The MAX clock is needed by the SoC, yet unused in the Kernel, so the
      common clock framework will disable it during late init time. It will
      only disable clocks though which it detects as being turned on. This
      detection is made depending on the lower bit of the gate. If the reset
      value has been altered by the bootloader to 0b11 the clock framework
      will detect the clock as turned on, yet unused, hence it will turn it
      off and the system locks up.
      
      This patch turns the MAX clock on unconditionally making the Kernel
      independent of the bootloader.
      Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
      5dc2eb7d
    • S
      ARM: Scorpion is a v7 architecture, not v6 · 8dda05cc
      Stephen Boyd 提交于
      Scorpion processors have always been v7 CPUs. Fix the Kconfig
      text to reflect this.
      Reported-by: NStepan Moskovchenko <stepanm@codeaurora.org>
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      8dda05cc
    • H
      ARM: mmp: add platform_device head file in gplugd · e71dc5f7
      Haojian Zhuang 提交于
      arch/arm/mach-mmp/gplugd.c: In function ‘gplugd_init’:
      arch/arm/mach-mmp/gplugd.c:188:2: error: implicit declaration of
      function ‘platform_device_register’
      [-Werror=implicit-function-declaration]
      cc1: some warnings being treated as errors
      make[1]: *** [arch/arm/mach-mmp/gplugd.o] Error 1
      make: *** [arch/arm/mach-mmp] Error 2
      
      So append platform_device.h to resolve build issue.
      Signed-off-by: NHaojian Zhuang <haojian.zhuang@linaro.org>
      e71dc5f7
    • A
      [media] s5p-fimc: fix s5pv210 build · 01ffe957
      Arnd Bergmann 提交于
      56bc911a "[media] s5p-fimc: Redefine platform data structure for fimc-is"
      changed the bus_type member of struct fimc_source_info treewide, but
      got one instance wrong in mach-s5pv210, which was evidently not
      even build tested.
      
      This adds the missing change to get s5pv210_defconfig to build again.
      Applies on the Mauro's media tree.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Sylwester Nawrocki <s.nawrocki@samsung.com>
      Cc: Kyungmin Park <kyungmin.park@samsung.com>
      Cc: Kukjin Kim <kgene.kim@samsung.com>
      Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
      01ffe957
  8. 14 3月, 2013 4 次提交
  9. 13 3月, 2013 4 次提交
  10. 12 3月, 2013 8 次提交
  11. 11 3月, 2013 2 次提交
  12. 09 3月, 2013 4 次提交