10 Nov, 2014

4 commits

  • In case of repeated START condition, the restart has to be kicked
    before clear status (MSR register). If it is kicked after clear status,
    R-Car I2C may transfer data (TXD register) or receive data (RXD register)
    instead of transferring slave address (MAR register).

    Signed-off-by: Ryo Kataoka
    Signed-off-by: Nobuhiro Iwamatsu

    Nobuhiro Iwamatsu
     
  • Some slow I2C devices like Power Monitor(ZM7304) at times
    do not work well with low timeout value, so I2C bus get stuck
    during read cycle with this device, changing it to 100ms from
    10ms works fine

    A lot of other i2c drivers like mxc and i2c drivers of BOOTROM
    also use relax timeouts to give sufficient ticks to work well
    with slower devices

    Signed-off-by: Shaveta Leekha
    Signed-off-by: Poonam Aggrwal

    Shaveta Leekha
     
  • ppc4xx i2c master gets stuck on errors while repeated start is
    active. Can be easily reproduced by "i2c md" on an unpopulated
    i2c address. There is not stop condition given, scl remains
    pulled low.
    The only way out seems to be doing a stop manually and then a
    soft reset.

    Signed-off-by: Dirk Eibach
    Reviewed-by: Stefan Roese

    Dirk Eibach
     
  • Debugging some i2c trouble I saw on my scope that repeated
    start is not working properply. The 4xx even held clock pulled down
    after transfers. Having a look in the driver I realized
    that IIC_CNTL_RPST is set on that part of the transfer that should
    begin with a repeated start. But repeated start is about not sending a
    stop condition, so IIC_CNTL_RPST has to be set on the last transfer
    before the repeated start happens.

    Signed-off-by: Dirk Eibach
    Reviewed-by: Stefan Roese

    Dirk Eibach
     

06 Nov, 2014

1 commit


05 Nov, 2014

9 commits


04 Nov, 2014

15 commits


31 Oct, 2014

1 commit

  • This enables the VMMC2 LDO, which powers the MMC2 device.
    When the device starts from MMC2, this has already been enabled by the BootROM,
    but when starting from peripheral boot (USB, UART), it is not the case.

    Signed-off-by: Paul Kocialkowski
    Acked-by: Pantelis Antoniou

    Paul Kocialkowski
     

30 Oct, 2014

1 commit


29 Oct, 2014

9 commits