- 31 7月, 2012 36 次提交
-
-
由 Rajeshwari Shinde 提交于
This adds multiple i2c channel support for I2C. Signed-off-by: NAlim Akhtar <alim.akhtar@samsung.com> Signed-off-by: NRajeshwari Shinde <rajeshwari.s@samsung.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Rajeshwari Shinde 提交于
This patch modifies the S3C I2C driver to suppport EXYNOS5. The cahnges made to driver are as follows: - I2C base address is passed as a parameter to many functions to avoid multiple #ifdef - Channel initialisation is moved to a commom funation as it is required by i2c_init. - Hardcoding for I2CCON_ACKGEN removed. - Replaced printf with debug. - Checkpatch issues resolved. - Pinmux setting will be done in board/samsung/smdk5250/smdk5250.c to avoid repeated setting of gpio lines, as it have multi bus support. Signed-off-by: NAlim Akhtar <alim.akhtar@samsung.com> Signed-off-by: NDoug Anderson <dianders@chromium.org> Signed-off-by: NRajeshwari Shinde <rajeshwari.s@samsung.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Rajeshwari Shinde 提交于
struct s3c24x0_i2c is being moved to common local header file so that the same can be used by s3c series and exynos series SoCs. Signed-off-by: NAlim Akhtar <alim.akhtar@samsung.com> Signed-off-by: NDoug Anderson <dianders@chromium.org> Signed-off-by: NRajeshwari Shinde <rajeshwari.s@samsung.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Rajeshwari Shinde 提交于
This patch adds pinmux code for I2C. Signed-off-by: NRajeshwari Shinde <rajeshwari.s@samsung.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Rajeshwari Shinde 提交于
This patch defined EXYNOS5_I2C_SPACING used to calculate I2C channel base address. Signed-off-by: NRajeshwari Shinde <rajeshwari.s@samsung.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Rajeshwari Shinde 提交于
This patch adds the base address for I2C. Signed-off-by: NAlim Akhtar <alim.akhtar@samsung.com> Signed-off-by: NRajeshwari Shinde <rajeshwari.s@samsung.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Rajeshwari Shinde 提交于
This adds i2c clock information for EXYNOS5. Signed-off-by: NAlim Akhtar <alim.akhtar@samsung.com> Signed-off-by: NDoug Anderson <dianders@chromium.org> Signed-off-by: NRajeshwari Shinde <rajeshwari.s@samsung.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Troy Kisky 提交于
This includes bus recovery support. Signed-off-by: NTroy Kisky <troy.kisky@boundarydevices.com> Acked-by: NJason Liu <r64343@freescale.com>
-
由 Troy Kisky 提交于
Signed-off-by: NTroy Kisky <troy.kisky@boundarydevices.com>
-
由 Troy Kisky 提交于
Signed-off-by: NTroy Kisky <troy.kisky@boundarydevices.com>
-
由 Troy Kisky 提交于
Signed-off-by: NTroy Kisky <troy.kisky@boundarydevices.com>
-
由 Troy Kisky 提交于
Signed-off-by: NTroy Kisky <troy.kisky@boundarydevices.com>
-
由 Troy Kisky 提交于
This include is not needed. Signed-off-by: NTroy Kisky <troy.kisky@boundarydevices.com> Acked-by: NJason Liu <r64343@freescale.com>
-
由 Troy Kisky 提交于
Signed-off-by: NTroy Kisky <troy.kisky@boundarydevices.com>
-
由 Troy Kisky 提交于
Add support for calling a function that will toggle the SCL line to return the bus to idle condition. The actual toggling function is added in a later patch. Signed-off-by: NTroy Kisky <troy.kisky@boundarydevices.com>
-
由 Troy Kisky 提交于
Signed-off-by: NTroy Kisky <troy.kisky@boundarydevices.com>
-
由 Troy Kisky 提交于
This is prep work for CONFIG_I2C_MULTI_BUS. Signed-off-by: NTroy Kisky <troy.kisky@boundarydevices.com> Acked-by: NMarek Vasut <marex@denx.de>
-
由 Troy Kisky 提交于
Retry unexpected hardware errors. This will not retry a received NAK. Signed-off-by: NTroy Kisky <troy.kisky@boundarydevices.com>
-
由 Troy Kisky 提交于
No need to continue waiting if arbitration lost. Signed-off-by: NTroy Kisky <troy.kisky@boundarydevices.com> Acked-by: NMarek Vasut <marex@denx.de>
-
由 Troy Kisky 提交于
The i2c controller cannot be both master and slave in the same transaction. Signed-off-by: NTroy Kisky <troy.kisky@boundarydevices.com>
-
由 Troy Kisky 提交于
This helps in a multiple bus master environment which is why I also added a wait for bus idle. Signed-off-by: NTroy Kisky <troy.kisky@boundarydevices.com>
-
由 Troy Kisky 提交于
imx_reset is only referenced once so move to that location. Signed-off-by: NTroy Kisky <troy.kisky@boundarydevices.com> Acked-by: NMarek Vasut <marex@denx.de>
-
由 Troy Kisky 提交于
imx_start is only referenced once so move to that location. Signed-off-by: NTroy Kisky <troy.kisky@boundarydevices.com> Acked-by: NMarek Vasut <marex@denx.de>
-
由 Troy Kisky 提交于
wait_for_sr_state returns i2sr on success so no need to read again. Signed-off-by: NTroy Kisky <troy.kisky@boundarydevices.com> Acked-by: NMarek Vasut <marex@denx.de>
-
由 Troy Kisky 提交于
Not using udelay gives a more accurate timeout. The current implementation of udelay in imx-common does not seem to wait at all for a udelay(1). Signed-off-by: NTroy Kisky <troy.kisky@boundarydevices.com> Acked-by: NMarek Vasut <marex@denx.de> ---- V2: Added WATCHDOG_RESET as suggested by Marek Vasut add error message when stop fails mxc_i2c: code i2c_probe as a 0 length i2c_write Signed-off-by: NTroy Kisky <troy.kisky@boundarydevices.com> Acked-by: NMarek Vasut <marex@denx.de> Acked-by: NStefano Babic <sbabic@denx.de>
-
由 Troy Kisky 提交于
Signed-off-by: NTroy Kisky <troy.kisky@boundarydevices.com> Acked-by: NMarek Vasut <marex@denx.de> Acked-by: NStefano Babic <sbabic@denx.de>
-
由 Troy Kisky 提交于
Signed-off-by: NTroy Kisky <troy.kisky@boundarydevices.com>
-
由 Troy Kisky 提交于
Initial code of i2c_read and i2c_write is identical, move to subroutine. Signed-off-by: NTroy Kisky <troy.kisky@boundarydevices.com> Acked-by: NMarek Vasut <marex@denx.de> Acked-by: NStefano Babic <sbabic@denx.de>
-
由 Troy Kisky 提交于
Let's clear the sr register before waiting for bit to be set, instead of clearing it after hardware sets it. No real operational difference here, but allows combining of i2c_imx_trx_complete and i2c_imx_bus_busy in later patches. Signed-off-by: NTroy Kisky <troy.kisky@boundarydevices.com> Acked-by: NMarek Vasut <marex@denx.de>
-
由 Troy Kisky 提交于
Use tx_byte function instead of having 3 copies of the code. Signed-off-by: NTroy Kisky <troy.kisky@boundarydevices.com> Acked-by: NMarek Vasut <marex@denx.de>
-
由 Troy Kisky 提交于
This is always selected when CONFIG_I2C_MXC is selected, so it adds no value. Signed-off-by: NTroy Kisky <troy.kisky@boundarydevices.com> Acked-by: NMarek Vasut <marex@denx.de>
-
由 Troy Kisky 提交于
Instead of clearing 2 bits, all the other bits were set because '|=' was used instead of '&='. Signed-off-by: NTroy Kisky <troy.kisky@boundarydevices.com> Acked-by: NMarek Vasut <marex@denx.de> Acked-by: NStefano Babic <sbabic@denx.de>
-
由 Holger Brunck 提交于
If we switch to a different i2c bus in changing the mux config for the i2c mux, we have to be sure to deblock the bus also before realocation. Signed-off-by: NHolger Brunck <holger.brunck@keymile.com> cc: Heiko Schocher <hs@denx.de> cc: Valentin Longchamp <valentin.longchamp@keymile.com>
-
git://git.denx.de/u-boot由 Wolfgang Denk 提交于
* 'next' of git://git.denx.de/u-boot: MPC8xx: Fixup warning in arch/powerpc/cpu/mpc8xx/cpu.c doc: cleanup - move board READMEs into respective board directories net: sh_eth: add support for SH7757's GETHER net: sh_eth: modify the definitions of regsiter net: sh_eth: add SH_ETH_TYPE_ condition net: sh_eth: clean up for the SH7757's code net: fec_mxc: Fix MDC for xMII net: fec_mxc: Fix setting of RCR for xMII net: nfs: make NFS_TIMEOUT configurable net: Inline the new eth_setenv_enetaddr_by_index function net: allow setting env enetaddr from net device setting net/designware: Consecutive writes to the same register to be avoided CACHE: net: asix: Fix asix driver to work with data cache on net: phy: micrel: make ksz9021 phy accessible net: abort network initialization if the PHY driver fails phylib: phy_startup() should return an error code on failure net: tftp: fix type of block arg to store_block Signed-off-by: NWolfgang Denk <wd@denx.de>
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de>
-
由 Linu Cherian 提交于
Hawkboard was using the wrong nand_read_page version for SPL image. As a side effect, the u-boot image loaded by the SPL from nand was getting corrupted. Enable CONFIG_SYS_NAND_HW_ECC_OOBFIRST to select the correct nand_read_page algorithm for SPL. Signed-off-by: NLinu Cherian <linucherian@gmail.com> Acked-by: NSughosh Ganu <urwithsughosh@gmail.com> Acked-by: NTom Rini <trini@ti.com>
-
- 30 7月, 2012 2 次提交
-
-
git://git.denx.de/u-boot-mips由 Wolfgang Denk 提交于
* 'master' of git://git.denx.de/u-boot-mips: MIPS: fix renaming of inca-swap-bytes to xway-swap-bytes Signed-off-by: NWolfgang Denk <wd@denx.de>
-
由 Marek Vasut 提交于
cpu.c: In function ‘check_CPU’: cpu.c:256:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Wolfgang Denk <wd@denx.de> Subject slightly changed. Signed-off-by: NWolfgang Denk <wd@denx.de> Tested on TQM855MDCBAB7-T66.102 (MPC855T at 66 MHz) and TQM860LDB0A3-T50.202 (MPC860T at 50MHz). Tested-by: NWolfgang Denk <wd@denx.de> Acked-by: NWolfgang Denk <wd@denx.de>
-
- 29 7月, 2012 2 次提交
-
-
由 Wolfgang Denk 提交于
make would spit out a message like Generating /tmp/build/include/generated/asm-offsets.h even when running with option "-s". Fix this. Signed-off-by: NWolfgang Denk <wd@denx.de>
-
由 Wolfgang Denk 提交于
Also drop a few files referring to no longer / not yet supported boards. Signed-off-by: NWolfgang Denk <wd@denx.de> Cc: Prafulla Wadaskar <prafulla@marvell.com> Cc: Stefan Roese <sr@denx.de> Cc: Kim Phillips <kim.phillips@freescale.com> Cc: Andy Fleming <afleming@gmail.com> Cc: Jason Jin <jason.jin@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com> Acked-by: NStefano Babic <sbabic@denx.de> Acked-by: NDaniel Schwierzeck <daniel.schwierzeck@googlemail.com>
-