Skip to content

Commit cd1bacd

Browse files
committed
fix(linux): Enable PRU HW UART doc for am62x and am64x
PRU HW UART support exists for AM62x and AM64x SK board, enable documentation for these platforms and update rst to accomadate the new platforms. Signed-off-by: Judith Mendez <jm@ti.com>
1 parent 3018cf2 commit cd1bacd

3 files changed

Lines changed: 14 additions & 10 deletions

File tree

configs/AM62X/AM62X_linux_toc.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ linux/Foundational_Components_PRU_Subsystem
108108
linux/Foundational_Components/PRU-ICSS-Linux-Drivers
109109
linux/Foundational_Components/PRU-ICSS/Linux_Drivers/RemoteProc
110110
linux/Foundational_Components/PRU-ICSS/Linux_Drivers/RPMsg
111+
linux/Foundational_Components/PRU-ICSS/Linux_Drivers/pruss-uart
111112
linux/Foundational_Components/PRU-ICSS/RPMsg_Quick_Start_Guide
112113
linux/Foundational_Components/PRU-ICSS-Hardware
113114
linux/Foundational_Components/PRU-ICSS/PRU-EVMs

configs/AM64X/AM64X_linux_toc.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ linux/Foundational_Components/PRU-ICSS/Linux_Drivers/RemoteProc
109109
linux/Foundational_Components/PRU-ICSS/Linux_Drivers/PRU_ICSSG_Ethernet
110110
linux/Foundational_Components/PRU-ICSS/Linux_Drivers/PRU_ICSSG_Ethernet_Switch
111111
linux/Foundational_Components/PRU-ICSS/Linux_Drivers/RPMsg
112+
linux/Foundational_Components/PRU-ICSS/Linux_Drivers/pruss-uart
112113
linux/Foundational_Components/PRU-ICSS/Linux_Drivers/PRU_ICSSG_XDP
113114
linux/Foundational_Components/PRU-ICSS/RPMsg_Quick_Start_Guide
114115
linux/Foundational_Components/PRU-ICSS-Hardware

source/linux/Foundational_Components/PRU-ICSS/Linux_Drivers/pruss-uart.rst

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,32 @@ PRU-ICSS Serial UART
33

44
.. rubric:: Introduction
55

6-
As of Processor SDK v7.1, Linux supports the PRU UART peripheral within the
7-
PRU-ICSS, which is based on the industry standard TL16C550.
8-
The kernel driver is at drivers/tty/serial/8250/8250_pruss.c.
6+
Linux supports the PRU HW UART peripheral within the
7+
8+
.. ifconfig:: CONFIG_part_variant in ('AM62X')
9+
10+
Programmable Real-Time Unit Subsystem (PRUSS)
911

12+
.. ifconfig:: CONFIG_part_variant in ('AM64X')
1013

11-
.. rubric:: Support Devices
14+
Programmable Real-Time Unit and Industrial Communication Subsystem - Gigabit (PRU-ICSSG)
1215

13-
- |__PART_FAMILY_DEVICE_NAMES__|
16+
.. ifconfig:: CONFIG_part_variant in ('AM335X', 'AM437X', 'AM57XX')
1417

18+
Programmable Real-Time Unit Subsystem and Industrial Communication Subsystem (PRU-ICSS)
19+
20+
which is based on the industry standard TL16C550.
21+
The kernel driver is at drivers/tty/serial/8250/8250_pruss.c.
1522

1623
.. rubric:: Supported Driver Features
1724

1825
- Baud rates up to 12Mbps
1926
- Hardware flow control
2027

21-
2228
.. rubric:: Unsupported Driver Features
2329

2430
- DMA support
2531

26-
2732
.. rubric:: Kernel Config
2833

2934
The PRUSS UART Linux kernel driver depends on the PRU-ICSS kernel drivers. So
@@ -61,7 +66,6 @@ From am335x-evmsk.dts
6166
status = "okay";
6267
};
6368
64-
6569
.. rubric:: Driver Usage
6670

6771
Once the driver is probed, kernel log shows the following message.
@@ -78,5 +82,3 @@ to :ref:`kernel uart driver usage <linux-kernel-omap-uart-driver-usage>`.
7882

7983
The index in ttyS1 could vary depending on the serial alias configuration
8084
in the device tree.
81-
82-

0 commit comments

Comments
 (0)