diff options
author | Jingchang Lu <b35083@freescale.com> | 2013-08-07 11:05:41 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2013-08-15 16:13:48 +0200 |
commit | 171408c21149dd3fd2ed33f19afe2cd558269253 (patch) | |
tree | 1c60898b4f9f9c1f923f26415077ad2ec5a4b088 /fs/hfs | |
parent | i2c: imx: change register offset representation (diff) | |
download | linux-171408c21149dd3fd2ed33f19afe2cd558269253.tar.xz linux-171408c21149dd3fd2ed33f19afe2cd558269253.zip |
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 'fs/hfs')
0 files changed, 0 insertions, 0 deletions