Skip to content
Snippets Groups Projects
  1. Oct 03, 2011
  2. Oct 01, 2011
  3. Sep 30, 2011
  4. Sep 12, 2011
  5. Sep 07, 2011
  6. Jul 28, 2011
  7. Jun 01, 2011
  8. Apr 28, 2011
  9. Apr 27, 2011
  10. Apr 14, 2011
    • Nick Thompson's avatar
      I2C: OMAP: detect more devices when probing an i2c bus · 0e57968a
      Nick Thompson authored
      
      The omap24xx driver only seems to support devices that have a single subaddress
      byte. With these types of devices, the first access in a bus transaction is
      usually a write (writes the subaddress) followed by either a read or write to
      access the devices registers.
      
      Many such devices will respond to a read as the first access, but there are at
      least some that will NACK such a read. (e.g. ADV7180.)
      
      The probe function attempts to detect a devices ACK to a read access only and
      fails to find devices that NACK a read.
      
      This commit modifies the probe function to start a write instead. This detects
      devices that respond to reads (since they must also respond to writes) as well
      as those that only respond to writes. The bus is immediately set to idle after a
      (N)ACK avoiding actually writing anything to the device.
      
      Signed-off-by: default avatarNick Thompson <nick.thompson@ge.com>
      0e57968a
  11. Feb 01, 2011
  12. Jan 27, 2011
  13. Dec 21, 2010
  14. Nov 17, 2010
    • Sebastien Carlier's avatar
      Switch from archive libraries to partial linking · 6d8962e8
      Sebastien Carlier authored
      
      Before this commit, weak symbols were not overridden by non-weak symbols
      found in archive libraries when linking with recent versions of
      binutils.  As stated in the System V ABI, "the link editor does not
      extract archive members to resolve undefined weak symbols".
      
      This commit changes all Makefiles to use partial linking (ld -r) instead
      of creating library archives, which forces all symbols to participate in
      linking, allowing non-weak symbols to override weak symbols as intended.
      This approach is also used by Linux, from which the gmake function
      cmd_link_o_target (defined in config.mk and used in all Makefiles) is
      inspired.
      
      The name of each former library archive is preserved except for
      extensions which change from ".a" to ".o".  This commit updates
      references accordingly where needed, in particular in some linker
      scripts.
      
      This commit reveals board configurations that exclude some features but
      include source files that depend these disabled features in the build,
      resulting in undefined symbols.  Known such cases include:
      - disabling CMD_NET but not CMD_NFS;
      - enabling CONFIG_OF_LIBFDT but not CONFIG_QE.
      
      Signed-off-by: default avatarSebastien Carlier <sebastien.carlier@gmail.com>
      6d8962e8
  15. Oct 28, 2010
  16. Oct 25, 2010
    • Steve Sakoman's avatar
      ARMV7: OMAP: I2C driver: Fix bug found in 37XX testing · 4df66894
      Steve Sakoman authored
      
      On OMAP36/37XX the standard on chip pullups are not sufficient to
      ensure proper i2c operation without external pullups or switching
      to high speed mode and enabling special on chip pullups.
      
      This is an issue for Beagle xM, which does not have external pullups
      on the expansion board i2c lines.
      
      The issue manifests itself as an AL (arbitration lost) error when
      probing for a non-existent device (i.e. on a Beagle xM with no expansion
      boards attached).  This issue does not occur on expansion boards that
      include pullups or on Overo 37XX COM's since they include pull-ups.
      
      This patch fixes the issue by checking for the AL bit in the i2c_probe
      function.
      
      Signed-off-by: default avatarSteve Sakoman <steve.sakoman@linaro.org>
      4df66894
  17. Oct 20, 2010
  18. Sep 23, 2010
  19. Sep 19, 2010
  20. Sep 09, 2010
  21. Aug 30, 2010
  22. Aug 23, 2010
  23. Aug 05, 2010
  24. Jul 22, 2010
  25. Jul 06, 2010
Loading