diff options
author | Aleksandrs Vinarskis <alex.vinarskis@gmail.com> | 2023-12-21 19:51:42 +0100 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2024-02-23 14:58:00 +0000 |
commit | 1d8c51ed2ddcc4161e6496cf14fcd83921c50ec8 (patch) | |
tree | 7e2776dee4639015985b296f997c6bc9d0b2b587 /drivers/mfd/intel-lpss.h | |
parent | ac9538f6007e1c80f1b8a62db7ecc391b4d78ae5 (diff) |
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>
Diffstat (limited to 'drivers/mfd/intel-lpss.h')
-rw-r--r-- | drivers/mfd/intel-lpss.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mfd/intel-lpss.h b/drivers/mfd/intel-lpss.h index 2fa9ef916258..6f8f668f4c6f 100644 --- a/drivers/mfd/intel-lpss.h +++ b/drivers/mfd/intel-lpss.h @@ -19,6 +19,11 @@ * Set to ignore resource conflicts with ACPI declared SystemMemory regions. */ #define QUIRK_IGNORE_RESOURCE_CONFLICTS BIT(0) +/* + * Some devices have misconfigured clock divider due to a firmware bug. + * Set this to force the clock divider to 1:1 ratio. + */ +#define QUIRK_CLOCK_DIVIDER_UNITY BIT(1) struct device; struct resource; |