Maxime added support for exporting InfoFrames to debugfs for drm, and this series does the same for the media subsystem. I used the same names for the InfoFrames as the drm implementation does, and the format is the same as well. And edid-decode can be used to parse the InfoFrames and do conformity checking. The first two patches add helpers for this to the core framework, and the next 5 patches add support for this to the HDMI drivers. I tested the three adv drivers, and I hope to test the tc358743 driver at some point in the not too distant future :-) I don't have a tda1997x available for testing, so I might decide to just drop this. It's RFC for now, but I think it is quite straightforward. This is very useful for debugging received InfoFrames. Regards, Hans Hans Verkuil (7): media: v4l2-core: add v4l2_debugfs_root() media: v4l2-core: add v4l2_debugfs_if_alloc/free() media: i2c: adv7511-v4l2: export InfoFrames to debugfs media: i2c: adv7604: export InfoFrames to debugfs media: i2c: adv7842: export InfoFrames to debugfs media: i2c: tda1997x: export InfoFrames to debugfs media: i2c: tc358743: export InfoFrames to debugfs drivers/media/i2c/adv7511-v4l2.c | 91 +++++++++++++--- drivers/media/i2c/adv7604.c | 90 ++++++++++++---- drivers/media/i2c/adv7842.c | 120 ++++++++++++++++------ drivers/media/i2c/tc358743.c | 36 ++++++- drivers/media/i2c/tda1997x.c | 50 ++++++++- drivers/media/v4l2-core/v4l2-dev.c | 14 +++ drivers/media/v4l2-core/v4l2-dv-timings.c | 63 ++++++++++++ include/media/v4l2-dev.h | 15 +++ include/media/v4l2-dv-timings.h | 48 +++++++++ 9 files changed, 455 insertions(+), 72 deletions(-) -- 2.43.0