aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/i2c/rx6110sa/Kconfig
diff options
context:
space:
mode:
authorWerner Zeh <werner.zeh@siemens.com>2017-05-29 14:28:15 +0200
committerWerner Zeh <werner.zeh@siemens.com>2017-05-31 09:15:45 +0200
commit57cbd21a52a157bbe2df38a44127b343f642e611 (patch)
tree0fa866ea99e5f266a96f053ba712b9e8a81a3731 /src/drivers/i2c/rx6110sa/Kconfig
parent07a597feffa63bdc8212a323f0a71ecbdf229dab (diff)
rx6110sa: Add possibility to use both I2C and SMBus for the RTC
The driver for the RTC RX6110SA is designed to be used with I2C bus. This patch adds the possibility to use SMBus operations to access the RTC. For this purpose the Kconfig switch RX6110SA_USE_SMBUS is added. It is not enabled per default so that I2C will be used. One can set this switch on board level to use SMBus instead. Change-Id: I4827ae2c544e8002399d94a1159acacd8176c5e9 Signed-off-by: Werner Zeh <werner.zeh@siemens.com> Reviewed-on: https://review.coreboot.org/19978 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/i2c/rx6110sa/Kconfig')
-rw-r--r--src/drivers/i2c/rx6110sa/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/drivers/i2c/rx6110sa/Kconfig b/src/drivers/i2c/rx6110sa/Kconfig
index a5608f82f7..48654c6083 100644
--- a/src/drivers/i2c/rx6110sa/Kconfig
+++ b/src/drivers/i2c/rx6110sa/Kconfig
@@ -3,3 +3,10 @@ config DRIVERS_I2C_RX6110SA
default n
help
Enable support for external RTC chip RX6110 SA.
+
+config RX6110SA_USE_SMBUS
+ bool
+ default n
+ help
+ Select this option if the RTC RX6110SA is connected to a SMBus controller.
+ If not selected I2C controller is used instead.