mbox series

[GIT,PULL] intel-pinctrl for 6.5-1

Message ID ZJGtpU3049d0bnfU@black.fi.intel.com
State New
Headers show
Series [GIT,PULL] intel-pinctrl for 6.5-1 | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/pinctrl/intel.git tags/intel-pinctrl-v6.5-1

Message

Andy Shevchenko June 20, 2023, 1:46 p.m. UTC
Hi Linux pin control  maintainers,

Traditional PR for Intel pin control drivers for v6.5-rc1. This time not so
big with the most important part that fixes use of OPEN DRAIN pin mode in
a few drivers. That was in Linux Next for several weeks. Please pull.

Thanks,

With Best Regards,
Andy Shevchenko

The following changes since commit ac9a78681b921877518763ba0e89202254349d1b:

  Linux 6.4-rc1 (2023-05-07 13:34:35 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/pinctrl/intel.git tags/intel-pinctrl-v6.5-1

for you to fetch changes up to 9314d0530276aba19fd7b1c62b04eccb8e5327bc:

  pinctrl: cherryview: Drop goto label (2023-06-19 17:03:52 +0300)

----------------------------------------------------------------
intel-pinctrl for v6.5-1

* Fix of OPEN DRAIN pin mode setting in a few drivers
* Reduce a scope of spin lock in the Bay Trail driver
* Decrease a code footprint by refactoring in a few drivers
* Expand string choices and reuse that in the Bay Trail driver

The following is an automated git shortlog grouped by driver:

baytrail:
 -  invert if condition
 -  add warning for BYT_VAL_REG retrieval failure
 -  reduce scope of spinlock in ->dbg_show() hook
 -  Use str_hi_lo() helper
 -  Use BIT() in BYT_PULL_ASSIGN_* definitions
 -  Unify style of error and debug messages

cherryview:
 -  Drop goto label
 -  Return correct value if pin in push-pull mode
 -  Don't use IRQ core constanst for invalid IRQ

intel:
 -  refine ->irq_set_type() hook
 -  refine ->set_mux() hook
 -  Add Intel Meteor Lake-S pin controller support

lib/string_helpers:
 -  Add str_high_low() helper
 -  Split out string_choices.h
 -  Add missing header files to MAINTAINERS database

merrifield:
 -  Use BUFCFG_PINMODE_GPIO in ->pin_dbg_show()
 -  Fix open-drain pin mode configuration

moorefield:
 -  Use BUFCFG_PINMODE_GPIO in ->pin_dbg_show()
 -  Fix open-drain pin mode configuration

----------------------------------------------------------------
Andy Shevchenko (14):
      pinctrl: baytrail: Unify style of error and debug messages
      pinctrl: baytrail: Use BIT() in BYT_PULL_ASSIGN_* definitions
      pinctrl: cherryview: Don't use IRQ core constanst for invalid IRQ
      pinctrl: cherryview: Return correct value if pin in push-pull mode
      pinctrl: merrifield: Fix open-drain pin mode configuration
      pinctrl: merrifield: Use BUFCFG_PINMODE_GPIO in ->pin_dbg_show()
      pinctrl: moorefield: Fix open-drain pin mode configuration
      pinctrl: moorefield: Use BUFCFG_PINMODE_GPIO in ->pin_dbg_show()
      pinctrl: intel: Add Intel Meteor Lake-S pin controller support
      lib/string_helpers: Add missing header files to MAINTAINERS database
      lib/string_helpers: Split out string_choices.h
      lib/string_choices: Add str_high_low() helper
      pinctrl: baytrail: Use str_hi_lo() helper
      pinctrl: cherryview: Drop goto label

Raag Jadav (5):
      pinctrl: intel: refine ->set_mux() hook
      pinctrl: intel: refine ->irq_set_type() hook
      pinctrl: baytrail: reduce scope of spinlock in ->dbg_show() hook
      pinctrl: baytrail: add warning for BYT_VAL_REG retrieval failure
      pinctrl: baytrail: invert if condition

 MAINTAINERS                                |   3 +
 drivers/pinctrl/intel/pinctrl-baytrail.c   | 104 +++++++-------
 drivers/pinctrl/intel/pinctrl-cherryview.c |  26 ++--
 drivers/pinctrl/intel/pinctrl-intel.c      |  54 ++++----
 drivers/pinctrl/intel/pinctrl-merrifield.c |  16 ++-
 drivers/pinctrl/intel/pinctrl-meteorlake.c | 212 ++++++++++++++++++++++++++++-
 drivers/pinctrl/intel/pinctrl-moorefield.c |  16 ++-
 include/linux/string_choices.h             |  44 ++++++
 include/linux/string_helpers.h             |  26 +---
 9 files changed, 371 insertions(+), 130 deletions(-)
 create mode 100644 include/linux/string_choices.h

Comments

Andy Shevchenko June 21, 2023, 1:17 p.m. UTC | #1
On Wed, Jun 21, 2023 at 09:38:46AM +0200, Linus Walleij wrote:
> On Tue, Jun 20, 2023 at 3:46 PM Andy Shevchenko
> <andriy.shevchenko@linux.intel.com> wrote:
> 
> > Traditional PR for Intel pin control drivers for v6.5-rc1. This time not so
> > big with the most important part that fixes use of OPEN DRAIN pin mode in
> > a few drivers. That was in Linux Next for several weeks. Please pull.
> 
> Pulled in for v6.5, excellent work as always!

Thank you, as usual!

Side note: Do you know that you may use --signed-off for `git merge`?
Linus Walleij June 21, 2023, 9:14 p.m. UTC | #2
On Wed, Jun 21, 2023 at 3:17 PM Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:
> On Wed, Jun 21, 2023 at 09:38:46AM +0200, Linus Walleij wrote:
> > On Tue, Jun 20, 2023 at 3:46 PM Andy Shevchenko
> > <andriy.shevchenko@linux.intel.com> wrote:
> >
> > > Traditional PR for Intel pin control drivers for v6.5-rc1. This time not so
> > > big with the most important part that fixes use of OPEN DRAIN pin mode in
> > > a few drivers. That was in Linux Next for several weeks. Please pull.
> >
> > Pulled in for v6.5, excellent work as always!
>
> Thank you, as usual!
>
> Side note: Do you know that you may use --signed-off for `git merge`?

No! But now that you told me I will try to start using it :D

Yours,
Linus Walleij