]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
clk: at91: sam9x7: Fix gmac_gclk clock definition
authorMihai Sain <mihai.sain@microchip.com>
Mon, 9 Mar 2026 07:53:28 +0000 (09:53 +0200)
committerClaudiu Beznea <claudiu.beznea@tuxon.dev>
Sat, 16 May 2026 16:47:09 +0000 (19:47 +0300)
commitb6f6ebb0fb57ae6da622fb8fd4ebdc9ba1ae5756
tree7dcdd33fc6af5b8052a3004fc9a9ab98752c5710
parent254f49634ee16a731174d2ae34bc50bd5f45e731
clk: at91: sam9x7: Fix gmac_gclk clock definition

According to the datasheet (see link section), table 12.1, instance ID 24
is used for the GMAC generic clock, while instance ID 67 is reserved. Add
the correct gmac_gclk entry at ID 24, aligned with the SoC clock layout,
and remove the old misplaced entry at ID 67.

Link: https://ww1.microchip.com/downloads/aemDocuments/documents/MPU32/ProductDocuments/DataSheets/SAM9X75-SIP-Series-Data-Sheet-DS60001827.pdf
Fixes: 33013b43e271 ("clk: at91: sam9x7: add sam9x7 pmc driver")
Signed-off-by: Mihai Sain <mihai.sain@microchip.com>
Link: https://lore.kernel.org/r/20260309075329.1528-4-mihai.sain@microchip.com
[claudiu.beznea: massaged the patch description]
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
drivers/clk/at91/sam9x7.c