[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CH2PR12MB3895A52BAB0E8CAB16F58B6FD7849@CH2PR12MB3895.namprd12.prod.outlook.com>
Date: Fri, 24 Mar 2023 13:43:38 +0000
From: Asmaa Mnebhi <asmaa@...dia.com>
To: Andy Shevchenko <andy.shevchenko@...il.com>
CC: "linus.walleij@...aro.org" <linus.walleij@...aro.org>,
"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH v1] gpio: mmio: fix calculation of bgpio_bits
> > >
> > > If the "ngpios" property is specified, bgpio_bits is calculated as
> > > the round up value of ngpio. At the moment, the only requirement
> > > specified is that the round up value must be a multiple of 8 but it
> > > should also be a power of 2 because we provide accessors based on
> > > the bank size in bgpio_setup_accessors().
> >
> > Reviewed-by: Andy Shevchenko <andy.shevchenko@...il.com>
>
> Btw, I do not see the initial patch in Bart's tree. I suppose you may simply
> send a v5 of the original one with this fix applied inplace.
>
Yes I was not able to find it on any branch yet so I just sent this patch based the other one.
Powered by blists - more mailing lists