]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
i2c: pxa: Add definition of fast and high speed modes via the regs layout
authorRomain Perier <romain.perier@free-electrons.com>
Thu, 1 Dec 2016 11:04:37 +0000 (12:04 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 1 Dec 2016 22:33:05 +0000 (23:33 +0100)
commit6c14bdacdb29c391fe76e442139d96bc1bf1f59b
tree3e39b3eb920610dace91bb2f655fdabca75e2695
parentc2709028034230f33da790d52915e9a2495fbf46
i2c: pxa: Add definition of fast and high speed modes via the regs layout

So far, the bit masks for the fast and high speed mode were statically
defined. Some IP blocks might use different bits for these modes.

This commit introduces new fields in order to enable the definition of
different bit masks for these features. If these fields are undefined,
ICR_FM and ICR_HS are selected to preserve backward compatibility with
other IPs.

Signed-off-by: Romain Perier <romain.perier@free-electrons.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-pxa.c