On Wed, Aug 21, 2019 at 3:26 PM Andy Shevchenko <andy.shevche...@gmail.com> wrote: > > On Wed, Aug 21, 2019 at 3:43 AM Park, Aiden <aiden.p...@intel.com> wrote: > > > > ns16550 can select register access type from device tree. > > This also allows an inherited serial driver of ns16550 to configure > > register access type at run-time by overriding ofdata_to_platdata. > > > > Can you elaborate more on this? > > For now it looks like a hack due to misunderstanding of the design.
The reg-io-type is not a standard DTS property for 8250 (Documentation/devicetree/bindings/serial/8250.txt) so I guess we may need refactor the ns16550 codes to support both I/O port and memory-mapped variants. Regards, Bin _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot