at91: kernel v5.15: copy config and patches from 5.10
[openwrt/openwrt.git] / target / linux / at91 / patches-5.15 / 236-clk-at91-sama7g5-add-securam-s-peripheral-clock.patch
diff --git a/target/linux/at91/patches-5.15/236-clk-at91-sama7g5-add-securam-s-peripheral-clock.patch b/target/linux/at91/patches-5.15/236-clk-at91-sama7g5-add-securam-s-peripheral-clock.patch
new file mode 100644 (file)
index 0000000..046acec
--- /dev/null
@@ -0,0 +1,25 @@
+From 50edd53c26177e95995533b7d649801086a52f6c Mon Sep 17 00:00:00 2001
+From: Claudiu Beznea <claudiu.beznea@microchip.com>
+Date: Mon, 11 Oct 2021 14:27:07 +0300
+Subject: [PATCH 236/247] clk: at91: sama7g5: add securam's peripheral clock
+
+Add SECURAM's peripheral clock.
+
+Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
+Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
+Link: https://lore.kernel.org/r/20211011112719.3951784-4-claudiu.beznea@microchip.com
+Signed-off-by: Stephen Boyd <sboyd@kernel.org>
+---
+ drivers/clk/at91/sama7g5.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/drivers/clk/at91/sama7g5.c
++++ b/drivers/clk/at91/sama7g5.c
+@@ -377,6 +377,7 @@ static const struct {
+       u8 id;
+ } sama7g5_periphck[] = {
+       { .n = "pioA_clk",      .p = "mck0", .id = 11, },
++      { .n = "securam_clk",   .p = "mck0", .id = 18, },
+       { .n = "sfr_clk",       .p = "mck1", .id = 19, },
+       { .n = "hsmc_clk",      .p = "mck1", .id = 21, },
+       { .n = "xdmac0_clk",    .p = "mck1", .id = 22, },