mbox series

[v2,0/4] Add i2c put and get to pdbg

Message ID 20190418012658.23315-1-rashmica.g@gmail.com
Headers show
Series Add i2c put and get to pdbg | expand

Message

Rashmica Gupta April 18, 2019, 1:26 a.m. UTC
This series is dependant on Amitay's hexdump series.

v1->v2: clearer separation of i2cm/i2cbus, uint8_t parser in separate
patch


Rashmica Gupta (4):
  pdbg: Add in parser for uint8_t
  libpdbg: use i2ctools lib
  libpdbg: Add i2c get and put functions for i2c master on CFAM
  libpdbg: Add i2c get and put for i2c masters on the PIB

 Makefile.am       |   6 +
 configure.ac      |   5 +
 libpdbg/i2cm.c    | 686 ++++++++++++++++++++++++++++++++++++++++++++++
 libpdbg/libpdbg.h |   5 +
 libpdbg/target.c  |  22 ++
 libpdbg/target.h  |  16 ++
 p9-host.dts.m4    |  46 ++++
 p9-i2c.dts.m4     |  21 ++
 p9-kernel.dts.m4  |   8 +
 src/i2c.c         |  79 ++++++
 src/main.c        |   6 +-
 src/parsers.c     |  18 ++
 src/parsers.h     |   2 +
 13 files changed, 918 insertions(+), 2 deletions(-)
 create mode 100644 libpdbg/i2cm.c
 create mode 100644 p9-i2c.dts.m4
 create mode 100644 src/i2c.c