summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorJingchang Lu <b35083@freescale.com>2013-08-07 17:05:41 +0800
committerWolfram Sang <wsa@the-dreams.de>2013-08-15 16:13:48 +0200
commit171408c21149dd3fd2ed33f19afe2cd558269253 (patch)
tree1c60898b4f9f9c1f923f26415077ad2ec5a4b088 /mm
parent8cc7331ff372b9d03f8b2eb1422052bd99430611 (diff)
downloadlinux-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