summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTroy Kisky <troy.kisky@boundarydevices.com>2013-02-12 19:46:45 -0700
committerTroy Kisky <troy.kisky@boundarydevices.com>2013-02-13 12:54:55 -0700
commit82c720893fc5459ee948fdbfd33ba9be2fc4894e (patch)
treec899c9fc488dd6b6b630d0ef17290f5029ad6845 /include
parent1764a0e8eba4ee366dfec8590196c8f3d785d867 (diff)
pwm: add high_perf clock option, fix rounding
Diffstat (limited to 'include')
-rw-r--r--include/linux/fsl_devices.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h
index 78a50acf22a0..f8c1a469bee4 100644
--- a/include/linux/fsl_devices.h
+++ b/include/linux/fsl_devices.h
@@ -400,6 +400,11 @@ struct mxc_audio_codec_platform_data {
struct mxc_pwm_platform_data {
int pwmo_invert;
+#define PWM_CLK_DEFAULT 0
+#define PWM_CLK_HIGHPERF 1
+#define PWM_CLK_HIGHFREQ 2
+#define PWM_CLK_32K 3
+ int clk_select;
void (*enable_pwm_pad) (void);
void (*disable_pwm_pad) (void);
};