[PATCH 0/3] board: ti: common: setup mux and debounce for 32k RTC crystal

Bryan Brattlof
2023-11-07T23:21:53Z

Hello everyone!

The starter kit boards for Texas Instruments' am62xxx extended SoC
family all have the same discrete 32k crystal to provide a more accurate
clock source if needed.

Up until now this has not been needed, however as more features are
starting to rely on the accuracy of the internal RTC we should switch to
using this crystal.

This little series adds a board_rtc_init() function in the
board/ti/common directory to setup this crystal for the am62x and am62ax
starter kits.

Thanks for reviewing!
~Bryan

Bryan Brattlof (3):
board: ti: common: add rtc setup to common folder
configs: am62ax: setup the 32k RTC crystal
configs: am62x: move 32K RTC crystal to common

board/ti/am62ax/evm.c | 5 ++++
board/ti/am62x/evm.c | 5 ++++
board/ti/common/Kconfig | 8 ++++++
board/ti/common/rtc.c | 47 ++++++++++++++++++++++++++++++++
configs/am62ax_evm_a53_defconfig | 1 +
configs/am62x_evm_a53_defconfig | 1 +
6 files changed, 67 insertions(+)
create mode 100644 board/ti/common/rtc.c

base-commit: e17d174773e9ba9447596708e702b7382e47a6cf
--
2.42.0