diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-powerpc/cpm2.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/asm-powerpc/cpm2.h b/include/asm-powerpc/cpm2.h index 41a45db0c8b1..d7b57ac55892 100644 --- a/include/asm-powerpc/cpm2.h +++ b/include/asm-powerpc/cpm2.h | |||
@@ -1247,5 +1247,14 @@ enum cpm_clk { | |||
1247 | extern int cpm2_clk_setup(enum cpm_clk_target target, int clock, int mode); | 1247 | extern int cpm2_clk_setup(enum cpm_clk_target target, int clock, int mode); |
1248 | extern int cpm2_smc_clk_setup(enum cpm_clk_target target, int clock); | 1248 | extern int cpm2_smc_clk_setup(enum cpm_clk_target target, int clock); |
1249 | 1249 | ||
1250 | #define CPM_PIN_INPUT 0 | ||
1251 | #define CPM_PIN_OUTPUT 1 | ||
1252 | #define CPM_PIN_PRIMARY 0 | ||
1253 | #define CPM_PIN_SECONDARY 2 | ||
1254 | #define CPM_PIN_GPIO 4 | ||
1255 | #define CPM_PIN_OPENDRAIN 8 | ||
1256 | |||
1257 | void cpm2_set_pin(int port, int pin, int flags); | ||
1258 | |||
1250 | #endif /* __CPM2__ */ | 1259 | #endif /* __CPM2__ */ |
1251 | #endif /* __KERNEL__ */ | 1260 | #endif /* __KERNEL__ */ |