parse_saa7134.pl: Properly handle I2C transactions
Instead of printing raw register reads/writes for I2C transactions,
use a more high-level print. By default, it will discard intermediate
transactions, like waiting for non-busy status.
A write transaction will look like:
write_i2c(DONE_STOP, START, 0x96)
write_i2c(DONE_WRITE, CONTINUE, 0xff)
write_i2c(DONE_WRITE, CONTINUE, 0x02)
write_i2c(DONE_WRITE, STOP, 0x00)
The better would be to group those operations, into something like:
write_i2c_addr (0x96, "0xff, 0x02, 0x00");
or
write_i2c_addr (0x96, "0xff0200");
But this is not an easy task, especially since it may have some
read operations in-between. So, let's postpone such higher level
grouping to future improvements in the parser ;)
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>