Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Pinebook Pro USB-C
I have been doing some work on drivers for the USB-C port of the
Pinebook Pro.
Have added interrupt handling to the Rockchip GPIO driver.
Copied the OpenBSD drivers for the FUSB302B PHY and the builtin
USB-C PHY.
The FUSB302B has a mode where it "toggles" between checking for the
possible different voltage levels that would result from something
being plugged into the socket, it signals an interrupt if it detects
a change.
I can't work out how to configure the FUSB302B to stop interrupting
the CPU, the various status registers show no reason for the interrupt.
OpenBSD doesn't use GPIO interrupts, their driver just polls the
FUSB301B to see if the status has changed. Linux does use interrupts
and works fine.
The GPIO and internal PHY code is probably ready to commit, or can just
put all of it on ftp.n.o if anyone is interested in reviewing it.
Home |
Main Index |
Thread Index |
Old Index