diff options
author | Troy Kisky <troy.kisky@boundarydevices.com> | 2013-02-12 19:46:45 -0700 |
---|---|---|
committer | Eric Nelson <eric.nelson@boundarydevices.com> | 2013-06-02 09:51:04 -0700 |
commit | a8f783c71d1f263fd2d6c6043aa1c0ab147523ce (patch) | |
tree | 05da1f0cdaef4a5e5480df050dd36b1c00081dbd /include | |
parent | 7828b980e065cc589be9d46d6917f64e984736d7 (diff) |
pwm: add high_perf clock option, fix rounding
Conflicts:
arch/arm/plat-mxc/pwm.c
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 ac56f18c53a3..219994b14de7 100644 --- a/include/linux/fsl_devices.h +++ b/include/linux/fsl_devices.h @@ -403,6 +403,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); }; |