]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
clk: at91: sam9x7: Add peripheral clock id for pmecc
authorBalamanikandan Gunasundar <balamanikandan.gunasundar@microchip.com>
Tue, 9 Sep 2025 10:38:17 +0000 (16:08 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Nov 2025 20:37:37 +0000 (15:37 -0500)
[ Upstream commit 94a1274100e397a27361ae53ace37be6da42a079 ]

Add pmecc instance id in peripheral clock description.

Signed-off-by: Balamanikandan Gunasundar <balamanikandan.gunasundar@microchip.com>
Link: https://lore.kernel.org/r/20250909103817.49334-1-balamanikandan.gunasundar@microchip.com
[claudiu.beznea@tuxon.dev: use tabs instead of spaces]
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/at91/sam9x7.c

index 7322220418b4598ac29c6cd70ea946879b496c8e..89868a0aeaba9319836f7b36aa8d322f320c8478 100644 (file)
@@ -408,6 +408,7 @@ static const struct {
        { .n = "pioD_clk",      .id = 44, },
        { .n = "tcb1_clk",      .id = 45, },
        { .n = "dbgu_clk",      .id = 47, },
+       { .n = "pmecc_clk",     .id = 48, },
        /*
         * mpddr_clk feeds DDR controller and is enabled by bootloader thus we
         * need to keep it enabled in case there is no Linux consumer for it.