20 Feb, 2014

1 commit

  • Adds support for set-speed on the OMAP24xx I2C Adapter.

    Changes to omap24_i2c_write(...) for polling ARDY Bit from IRQ-Status.
    Otherwise on a subsequent call the transfer of last byte from the
    predecessor is aborted and therefore lost. For exmaple when
    i2c_write(...) is followed by a i2c_setspeed(...) (which has to
    deactivate and activate master for changing psc,...).

    Minor cosmetical changes.

    Signed-off-by: Hannes Petermaier
    Cc: Heiko Schocher

    Hannes Petermaier
     

14 Nov, 2013

1 commit


17 Oct, 2013

1 commit


20 Aug, 2013

1 commit


24 Jul, 2013

2 commits


23 Jul, 2013

4 commits


08 Jan, 2013

1 commit


17 Sep, 2012

1 commit

  • Support for multiple soft I2C buses.

    Multibus I2C support is achieved by defining get_multi_{sda|scl}_pin
    functions to switch between multiple "soft" I2C buses.

    Common definition of I2C_X I2C buses is provided at .

    TEST HW:
    Samsung's Exynos4210 evt.0.1 - Trats development board

    Signed-off-by: Lukasz Majewski
    Signed-off-by: Kyungmin Park
    Cc: Heiko Schocher
    Cc: Minkyu Kang
    Acked-by: Heiko Schocher

    Łukasz Majewski
     

11 Jan, 2012

1 commit


28 Oct, 2011

1 commit


05 Oct, 2011

1 commit

  • This reverts commit 60ce53cf9f408d9ad721f8e7a87d6a564e6d5bac.

    The commit causes build breakage for a number of boards. This results
    from the fact that now the arguments of debug() actually get
    referenced (even if there is hope that the compiler will optimize
    away the debug() call). The obvious fix to that probem (change the
    code to always declare the referenced variables and data structures)
    increases the code size, and was this rejected. So it was decided to
    revert this commit until a better solution is found.

    Wolfgang Denk
     

02 Oct, 2011

1 commit

  • Fix the following gcc4.6 problems:

    cmd_date.c: In function ‘do_date’:
    cmd_date.c:50:6: warning: variable ‘old_bus’ set but not used
    [-Wunused-but-set-variable]
    asix.c: In function ‘asix_init’:
    asix.c:317:6: warning: variable ‘rx_ctl’ set but not used
    [-Wunused-but-set-variable]
    usb.c: In function ‘usb_parse_config’:
    usb.c:331:17: warning: variable ‘ch’ set but not used
    [-Wunused-but-set-variable]
    usb.c: In function ‘usb_hub_port_connect_change’:
    usb.c:1123:29: warning: variable ‘portchange’ set but not used
    [-Wunused-but-set-variable]
    usb.c: In function ‘usb_hub_configure’:
    usb.c:1183:25: warning: variable ‘hubsts’ set but not used
    [-Wunused-but-set-variable]
    usb_storage.c: In function ‘usb_stor_CB_reset’:
    usb_storage.c:466:6: warning: variable ‘result’ set but not used
    [-Wunused-but-set-variable]

    Signed-off-by: Marek Vasut

    Marek Vasut
     

28 Apr, 2011

1 commit

  • To make sure that the mux can be configured a deblocking sequence
    is done before the mux configuration. After the mux switch the new leaf
    of, the i2c tree must be again deblocked.

    Signed-off-by: Stefan Bigler
    Acked-by: Heiko Schocher
    cc: Wolfgang Denk
    cc: Detlev Zundel
    cc: Prafulla Wadaskar
    cc: Valentin Longchamp
    cc: Holger Brunck
    Signed-off-by: Valentin Longchamp

    Stefan Bigler
     

19 Apr, 2010

1 commit


29 Mar, 2010

1 commit


13 Feb, 2010

1 commit


21 Jul, 2009

