[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHp75Ve87oHP4P-=xHZgHuWyJJnpuARH+qzXO_vJRhUeovXMWQ@mail.gmail.com>
Date: Tue, 11 Jul 2023 11:58:46 +0300
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Asmaa Mnebhi <asmaa@...dia.com>
Cc: linus.walleij@...aro.org, bgolaszewski@...libre.com, brgl@...ev.pl,
linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org,
davthompson@...dia.com
Subject: Re: [PATCH v2] gpio: mmio: fix calculation of bgpio_bits
On Tue, Jul 11, 2023 at 12:50 AM Asmaa Mnebhi <asmaa@...dia.com> wrote:
>
> 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().
Is this a fixup for the other patch? If so, then why did you split them again?
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists