media: imx: imx7_mipi_csis: Print the RESOL_CH0 register
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 10 Mar 2020 16:06:25 +0000 (17:06 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 12 Mar 2020 16:29:42 +0000 (17:29 +0100)
Add the RESOL_CH0 register to the list of registers printed through the
debugfs debug infrastructure for the driver, as it can be useful to
verify proper configuration of the CSI-2 receiver.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Rui Miguel Silva <rmfrfs@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/imx/imx7-mipi-csis.c

index 0053e8b..f96e325 100644 (file)
@@ -301,6 +301,7 @@ static int mipi_csis_dump_regs(struct csi_state *state)
                { 0x20, "DPHYSTS" },
                { 0x10, "INTMSK" },
                { 0x40, "CONFIG_CH0" },
+               { 0x44, "RESOL_CH0" },
                { 0xC0, "DBG_CONFIG" },
                { 0x38, "DPHYSLAVE_L" },
                { 0x3C, "DPHYSLAVE_H" },