1 commit

  • - CONFIG_SYS_MAX_I2C_BUS changed to 1
    We use only one I2C hardwarecontroller on this boards, so
    change the CONFIG_SYS_MAX_I2C_BUS to 1.
    - common: dont print errormsg if second IVM Block lacks.
    - 82xx, mgcoge: fix double mtdpart entry in environment
    - 82xx, mgcoge: activate on second Flash the second bank.
    - common: CONFIG_ENV_SIZE 0x4000 for all keymile boards
    - common: Change malloc size to 1MByte for all Keymile boards
    We need a bigger malloc area for the environment support (128k)
    on some Keymile boards (kmeter1) and the upcoming UBI support.
    Change it to 1MB for all Keymile boards to be on the save side.
    Also define CONFIG_SYS_64BIT_VSPRINTF which is needed for
    UBI/UBIFS support.
    - Add UBI support to all Keymile boards
    - change manner of writing "/localbus/ranges" node
    instead of writting the complete "/localbus/ranges" node
    before booting Linux, only update the ranges entries
    which gets dynamical detected (size of flashes).
    This is needed, because keymile adds in the DTS
    "/localbus/ranges" node entries, which u-boot must
    not overwrite/delete.
    - kmeter, mgcoge: define 2 seperate regions needed for the Intel P30 chips
    The Intel P30 chip has 2 non-identical chips on
    one die, so we need to define 2 seperate regions
    that are scanned by physmap_of independantly.
    - kmeter1: Add MTD concat support to Keymile boards
    - 82xx, mgcoge: add "unlock=yes" to default environment
    - added CONFIG_MTD_DEVICE to get in sync with mainline code

    Signed-off-by: Heiko Schocher
    Signed-off-by: Stefan Roese

    Heiko Schocher
     

13 Jun, 2009

1 commit


12 Feb, 2009

1 commit


16 Dec, 2008

1 commit


19 Oct, 2008

3 commits


21 May, 2008

1 commit

  • This commit gets rid of a huge amount of silly white-space issues.
    Especially, all sequences of SPACEs followed by TAB characters get
    removed (unless they appear in print statements).

    Also remove all embedded "vim:" and "vi:" statements which hide
    indentation problems.

    Signed-off-by: Wolfgang Denk

    Wolfgang Denk
     

09 Mar, 2007

1 commit


01 Mar, 2007

1 commit


20 Feb, 2007

1 commit

  • This patch adds support for multiple I2C busses on the PPC4xx
    platforms. Define CONFIG_I2C_MULTI_BUS in the board config file
    to make use of this feature.

    It also merges the 405 and 440 i2c header files into one common
    file 4xx_i2c.h.

    Also the 4xx i2c reset procedure is reworked since I experienced
    some problems with the first access on the 440SPe Katmai board.

    Signed-off-by: Stefan Roese

    Stefan Roese
     

04 Nov, 2006

2 commits

  • This patch also adds an improved I2C set_speed(), which handles all clock
    frequencies.

    Signed-off-by: Timur Tabi

    Timur Tabi
     
  • Hello,

    Attached is a patch providing support for multiple I2C buses at the
    command level. The second part of the patch includes an implementation
    for the MPC834x CPU and MPC8349EMDS board.

    /*** Note: This patch replaces ticket DNX#2006083042000018 ***/

    Signed-off-by: Ben Warren

    Overview:

    1. Include new 'i2c' command (based on USB implementation) using
    CONFIG_I2C_CMD_TREE.

    2. Allow multiple buses by defining CONFIG_I2C_MULTI_BUS. Note that
    the commands to change bus number and speed are only available under the
    new 'i2c' command mentioned in the first bullet.

    3. The option CFG_I2C_NOPROBES has been expanded to work in multi-bus
    systems. When CONFIG_I2C_MULTI_BUS is used, this option takes the form
    of an array of bus-device pairs. Otherwise, it is an array of uchar.

    CHANGELOG:
    Added new 'i2c' master command for all I2C interaction. This is
    conditionally compiled with CONFIG_I2C_CMD_TREE. New commands added for
    setting I2C bus speed as well as changing the active bus if the board
    has more than one (conditionally compiled with
    CONFIG_I2C_MULTI_BUS). Updated NOPROBE logic to handle multiple buses.
    Updated README.

    regards,
    Ben

    Ben Warren
     

15 Mar, 2003

1 commit

  • the HSYNC/VSYNC. Requires new CPLD code (Version 101 for Rev. 100
    boards, version 153 for Rev. 200 boards).

    * Patch by Vladimir Gurevich, 12 Mar 2003:
    Fix relocation problem of statically initialized string pointers
    in common/cmd_pci.c

    * Patch by Kai-Uwe Blöm, 12 Mar 2003:
    Cleanup & bug fixes for JFFS2 code:
    - the memory mangement was broken. It caused havoc on malloc by
    writing beyond the block boundaries.
    - the length calculation for files was wrong, sometimes resulting
    in short file reads.
    - data copying now optionally takes fragment version numbers into
    account, to avoid copying from older data.
    See doc/README.JFFS2 for details.

    wdenk
     

10 Mar, 2002

1 commit