revyos/th1520-linux-kernel

No pinctrl driver.

Opened this issue · 10 comments

esmil commented

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?

RevySR commented

@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.

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.