]> git.dujemihanovic.xyz Git - u-boot.git/commit
rtc: ds3232/ds3231: Add support to generate 32KHz output for driver module
authorChuanhua Han <chuanhua.han@nxp.com>
Fri, 26 Jul 2019 11:24:00 +0000 (19:24 +0800)
committerPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Thu, 22 Aug 2019 03:37:36 +0000 (09:07 +0530)
commitdb07c447caacd5f9003a57ef2802afa8a4c81348
tree03bd2a7657d4cfecd4a9684fbc87c7c29eac1da0
parent6672ab1628a7837361524ebbc5e2119be9202fa7
rtc: ds3232/ds3231: Add support to generate 32KHz output for driver module

Add an implementation of the rtc_enable_32khz_output() that uses the
driver model i2c APIs.

Also put code related to rtc_enable_32khz_output
under CONFIG_RTC_ENABLE_32KHZ_OUTPUT.

Signed-off-by: Chuanhua Han <chuanhua.han@nxp.com>
Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
board/freescale/ls2080aqds/ls2080aqds.c
drivers/rtc/Kconfig
drivers/rtc/ds3231.c
include/configs/ls2080aqds.h
include/rtc.h