public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Bryan Brattlof <bb@ti.com>
To: Tom Rini <trini@konsulko.com>,
	Vignesh Raghavendra <vigneshr@ti.com>,
	Christian Gmeiner <christian.gmeiner@gmail.com>,
	Andrew Davis <afd@ti.com>
Cc: UBoot Mailing List <u-boot@lists.denx.de>, Bryan Brattlof <bb@ti.com>
Subject: [PATCH 0/3] board: ti: common: setup mux and debounce for 32k RTC crystal
Date: Tue, 7 Nov 2023 17:21:40 -0600	[thread overview]
Message-ID: <20231107232139.2839534-5-bb@ti.com> (raw)

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


             reply	other threads:[~2023-11-07 23:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-07 23:21 Bryan Brattlof [this message]
2023-11-07 23:21 ` [PATCH 1/3] board: ti: common: add rtc setup to common folder Bryan Brattlof
2023-11-07 23:30   ` Tom Rini
2023-11-08 15:46     ` Bryan Brattlof
2023-11-08 16:49       ` Tom Rini
2023-11-08  7:26   ` Vignesh Raghavendra
2023-11-08 15:38     ` Bryan Brattlof
2023-11-07 23:21 ` [PATCH 2/3] configs: am62ax: setup the 32k RTC crystal Bryan Brattlof
2023-11-07 23:32   ` Tom Rini
2023-11-07 23:21 ` [PATCH 3/3] configs: am62x: move 32K RTC crystal to common Bryan Brattlof

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231107232139.2839534-5-bb@ti.com \
    --to=bb@ti.com \
    --cc=afd@ti.com \
    --cc=christian.gmeiner@gmail.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=vigneshr@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox