diff options
author | Werner Zeh <werner.zeh@siemens.com> | 2020-11-05 10:41:26 +0100 |
---|---|---|
committer | Werner Zeh <werner.zeh@siemens.com> | 2020-11-12 12:46:35 +0000 |
commit | b64db833d6db452c28e410f869f6527fd6971228 (patch) | |
tree | 7dbabeeac718b6bdcbad4ad118548d54b2475581 /src/drivers/i2c/rx6110sa/chip.h | |
parent | 81547dd5460ad220e398c531b5d43fd9e8b90c73 (diff) |
drivers/i2c/rx6110sa: Add basic ACPI support
This patch adds basic ACPI support for the RTC so that the OS is able to
use this RTC via the ACPI interface.
If the Linux kernel is able to find the RTC in ACPI scope, you should
see the following lines in dmesg, where [n] is an enumerated number:
rx6110 i2c-RX6110SA:00: rtc core: registered RX6110SA:00 as rtc[n]
rtc rtc[n]: Update timer was detected
Change-Id: I9b319e3088e6511592075b055f8fa3e2aedaa209
Signed-off-by: Werner Zeh <werner.zeh@siemens.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47235
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/drivers/i2c/rx6110sa/chip.h')
-rw-r--r-- | src/drivers/i2c/rx6110sa/chip.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/i2c/rx6110sa/chip.h b/src/drivers/i2c/rx6110sa/chip.h index 46ef7f1e3a..4df95806ac 100644 --- a/src/drivers/i2c/rx6110sa/chip.h +++ b/src/drivers/i2c/rx6110sa/chip.h @@ -3,6 +3,7 @@ #include "rx6110sa.h" struct drivers_i2c_rx6110sa_config { + unsigned int bus_speed; /* Bus clock in Hz (default 400 kHz)*/ /* The day (of the week) is indicated by 7 bits, bit 0 to bit 6. */ unsigned char user_weekday; /* User day of the week to set */ unsigned char user_day; /* User day to set */ |