Linux-GPIO Archive on lore.kernel.org
 help / color / Atom feed
* [GIT PULL] intel-pinctrl for 5.9-1
@ 2020-07-21 13:18 Andy Shevchenko
  2020-07-21 13:59 ` Linus Walleij
  0 siblings, 1 reply; 4+ messages in thread
From: Andy Shevchenko @ 2020-07-21 13:18 UTC (permalink / raw)
  To: Linus Walleij; +Cc: Linux pin control, Mika Westerberg, Andy Shevchenko

Hi Linus,

Intel pin controller driver for v5.9. No conflicts found, no build / other
issues. Nevertheless it contains one fix that has been already applied during
v5.8 cycle.

Thanks,

With Best Regards,
Andy Shevchenko

The following changes since commit b3a9e3b9622ae10064826dccb4f7a52bd88c7407:

  Linux 5.8-rc1 (2020-06-14 12:45:04 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/pinctrl/intel.git tags/intel-pinctrl-v5.9-1

for you to fetch changes up to b4f2fcb534875e2e57c96a0358267f2109d68004:

  pinctrl: intel: Add Intel Emmitsburg pin controller support (2020-07-21 11:44:21 +0300)

----------------------------------------------------------------
intel-pinctrl for v5.9-1

* New driver for Emmitsburg
* New driver for Tiger Lake-H
* Part 3 of Cherryview driver clean up
* Fix a glitch on Baytrail platforms

The following is an automated git shortlog grouped by driver:

ARM/orion/gpio:
 -  Make use of for_each_requested_gpio()

at91:
 -  Make use of for_each_requested_gpio()

baytrail:
 -  Use fallthrough pseudo-keyword
 -  Fix pin being driven low for a while on gpiod_get(..., GPIOD_OUT_HIGH)
 -  Drop no-op ACPI_PTR() call

cherryview:
 -  Re-use data structures from pinctrl-intel.h (part 3)
 -  Convert chv_writel() to use chv_padreg()
 -  Introduce helpers to IO with common registers
 -  Introduce chv_readl() helper

gpio:
 -  xra1403: Make use of for_each_requested_gpio()
 -  mvebu: Make use of for_each_requested_gpio()

gpiolib:
 -  Introduce for_each_requested_gpio_in_range() macro

intel:
 -  Add Intel Emmitsburg pin controller support
 -  Make use of for_each_requested_gpio_in_range()
 -  Protect IO in few call backs by lock
 -  Split intel_config_get() to three functions
 -  Drop the only label in the code for consistency
 -  Get rid of redundant 'else' in intel_config_set_debounce()
 -  Make use of IRQ_RETVAL()
 -  Reduce scope of the lock
 -  Disable input and output buffer when switching to GPIO
 -  Allow drivers to define ACPI address space ID
 -  Allow drivers to define total amount of IRQs per community

lynxpoint:
 -  Drop no-op ACPI_PTR() call
 -  Introduce helpers to enable or disable input
 -  Make use of for_each_requested_gpio()

merrifield:
 -  Add I²S bus 2 pins to groups and functions
 -  Update pin names in accordance with official list

tigerlake:
 -  Add support for Tiger Lake-H

----------------------------------------------------------------
Andy Shevchenko (26):
      gpiolib: Introduce for_each_requested_gpio_in_range() macro
      ARM/orion/gpio: Make use of for_each_requested_gpio()
      gpio: mvebu: Make use of for_each_requested_gpio()
      gpio: xra1403: Make use of for_each_requested_gpio()
      pinctrl: at91: Make use of for_each_requested_gpio()
      pinctrl: cherryview: Introduce chv_readl() helper
      pinctrl: cherryview: Introduce helpers to IO with common registers
      pinctrl: cherryview: Convert chv_writel() to use chv_padreg()
      pinctrl: intel: Allow drivers to define total amount of IRQs per community
      pinctrl: intel: Allow drivers to define ACPI address space ID
      pinctrl: cherryview: Re-use data structures from pinctrl-intel.h (part 3)
      pinctrl: intel: Disable input and output buffer when switching to GPIO
      pinctrl: intel: Reduce scope of the lock
      pinctrl: intel: Make use of IRQ_RETVAL()
      pinctrl: intel: Get rid of redundant 'else' in intel_config_set_debounce()
      pinctrl: intel: Drop the only label in the code for consistency
      pinctrl: intel: Split intel_config_get() to three functions
      pinctrl: intel: Protect IO in few call backs by lock
      pinctrl: intel: Make use of for_each_requested_gpio_in_range()
      pinctrl: lynxpoint: Make use of for_each_requested_gpio()
      pinctrl: lynxpoint: Introduce helpers to enable or disable input
      pinctrl: lynxpoint: Drop no-op ACPI_PTR() call
      pinctrl: baytrail: Drop no-op ACPI_PTR() call
      pinctrl: merrifield: Update pin names in accordance with official list
      pinctrl: merrifield: Add I²S bus 2 pins to groups and functions
      pinctrl: intel: Add Intel Emmitsburg pin controller support

Gustavo A. R. Silva (1):
      pinctrl: baytrail: Use fallthrough pseudo-keyword

Hans de Goede (1):
      pinctrl: baytrail: Fix pin being driven low for a while on gpiod_get(..., GPIOD_OUT_HIGH)

Mika Westerberg (1):
      pinctrl: tigerlake: Add support for Tiger Lake-H

 arch/arm/plat-orion/gpio.c                 |   8 +-
 drivers/gpio/gpio-mvebu.c                  |   8 +-
 drivers/gpio/gpio-xra1403.c                |   8 +-
 drivers/pinctrl/intel/Kconfig              |   8 +
 drivers/pinctrl/intel/Makefile             |   1 +
 drivers/pinctrl/intel/pinctrl-baytrail.c   |  74 +++--
 drivers/pinctrl/intel/pinctrl-cherryview.c | 418 +++++++++++++++--------------
 drivers/pinctrl/intel/pinctrl-emmitsburg.c | 387 ++++++++++++++++++++++++++
 drivers/pinctrl/intel/pinctrl-intel.c      | 192 ++++++++-----
 drivers/pinctrl/intel/pinctrl-intel.h      |   4 +
 drivers/pinctrl/intel/pinctrl-lynxpoint.c  |  28 +-
 drivers/pinctrl/intel/pinctrl-merrifield.c |  50 ++--
 drivers/pinctrl/intel/pinctrl-tigerlake.c  | 358 ++++++++++++++++++++++++
 drivers/pinctrl/pinctrl-at91.c             |   7 +-
 include/linux/gpio/driver.h                |  16 ++
 15 files changed, 1215 insertions(+), 352 deletions(-)
 create mode 100644 drivers/pinctrl/intel/pinctrl-emmitsburg.c

-- 
With Best Regards,
Andy Shevchenko



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [GIT PULL] intel-pinctrl for 5.9-1
  2020-07-21 13:18 [GIT PULL] intel-pinctrl for 5.9-1 Andy Shevchenko
@ 2020-07-21 13:59 ` Linus Walleij
  2020-07-21 14:05   ` Andy Shevchenko
  0 siblings, 1 reply; 4+ messages in thread
From: Linus Walleij @ 2020-07-21 13:59 UTC (permalink / raw)
  To: Andy Shevchenko; +Cc: Linux pin control, Mika Westerberg

Hi Andy!

On Tue, Jul 21, 2020 at 3:18 PM Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:

> ARM/orion/gpio:
>  -  Make use of for_each_requested_gpio()
>
> at91:
>  -  Make use of for_each_requested_gpio()
(...)
> gpio:
>  -  xra1403: Make use of for_each_requested_gpio()
>  -  mvebu: Make use of for_each_requested_gpio()

Are these dependent on this:

> gpiolib:
>  -  Introduce for_each_requested_gpio_in_range() macro

Because if they only need for_each_requested_gpio()
I could just merge it to the gpio tree, since I have merged
the immutable branch for that into both trees. Then I'd
prefer to have one pinctrl and one gpio pull request.

However if they explicitly need for_each_requested_gpio_in_range()
I say I can compromise and merge it all into pinctrl.

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [GIT PULL] intel-pinctrl for 5.9-1
  2020-07-21 13:59 ` Linus Walleij
