diff options
Diffstat (limited to 'drivers/pwm/pwm-lpss.c')
-rw-r--r-- | drivers/pwm/pwm-lpss.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/pwm/pwm-lpss.c b/drivers/pwm/pwm-lpss.c index 4df994f72d96..d04eee7aa967 100644 --- a/drivers/pwm/pwm-lpss.c +++ b/drivers/pwm/pwm-lpss.c | |||
@@ -48,6 +48,11 @@ static const struct pwm_lpss_boardinfo byt_info = { | |||
48 | 25000000 | 48 | 25000000 |
49 | }; | 49 | }; |
50 | 50 | ||
51 | /* Braswell */ | ||
52 | static const struct pwm_lpss_boardinfo bsw_info = { | ||
53 | 19200000 | ||
54 | }; | ||
55 | |||
51 | static inline struct pwm_lpss_chip *to_lpwm(struct pwm_chip *chip) | 56 | static inline struct pwm_lpss_chip *to_lpwm(struct pwm_chip *chip) |
52 | { | 57 | { |
53 | return container_of(chip, struct pwm_lpss_chip, chip); | 58 | return container_of(chip, struct pwm_lpss_chip, chip); |
@@ -189,6 +194,8 @@ static void pwm_lpss_remove_pci(struct pci_dev *pdev) | |||
189 | static struct pci_device_id pwm_lpss_pci_ids[] = { | 194 | static struct pci_device_id pwm_lpss_pci_ids[] = { |
190 | { PCI_VDEVICE(INTEL, 0x0f08), (unsigned long)&byt_info}, | 195 | { PCI_VDEVICE(INTEL, 0x0f08), (unsigned long)&byt_info}, |
191 | { PCI_VDEVICE(INTEL, 0x0f09), (unsigned long)&byt_info}, | 196 | { PCI_VDEVICE(INTEL, 0x0f09), (unsigned long)&byt_info}, |
197 | { PCI_VDEVICE(INTEL, 0x2288), (unsigned long)&bsw_info}, | ||
198 | { PCI_VDEVICE(INTEL, 0x2289), (unsigned long)&bsw_info}, | ||
192 | { }, | 199 | { }, |
193 | }; | 200 | }; |
194 | MODULE_DEVICE_TABLE(pci, pwm_lpss_pci_ids); | 201 | MODULE_DEVICE_TABLE(pci, pwm_lpss_pci_ids); |
@@ -231,6 +238,7 @@ static int pwm_lpss_remove_platform(struct platform_device *pdev) | |||
231 | 238 | ||
232 | static const struct acpi_device_id pwm_lpss_acpi_match[] = { | 239 | static const struct acpi_device_id pwm_lpss_acpi_match[] = { |
233 | { "80860F09", (unsigned long)&byt_info }, | 240 | { "80860F09", (unsigned long)&byt_info }, |
241 | { "80862288", (unsigned long)&bsw_info }, | ||
234 | { }, | 242 | { }, |
235 | }; | 243 | }; |
236 | MODULE_DEVICE_TABLE(acpi, pwm_lpss_acpi_match); | 244 | MODULE_DEVICE_TABLE(acpi, pwm_lpss_acpi_match); |