]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00141987-2 add the definition of pwm platform data
authorYuxi Sun <b36102@freescale.com>
Wed, 13 Apr 2011 03:08:02 +0000 (11:08 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:08:54 +0000 (14:08 +0200)
Add the definition of pwm platform data

Signed-off-by: Sun Yuxi <b36102@freescale.com>
include/linux/fsl_devices.h

index 7e41d6d279d6d1907bdd2b9bafce67e89230ecab..d28f9db2d4eda43974078ba24dead0247d83e4d0 100644 (file)
@@ -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).