UART Route setting

Lei YU mine260309 at gmail.com
Thu Aug 2 12:11:52 AEST 2018


On Thu, Aug 2, 2018 at 9:55 AM Oskar Senft <osk at google.com> wrote:
>
> Hi Andrew
>
> Thanks for the suggestion. I see that the register would map quite nicely to pinmux. However, the ability to change the configuration from user space is critical. How could that be done via pinmux?

I believe Andrew Jeffery's [bmc-misc-ctr][1] driver is perfect for this
requirement:
1. You can define related registers in dts and expose as sysfs attributes
2. User space is able to read/write the sysfs attributes to do what you need
   to configure.

[1]: https://patchwork.ozlabs.org/cover/942322/


More information about the openbmc mailing list