s3c-fb: add support for display panning
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / arm / plat-samsung / include / plat / regs-fb.h
index ac10013959bd120d29881b07266dc8661490c643..dbb6c0afef47430bb5c10632b89abd4ba1a0cbdd 100644 (file)
 #define VIDCON2_ORGYCbCr                       (1 << 8)
 #define VIDCON2_YUVORDCrCb                     (1 << 7)
 
+/* PRTCON (S3C6410, S5PC100)
+ * Might not be present in the S3C6410 documentation,
+ * but tests prove it's there almost for sure; shouldn't hurt in any case.
+ */
+#define PRTCON                                 (0x0c)
+#define PRTCON_PROTECT                         (1 << 11)
+
 /* VIDTCON0 */
 
 #define VIDTCON0_VBPDE_MASK                    (0xff << 24)