]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
pinctrl: intel: Fix the revision for new features (1kOhm PD, HW debouncer)
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 11 Mar 2026 17:14:04 +0000 (18:14 +0100)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 19 Mar 2026 06:58:53 +0000 (07:58 +0100)
The 1kOhm pull down and hardware debouncer are features of the revision 0.92
of the Chassis specification. Fix that in the code accordingly.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/pinctrl/intel/pinctrl-intel.c

index adaa37a42754e6d30987a9076f4c6a1910ad8edb..a5a264ba6fbb81be1ab371f3fb666327ba03ac7d 100644 (file)
@@ -1611,7 +1611,7 @@ int intel_pinctrl_probe(struct platform_device *pdev,
                value = readl(regs + REVID);
                if (value == ~0u)
                        return -ENODEV;
-               if (((value & REVID_MASK) >> REVID_SHIFT) >= 0x94) {
+               if (((value & REVID_MASK) >> REVID_SHIFT) >= 0x92) {
                        community->features |= PINCTRL_FEATURE_DEBOUNCE;
                        community->features |= PINCTRL_FEATURE_1K_PD;
                }