Quoth adventures in9 <adventures...@gmail.com>: > The uart driver in the kernel should only be concerned with uart on > the SoC. The Allwinner A64 does have more than 1 uart, and the driver > could be expanded to activate them. But last I looked at the Quectel > EG25 in the Pinephone, it exposed it's own uart as uart over USB. I > seemed to run everything over USB, including the mobile data, like a > USB ethernet dongle.
There are 2 interfaces that are exposed by the modem: one over USB (which is the preferred path, since that's also how it exposes the gps, and as you said the mobile data), and one on the SOC's UART3. I tried to quickly see how easy it would be to add the UART3 port to the driver tonight since I think ron might be right about the phone's audio being able to bypass /dev/audio but didn't finish. I think the .freq needs to be set to APB2's clock speed and the i8250baud code needs to be un-#ifdef'd but my laptops battery died before I figured out the source clock was APB2 so I'm not sure if that's the only problem. - Dave ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T4d13b3016d2a2310-Mad149822bbdeba8e987795b8 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription