Re: [PATCH 0/6] pinctrl: Fixes and updates to Intel drivers
From: Andy Shevchenko
Date: Wed Jan 04 2017 - 18:20:06 EST
On Wed, Jan 4, 2017 at 5:31 PM, Mika Westerberg
<mika.westerberg@xxxxxxxxxxxxxxx> wrote:
> This series fixes one issue found on Broxton, updates the core driver to
> use devm_gpiochip_add_data() and finally add support for the next
> generation Intel GPIO hardware available starting from Intel Gemini Lake SoC.
>
> The Gemini Lake SoC brings hardware debouncer per-pad and 1k additional
> pull-down. In order to configure the hardware debouncer, this series adds a
> new function to pinctrl core; pinctrl_gpio_set_config(). This function can
> be used by gpiolib-based GPIO drivers to ask the backing pinctrl driver to
> apply certain configuration, like setting debounce time.
>
I'm not sure about patch 3, the rest, after addressing comments, looks
pretty good to me:
Reviewed-by: Andy Shevchenko <andy.shevchenko@xxxxxxxxx>
> Mika Westerberg (6):
> pinctrl: broxton: Use correct PADCFGLOCK offset
> pinctrl: intel: Convert to use devm_gpiochip_add_data()
> pinctrl: Add a possibility to configure pins from a gpiolib based drivers
> pinctrl: intel: Add support for hardware debouncer
> pinctrl: intel: Add support for 1k additional pull-down
> pinctrl: intel: Add Intel Gemini Lake pin controller support
>
> drivers/pinctrl/core.c | 28 ++
> drivers/pinctrl/intel/Kconfig | 8 +
> drivers/pinctrl/intel/Makefile | 1 +
> drivers/pinctrl/intel/pinctrl-broxton.c | 3 +-
> drivers/pinctrl/intel/pinctrl-geminilake.c | 512 +++++++++++++++++++++++++++
> drivers/pinctrl/intel/pinctrl-intel.c | 178 ++++++++--
> drivers/pinctrl/intel/pinctrl-intel.h | 8 +-
> drivers/pinctrl/intel/pinctrl-sunrisepoint.c | 1 -
> drivers/pinctrl/pinconf.c | 12 +
> drivers/pinctrl/pinconf.h | 10 +
> include/linux/pinctrl/consumer.h | 8 +
> 11 files changed, 744 insertions(+), 25 deletions(-)
> create mode 100644 drivers/pinctrl/intel/pinctrl-geminilake.c
>
> --
> 2.11.0
>
--
With Best Regards,
Andy Shevchenko