Skip to content
Snippets Groups Projects
  1. Jul 28, 2009
    • Tom Rix's avatar
      TWL4030 Add power reset button · cd782635
      Tom Rix authored
      
      The Zoom2 power reset button is on the top right side of the
      main board.  Press and hold for about to 8 seconds to completely
      reset the board.
      
      Some of the beta boards have a hardware problem that prevents
      using this feature.  If is difficult to further characterize the
      boards that fail.  So disable resetting for all beta boards.
      
      The Zoom1 reset button is the red circle on the top right,
      front of the board.  Press and hold the button for 8 seconds to
      completely reset the board.
      
      After analyzing beagle, it was determined that other boards
      that use the twl4030 for power managment can also make use
      this function.
      
      The resetting is done by the power management part of the twl4030.
      Since there is no existing drivers/power, add one.
      
      The compilation of power/twl4030.h is controlled by the config
      variable CONFIG_TWL4030_POWER
      
      Signed-off-by: default avatarTom Rix <Tom.Rix@windriver.com>
      Acked-by: default avatarJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
      Acked-by: default avatarHeiko Schocher <hs@denx.de>
      cd782635
    • Tom Rix's avatar
      TWL4030 Add initial support · 8966eb4c
      Tom Rix authored
      The TWL4030 supplies many peripherals for OMAP3 boards. These include
      power management, usb and, keyboard.
      
      The product description is found here:
      
      http://focus.ti.com/docs/prod/folders/print/tps65950.html
      
      Product reference document, tps65950.pdf, is found here:
      
      http://www.ti.com/lit/gpn/tps65950
      
      
      
      Signed-off-by: default avatarTom Rix <Tom.Rix@windriver.com>
      Acked-by: default avatarJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
      Acked-by: default avatarHeiko Schocher <hs@denx.de>
      8966eb4c
    • Tom Rix's avatar
      OMAP I2C Fix the sampling clock. · 7f79dfb4
      Tom Rix authored
      
      This problem is seen on Zoom1 and Zoom2 in the startup and
      when i2c probe is used
      
      Before :
      
      In:    serial
      Out:   serial
      Err:   serial
      timed out in wait_for_bb: I2C_STAT=1000
      timed out in wait_for_bb: I2C_STAT=1000
      timed out in wait_for_bb: I2C_STAT=1000
      timed out in wait_for_pin: I2C_STAT=1000
      I2C read: I/O error
      timed out in wait_for_bb: I2C_STAT=1000
      timed out in wait_for_bb: I2C_STAT=1000
      Die ID #327c00020000000004013ddd05026013
      Hit any key to stop autoboot:  0
      OMAP3 Zoom1# i2c probe
      Valid chip addresses:timed out in wait_for_bb: I2C_STAT=1000
       02 03 04 05 06 07 08 09 0A 0B 0C 0D <snip>
      
      After :
      
      In:    serial
      Out:   serial
      Err:   serial
      Die ID #327c00020000000004013ddd05026013
      Hit any key to stop autoboot:  0
      OMAP3 Zoom1# i2c probe
      Valid chip addresses: 48 49 4A 4B
      
      The addresses are for the twl4030.
      
      The prescalar that converts the function clock to the sampling
      clock is hardcoded to 0.  The reference manual recommends 7
      if the function clock is 96MHz.
      
      Instead of just changing the hardcoded values, the prescalar
      is calculated from the value I2C_IP_CLK.
      
      The i2c #defines are in kHz.  The speed passed into the
      i2c init routine is in Hz.  To be consistent, change the
      defines to be in Hz.
      
      The timing calculations are based on what is done in the
      linux 2.6.30 kernel in drivers/i2c/buses/i2c_omap.c as
      apposed to what is done in TRM.
      
      The major variables in the timing caculations are
      specified as #defines that can be overriden as required.
      
      The variables and their defaults are
      
      I2C_IP_CLK				SYSTEM_CLOCK_96
      I2C_INTERNAL_SAMPLING_CLK		19200000
      I2C_FASTSPEED_SCLL_TRIM			6
      I2C_FASTSPEED_SCLH_TRIM			6
      I2C_HIGHSPEED_PHASE_ONE_SCLL_TRIM	I2C_FASTSPEED_SCLL_TRIM
      I2C_HIGHSPEED_PHASE_ONE_SCLH_TRIM	I2C_FASTSPEED_SCLH_TRIM
      I2C_HIGHSPEED_PHASE_TWO_SCLL_TRIM	I2C_FASTSPEED_SCLL_TRIM
      I2C_HIGHSPEED_PHASE_TWO_SCLH		I2C_FASTSPEED_SCLH_TRIM
      
      This was runtime verified on Zoom1, Zoom2, Beagle and Overo.
      The 400kHz and 3.4M cases were verifed on test Zoom1,
      Zoom2, Beagle and Overo configurations.
      
      Testing for omap2 will be done in a second step as Nishanth
      and Jean-Christophe commented.
      
      Signed-off-by: default avatarTom Rix <Tom.Rix@windriver.com>
      Acked-by: default avatarJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
      Acked-by: default avatarHeiko Schocher <hs@denx.de>
      7f79dfb4
    • Heiko Schocher's avatar
      4ce5a728
  2. Jul 27, 2009
  3. Jul 26, 2009
  4. Jul 25, 2009
    • Alessandro Rubini's avatar
      video: move extern declarations from C to headers · 6111722a
      Alessandro Rubini authored
      
      This moves some extern declaration from lcd.c to lcd.h, removing
      unneeded ifdef around a pair of them.  Additionally, since
      gunzip_bmp() was declared static in cmd_bmp.c but extern in lcd.c, I
      removed the static.  The extra "#include <lcd.h>" in cmd_bmp.c is
      added to ensure the header is consistent with the source.
      
      This has been compile-tested on both ARM (at91 boards) and PowerPC
      (HH405_config, TQM823L_LCD_config, mcc200_config), to test all use
      combinations.
      
      Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.it>
      [agust@denx.de: removed gunzip_bmp() fixes as commit c01171ea did it]
      Signed-off-by: default avatarAnatolij Gustschin <agust@denx.de>
      6111722a
  5. Jul 24, 2009
Loading