No pinctrl driver.
Opened this issue · 10 comments
Hi Revy.
I noticed there is no pinctrl driver available in your recent trees and none have been posted on the mailing list, so I wrote one:https://github.com/esmil/linux/commits/th1520
Can I maybe convince you to give it a test?
@yuzibo Please help with testing it.
@nekorouter Please help with testing it
It seems not work.
I will need a bit more information than that. I've pushed a few versions since creating this issue. The latest version changed the function = "<number>";
to function = "<gpio,uart, etc.>";
, so it will fail if you didn't update the device trees to match.
https://github.com/revyos/th1520-linux-kernel/tree/th1520-lts-wip
Use this branch, init start failed.
Yeah, that's an older version of the driver. Try setting CONFIG_PINCTRL_TH1520=y
so the uart driver for the boot console can get its pins.
https://github.com/revyos/th1520-linux-kernel/commits/th1520-lts-wip/
Using the latest version of the patch, but the second ethernet port still doesn't work.
I don't immediately see what the problem is. It works on my th1520 branch. Maybe you could try that branch to see if it's a device tree problem or a config problem.
https://github.com/revyos/th1520-linux-kernel/tree/th1520-master
it works for dual ethernet.
https://github.com/revyos/th1520-linux-kernel/tree/th1520-lts-wip-new
backport from th1520 branch, it doesn't work.