mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Arnd Bergmann" <arnd@arndb.de>
To: "Bartosz Golaszewski" <brgl@kernel.org>
Cc: "Dmitry Torokhov" <dmitry.torokhov@gmail.com>,
	"Arnd Bergmann" <arnd@kernel.org>,
	"Linus Walleij" <linusw@kernel.org>,
	"Johannes Berg" <johannes@sipsolutions.net>,
	"John Paul Adrian Glaubitz" <glaubitz@physik.fu-berlin.de>,
	"Kent Gibson" <warthog618@gmail.com>,
	"Thomas Bogendoerfer" <tsbogend@alpha.franken.de>,
	linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org,
	linux-sh@vger.kernel.org,
	"open list:GPIO SUBSYSTEM" <linux-gpio@vger.kernel.org>,
	linux-wireless@vger.kernel.org
Subject: Re: [PATCH 0/2 v8] gpiolib: finish the legacy cleanup
Date: Tue, 24 Nov 2026 14:41:03 +0100	[thread overview]
Message-ID: <7abe46c2-436d-4c19-8c2f-22a55a41f722@app.fastmail.com> (raw)
In-Reply-To: <jdqf7rwmhri4b2hzuq3wbd54xitqsmw7coyx34cqhjepj4njf2@vad7brzfzj5n>

On Tue, Nov 24, 2026, at 13:44, Bartosz Golaszewski wrote:
> On Tue, Nov 24, 2026 at 11:53:40AM +0100, Arnd Bergmann wrote:
>> On Tue, Nov 24, 2026, at 02:10, Dmitry Torokhov wrote:
>> > Hi Bartosz,
>> >
>> > On Mon, Nov 23, 2026 at 04:41:32PM +0100, Bartosz Golaszewski wrote:
>> >> Can I apply v7 and provide it to the SH maintainers on an immutable
>> >> branch?
>> >
>> > BTW, I have the soc_button_array rework (converting it to software nodes
>> > and dropping "select GPIOLIB_LEGACY") on an immutable branch based on
>> > v7.4-rc2:
>> >
>> > 	git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git 
>> > ib/7.4-rc2-soc-button-array
>> 
>> Nice to see that this is ready.
>> 
>> > I recommend pulling it into the gpio tree before applying Arnd's work so
>> > that x86 builds with INPUT_SOC_BUTTON_ARRAY enabled no longer pull in
>> > CONFIG_GPIOLIB_LEGACY either.
>> 
>> I don't think the order matters, my patch 1/2 just won't have an
>> effect on configurations that enable INPUT_SOC_BUTTON_ARRAY until your
>> patch is merged.
>>
>
> I'm not following something, the conflict is with the SH tree, isn't it?

I think we were talking about two different issues:

a) the sh/rsk7203 conflict is about the header inclusion: to make it
   build with my patch 2/2, I need to change linux/gpio.h to
   linux/gpio/legacy.h, while Dmitry series tries to change it
   to linux/gpio/consumer.h instead of either. It's not a hard
   problem tbh, just a bit annoying.

b) The INPUT_SOC_BUTTON_ARRAY change has nothing to do with my
   patch 2/2, only with 1/2, as it addresses one of the remaining
   users of the legacy interface. I hadn't realized that Dmitry's
   comment was a reply to your question about a).

        Arnd

  reply	other threads:[~2026-11-24 13:41 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23  8:57 Arnd Bergmann
2026-11-23  8:57 ` [PATCH 1/2] [v8] gpiolib: turn off legacy interface by default Arnd Bergmann
2026-11-23  8:57 ` [PATCH 2/2] [v8] gpiolib: remove linux/gpio.h Arnd Bergmann
2026-11-23 14:59 ` [PATCH 0/2 v8] gpiolib: finish the legacy cleanup Bartosz Golaszewski
2026-11-23 15:08   ` Bartosz Golaszewski
2026-11-23 15:24     ` Arnd Bergmann
2026-11-23 15:41       ` Bartosz Golaszewski
2026-11-24  1:10         ` Dmitry Torokhov
2026-11-24 10:53           ` Arnd Bergmann
2026-11-24 12:44             ` Bartosz Golaszewski
2026-11-24 13:41               ` Arnd Bergmann [this message]
2026-11-24 13:49         ` Arnd Bergmann
2026-11-24 13:59 ` (subset) " Bartosz Golaszewski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7abe46c2-436d-4c19-8c2f-22a55a41f722@app.fastmail.com \
    --to=arnd@arndb.de \
    --cc=arnd@kernel.org \
    --cc=brgl@kernel.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=glaubitz@physik.fu-berlin.de \
    --cc=johannes@sipsolutions.net \
    --cc=linusw@kernel.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@vger.kernel.org \
    --cc=linux-sh@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=tsbogend@alpha.franken.de \
    --cc=warthog618@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®