1. 11 10月, 2017 1 次提交
    • T
      ARM: OMAP2+: Drop omap_hwmod_irq_info · fe97874a
      Tony Lindgren 提交于
      With the previous patches removing the need for legacy IRQs
      now that all of mach-omap2 is booting in device tree only mode,
      we can drop struct omap_hwmod_irq_info.
      
      Note that we can now also finally drop omap4_xlate_irq.
      
      Cc: Lokesh Vutla <lokeshvutla@ti.com>
      Cc: Marc Zyngier <marc.zyngier@arm.com>
      Cc: Paul Walmsley <paul@pwsan.com>
      Cc: Tero Kristo <t-kristo@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      fe97874a
  2. 14 6月, 2017 4 次提交
  3. 06 6月, 2017 1 次提交
  4. 15 3月, 2017 1 次提交
  5. 01 12月, 2015 2 次提交
  6. 24 10月, 2015 1 次提交
  7. 02 6月, 2015 1 次提交
    • T
      memory: omap-gpmc: Add Kconfig option for debug · 63aa945b
      Tony Lindgren 提交于
      We support decoding the bootloader values if DEBUG is defined.
      But we also need to change the struct omap_hwmod flags to have
      HWMOD_INIT_NO_RESET to avoid the GPMC being reset during the
      boot. Otherwise just the default timings will be displayed
      instead of the bootloader configured timings.
      
      This also allows us to clean up the various GPMC related
      hwmod flags. For debugging, we only need HWMOD_INIT_NO_RESET,
      and HWMOD_INIT_NO_IDLE is not needed.
      
      Cc: Brian Hutchinson <b.hutchman@gmail.com>
      Cc: Paul Walmsley <paul@pwsan.com>
      Cc: Roger Quadros <rogerq@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      63aa945b
  8. 18 1月, 2015 1 次提交
    • M
      ARM: OMAP: Work around hardcoded interrupts · 0fb22a8f
      Marc Zyngier 提交于
      Commit 9a1091ef ("irqchip: gic: Support hierarchy irq domain")
      changed the GIC driver to use a non-legacy IRQ domain on DT
      platforms. This patch assumes that DT-driven systems are getting
      all of their interrupts from device tree.
      
      Turns out that OMAP has quite a few hidden gems, and still uses
      hardcoded interrupts despite having fairly complete DTs.
      
      This patch attempts to work around these by offering a translation
      method that can be called directly from the hwmod code, if present.
      The same hack is sprinkled over PRCM and TWL.
      
      It isn't pretty, but it seems to do the job without having to add
      more hacks to the interrupt controller code.
      
      Tested on OMAP4 (Panda-ES) and OMAP5 (UEVM5432).
      Signed-off-by: NMarc Zyngier <marc.zyngier@arm.com>
      Acked-by: NNishanth Menon <nm@ti.com>
      [tony@atomide.com: updated to fix make randconfig issue]
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      0fb22a8f
  9. 26 11月, 2014 2 次提交
    • A
      ARM: OMAP1/2+: MMC: separate platform data for mmc and mmc hs driver · 55143438
      Andreas Fenkart 提交于
      - omap mmc driver supports multiplexing, omap_mmc_hs doesn't
      this leads to one of the major confusions in the omap_hsmmc driver
      
      - platform data should be read-only for the driver
      most callbacks are not set by the omap3 platform init code while still
      required. So they are set from the driver probe function, which is against
      the paradigm that platform-data should not be modified by the driver
      typical examples are card_detect, read_only callbacks
      
      un-bundling by searching for driver name \"omap_hsmmc in the
      arch/arm folder. omap_hsmmc_platform_data is not initialized directly,
      but from omap2_hsmmc_info, which is defined in a separate header file
      not touched by this patch
      
      hwmod includes platform headers to declare features of the platform. All
      the declared features are prefixed OMAP_HSMMC. There is no need to
      include platform header from hwmod other except for feature defines
      Acked-by: NTony Lindgren <tony@atomide.com>
      Signed-off-by: NAndreas Fenkart <afenkart@gmail.com>
      Signed-off-by: NUlf Hansson <ulf.hansson@linaro.org>
      55143438
    • A
      ARM: OMAP2: MMC: include mmc-omap platform header directly · 826c71a0
      Andreas Fenkart 提交于
      Only a few files really need that platform header. When later splitting
      omap_mmc_platform_data into omap_mmc and omap_mmc_hs, those files
      declaring an hs mmc platform data will have to change the platform
      include, which is a good sanity check.
      Also removing omap242x_init_mmc, which is not used anywhere, checked
      with grep.
      Signed-off-by: NAndreas Fenkart <afenkart@gmail.com>
      Signed-off-by: NUlf Hansson <ulf.hansson@linaro.org>
      826c71a0
  10. 20 11月, 2014 3 次提交
  11. 29 7月, 2014 1 次提交
  12. 15 7月, 2014 1 次提交
  13. 15 5月, 2014 1 次提交
  14. 14 3月, 2014 1 次提交
  15. 09 12月, 2013 1 次提交
  16. 09 10月, 2013 1 次提交
  17. 30 7月, 2013 1 次提交
    • R
      ARM: OMAP2+: hwmod: Fix a crash in _setup_reset() with DEBUG_LL · 7dedd346
      Rajendra Nayak 提交于
      With commit '82702ea1' "ARM: OMAP2+:
      Fix serial init for device tree based booting" stubbing out
      omap_serial_early_init() for Device tree based booting, there was a
      crash observed on AM335x based devices when hwmod does a
      _setup_reset() early at boot.
      
      This was rootcaused to hwmod trying to reset console uart while
      earlycon was using it.  The way to tell hwmod not to do this is to
      specify the HWMOD_INIT_NO_RESET flag, which were infact set by the
      omap_serial_early_init() function by parsing the cmdline to identify
      the console device.
      
      Parsing the cmdline to identify the uart used by earlycon itself seems
      broken as there is nothing preventing earlycon to use a different one.
      
      This patch, instead, attempts to populate the requiste flags for hwmod
      based on the CONFIG_DEBUG_OMAPxUARTy FLAGS. This gets rid of the need
      for cmdline parsing in the DT as well as non-DT cases to identify the
      uart used by earlycon.
      Signed-off-by: NRajendra Nayak <rnayak@ti.com>
      Reported-by: NMark Jackson <mpfj-list@newflow.co.uk>
      Reported-by: NVaibhav Bedia <vaibhav.bedia@ti.com>
      Tested-by: NMark Jackson <mpfj-list@newflow.co.uk>
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      7dedd346
  18. 13 6月, 2013 1 次提交
  19. 12 6月, 2013 1 次提交
  20. 08 6月, 2013 1 次提交
  21. 31 5月, 2013 1 次提交
  22. 20 5月, 2013 1 次提交
  23. 11 4月, 2013 1 次提交
  24. 13 3月, 2013 1 次提交
    • P
      ARM: OMAP4: PM: fix PM regression introduced by recent clock cleanup · 92702df3
      Paul Walmsley 提交于
      Commit 17b7e7d3 ("ARM: OMAP4:
      clock/hwmod data: start to remove some IP block control "clocks"")
      introduced a regression preventing the L3INIT clockdomain of OMAP4
      systems from entering idle.  This in turn prevented these systems from
      entering full chip clock-stop.
      
      The regression was caused by the incorrect removal of a so-called
      "optional functional clock" from the OMAP4 clock data.  This wasn't
      caught for two reasons.  First, I missed the retention entry failure
      in the branch test logs:
      
      http://www.pwsan.com/omap/testlogs/cleanup_a_3.9/20130126014242/pm/4460pandaes/4460pandaes_log.txt
      
      Second, the integration data for the OCP2SCP PHY IP block, added by
      commit 0c668875 ("ARM: OMAP4: hwmod
      data: add remaining USB-related IP blocks"), should have associated this
      clock with the IP block, but did not.
      
      Fix by adding back the so-called "optional" functional clock to the
      clock data, and by linking that clock to the OCP2SCP PHY IP block
      integration hwmod data.
      
      The problem patch was discovered by J, Keerthy <j-keerthy@ti.com>.
      
      Cc: Keerthy <j-keerthy@ti.com>
      Cc: Benoît Cousson <b-cousson@ti.com>
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      92702df3
  25. 11 2月, 2013 3 次提交
  26. 07 2月, 2013 1 次提交
  27. 26 1月, 2013 2 次提交
    • P
      ARM: OMAP4: clock/hwmod data: remove MODULEMODE entries in mux + gate combos · ee877acd
      Paul Walmsley 提交于
      Convert all DEFINE_OMAP_MUX_GATE() combinations that list MODULEMODE
      registers in their gate arguments to DEFINE_OMAP_MUX(), dropping the
      MODULEMODE data.  This is possible because the MODULEMODE bits control
      IP blocks, not clocks; and the hwmod code takes care of IP block
      control.  Rename these clocks to reflect the original multiplexer name
      as specified in the comments.  And convert the hwmod data to use the
      multiplexer clock name.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Cc: Benoît Cousson <b-cousson@ti.com>
      Cc: Mike Turquette <mturquette@linaro.org>
      ee877acd
    • P
      ARM: OMAP4: clock/hwmod data: start to remove some IP block control "clocks" · 17b7e7d3
      Paul Walmsley 提交于
      Remove some leaf "clocks" that are actually IP block idle control
      points, since these should now be handled by the hwmod code.
      
      There are still a few types of MODULEMODE clocks that need to be
      cleaned up:
      
      - those still in use by driver or integration code
      
      - those in DEFINE_CLK_OMAP_MUX_GATE() blocks; the gate portion of
        these should be removed
      
      A similar process may also be possible on OMAP2/3.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Cc: Benoît Cousson <b-cousson@ti.com>
      Cc: Mike Turquette <mturquette@linaro.org>
      17b7e7d3
  28. 19 1月, 2013 1 次提交
  29. 18 12月, 2012 1 次提交
  30. 04 12月, 2012 1 次提交