Messages in this thread | | | From | Andy Shevchenko <> | Date | Fri, 5 Aug 2022 23:22:53 +0200 | Subject | Re: [PATCH v1 5/5] regmap: mmio: Introduce IO accessors that can talk to IO port |
| |
On Fri, Aug 5, 2022 at 11:14 PM Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote: > > Currently regmap MMIO is inconsistent with IO accessors. I.e. > the Big Endian counterparts are using ioreadXXbe() / iowriteXXbe() > which are not clean implementations of readXXbe(). Besides that > some users may use regmap MMIO for IO ports, and this can be done > by assigning ioreadXX()/iowriteXX() and their Big Endian counterparts > to the regmap context. > > That said, reimplement current Big Endian MMIO accessors by replacing > ioread()/iowrite() with respective read()/write() and swab() calls. > While at it, add IO port support with a corresponding flag added.
William, I believe this series allows you to switch PC104 drivers to use regmap.
-- With Best Regards, Andy Shevchenko
| |