-
Notifications
You must be signed in to change notification settings - Fork 82
Update PRU UART documentation #708
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -3,27 +3,32 @@ | |||||
|
|
||||||
| .. rubric:: Introduction | ||||||
|
|
||||||
| As of Processor SDK v7.1, Linux supports the PRU UART peripheral within the | ||||||
| PRU-ICSS, which is based on the industry standard TL16C550. | ||||||
| The kernel driver is at drivers/tty/serial/8250/8250_pruss.c. | ||||||
| Linux supports the PRU HW UART peripheral within the | ||||||
|
Check warning on line 6 in source/linux/Foundational_Components/PRU-ICSS/Linux_Drivers/pruss-uart.rst
|
||||||
|
|
||||||
| .. ifconfig:: CONFIG_part_variant in ('AM62X') | ||||||
|
|
||||||
| Programmable Real-Time Unit Subsystem (PRUSS) | ||||||
|
|
||||||
| .. ifconfig:: CONFIG_part_variant in ('AM64X') | ||||||
|
|
||||||
| .. rubric:: Support Devices | ||||||
| Programmable Real-Time Unit and Industrial Communication Subsystem - Gigabit (PRU-ICSSG) | ||||||
|
Check warning on line 14 in source/linux/Foundational_Components/PRU-ICSS/Linux_Drivers/pruss-uart.rst
|
||||||
|
|
||||||
| - |__PART_FAMILY_DEVICE_NAMES__| | ||||||
| .. ifconfig:: CONFIG_part_variant in ('AM335X', 'AM437X', 'AM57XX') | ||||||
|
|
||||||
| Programmable Real-Time Unit Subsystem and Industrial Communication Subsystem (PRU-ICSS) | ||||||
|
Check warning on line 18 in source/linux/Foundational_Components/PRU-ICSS/Linux_Drivers/pruss-uart.rst
|
||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is it actually |
||||||
|
|
||||||
| which is based on the industry standard TL16C550. | ||||||
|
Check warning on line 20 in source/linux/Foundational_Components/PRU-ICSS/Linux_Drivers/pruss-uart.rst
|
||||||
| The kernel driver is at drivers/tty/serial/8250/8250_pruss.c. | ||||||
|
Check warning on line 21 in source/linux/Foundational_Components/PRU-ICSS/Linux_Drivers/pruss-uart.rst
|
||||||
|
Comment on lines
+8
to
+21
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If you want this to flow better consider adding a replacement variable definition for those platforms instead. Currently this will appear as a broken up sentence. Optionally you could restructure this so the user doesn't have to follow a few sentence fragments.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
|
||||||
| .. rubric:: Supported Driver Features | ||||||
|
|
||||||
| - Baud rates up to 12Mbps | ||||||
| - Hardware flow control | ||||||
|
|
||||||
|
|
||||||
| .. rubric:: Unsupported Driver Features | ||||||
|
|
||||||
| - DMA support | ||||||
|
|
||||||
|
|
||||||
| .. rubric:: Kernel Config | ||||||
|
|
||||||
| The PRUSS UART Linux kernel driver depends on the PRU-ICSS kernel drivers. So | ||||||
|
|
@@ -61,7 +66,6 @@ | |||||
| status = "okay"; | ||||||
| }; | ||||||
|
|
||||||
|
|
||||||
| .. rubric:: Driver Usage | ||||||
|
|
||||||
| Once the driver is probed, kernel log shows the following message. | ||||||
|
|
@@ -78,5 +82,3 @@ | |||||
|
|
||||||
| The index in ttyS1 could vary depending on the serial alias configuration | ||||||
| in the device tree. | ||||||
|
|
||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.