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 -
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 fineA 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 devicesSigned-off-by: Shaveta Leekha
Signed-off-by: Poonam Aggrwal -
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 -
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
06 Nov, 2014
1 commit
05 Nov, 2014
9 commits
-
This is necessary for the device-model enabled builds to work properly.
Signed-off-by: Hans de Goede
Acked-by: Simon Glass -
This is necessary for the device-model enabled builds to work properly.
Signed-off-by: Hans de Goede
Acked-by: Simon Glass -
Add a driver for the designware serial UART used on sunxi. This just
redirects to the normal ns16550 driver.Add a stdout-path to the device tree so that the correct UART is chosen.
Signed-off-by: Simon Glass
Signed-off-by: Hans de Goede -
This adds driver model support to the sunxi GPIO driver, using the device
tree to trigger binding of the driver. The driver will still operate
without driver model too.Signed-off-by: Simon Glass
Signed-off-by: Hans de Goede -
Mostly automatic with:
sed -i -e 's/CONFIG_\(SUN[45678]I\)/CONFIG_MACH_\1/g' $(git grep -l CONFIG_SUN[45678]I)
followed by removing the relevant #defines from include/configs/sun?i.h by
hand.Signed-off-by: Ian Campbell
Reviewed-by: Hans de Goede
Signed-off-by: Hans de Goede -
While at it, sort them.
Cc: Tom Rini
Cc: Simon Glass
Signed-off-by: Jeroen Hofstee -
Cc: Heiko Schocher
Signed-off-by: Jeroen Hofstee
04 Nov, 2014
15 commits
-
R8A7791, R8A7793 and R8A7794 have same IP of USB controller.
This collect up address data of each SoCs.Signed-off-by: Nobuhiro Iwamatsu
-
R8A7793 has same IP of USB controller as R8A7791 and R8A7794 of rmobile
ARM SoCs. This adds support R8A7793 to EHCI HCD of rmobile.Signed-off-by: Nobuhiro Iwamatsu
-
Signed-off-by: Hans de Goede
-
Preperation patch to use poll_int_queue outside of ehci-hcd.c .
Signed-off-by: Hans de Goede
-
Preperation patch to use create_int_queue outside of ehci-hcd.c .
Signed-off-by: Hans de Goede
-
When periodic_schedules == 0, the schedule is disabled and there is no reason
to disable it again.Signed-off-by: Hans de Goede
-
A bit field of DMA descriptor is on memory area of DMA. If we set data
to bit of DMA descriptor, we must be writeback data of DMA descriptor.Signed-off-by: Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu -
Signed-off-by: Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu -
RX_DESC_SIZE and TX_DESC_SIZE mean the size of the data descriptor for sh-eth.
We can acquire this in sizeof. It is not necessary to define these in define.Signed-off-by: Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu -
The baud rate setting of external clock is enabled.
Signed-off-by: Hisashi Nakamura
Signed-off-by: Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu -
R8A7793 has the same sh-ether IP core as other SH/rmobile.
This patch adds support of R8A7793.Signed-off-by: Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu -
This adds the preset value to register for R8A7793.
Signed-off-by: Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu
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
30 Oct, 2014
1 commit
-
Add ECC geometry for NAND which has 2048b pagesize and 112b OOB
size. This is for example Macronix MX30LF2G28AB chip.Signed-off-by: Marek Vasut
29 Oct, 2014
9 commits
-
Signed-off-by: Masahiro Yamada
-
Without .pending handler, tstc() function always returns 1.
Signed-off-by: Masahiro Yamada
-
In preparation for the SoCFPGA support of the designware I2C driver,
convert this driver to the common CONFIG_SYS_I2C framework.This patch converts all users of this driver, this is:
- ST spearxxx boards
- AXS101 (ARC700 platform)I couldn't test this patch on those boards. Only compile tested for all
spear boards. And tested on SoCFPGA.Signed-off-by: Stefan Roese
Reviewed-by: Marek Vasut
Acked-by: Alexey Brodkin
Tested-by: Alexey Brodkin
Cc: Heiko Schocher
Cc: Vipin Kumar
Cc: Jeroen Hofstee -
Add support for I2C bus 1 on the i.MX28.
Signed-off-by: Marek Vasut
Cc: Stefano Babic
Cc: Heiko Schocher -
This patch permeates the struct i2c_adapter throughout the driver,
so that it can be used to determine which adapter should be used.
Note that the driver still supports only one adapter. Note that
the patch does shuffle mxs_i2c_set_bus_speed() to the top of the
driver, but the function remains unchanged.Signed-off-by: Marek Vasut
Cc: Stefano Babic
Cc: Heiko Schocher -
This patch just converts the function prototypes used throughout
this driver to match those of the i2c framework. There is so far
no functional change. This patch does not do the deeper integration
of the framework bits.Signed-off-by: Marek Vasut
Cc: Stefano Babic
Cc: Heiko Schocher -
This patch prepares the MXS I2C driver for the conversion to the
new I2C driver framework by pulling out the hard-coded I2C0 address
from all the places.Signed-off-by: Marek Vasut
Cc: Stefano Babic
Cc: Heiko Schocher -
The logic of the return statement in sata_port_status() calls for a
bitwise 'AND' operator, not logical 'AND'. Fix the typo.Reported-by: Jeroen Hofstee
Cc: Jeroen Hofstee
Cc: Stefano Babic
Signed-off-by: Nikita Kiryanov