mbox series

[GIT,PULL] intel-gpio for 6.3-1

Message ID ZAYCRPsKR8Je6LOW@black.fi.intel.com (mailing list archive)
State New, archived
Headers show
Series [GIT,PULL] intel-gpio for 6.3-1 | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/andy/linux-gpio-intel.git tags/intel-gpio-v6.3-1

Message

Andy Shevchenko March 6, 2023, 3:09 p.m. UTC
Hi Linux GPIO maintainers et al.,

Combined series to clean up headers in the GPIO library and drivers.
Along with it, drop a few unused legacy APIs.

This tag is immutable, enjoy!

Thanks,

With Best Regards,
Andy Shevchenko

The following changes since commit fe15c26ee26efa11741a7b632e9f23b01aca4cc6:

  Linux 6.3-rc1 (2023-03-05 14:52:03 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/andy/linux-gpio-intel.git tags/intel-gpio-v6.3-1

for you to fetch changes up to 380c7ba3923c6e471aff0f951a6cf42e8dec2c79:

  gpiolib: Clean up headers (2023-03-06 12:33:02 +0200)

----------------------------------------------------------------
intel-gpio for v6.3-1

* Remove some of the legacy APIs that are not used anymore
* Clean up headers in the GPIO library and drivers

The following is an automated git shortlog grouped by driver:

aggregator:
 -  Add missing header(s)

ARM:
 -  s3c64xx: Use the right include
 -  orion/gpio: Use the right include

gpiolib:
 -  Clean up headers
 -  Group forward declarations in consumer.h
 -  Deduplicate forward declarations in consumer.h
 -  Drop unused forward declaration from driver.h
 -  split of_mm_gpio_chip out of linux/of_gpio.h
 -  split linux/gpio/driver.h out of linux/gpio.h
 -  remove legacy gpio_export()
 -  remove gpio_set_debounce()
 -  remove asm-generic/gpio.h
 -  coldfire: remove custom asm/gpio.h
 -  remove empty asm/gpio.h files
 -  Make the legacy <linux/gpio.h> consumer-only

hte:
 -  tegra-194: Use proper includes

reg:
 -  Add missing header(s)

regmap:
 -  Add missing header(s)

----------------------------------------------------------------
Andy Shevchenko (7):
      gpio: aggregator: Add missing header(s)
      gpio: reg: Add missing header(s)
      gpio: regmap: Add missing header(s)
      gpiolib: Drop unused forward declaration from driver.h
      gpiolib: Deduplicate forward declarations in consumer.h
      gpiolib: Group forward declarations in consumer.h
      gpiolib: Clean up headers

Arnd Bergmann (7):
      gpiolib: remove empty asm/gpio.h files
      gpiolib: coldfire: remove custom asm/gpio.h
      gpiolib: remove asm-generic/gpio.h
      gpiolib: remove gpio_set_debounce()
      gpiolib: remove legacy gpio_export()
      gpiolib: split linux/gpio/driver.h out of linux/gpio.h
      gpiolib: split of_mm_gpio_chip out of linux/of_gpio.h

Linus Walleij (4):
      ARM: orion/gpio: Use the right include
      ARM: s3c64xx: Use the right include
      hte: tegra-194: Use proper includes
      gpiolib: Make the legacy <linux/gpio.h> consumer-only

 Documentation/admin-guide/gpio/sysfs.rst           |   2 +-
 Documentation/driver-api/gpio/legacy.rst           |  23 ----
 .../translations/zh_CN/driver-api/gpio/legacy.rst  |  20 ---
 Documentation/translations/zh_TW/gpio.txt          |  19 ---
 MAINTAINERS                                        |   1 -
 arch/arm/Kconfig                                   |   1 -
 arch/arm/include/asm/gpio.h                        |  21 ---
 arch/arm/mach-omap1/irq.c                          |   1 +
 arch/arm/mach-omap2/pdata-quirks.c                 |   9 +-
 arch/arm/mach-orion5x/board-rd88f5182.c            |   1 +
 arch/arm/mach-s3c/s3c64xx.c                        |   2 +-
 arch/arm/mach-sa1100/assabet.c                     |   1 +
 arch/arm/plat-orion/gpio.c                         |   5 +-
 arch/m68k/Kconfig.cpu                              |   1 -
 arch/m68k/include/asm/gpio.h                       |  95 -------------
 arch/m68k/include/asm/mcfgpio.h                    |   2 +-
 arch/powerpc/platforms/44x/Kconfig                 |   1 +
 arch/powerpc/platforms/4xx/gpio.c                  |   2 +-
 arch/powerpc/platforms/8xx/Kconfig                 |   1 +
 arch/powerpc/platforms/8xx/cpm1.c                  |   2 +-
 arch/powerpc/platforms/Kconfig                     |   2 +
 arch/powerpc/sysdev/cpm_common.c                   |   2 +-
 arch/sh/Kconfig                                    |   1 -
 arch/sh/boards/board-magicpanelr2.c                |   1 +
 arch/sh/boards/mach-ap325rxa/setup.c               |   7 +-
 arch/sh/include/asm/gpio.h                         |  45 -------
 drivers/gpio/Kconfig                               |  19 +--
 drivers/gpio/TODO                                  |  15 ++-
 drivers/gpio/gpio-aggregator.c                     |   9 +-
 drivers/gpio/gpio-altera.c                         |   2 +-
 drivers/gpio/gpio-davinci.c                        |   2 -
 drivers/gpio/gpio-mm-lantiq.c                      |   2 +-
 drivers/gpio/gpio-mpc5200.c                        |   2 +-
 drivers/gpio/gpio-reg.c                            |  12 +-
 drivers/gpio/gpio-regmap.c                         |  12 +-
 drivers/gpio/gpiolib-acpi.c                        |  10 +-
 drivers/gpio/gpiolib-acpi.h                        |   1 -
 drivers/gpio/gpiolib-of.c                          |   9 +-
 drivers/gpio/gpiolib-of.h                          |   1 -
 drivers/gpio/gpiolib-swnode.c                      |   5 +-
 drivers/gpio/gpiolib-sysfs.c                       |  25 +++-
 drivers/gpio/gpiolib.c                             |   9 +-
 drivers/hte/hte-tegra194-test.c                    |  10 +-
 drivers/input/touchscreen/ads7846.c                |   5 +-
 drivers/media/pci/sta2x11/sta2x11_vip.c            |  10 +-
 drivers/net/ieee802154/ca8210.c                    |   3 +-
 .../net/wireless/broadcom/brcm80211/brcmsmac/led.c |   1 +
 drivers/pinctrl/core.c                             |   1 -
 drivers/soc/fsl/qe/gpio.c                          |   2 +-
 include/asm-generic/gpio.h                         | 147 ---------------------
 include/linux/gpio.h                               | 104 +++++++++------
 include/linux/gpio/consumer.h                      |  24 ++--
 include/linux/gpio/driver.h                        |  31 +++--
 include/linux/gpio/legacy-of-mm-gpiochip.h         |  36 +++++
 include/linux/mfd/ucb1x00.h                        |   1 +
 include/linux/of_gpio.h                            |  21 ---
 56 files changed, 271 insertions(+), 528 deletions(-)
 delete mode 100644 arch/arm/include/asm/gpio.h
 delete mode 100644 arch/m68k/include/asm/gpio.h
 delete mode 100644 arch/sh/include/asm/gpio.h
 delete mode 100644 include/asm-generic/gpio.h
 create mode 100644 include/linux/gpio/legacy-of-mm-gpiochip.h

Comments

Linus Walleij March 6, 2023, 9:50 p.m. UTC | #1
On Mon, Mar 6, 2023 at 4:14 PM Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:

> Hi Linux GPIO maintainers et al.,
>
> Combined series to clean up headers in the GPIO library and drivers.
> Along with it, drop a few unused legacy APIs.
>
> This tag is immutable, enjoy!

Thanks for coordinating and getting this sorted and tested Andy, perfect
job as always!

> intel-gpio for v6.3-1

But I think you mean it for v6.4?

Yours,
Linus Walleij
Andy Shevchenko March 6, 2023, 10:35 p.m. UTC | #2
Mon, Mar 06, 2023 at 10:50:40PM +0100, Linus Walleij kirjoitti:
> On Mon, Mar 6, 2023 at 4:14 PM Andy Shevchenko
> <andriy.shevchenko@linux.intel.com> wrote:
> 
> > Hi Linux GPIO maintainers et al.,
> >
> > Combined series to clean up headers in the GPIO library and drivers.
> > Along with it, drop a few unused legacy APIs.
> >
> > This tag is immutable, enjoy!
> 
> Thanks for coordinating and getting this sorted and tested Andy, perfect
> job as always!

You're welcome!

> > intel-gpio for v6.3-1
> 
> But I think you mean it for v6.4?

Well, techically speaking it didn't make v6.3-rc1 due to cross-dependencies.
Starting from it it may be applied to v6.3 or to v6.4.

Up to you and Bart, but I prefer not to rebrand the tag, if it's an option.
Arnd Bergmann March 7, 2023, 8:09 a.m. UTC | #3
On Mon, Mar 6, 2023, at 23:35, andy.shevchenko@gmail.com wrote:
> Mon, Mar 06, 2023 at 10:50:40PM +0100, Linus Walleij kirjoitti:
>> On Mon, Mar 6, 2023 at 4:14 PM Andy Shevchenko
>> <andriy.shevchenko@linux.intel.com> wrote:
>> 
>> > Hi Linux GPIO maintainers et al.,
>> >
>> > Combined series to clean up headers in the GPIO library and drivers.
>> > Along with it, drop a few unused legacy APIs.
>> >
>> > This tag is immutable, enjoy!
>> 
>> Thanks for coordinating and getting this sorted and tested Andy, perfect
>> job as always!
>
> You're welcome!
>
>> > intel-gpio for v6.3-1
>> 
>> But I think you mean it for v6.4?
>
> Well, techically speaking it didn't make v6.3-rc1 due to cross-dependencies.
> Starting from it it may be applied to v6.3 or to v6.4.
>
> Up to you and Bart, but I prefer not to rebrand the tag, if it's an option.

I think it was clear that this would not make it into 6.3 after
the decision to rebase on top of 6.3-rc1. However, the tag name
and description both look like they make sense for 6.4 the way
you wrote them.

    Arnd
Andy Shevchenko March 7, 2023, 9:51 a.m. UTC | #4
On Tue, Mar 7, 2023 at 10:09 AM Arnd Bergmann <arnd@arndb.de> wrote:
> On Mon, Mar 6, 2023, at 23:35, andy.shevchenko@gmail.com wrote:
> > Mon, Mar 06, 2023 at 10:50:40PM +0100, Linus Walleij kirjoitti:
> >> On Mon, Mar 6, 2023 at 4:14 PM Andy Shevchenko
> >> <andriy.shevchenko@linux.intel.com> wrote:
> >>
> >> > Hi Linux GPIO maintainers et al.,
> >> >
> >> > Combined series to clean up headers in the GPIO library and drivers.
> >> > Along with it, drop a few unused legacy APIs.
> >> >
> >> > This tag is immutable, enjoy!
> >>
> >> Thanks for coordinating and getting this sorted and tested Andy, perfect
> >> job as always!
> >
> > You're welcome!
> >
> >> > intel-gpio for v6.3-1
> >>
> >> But I think you mean it for v6.4?
> >
> > Well, techically speaking it didn't make v6.3-rc1 due to cross-dependencies.
> > Starting from it it may be applied to v6.3 or to v6.4.
> >
> > Up to you and Bart, but I prefer not to rebrand the tag, if it's an option.
>
> I think it was clear that this would not make it into 6.3 after
> the decision to rebase on top of 6.3-rc1. However, the tag name
> and description both look like they make sense for 6.4 the way
> you wrote them.

Okay, I will rre-tag this.
Andy Shevchenko March 7, 2023, 11:42 a.m. UTC | #5
On Tue, Mar 07, 2023 at 11:51:44AM +0200, Andy Shevchenko wrote:
> On Tue, Mar 7, 2023 at 10:09 AM Arnd Bergmann <arnd@arndb.de> wrote:
> > On Mon, Mar 6, 2023, at 23:35, andy.shevchenko@gmail.com wrote:
> > > Mon, Mar 06, 2023 at 10:50:40PM +0100, Linus Walleij kirjoitti:
> > >> On Mon, Mar 6, 2023 at 4:14 PM Andy Shevchenko
> > >> <andriy.shevchenko@linux.intel.com> wrote:
> > >>
> > >> > Hi Linux GPIO maintainers et al.,
> > >> >
> > >> > Combined series to clean up headers in the GPIO library and drivers.
> > >> > Along with it, drop a few unused legacy APIs.
> > >> >
> > >> > This tag is immutable, enjoy!
> > >>
> > >> Thanks for coordinating and getting this sorted and tested Andy, perfect
> > >> job as always!
> > >
> > > You're welcome!
> > >
> > >> > intel-gpio for v6.3-1
> > >>
> > >> But I think you mean it for v6.4?
> > >
> > > Well, techically speaking it didn't make v6.3-rc1 due to cross-dependencies.
> > > Starting from it it may be applied to v6.3 or to v6.4.
> > >
> > > Up to you and Bart, but I prefer not to rebrand the tag, if it's an option.
> >
> > I think it was clear that this would not make it into 6.3 after
> > the decision to rebase on top of 6.3-rc1. However, the tag name
> > and description both look like they make sense for 6.4 the way
> > you wrote them.
> 
> Okay, I will rre-tag this.

Now it's tagged as intel-gpio-v6.4-1. Should I send a new PR?
Bartosz Golaszewski March 8, 2023, 10:03 a.m. UTC | #6
On Tue, Mar 7, 2023 at 12:42 PM Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:
>
> On Tue, Mar 07, 2023 at 11:51:44AM +0200, Andy Shevchenko wrote:
> > On Tue, Mar 7, 2023 at 10:09 AM Arnd Bergmann <arnd@arndb.de> wrote:
> > > On Mon, Mar 6, 2023, at 23:35, andy.shevchenko@gmail.com wrote:
> > > > Mon, Mar 06, 2023 at 10:50:40PM +0100, Linus Walleij kirjoitti:
> > > >> On Mon, Mar 6, 2023 at 4:14 PM Andy Shevchenko
> > > >> <andriy.shevchenko@linux.intel.com> wrote:
> > > >>
> > > >> > Hi Linux GPIO maintainers et al.,
> > > >> >
> > > >> > Combined series to clean up headers in the GPIO library and drivers.
> > > >> > Along with it, drop a few unused legacy APIs.
> > > >> >
> > > >> > This tag is immutable, enjoy!
> > > >>
> > > >> Thanks for coordinating and getting this sorted and tested Andy, perfect
> > > >> job as always!
> > > >
> > > > You're welcome!
> > > >
> > > >> > intel-gpio for v6.3-1
> > > >>
> > > >> But I think you mean it for v6.4?
> > > >
> > > > Well, techically speaking it didn't make v6.3-rc1 due to cross-dependencies.
> > > > Starting from it it may be applied to v6.3 or to v6.4.
> > > >
> > > > Up to you and Bart, but I prefer not to rebrand the tag, if it's an option.
> > >
> > > I think it was clear that this would not make it into 6.3 after
> > > the decision to rebase on top of 6.3-rc1. However, the tag name
> > > and description both look like they make sense for 6.4 the way
> > > you wrote them.
> >
> > Okay, I will rre-tag this.
>
> Now it's tagged as intel-gpio-v6.4-1. Should I send a new PR?
>

Yes, please.

Bart