diff options
author | Chuanhua Han <chuanhua.han@nxp.com> | 2019-07-26 14:24:00 +0300 |
---|---|---|
committer | Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> | 2019-08-22 06:37:36 +0300 |
commit | db07c447caacd5f9003a57ef2802afa8a4c81348 (patch) | |
tree | 03bd2a7657d4cfecd4a9684fbc87c7c29eac1da0 /include/configs/ls2080aqds.h | |
parent | 6672ab1628a7837361524ebbc5e2119be9202fa7 (diff) | |
download | u-boot-db07c447caacd5f9003a57ef2802afa8a4c81348.tar.xz |
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>
Diffstat (limited to 'include/configs/ls2080aqds.h')
-rw-r--r-- | include/configs/ls2080aqds.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/ls2080aqds.h b/include/configs/ls2080aqds.h index 18f30b585c..81af1d9ea4 100644 --- a/include/configs/ls2080aqds.h +++ b/include/configs/ls2080aqds.h @@ -325,6 +325,7 @@ unsigned long get_board_ddr_clk(void); #define RTC #define CONFIG_RTC_DS3231 1 #define CONFIG_SYS_I2C_RTC_ADDR 0x68 +#define CONFIG_RTC_ENABLE_32KHZ_OUTPUT /* EEPROM */ #define CONFIG_ID_EEPROM |