<div dir="auto"><div>Hi Andrew<div dir="auto"><br></div><div dir="auto">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?</div><div dir="auto"><br></div><div dir="auto">Thanks</div><div dir="auto">Oskar.</div><br><br><div class="gmail_quote"><div dir="ltr">On Wed, Aug 1, 2018, 9:18 PM Andrew Jeffery <<a href="mailto:andrew@aj.id.au">andrew@aj.id.au</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Oskar, Henbin,<br>
<br>
On Thu, 2 Aug 2018, at 10:32, Oskar Senft wrote:<br>
> Hi Henbin<br>
> <br>
> I think we should be able to configure default settings for the routing<br>
> with the driver that I'm working on. I guess that could be done via DTS or<br>
> by just applying settings via /sys during boot.<br>
<br>
Have you explored writing a pinmux driver for it? It's effectively what these<br>
registers represent.<br>
<br>
It was something that wound up down the bottom of my todo list.<br>
<br>
This enables configuring the routing via DTS, though doing it dynamically<br>
from userspace might be a bit harder.<br>
<br>
Cheers,<br>
<br>
Andrew<br>
</blockquote></div></div></div>