1. 19 10月, 2015 1 次提交
    • T
      ARM: OMAP2+: Fix imprecise external abort caused by bogus SRAM init · 57df5380
      Tony Lindgren 提交于
      Some omaps are producing imprecise external aborts because we are
      wrongly trying to init SRAM for device tree based booting. Only
      omap3 is still using the legacy SRAM code, so we need to make it
      omap3 specific. Otherwise we can get errors like this on at least
      dm814x:
      
      Unhandled fault: imprecise external abort (0xc06) at 0xc08b156c
      ...
      (omap_rev) from [<c08b12e0>] (omap_sram_init+0xf8/0x3e0)
      (omap_sram_init) from [<c08aca0c>] (omap_sdrc_init+0x10/0xb0)
      (omap_sdrc_init) from [<c08b581c>] (pdata_quirks_init+0x18/0x44)
      (pdata_quirks_init) from [<c08b5478>] (omap_generic_init+0x10/0x1c)
      (omap_generic_init) from [<c08a57e0>] (customize_machine+0x1c/0x40)
      (customize_machine) from [<c00098a4>] (do_one_initcall+0x80/0x1dc)
      (do_one_initcall) from [<c08a2ec4>] (kernel_init_freeable+0x218/0x2e8)
      (kernel_init_freeable) from [<c063a554>] (kernel_init+0x8/0xec)
      (kernel_init) from [<c000f890>] (ret_from_fork+0x14/0x24)
      
      Let's fix the issue by making sure omap_sdrc_init only gets called for
      omap3. To do that, we need to have compatible "ti,omap3" in the dts
      files. And let's also use "ti,omap3630" instead of "ti,omap36xx" like
      we're supposed to.
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      57df5380
  2. 04 11月, 2014 1 次提交
  3. 30 10月, 2014 1 次提交
    • T
      ARM: dts: Fix wrong GPMC size mappings for omaps · e2c5eb78
      Tony Lindgren 提交于
      The GPMC binding is obviously very confusing as the values
      are all over the place. People seem to confuse the GPMC partition
      size for the chip select, and the device IO size within the GPMC
      partition easily.
      
      The ranges entry contains the GPMC partition size. And the
      reg entry contains the size of the IO registers of the
      device connected to the GPMC.
      
      Let's fix the issue according to the following table:
      
      Device          GPMC partition size     Device IO size
      connected       in the ranges entry     in the reg entry
      
      NAND            0x01000000 (16MB)       4
      16550           0x01000000 (16MB)       8
      smc91x          0x01000000 (16MB)       0xf
      smc911x         0x01000000 (16MB)       0xff
      OneNAND         0x01000000 (16MB)       0x20000 (128KB)
      16MB NOR        0x01000000 (16MB)       0x01000000 (16MB)
      32MB NOR        0x02000000 (32MB)       0x02000000 (32MB)
      64MB NOR        0x04000000 (64MB)       0x04000000 (64MB)
      128MB NOR       0x08000000 (128MB)      0x08000000 (128MB)
      256MB NOR       0x10000000 (256MB)      0x10000000 (256MB)
      
      Let's also add comments to the fixed entries while at it.
      Acked-by: NRoger Quadros <rogerq@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      e2c5eb78
  4. 03 6月, 2014 1 次提交
    • T
      ARM: dts: Add LCD panel sharp ls037v7dw01 support for omap3-evm and ldp · bc10f310
      Tony Lindgren 提交于
      Looks like quite a few omap3 boards have sharp ls037v7dw01 that's
      configured as various panel dpi entries for whatever legacy reasons.
      For device tree based support, let's just configure these properly for
      panel ls037v7dw01 instead of panel dpi.
      
      This patch creates a common file for panel ls037v7dw01, and makes
      boards ldp and omap3-evm to use it.
      
      The ls037v7dw01 also seems to be coupled with an ad7846 touchscreen
      controller for the omaps, so let's add a basic configuration for
      the touchscreen also using the default values.
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      bc10f310
  5. 07 5月, 2014 1 次提交
    • T
      ARM: dts: Fix omap serial wake-up when booted with device tree · 31f0820a
      Tony Lindgren 提交于
      We've had deeper idle states working on omaps for few years now,
      but only in the legacy mode. When booted with device tree, the
      wake-up events did not have a chance to work until commit
      3e6cee17 (pinctrl: single: Add support for wake-up interrupts)
      that recently got merged. In addition to that we also needed commit
      79d97015 (of/irq: create interrupts-extended property) and
      9ec36caf (of/irq: do irq resolution in platform_get_irq) that
      are now also merged.
      
      So let's fix the wake-up events for some selected omaps so devices
      booted in device tree mode won't just hang if deeper power states
      are enabled, and so systems can wake up from suspend to the serial
      port event.
      
      Note that there's no longer need to specify the wake-up bit in
      the pinctrl settings, the request_irq on the wake-up pin takes
      care of that.
      
      Cc: devicetree@vger.kernel.org
      Cc: "Benoît Cousson" <bcousson@baylibre.com>
      Cc: Kevin Hilman <khilman@linaro.org>
      Cc: Nishanth Menon <nm@ti.com>
      Cc: Paul Walmsley <paul@pwsan.com>
      Cc: Tero Kristo <t-kristo@ti.com>
      [tony@atomide.com: updated comments, added board LDP]
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      31f0820a
  6. 15 10月, 2013 1 次提交
    • T
      ARM: dts: Add basic support for TMDSEVM3730 (Mistral AM/DM37x EVM) · 5992234b
      Tony Lindgren 提交于
      I've tested the serial, MMC, smsc911x, wl12xx, and off-idle support
      with the pinctrl patches, so it probably works better than the
      board-*.c files ever did. Also the board-omap3evm.c file is broken
      for the DSS, and has been for a while. Patches are welcome to fix
      it in this .dts file, let's just drop the board-*.c file for this.
      
      Note that off-idle currently requires doing request_irq() on the
      wake-up pin from pinctrl-single IRQ domain until we can handle
      that in some Linux generic way.
      
      [tony@atomide.com: updated for make dtbs build fix]
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      5992234b