瀏覽代碼

Blackfin arch: Add BF561 PPI POLS, POLC Masks

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Michael Hennerich 17 年之前
父節點
當前提交
772c258fd0
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      arch/blackfin/mach-bf561/include/mach/defBF561.h

+ 2 - 0
arch/blackfin/mach-bf561/include/mach/defBF561.h

@@ -1106,6 +1106,8 @@
 #define DLEN_8		     0x0	/* PPI Data Length mask for DLEN=8 */
 #define DLEN_8		     0x0	/* PPI Data Length mask for DLEN=8 */
 #define DLEN(x)	(((x-9) & 0x07) << 11)	/* PPI Data Length (only works for x=10-->x=16) */
 #define DLEN(x)	(((x-9) & 0x07) << 11)	/* PPI Data Length (only works for x=10-->x=16) */
 #define POL                  0x0000C000	/* PPI Signal Polarities       */
 #define POL                  0x0000C000	/* PPI Signal Polarities       */
+#define	POLC		0x4000		/* PPI Clock Polarity */
+#define	POLS		0x8000		/* PPI Frame Sync Polarity */
 
 
 /* PPI_STATUS Masks */
 /* PPI_STATUS Masks */
 #define FLD	             0x00000400	/* Field Indicator   */
 #define FLD	             0x00000400	/* Field Indicator   */