diff options
author | Troy Kisky <troy.kisky@boundarydevices.com> | 2013-02-12 19:46:45 -0700 |
---|---|---|
committer | Troy Kisky <troy.kisky@boundarydevices.com> | 2013-02-13 12:54:55 -0700 |
commit | 82c720893fc5459ee948fdbfd33ba9be2fc4894e (patch) | |
tree | c899c9fc488dd6b6b630d0ef17290f5029ad6845 /include | |
parent | 1764a0e8eba4ee366dfec8590196c8f3d785d867 (diff) |
pwm: add high_perf clock option, fix rounding
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fsl_devices.h | 5 |
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); }; |