1. 03 5月, 2011 4 次提交
    • W
      ARM: mach-stmp378x: remove mach · f295dc68
      Wolfram Sang 提交于
      This mach has not seen any updates since the initial inclusion besides
      generic cleanup. Furthermore:
      
      - The i.MX23 covered in mach-mxs is just a renamed version of the
        STMP378x.
      
      - mach-stmp378x has a lot of reinvented interfaces, leaking all sorts of
        mach-related includes into the drivers. One example is the dmaengine
        which does not use the linux dmaengine-API but some privately exported
        symbols. So drivers cannot be reused. mach-mxs does it better.
      
      - There is only one board defined (which I couldn't find any trace of
        despite being a development board). It has been converted to
        mach-mxs in a previous patch.
      
      Since the only user of this mach was converted, it means that
      mach-stmp378x can go.
      Signed-off-by: NWolfram Sang <w.sang@pengutronix.de>
      Acked-by: NShawn Guo <shawn.guo@freescale.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      f295dc68
    • W
      ARM: mach-stmp37xx: remove mach · 76359658
      Wolfram Sang 提交于
      This mach has not seen any updates since the initial inclusion besides
      generic cleanup. Furthermore:
      
      - It has a lot of reinvented interfaces, leaking all sorts of
        mach-related includes into the drivers. One example is the dmaengine
        which does not use the linux dmaengine-API but some privately exported
        symbols. So, drivers cannot be reused. mach-mxs is very similar and
        does it better.
      
      - It can be doubted that this worked at all. Check the DMA routines in
        stmp37xx.c for copy/paste bugs. A lot of APBX-related stuff is
        actually writing into registers for APBH.
      
      - There is only one board defined (which I couldn't find any trace of
        despite being a development board). In this board, only two devices
        have resources, the debug uart and the application uart. Neither of
        those have the needed custom drivers merged (and never will). debug
        uart is amba-pl011 which has an in-kernel driver without the
        mach-specific-stuff. appuart has a driver which was introduced for
        mach-mxs, and this one is reusable for a properly done mach.
      
      So, this single board registers only unsupported devices and the
      generic code looks suspicious and has poor design. Delete this
      stuff. If there is interest, it is wiser to restart using
      mach-mxs.
      Signed-off-by: NWolfram Sang <w.sang@pengutronix.de>
      Acked-by: NShawn Guo <shawn.guo@freescale.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      76359658
    • W
      ARM: configs: add defconfig for mach-mxs · cde7c41f
      Wolfram Sang 提交于
      Covers MX23, MX28 and STMP378x.
      Signed-off-by: NWolfram Sang <w.sang@pengutronix.de>
      Cc: Shawn Guo <shawn.guo@freescale.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      cde7c41f
    • W
      ARM: mach-mxs: add stmp378x-devb · a98253e8
      Wolfram Sang 提交于
      STMP378x and MX23 are the same and just relabeled. There is a
      mach-stmp378x, however, it has a lot of reinvented interfaces, leaking
      all sorts of mach-specific functions into the drivers. One example is
      the dmaengine which does not use the linux dmaengine-API but some
      privately exported symbols. This makes generic use of the drivers
      impossible. mach-mxs does it better, so convert the board to mach-mxs.
      After that, it is possible to delete all stmp-specific code which should
      ease further ARM-consolidation.
      
      Compile tested only due to no hardware (seems not available anymore).
      Signed-off-by: NWolfram Sang <w.sang@pengutronix.de>
      Acked-by: NShawn Guo <shawn.guo@freescale.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      a98253e8
  2. 27 4月, 2011 1 次提交
  3. 26 4月, 2011 5 次提交
  4. 21 4月, 2011 5 次提交
    • A
      OMAP2/3: hwmod: fix gpio-reset timeouts seen during bootup. · f95440ca
      Avinash.H.M 提交于
      GPIO module expects the debounce clocks to be enabled during reset. It doesn't
      reset properly and timeouts are seen, if this clock isn't enabled during
      reset. Add the HWMOD_CONTROL_OPT_CLKS_IN_RESET flags to the GPIO HWMODs, with
      which the debounce clocks are enabled during reset.
      
      Cc: Rajendra Nayak <rnayak@ti.com>
      Cc: Paul Walmsley <paul@pwsan.com>
      Cc: Benoit Cousson <b-cousson@ti.com>
      Cc: Kevin Hilman <khilman@ti.com>
      Signed-off-by: NAvinash.H.M <avinashhm@ti.com>
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      f95440ca
    • E
      OMAP3: PM: Do not rely on ROM code to restore CM_AUTOIDLE_PLL.AUTO_PERIPH_DPLL · a8ae645c
      Eduardo Valentin 提交于
      As per OMAP3 erratum (i671), ROM code adds extra latencies while
      restoring CM_AUTOIDLE_PLL register, if AUTO_PERIPH_DPLL is equal to 1.
      
      This patch stores 0's in scratchpad content area corresponding to
      AUTO_PERIPH_DPLL, to prevent ROM code to try to lock per DPLL, since
      it won't respect proper programing scheme.
      
      This register is then stored in prcm context. The saving and restore
      is now done by kernel side.
      
      Here follow the erratum description
      
      DESCRIPTION
      
      After OFF mode transition, among many restorations, the ROM Code restores the
      CM_AUTOIDLE_PLL register, and after that, it tries to relock the PER DPLL.
      
      In case the restoration data stored in scratchpad memory contains a field
      CM_AUTOIDLE_PLL.AUTO_PERIPH_DPLL = 1, then the way the ROM Code restores and
      locks the PER DPLL does not respect the PER DPLL programming scheme.
      
      In that case, the DPLL might not lock. Meanwhile, when trying to lock the PER
      DPLL, the ROM Code does not hang. Only extra latencies are introduced at
      wake-up.
      
      WORKAROUND
      
      When saving the context-restore structure in scratchpad memory, in order to
      respect the PER DPLL programming scheme, it is advised to store 0 in the
      CM_AUTOIDLE_PLL.AUTO_PERIPH_DPLL field of the saved structure.
      
      After wake-up, the application should store in CM_AUTOIDLE_PLL register the
      right desired value.
      Signed-off-by: NEduardo Valentin <eduardo.valentin@ti.com>
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      a8ae645c
    • E
      OMAP2+: PM: Fix the saving of CM_AUTOIDLE_PLL register on scratchpad area · 8bc2e98b
      Eduardo Valentin 提交于
      The saving of CCR.CM_AUTOIDLE_PLL is done in scratchpad area.
      
      However, in current code, the saving is done for CM_AUTOIDLE2_PLL
      (offset 0x34) instead of CM_AUTOIDLE_PLL (offset 0x30).
      
      This patch changes the code to save the correct register.
      Signed-off-by: NEduardo Valentin <eduardo.valentin@ti.com>
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      8bc2e98b
    • T
      OMAP4: clock data: Change DSS clock aliases · 2df122f5
      Tomi Valkeinen 提交于
      DSS driver has used fck and ick clocks on OMAP2/3 to get DSS HW up and
      running, and also to get the pixel clock's source clock rate from the
      fck.
      
      On OMAP4 the clock data is set up in a different way, as there's no ick,
      dss_fck points to a fake clock which just affects DSS's MODULEMODE, and
      dss_dss_clk if the DSS_FCK.
      
      >From DSS driver's point of view the dss_fck sounds like an ick, and
      dss_dss_clk is the fck. While this is not entirely correct from HW point
      of view, especially for the ick, configuring the clock aliases that way
      makes DSS "just work" with OMAP4's clock setup.
      
      In the (hopefully near) future DSS driver will be reworked to use
      pm_runtime support which should clean up the clock code.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      Cc: Benoît Cousson <b-cousson@ti.com>
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      2df122f5
    • L
      mach-ux500: fix i2c0 device setup regression · cf568c58
      Linus Walleij 提交于
      Adding two sets of I2C devices to the same bus doesn't quite work,
      atleast not anymore. Stash one array and determine how much of it
      shall be added instead.
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      cf568c58
  5. 20 4月, 2011 1 次提交
  6. 17 4月, 2011 1 次提交
  7. 15 4月, 2011 1 次提交
  8. 14 4月, 2011 8 次提交
  9. 13 4月, 2011 1 次提交
  10. 12 4月, 2011 3 次提交
  11. 11 4月, 2011 6 次提交
  12. 07 4月, 2011 3 次提交
  13. 02 4月, 2011 1 次提交