Skip to content
  1. Dec 17, 2013
  2. Dec 12, 2013
  3. Dec 07, 2013
    • Tony Lindgren's avatar
      ARM: dts: Fix booting for secure omaps · f2e2c9d9
      Tony Lindgren authored
      Commit 7ce93f31
      
       (ARM: OMAP2+: Fix more missing data for omap3.dtsi file)
      fixed missing device tree data for omaps, but did not account for some of the
      hardware modules being inaccessible for secure omaps. This causes the
      following error on secure omaps:
      
      Unhandled fault: external abort on non-linefetch (0x1028) at 0xfa0c5048
      SMP ARM
      Modules linked in:
      CPU: 0 PID: 1 Comm: swapper/0 Tainted: G        W    3.13.0-rc2+ #446
      task: ce057b40 ti: ce058000 task.ti: ce058000
      PC is at omap_aes_dma_stop+0x24/0x3c
      LR is at omap_aes_probe+0x1cc/0x584
         psr: 60000113
      sp : ce059e20  ip : ce0b4ee0  fp : 00000000
      r10: c0573ae8  r9 : c0749508  r8 : 00000000
      r7 : ce0b4e00  r6 : 00000000  r5 : ce0b4e10  r4 : ce274890
      r3 : fa0c5048  r2 : 00000048  r1 : 0000002c  r0 : ce274890
      Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
      Control: 10c5387d  Table: 80004019  DAC: 00000015
      Process swapper/0 (pid: 1, stack limit = 0xce058248)
      Stack: (0xce059e20 to 0xce05a000)
      9e20: c0749508 0000a1ff 00000000 c016cd8c c06b5a06 ce2a45f0 ce2a4570 ce0b5fb0
      9e40: 00000000 480c5000 480c504f c0abe4e4 00000200 00000000 00000000 00000000
      9e60: ce0b4e10 ce0b4e10 c082da3c c082da3c c02b8c70 c077c610 c0749508 00000000
      9e80: 00000000 c02b9e7c c02b9e64 ce0b4e10 00000000 c02b8b20 ce0b4e10 ce0b4e44
      9ea0: c082da3c c02b8cd8 00000000 ce059eb8 c082da3c c02b7408 ce079edc ce0b1a34
      9ec0: c082da3c c082da3c ce2a0280 00000000 c08158d8 c02b8358 c0663405 c0663405
      9ee0: 00000073 c082da3c c079e4e8 c07ab3bc c0844340 c02b9334 00000000 00000006
      9f00: c079e4e8 c0008920 c067f6bf c0ac7c6b 00000000 c0712e28 00000000 00000000
      9f20: c0712e38 ce059f38 00000093 c0ac7c82 00000000 c0058994 00000000 c07130e8
      9f40: c07127b8 00000093 00000006 00000006 00000001 00000006 00000006 c079e4e8
      9f60: c07ab3bc c0844340 00000093 c0749508 c079e4f4 c0749c64 00000006 00000006
      9f80: c0749508 00000000 00000000 c0517e2c 00000000 00000000 00000000 00000000
      9fa0: 00000000 c0517e34 00000000 c000dfb8 00000000 00000000 00000000 00000000
      9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
      9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 ffffffff ffffffff
      (omap_aes_probe+0x1cc/0x584)
      (platform_drv_probe+0x18/0x48)
      (driver_probe_device+0xb0/0x200)
      (__driver_attach+0x68/0x8c)
      (bus_for_each_dev+0x50/0x88)
      (bus_add_driver+0xcc/0x1c8)
      (driver_register+0x9c/0xe0)
      (do_one_initcall+0x98/0x140)
      (kernel_init_freeable+0x16c/0x23c)
      (kernel_init+0x8/0x100)
      (ret_from_fork+0x14/0x3c)
      Code: e1811002 e5932020 e590300c e0833002 (e593c000)
      
      Let's fix the issue by adding omap34xx-hs.dtsi and omap36xx-hs.dtsi and make
      n900, n9 and n950 to use them. This way we have the aes, sham and timer12
      disabled for secure devices the same way legacy booting does based on the
      omap34xx_gp_hwmod_ocp_ifs and omap36xx_gp_hwmod_ocp_ifs arrays in
      omap_hwmod_3xxx_data.c.
      
      Reported-by: default avatarSebastian Reichel <sre@debian.org>
      Acked-By: default avatarSebastian Reichel <sre@debian.org>
      Tested-by: default avatarAaro Koskinen <aaro.koskinen@iki.fi>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      f2e2c9d9
    • Nishanth Menon's avatar
      ARM: OMAP2+: Fix the machine entry for am3517 · caef4ee8
      Nishanth Menon authored
      
      
      The am3517 is wrongly booting as omap3 which means that the am3517
      specific devices like Ethernet won't work when booted with device
      tree. Now with the new devices defined in am3517.dtsi, let's use
      that instead of the omap3.dtsi, and add a separate machine entry
      for am3517 so am3517-evm can use it.
      
      Signed-off-by: default avatarNishanth Menon <nm@ti.com>
      [tony@atomide.com: updated comments and fixed build without omap3]
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      caef4ee8
    • Tony Lindgren's avatar
      ARM: dts: Fix missing entries for am3517 · a0158185
      Tony Lindgren authored
      
      
      On am3517 there are some extra devices compared to omap3.dtsi that
      we currently have not defined. Let's fix that by adding am3517.dtsi
      file.
      
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      a0158185
  4. Dec 04, 2013
  5. Dec 03, 2013
    • Florian Vaussard's avatar
      ARM: dts: Fix the name of supplies for smsc911x shared by OMAP · ac46bf39
      Florian Vaussard authored
      drivers/net/ethernet/smsc/smsc911x.c is expecting supplies named
      "vdd33a" and "vddvario". Currently the shared DTS file provides
      "vmmc" and "vmmc_aux", and the supply lookup will fail:
      
      smsc911x 2c000000.ethernet: Looking up vdd33a-supply from device tree
      smsc911x 2c000000.ethernet: Looking up vdd33a-supply property in node /ocp/gpmc@6e000000/ethernet@gpmc failed
      smsc911x 2c000000.ethernet: Looking up vddvario-supply from device tree
      smsc911x 2c000000.ethernet: Looking up vddvario-supply property in node /ocp/gpmc@6e000000/ethernet@gpmc failed
      
      Fix it!
      
      Looks like commmit 6b2978ac (ARM: dts: Shared file for omap GPMC
      connected smsc911x) made the problem more visible by moving the smc911x
      configuration from the omap3-igep0020.dts file to the generic file.
      But it seems we've had this problem since commit d72b4415
      
      
      (ARM: dts: omap3-igep0020: Add SMSC911x LAN chip support).
      
      Tested on OMAP3 Overo platform.
      
      Signed-off-by: default avatarFlorian Vaussard <florian.vaussard@epfl.ch>
      [tony@atomide.com: updated comments for the commits causing the problem]
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      ac46bf39
    • Jarkko Nikula's avatar
      ARM: dts: omap3-beagle: Add omap-twl4030 audio support · 33e9c392
      Jarkko Nikula authored
      
      
      This adds typical McBSP2-TWL4030 audio description to the legacy
      Beagle Board.
      
      Signed-off-by: default avatarJarkko Nikula <jarkko.nikula@bitmer.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      33e9c392
    • Balaji T K's avatar
      ARM: dts: omap4-sdp: Fix pin muxing for wl12xx · 2562f528
      Balaji T K authored
      Mux mode for wlan/sdmmc5 should be MODE0 in pinmux_wl12xx_pins and
      Enable Pull up on sdmmc5_clk to detect SDIO card.
      
      This fixes WLAN on omap4-sdp that got broken in v3.10 when we
      moved omap4 to boot using device tree only as I did not have
      the WL12XX card in my omap4 SDP to test with. The commit that
      attempted to make WL12XX working on omap4 SDP was 775d2418
      
      
      (ARM: dts: Fix muxing and regulator for wl12xx on the SDIO
      bus for blaze).
      
      Signed-off-by: default avatarBalaji T K <balajitk@ti.com>
      [tony@atomide.com: updated comments for the regression]
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      2562f528
    • Balaji T K's avatar
      ARM: dts: omap4-panda-common: Fix pin muxing for wl12xx · 2ba2866f
      Balaji T K authored
      pin mux wl12xx_gpio and wl12xx_pins should be part of omap4_pmx_core
      and not omap4_pmx_wkup. So, move wl12xx_* to omap4_pmx_core.
      
      Fix the following error message:
      pinctrl-single 4a31e040.pinmux: mux offset out of range: 0x38 (0x38)
      pinctrl-single 4a31e040.pinmux: could not add functions for pinmux_wl12xx_pins 56x
      
      SDIO card is not detected after moving pin mux to omap4_pmx_core since
      sdmmc5_clk pull is disabled. Enable Pull up on sdmmc5_clk to detect SDIO card.
      
      This fixes a regression where WLAN did not work after a warm reset
      or after one up/down cycle that happened when we move omap4 to boot
      using device tree only. For reference, the kernel bug is described at:
      
      https://bugzilla.kernel.org/show_bug.cgi?id=63821
      
      
      
      Cc: stable@vger.kernel.org # v3.10+
      Signed-off-by: default avatarBalaji T K <balajitk@ti.com>
      [tony@atomide.com: update comments to describe the regression]
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      2ba2866f
  6. Dec 02, 2013
  7. Nov 27, 2013
  8. Nov 26, 2013
  9. Nov 23, 2013
  10. Nov 18, 2013
  11. Nov 16, 2013
    • Tony Lindgren's avatar
      ARM: dts: Fix omap2 specific dtsi files by adding the missing entries · 467f4bd2
      Tony Lindgren authored
      
      
      Looks like we're missing few entries for omap2 and the drivers
      have only worked because of the omap hwmod building the devices
      for the missing entries.
      
      Let's fix the missing entries so we don't need to rely on hwmod
      for the basic data and can then later on remove the duplicate
      data from hwmod. Otherwise device tree only drivers will not
      work properly.
      
      Cc: "Benoît Cousson" <bcousson@baylibre.com>
      Cc: devicetree@vger.kernel.org
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      467f4bd2
    • Tony Lindgren's avatar
      ARM: OMAP2+: Fix GPMC and simplify bootloader timings for 8250 and smc91x · fd4446f2
      Tony Lindgren authored
      Commit f2bf0e72
      
       (ARM: OMAP2+: Add minimal 8250 support
      for GPMC) added support for using bootloader timings for some
      devices. Turns out we can do the same by looking at the compatible
      flags of the child without adding a new function as smc91x has
      a similar issue as 8250 with the bootloader timings.
      
      And let's fix the 8250 naming, we should use the device type as
      the name like uart instead of 8250 for zoom dts file.
      
      Cc: "Benoît Cousson" <bcousson@baylibre.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      fd4446f2
  12. Nov 13, 2013
  13. Nov 11, 2013
  14. Nov 05, 2013
  15. Nov 04, 2013