diff options
author | Jingchang Lu <b35083@freescale.com> | 2013-08-07 17:05:41 +0800 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2013-08-15 16:13:48 +0200 |
commit | 171408c21149dd3fd2ed33f19afe2cd558269253 (patch) | |
tree | 1c60898b4f9f9c1f923f26415077ad2ec5a4b088 /mm | |
parent | 8cc7331ff372b9d03f8b2eb1422052bd99430611 (diff) | |
download | linux-171408c21149dd3fd2ed33f19afe2cd558269253.tar.bz2 |
i2c: imx: add INT flag and IEN bit operatation codes
This add bits operation macro that differ between SoCs.
Interrupt flags clear operation in I2SR differ between SoCs:
write zero to clear(w0c) INT flag on i.MX,
but write one to clear(w1c) INT flag on Vybrid.
I2C module enable operation in I2CR also differ between SoCs:
set I2CR_IEN bit enable the module on i.MX,
but clear I2CR_IEN bit enable the module on Vybrid.
Signed-off-by: Jingchang Lu <b35083@freescale.com>
Reviewed-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions