]> git.baikalelectronics.ru Git - uboot.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)
commit68e397b7b3187132ff275f109be8ddb0846137dd
tree03bd2a7657d4cfecd4a9684fbc87c7c29eac1da0
parent5d408ca61e04ea97703cb321b98e8422d03a34e8
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