]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00213014-8 HDMI: add head define for HDMI HDCP
authorSandor Yu <R01008@freescale.com>
Tue, 26 Jun 2012 10:00:25 +0000 (18:00 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:34:56 +0000 (08:34 +0200)
Added HDMI I2C Master register define and bit setting.

Signed-off-by: Sandor Yu <R01008@freescale.com>
arch/arm/plat-mxc/include/mach/mxc_hdmi.h

index 0ea37ae40aed78f90b3a1542fb2aa9077af43de3..60946cadc4417d08a526b223153c7a09c76e7ecb 100644 (file)
 
 /* I2C Master Registers (E-DDC) */
 #define HDMI_I2CM_SLAVE                         0x7E00
-#define HDMI_I2CMESS                            0x7E01
+#define HDMI_I2CM_ADDRESS                       0x7E01
 #define HDMI_I2CM_DATAO                         0x7E02
 #define HDMI_I2CM_DATAI                         0x7E03
 #define HDMI_I2CM_OPERATION                     0x7E04
@@ -1066,6 +1066,23 @@ enum {
        HDMI_A_VIDPOLCFG_HSYNCPOL_MASK = 0x2,
        HDMI_A_VIDPOLCFG_HSYNCPOL_ACTIVE_HIGH = 0x2,
        HDMI_A_VIDPOLCFG_HSYNCPOL_ACTIVE_LOW = 0x0,
+
+
+/* I2CM_OPERATION field values */
+       HDMI_I2CM_OPERATION_WRITE = 0x10,
+       HDMI_I2CM_OPERATION_READ_EXT = 0x2,
+       HDMI_I2CM_OPERATION_READ = 0x1,
+
+/* HDMI_I2CM_INT */
+       HDMI_I2CM_INT_DONE_POL = 0x08,
+       HDMI_I2CM_INT_DONE_MASK = 0x04,
+
+/* HDMI_I2CM_CTLINT */
+       HDMI_I2CM_CTLINT_NAC_POL = 0x80,
+       HDMI_I2CM_CTLINT_NAC_MASK = 0x40,
+       HDMI_I2CM_CTLINT_ARBITRATION_POL = 0x08,
+       HDMI_I2CM_CTLINT_ARBITRATION_MASK = 0x04,
+
 };
 
 #endif /* __MXC_HDMI_H__ */