1. 21 8月, 2013 1 次提交
  2. 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
  3. 10 6月, 2013 1 次提交
  4. 09 6月, 2013 1 次提交
    • B
      ARM: OMAP5: hwmod data: Create initial OMAP5 SOC hwmod data · 08e4830d
      Benoit Cousson 提交于
      Adding the hwmod data for OMAP54xx SOCs.
      
      Additional changes done on top of initial SOC data files.
      - The IO resource information like dma request lines, irq number and
      ocp address space can be populated via dt blob. So such data is stripped
      from OMAP5 SOC hwmod data file.
      
      - SDMA IO resource information is still kept since dmaengine work
      is till ongoing. Once the legacy dma platform driver becomes obsolete,
      SDMA io space information can be removed.
      
      - The devices like dss, aess, usb which are missing the device tree bindings,
      hwmod data is not added since OMAP5 is DT only build. When such devices add
      the dt bindings, respective hwmod data can be added along with it.
      
      With above update, we now need about ~2000 loc vs ~6000 loc with previous
      version of the patch for OMAP5 hwmod data file. Ofcourse with addition of
      few more drivers it can go upto ~2400 loc which is still better than the
      earlier version.
      Signed-off-by: NBenoit Cousson <b-cousson@ti.com>
      Signed-off-by: NSantosh Shilimkar <santosh.shilimkar@ti.com>
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      08e4830d