1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-03-09 15:40:20 +00:00
openmptcprouter/6.12/target/linux/bcm27xx/patches-6.12/950-0682-serial-core-Add-the-Raspberry-Pi-firmware-UART-id.patch
Ycarus (Yannick Chabanois) bdb9b0046f Add bcm27xx 6.12 test support
2024-12-20 14:17:26 +01:00

24 lines
733 B
Diff

From 4775aa5cbd4c2dc3f307bfdef34efb1e878feed8 Mon Sep 17 00:00:00 2001
From: Tim Gover <tim.gover@raspberrypi.com>
Date: Fri, 1 Nov 2024 19:43:21 +0000
Subject: [PATCH 682/697] serial: core: Add the Raspberry Pi firmware UART id
Assign a new serial core number for the RPi firmware UART.
Signed-off-by: Tim Gover <tim.gover@raspberrypi.com>
---
include/uapi/linux/serial_core.h | 3 +++
1 file changed, 3 insertions(+)
--- a/include/uapi/linux/serial_core.h
+++ b/include/uapi/linux/serial_core.h
@@ -231,6 +231,9 @@
/* Sunplus UART */
#define PORT_SUNPLUS 123
+/* RPi firmware UART */
+#define PORT_RPI_FW 124
+
/* Generic type identifier for ports which type is not important to userspace. */
#define PORT_GENERIC (-1)