mfd: intel-lpss: Introduce QUIRK_CLOCK_DIVIDER_UNITY for XPS 9530
authorAleksandrs Vinarskis <alex.vinarskis@gmail.com>
Thu, 21 Dec 2023 18:51:42 +0000 (19:51 +0100)
committerLee Jones <lee@kernel.org>
Fri, 23 Feb 2024 14:58:00 +0000 (14:58 +0000)
commit1d8c51ed2ddcc4161e6496cf14fcd83921c50ec8
tree7e2776dee4639015985b296f997c6bc9d0b2b587
parentac9538f6007e1c80f1b8a62db7ecc391b4d78ae5
mfd: intel-lpss: Introduce QUIRK_CLOCK_DIVIDER_UNITY for XPS 9530

Some devices (eg. Dell XPS 9530, 2023) due to a firmware bug have a
misconfigured clock divider, which should've been 1:1. This introduces
quirk which conditionally re-configures the clock divider to 1:1.

Signed-off-by: Aleksandrs Vinarskis <alex.vinarskis@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20231221185142.9224-3-alex.vinarskis@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/intel-lpss-pci.c
drivers/mfd/intel-lpss.c
drivers/mfd/intel-lpss.h