@ 2020-07-21 14:05   ` Andy Shevchenko
  2020-07-22 13:59     ` Linus Walleij
  0 siblings, 1 reply; 4+ messages in thread
From: Andy Shevchenko @ 2020-07-21 14:05 UTC (permalink / raw)
  To: Linus Walleij; +Cc: Andy Shevchenko, Linux pin control, Mika Westerberg

On Tue, Jul 21, 2020 at 4:59 PM Linus Walleij <linus.walleij@linaro.org> wrote:
> On Tue, Jul 21, 2020 at 3:18 PM Andy Shevchenko
> <andriy.shevchenko@linux.intel.com> wrote:
>
> > ARM/orion/gpio:
> >  -  Make use of for_each_requested_gpio()
> >
> > at91:
> >  -  Make use of for_each_requested_gpio()
> (...)
> > gpio:
> >  -  xra1403: Make use of for_each_requested_gpio()
> >  -  mvebu: Make use of for_each_requested_gpio()
>
> Are these dependent on this:
>
> > gpiolib:
> >  -  Introduce for_each_requested_gpio_in_range() macro
>
> Because if they only need for_each_requested_gpio()
> I could just merge it to the gpio tree, since I have merged
> the immutable branch for that into both trees. Then I'd
> prefer to have one pinctrl and one gpio pull request.
>
> However if they explicitly need for_each_requested_gpio_in_range()
> I say I can compromise and merge it all into pinctrl.

It uses usual practice, i.e. merge of immutable branches. The pin
control stuff is dependent on this immutable branch (first patch).

I would like to avoid rebasing and doing it differently.

P.S. It should be no-op from Git perspective.

-- 
With Best Regards,
Andy Shevchenko

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [GIT PULL] intel-pinctrl for 5.9-1
  2020-07-21 14:05   ` Andy Shevchenko
@ 2020-07-22 13:59     ` Linus Walleij
  0 siblings, 0 replies; 4+ messages in thread
From: Linus Walleij @ 2020-07-22 13:59 UTC (permalink / raw)
  To: Andy Shevchenko; +Cc: Andy Shevchenko, Linux pin control, Mika Westerberg

On Tue, Jul 21, 2020 at 4:06 PM Andy Shevchenko
<andy.shevchenko@gmail.com> wrote:

> It uses usual practice, i.e. merge of immutable branches. The pin
> control stuff is dependent on this immutable branch (first patch).
>
> I would like to avoid rebasing and doing it differently.
>
> P.S. It should be no-op from Git perspective.

Ahh I see, yeah this is the situation when the shortlog becomes
quite confusing.

No problem, pulled it in now!

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, back to index

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-21 13:18 [GIT PULL] intel-pinctrl for 5.9-1 Andy Shevchenko
2020-07-21 13:59 ` Linus Walleij
2020-07-21 14:05   ` Andy Shevchenko
2020-07-22 13:59     ` Linus Walleij

Linux-GPIO Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-gpio/0 linux-gpio/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-gpio linux-gpio/ https://lore.kernel.org/linux-gpio \
		linux-gpio@vger.kernel.org
	public-inbox-index linux-gpio

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-gpio


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git