summaryrefslogtreecommitdiff
path: root/include/linux/fsl_devices.h
diff options
context:
space:
mode:
authorYuxi Sun <b36102@freescale.com>2011-04-13 11:08:02 +0800
committerJason Liu <r64343@freescale.com>2012-07-20 13:13:04 +0800
commitcae5003a8c82492f55f9e5f69291b9dd7a3d304b (patch)
treee403d658f6be0b286d50e26bedeb098f51322e9f /include/linux/fsl_devices.h
parente54570eaddeabc5e03ef13eb74ea7de186f60905 (diff)
ENGR00141987-2 add the definition of pwm platform data
Add the definition of pwm platform data Signed-off-by: Sun Yuxi <b36102@freescale.com>
Diffstat (limited to 'include/linux/fsl_devices.h')
-rw-r--r--include/linux/fsl_devices.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h
index 7e41d6d279d6..d28f9db2d4ed 100644
--- a/include/linux/fsl_devices.h
+++ b/include/linux/fsl_devices.h
@@ -283,6 +283,12 @@ struct mxc_audio_platform_data {
void *priv; /* used by board specific functions */
};
+struct mxc_pwm_platform_data {
+ int pwmo_invert;
+ void (*enable_pwm_pad) (void);
+ void (*disable_pwm_pad) (void);
+};
+
/* Returns non-zero if the current suspend operation would
* lead to a deep sleep (i.e. power removed from the core,
* instead of just the clock).