mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-07-05 11:57:06 +08:00

These patches were generated from: https://github.com/raspberrypi/linux/commits/rpi-6.12.y With the following command: git format-patch -N v6.12.27..HEAD (HEAD -> 8d3206ee456a5ecdf9ddbfd8e5e231e4f0cd716e) Exceptions: - (def)configs patches - github workflows patches - applied & reverted patches - readme patches - wireless patches Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
25 lines
725 B
Diff
25 lines
725 B
Diff
From 13fd88938fa0f32504a3da608f89b47ffb215730 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] 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)
|
|
|