]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00240228: IPUv3: CSI: Correct enum definition of IPU_CSI_DATA_WIDTH
authorSheng Nan <b38800@freescale.com>
Wed, 16 Jan 2013 03:06:30 +0000 (11:06 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:51 +0000 (08:35 +0200)
The current definition for with 10 and 16 is not correct.
IPU_CSI_DATA_WIDTH_10 = 2;
IPU_CSI_DATA_WIDTH_16 = 3;

According to the latest i.MX6DQ RM, the correct value should be:
IPU_CSI_DATA_WIDTH_10 = 3;
IPU_CSI_DATA_WIDTH_16 = 9;

Signed-off-by: Sheng Nan <b38800@freescale.com>
arch/arm/plat-mxc/include/mach/ipu-v3.h

index 519e628d73ee64d6c0401d3f1e0c614b67cc9d75..fb9dc383e023e1b9f86ab805393683b9d0494c6b 100755 (executable)
@@ -1,6 +1,6 @@
 /*
  * Copyright (c) 2010 Sascha Hauer <s.hauer@pengutronix.de>
- * Copyright (C) 2011-2012 Freescale Semiconductor, Inc.
+ * Copyright (C) 2011-2013 Freescale Semiconductor, Inc.
  *
  * This program is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License as published by the
@@ -419,10 +419,10 @@ typedef struct {
  * Enumeration of CSI data bus widths.
  */
 enum {
-       IPU_CSI_DATA_WIDTH_4,
-       IPU_CSI_DATA_WIDTH_8,
-       IPU_CSI_DATA_WIDTH_10,
-       IPU_CSI_DATA_WIDTH_16,
+       IPU_CSI_DATA_WIDTH_4 = 0,
+       IPU_CSI_DATA_WIDTH_8 = 1,
+       IPU_CSI_DATA_WIDTH_10 = 3,
+       IPU_CSI_DATA_WIDTH_16 = 9,
 };
 
 /*!