[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v7 0/6] gpio: Add GPIO Aggregator
From: |
Geert Uytterhoeven |
Subject: |
Re: [PATCH v7 0/6] gpio: Add GPIO Aggregator |
Date: |
Wed, 20 May 2020 14:57:05 +0200 |
Hi Andy,
On Wed, May 20, 2020 at 2:41 PM Andy Shevchenko
<address@hidden> wrote:
> On Wed, May 20, 2020 at 3:40 PM Andy Shevchenko
> <address@hidden> wrote:
> > On Wed, May 20, 2020 at 3:38 PM Geert Uytterhoeven <address@hidden> wrote:
> > > On Wed, May 20, 2020 at 2:14 PM Andy Shevchenko
> > > <address@hidden> wrote:
> > > > On Mon, May 11, 2020 at 04:52:51PM +0200, Geert Uytterhoeven wrote:
> >
> > ...
> >
> > > > Sorry for late reply, recently noticed this nice idea.
> > > > The comment I have is, please, can we reuse bitmap parse algorithm and
> > > > syntax?
> > > > We have too many different formats and parsers in the kernel and
> > > > bitmap's one
> > > > seems suitable here.
> > >
> > > Thank you, I wasn't aware of that.
> > >
> > > Which one do you mean? The documentation seems to be confusing,
> > > and incomplete.
> > > My first guess was bitmap_parse(), but that one assumes hex values?
> > > And given it processes the unsigned long bitmap in u32 chunks, I guess
> > > it doesn't work as expected on big-endian 64-bit?
> > >
> > > bitmap_parselist() looks more suitable, and the format seems to be
>
> > > compatible with what's currently used, so it won't change ABI.
>
> What ABI? We didn't have a release with it, right? So, we are quite
ABI = the parameters it accepts currently.
> flexible for few more weeks to amend it.
Indeed, we have time to make changes until the release of v5.8.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- address@hidden
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
- [PATCH v7 6/6] MAINTAINERS: Add GPIO Aggregator section, (continued)
- [PATCH v7 6/6] MAINTAINERS: Add GPIO Aggregator section, Geert Uytterhoeven, 2020/05/11
- [PATCH v7 4/6] gpio: Add GPIO Aggregator, Geert Uytterhoeven, 2020/05/11
- [PATCH v7 2/6] mfd: sm501: Use GPIO_LOOKUP_IDX() helper macro, Geert Uytterhoeven, 2020/05/11
- [PATCH v7 5/6] docs: gpio: Add GPIO Aggregator documentation, Geert Uytterhoeven, 2020/05/11
- Re: [PATCH v7 0/6] gpio: Add GPIO Aggregator, Linus Walleij, 2020/05/18
- Re: [PATCH v7 0/6] gpio: Add GPIO Aggregator, Andy Shevchenko, 2020/05/20