This a set of the bugfixes and cleanups I have collected so far while testing the driver on Intel Galileo Gen 1 last year. Patches 1-2 are kinda important fixes, patch 3 is half-half, it helps a lot when debugging, patch 4 is semantically a fix, but can wait. The rest is number of refactoring and cleaning up changes. Changelog v2: - dropped wrong patch (Patrick) - reshuffled fixes from most important to less important (Linus) - rebased on top of v6.14-rc1 Andy Shevchenko (14): pinctrl: cy8c95x0: Fix off-by-one in the regmap range settings pinctrl: cy8c95x0: Avoid accessing reserved registers pinctrl: cy8c95x0: Enable regmap locking for debug pinctrl: cy8c95x0: Rename PWMSEL to SELPWM pinctrl: cy8c95x0: Use better bitmap APIs where appropriate pinctrl: cy8c95x0; Switch to use for_each_set_clump8() pinctrl: cy8c95x0: Transform to cy8c95x0_regmap_read_bits() pinctrl: cy8c95x0: Remove redundant check in cy8c95x0_regmap_update_bits_base() pinctrl: cy8c95x0: Replace 'return ret' by 'return 0' in some cases pinctrl: cy8c95x0: Initialise boolean variable with boolean values pinctrl: cy8c95x0: Get rid of cy8c95x0_pinmux_direction() forward declaration pinctrl: cy8c95x0: Drop unneeded casting pinctrl: cy8c95x0: Separate EEPROM related register definitios pinctrl: cy8c95x0: Fix comment style drivers/pinctrl/pinctrl-cy8c95x0.c | 231 ++++++++++++++--------------- 1 file changed, 112 insertions(+), 119 deletions(-) -- 2.43.0.rc1.1336.g36b5255a03ac