rx6110sa: Add possibility to use both I2C and SMBus for the RTC

Hardware / Coreboot - Werner Zeh [siemens.com] - 31 May 2017 03:15 EDT

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

57cbd21 rx6110sa: Add possibility to use both I2C and SMBus for the RTC
src/drivers/i2c/rx6110sa/Kconfig | 7 +++
src/drivers/i2c/rx6110sa/rx6110sa.c | 90 ++++++++++++++++++++++---------------
2 files changed, 60 insertions(+), 37 deletions(-)

Upstream: review.coreboot.org


  • Share