[PATCH V2 1/2] Documentation: devices.txt: Update ttyUL major number allocation details

From: Manikanta Guntupalli
Date: Tue Nov 14 2023 - 04:33:36 EST


Describe when uartlite driver uses static/dynamic allocation for major
number based on maximum number of uartlite serial ports.

Signed-off-by: Manikanta Guntupalli <manikanta.guntupalli@xxxxxxx>
---
Changes for V2:
This patch introduced in V2.
---
Documentation/admin-guide/devices.txt | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/Documentation/admin-guide/devices.txt b/Documentation/admin-guide/devices.txt
index 839054923530..d2f2c9f436db 100644
--- a/Documentation/admin-guide/devices.txt
+++ b/Documentation/admin-guide/devices.txt
@@ -2707,6 +2707,10 @@
187 = /dev/ttyUL0 Xilinx uartlite - port 0
...
190 = /dev/ttyUL3 Xilinx uartlite - port 3
+
+ If maximum number of uartlite serial ports more than 4, then driver uses
+ dynamic allocation instead of static allocation for major number.
+
191 = /dev/xvc0 Xen virtual console - port 0
192 = /dev/ttyPZ0 pmac_zilog - port 0
...
--
2.25.1