media: rkisp1: debug: Add dump file in debugfs for MI main path registers
authorPaul Elder <paul.elder@ideasonboard.com>
Tue, 14 Jun 2022 19:10:33 +0000 (20:10 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 17 Jul 2022 11:34:43 +0000 (12:34 +0100)
commit8bd1dbf8d580c425605fb8936309a4e9745a7a95
treecd4daad35a6be819b61e4c93213e915e62754d0e
parent7d4f126fde895bd510ce7d2691322dee40d2e90d
media: rkisp1: debug: Add dump file in debugfs for MI main path registers

Add a register dump file in debugfs for some of the buffer-related
registers for the main path in MI (for the base address, the size, and
the offset). Also dump the corresponding shadow registers.

Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Dafna Hirschfeld <dafna@fastmail.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/rockchip/rkisp1/rkisp1-debug.c