From: Laurent Pinchart Date: Tue, 10 Mar 2020 16:06:25 +0000 (+0100) Subject: media: imx: imx7_mipi_csis: Print the RESOL_CH0 register X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=535e9ea794cf3aed0ac18d45d63bf2805be2a7a4;p=openwrt%2Fstaging%2Fblogic.git media: imx: imx7_mipi_csis: Print the RESOL_CH0 register 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 Reviewed-by: Rui Miguel Silva Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/staging/media/imx/imx7-mipi-csis.c b/drivers/staging/media/imx/imx7-mipi-csis.c index 0053e8b0b88e..f96e32549381 100644 --- a/drivers/staging/media/imx/imx7-mipi-csis.c +++ b/drivers/staging/media/imx/imx7-mipi-csis.c @@ -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" },