diff options
Diffstat (limited to 'drivers/pwm/pwm-lpss-platform.c')
-rw-r--r-- | drivers/pwm/pwm-lpss-platform.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/drivers/pwm/pwm-lpss-platform.c b/drivers/pwm/pwm-lpss-platform.c index 54433fc6d1a4..b22b6fdadb9a 100644 --- a/drivers/pwm/pwm-lpss-platform.c +++ b/drivers/pwm/pwm-lpss-platform.c | |||
@@ -18,6 +18,27 @@ | |||
18 | 18 | ||
19 | #include "pwm-lpss.h" | 19 | #include "pwm-lpss.h" |
20 | 20 | ||
21 | /* BayTrail */ | ||
22 | static const struct pwm_lpss_boardinfo pwm_lpss_byt_info = { | ||
23 | .clk_rate = 25000000, | ||
24 | .npwm = 1, | ||
25 | .base_unit_bits = 16, | ||
26 | }; | ||
27 | |||
28 | /* Braswell */ | ||
29 | static const struct pwm_lpss_boardinfo pwm_lpss_bsw_info = { | ||
30 | .clk_rate = 19200000, | ||
31 | .npwm = 1, | ||
32 | .base_unit_bits = 16, | ||
33 | }; | ||
34 | |||
35 | /* Broxton */ | ||
36 | static const struct pwm_lpss_boardinfo pwm_lpss_bxt_info = { | ||
37 | .clk_rate = 19200000, | ||
38 | .npwm = 4, | ||
39 | .base_unit_bits = 22, | ||
40 | }; | ||
41 | |||
21 | static int pwm_lpss_probe_platform(struct platform_device *pdev) | 42 | static int pwm_lpss_probe_platform(struct platform_device *pdev) |
22 | { | 43 | { |
23 | const struct pwm_lpss_boardinfo *info; | 44 | const struct pwm_lpss_boardinfo *info; |