aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/patches-5.10/0039-MIPS-ath79-export-UART1-reference-clock.patch
diff options
context:
space:
mode:
authorOlliver Schinagl <oliver@schinagl.nl>2022-09-20 12:01:48 +0200
committerChristian Marangi <ansuelsmth@gmail.com>2022-10-01 02:47:56 +0200
commitba6096d04b4f7a40aec339e7bf3f7b5842ae3cac (patch)
tree5542eb3332cf44995b052240ed32bcf7e9434beb /target/linux/ath79/patches-5.10/0039-MIPS-ath79-export-UART1-reference-clock.patch
parentd5bf46bbe8f425182ea07787ae5d92145715da1b (diff)
downloadupstream-ba6096d04b4f7a40aec339e7bf3f7b5842ae3cac.tar.gz
upstream-ba6096d04b4f7a40aec339e7bf3f7b5842ae3cac.tar.bz2
upstream-ba6096d04b4f7a40aec339e7bf3f7b5842ae3cac.zip
ath79: Convert incorrect 5.10 and 5.15 patches
OpenWRT's developer guide prefers having actual patches so they an be sent upstream more easily. However, in this case, Adding proper fields also allows for `git am` to properly function. Some of these patches are quite old, and lack much traceable history. This commit tries to rectify that, by digging in the history to find where and how it was first added. It is by no means perfect and also shows some patches that should have been long gone. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
Diffstat (limited to 'target/linux/ath79/patches-5.10/0039-MIPS-ath79-export-UART1-reference-clock.patch')
-rw-r--r--target/linux/ath79/patches-5.10/0039-MIPS-ath79-export-UART1-reference-clock.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/target/linux/ath79/patches-5.10/0039-MIPS-ath79-export-UART1-reference-clock.patch b/target/linux/ath79/patches-5.10/0039-MIPS-ath79-export-UART1-reference-clock.patch
index edf888c7e7..b24ff21692 100644
--- a/target/linux/ath79/patches-5.10/0039-MIPS-ath79-export-UART1-reference-clock.patch
+++ b/target/linux/ath79/patches-5.10/0039-MIPS-ath79-export-UART1-reference-clock.patch
@@ -1,3 +1,18 @@
+From: Daniel Golle <daniel@makrotopia.org>
+Subject: [PATCH] ath79: add support for Atheros AR934x HS UART
+
+AR934x chips also got the 'old' qca,ar9330-uart in addition to the
+'new' ns16550a compatible one. Add support for UART1 clock selector as
+well as device-tree bindings in ar934x.dtsi to make use of that uart.
+
+Reported-by: Piotr Dymacz <pepe2k@gmail.com>
+Submitted-by: Daniel Golle <daniel@makrotopia.org>
+---
+ arch/mips/ath79/clock.c | 7 +++++++
+ .../mips/include/asm/mach-ath79/ar71xx_regs.h | 1 +
+ include/dt-bindings/clock/ath79-clk.h | 3 ++-
+ 3 files changed, 10 insertions(+), 1 deletion(-)
+
--- a/arch/mips/ath79/clock.c
+++ b/arch/mips/ath79/clock.c
@@ -40,6 +40,7 @@ static const char * const clk_names[ATH7