mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] check I2C device id for pca984x chips
@ 2018-03-05 20:58 Peter Rosin
  2018-03-05 20:58 ` [PATCH v2 1/2] i2c: add i2c_get_device_id() to get the standard i2c device id Peter Rosin
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Peter Rosin @ 2018-03-05 20:58 UTC (permalink / raw)
  To: linux-kernel; +Cc: Peter Rosin, Wolfram Sang, Adrian Fiergolski, linux-i2c

Hi!

This series tries to check the I2C device id, but instead of open
coding the check in the pca954x driver, I have a new function in
the core doing the work.

Changes since v1:
- Added Tested-by tag from Adrian
- Added Reviewed-by tag from Wolfram
- Replaced client->flags with a zero in the i2c_smbus_xfer call

Wolfram: I'll send a pull with the first patch in a few days, to
allow for a second round of feedback now that the RFC marker is gone.

Cheers,
peda

Peter Rosin (2):
  i2c: add i2c_get_device_id() to get the standard i2c device id
  i2c: mux: pca954x: verify the device id of the pca984x chips

 drivers/i2c/i2c-core-base.c         | 33 ++++++++++++++++++++++
 drivers/i2c/muxes/i2c-mux-pca954x.c | 55 +++++++++++++++++++++++++++++++++----
 include/linux/i2c.h                 | 30 ++++++++++++++++++++
 3 files changed, 112 insertions(+), 6 deletions(-)

-- 
2.11.0

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-03-10  0:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-05 20:58 [PATCH v2 0/2] check I2C device id for pca984x chips Peter Rosin
2018-03-05 20:58 ` [PATCH v2 1/2] i2c: add i2c_get_device_id() to get the standard i2c device id Peter Rosin
2018-03-05 20:58 ` [PATCH v2 2/2] i2c: mux: pca954x: verify the device id of the pca984x chips Peter Rosin
2018-03-10  0:05 ` [PATCH v2 0/2] check I2C device id for " Peter Rosin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®