mbox series

[v2,0/2] i2c: xiic: Support forcing single-master in DT

Message ID 20200820100241.96866-1-ext-jaakko.laine@vaisala.com
Headers show
Series i2c: xiic: Support forcing single-master in DT | expand

Message

Jaakko Laine Aug. 20, 2020, 10:02 a.m. UTC
This patch series allows xiic driver to take advantage of
single-master -tag in device tree to improve reliability.

Changes from first review include an alignment change to
code, which should remove need for future alignment changes
and changing to use the new single-master -tag instead of
pre-existing multi-master tag. This helps preserve
backwards compatibility with devices without single-master
or multi-master defined in DT.

Link to v1 review:
https://lore.kernel.org/linux-i2c/20200218135627.24739-1-ext-jaakko.laine@vaisala.com/

Jaakko Laine (2):
  i2c: xiic: Change code alignment to 1 space only
  i2c: xiic: Support forcing single-master in DT

 drivers/i2c/busses/i2c-xiic.c | 74 ++++++++++++++++++++---------------
 1 file changed, 43 insertions(+), 31 deletions(-)