lkml.org 
[lkml]   [2020]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] pinctrl: at91-pio4: add support for fewer lines on last PIO bank
On Tue, Nov 24, 2020 at 10:03 AM Ludovic Desroches
<ludovic.desroches@microchip.com> wrote:
> On Tue, Nov 24, 2020 at 09:31:36AM +0100, Linus Walleij wrote:
> > EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> >
> > On Fri, Nov 13, 2020 at 2:25 PM Eugen Hristev
> > <eugen.hristev@microchip.com> wrote:
> >
> > > Some products, like sama7g5, do not have a full last bank of PIO lines.
> > > In this case for example, sama7g5 only has 8 lines for the PE bank.
> > > PA0-31, PB0-31, PC0-31, PD0-31, PE0-7, in total 136 lines.
> > > To cope with this situation, added a data attribute that is product dependent,
> > > to specify the number of lines of the last bank.
> > > In case this number is different from the macro ATMEL_PIO_NPINS_PER_BANK,
> > > adjust the total number of lines accordingly.
> > > This will avoid advertising 160 lines instead of the actual 136, as this
> > > product supports, and to avoid reading/writing to invalid register addresses.
> > >
> > > Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
> >
> > Nico/Ludovic: can you please look at this patch?
>
> I acked it one week ago but I get some nasty behaviors with my emails. Maybe you
> didn't receive the answer.
> https://lore.kernel.org/linux-gpio/20201116061549.ks6hfonyplwhknmq@sekiro/

No I didn't! Weird. b4 found your ACK anyways, so the patch is applied
now!

Yours,
Linus Walleij

\
 
 \ /
  Last update: 2020-11-24 16:06    [W:0.668 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site