summaryrefslogtreecommitdiff
path: root/scripts/gdb
diff options
context:
space:
mode:
authorManikandan Muralidharan <manikandan.m@microchip.com>2025-07-30 15:40:15 +0530
committerMark Brown <broonie@kernel.org>2025-08-10 21:11:42 +0100
commit91e5722baaea06c1f1b105e9e3fd6645dbdd938b (patch)
treef6f69720bb4ae07ab66e1101ccd8138448cb48e6 /scripts/gdb
parenta673ebd0a2a587f3d6b923d59d363fc9e8a9f920 (diff)
spi: atmel: Add support for handling GCLK as a clock source
The SPI peripheral clock is typically used to derive the serial clock (SPCK) via the FLEX_SPI_CSRx.SCBR field. However, on platforms like the SAM9X7 SoC, where the peripheral clock can reach up to 266 MHz, this may exceed the SCBR limit, causing SPI transfers to fail. This patch adds support for using the SPI Generic Clock (GCLK) as an alternative and more flexible clock source for SPCK generation. The FLEX_SPI_MR.BRSRCCLK bit is updated accordingly to select between the peripheral clock and GCLK. Signed-off-by: Manikandan Muralidharan <manikandan.m@microchip.com> Link: https://patch.msgid.link/20250730101015.323964-3-manikandan.m@microchip.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/gdb')
0 files changed, 0 insertions, 0 deletions