New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
drivers: serial: rpi migration to pl011 broke driver #72153
Comments
One question. Please let me know if there is a reason why you changed this setting from DTS.
If you are using rpi_pico's PL011, the default should be equivalent to the behavior of the previous pico driver. |
|
If you use RPI Pico's pl011, I think it is better to use the original configuration.
With this configuration, the pl011 driver will be used, and in the case of rpi_pico, reset at initialization will be handled correctly. ("raspberrypi,pico-uart" is used only as an identifier.) I don't think so, but If there are additional PL011s other than those implemented in rp2040,
may need to be done, but the answers above believe otherwise. |
As I can see from this line, I think the example you provided is not working after #62186. As the rpi_pico platform, the pl011 driver cannot be used as is (because reset and clock are not set correctly), so we created rpi_pico specific driver. So, at that point, I was not expecting to use it in combination with the pl011 driver. After #71074, we added a mechanism to handle reset and clock to the pl011 driver, so rpi_pico also uses the pl011 driver with the default settings. In other words, I think you can do what you want with the default settings. |
Building with default settings seems to be possible. Ty |
Describe the bug
Prior to #71074 it was possible to use the uart_pl011 driver with the rpi_pico.
After this pull request the build fails.
To Reproduce
Try to build with
west build
Switching to a commit prior to drivers: serial: rpi_pico: Migrate to pl011 driver #71074 works (e.g 5f6a68a)
Expected behavior
A clean build.
Impact
Driver is not usable.
Logs and console output
Build log:
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: