Commit 4c0ed7ba authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Mauro Carvalho Chehab
Browse files

media: ti-vpe: cal: Move CAL_NUM_CSI2_PORTS from cal_regs.h to cal.c



The CAL_NUM_CSI2_PORTS macro isn't a register definition. Move it to
cal.c, and fix indentation of the other macros while at it.

Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: default avatarBenoit Parrot <bparrot@ti.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 497b5e94
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -76,6 +76,7 @@ MODULE_PARM_DESC(debug, "activates debug info");
	cal_err((phy)->cal, "phy%u: " fmt, (phy)->instance, ##arg)

#define CAL_NUM_CONTEXT			2
#define CAL_NUM_CSI2_PORTS		2

#define MAX_WIDTH_BYTES			(8192 * 8)
#define MAX_HEIGHT_LINES		16383
+0 −2
Original line number Diff line number Diff line
@@ -34,8 +34,6 @@
 */
#define DRA72_CAL_PRE_ES2_LDO_DISABLE BIT(0)

#define CAL_NUM_CSI2_PORTS		2

/* CAL register offsets */

#define CAL_HL_REVISION			0x0000