aboutsummaryrefslogtreecommitdiffstats
path: root/src/atsamd/clock.c
Commit message (Collapse)AuthorAgeFilesLines
* atsamd: Add support CANbus on ATSAME5x chipsKevin O'Connor2022-10-131-3/+5
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsamd: Use CONFIG_USB instead of CONFIG_USBSERIAL during clock initKevin O'Connor2022-08-161-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsamd: Use enumerations for buses and reserve pinsKevin O'Connor2019-04-041-0/+5
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsamd: Add support for reference clock selection to SAMD21Kevin O'Connor2019-02-221-26/+58
| | | | | | | | | Add support for using the internal clocks (with USB clock recovery mode if available) on the SAMD21. Don't use the internal clock if the external crystal is requested (instead use the PLL synced to the external 32Khz signal). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsamd: Initial support for SAMD51Kevin O'Connor2019-01-281-1/+0
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsamd: Add a get_pclock_frequency() helper functionKevin O'Connor2019-01-281-0/+7
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsamd: Pass the power management id to enable_pclock()Kevin O'Connor2019-01-281-2/+3
| | | | | | | Pass the power management id instead of the APBCMASK bit to the enable_pclock() function. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsamd: Clarify clock generation codeKevin O'Connor2019-01-281-30/+35
| | | | | | | Implement gen_clock() and route_pclock() helpers in an effort to make the code more readable. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* src: Rename source folders for atsam and atsamd architecturesFlorian Heilmann2019-01-121-0/+77
Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>