drivers/i2c/rx6110sa: Add basic ACPI support
commitb64db833d6db452c28e410f869f6527fd6971228
authorWerner Zeh <werner.zeh@siemens.com>
Thu, 5 Nov 2020 09:41:26 +0000 (5 10:41 +0100)
committerWerner Zeh <werner.zeh@siemens.com>
Thu, 12 Nov 2020 12:46:35 +0000 (12 12:46 +0000)
tree7dbabeeac718b6bdcbad4ad118548d54b2475581
parent81547dd5460ad220e398c531b5d43fd9e8b90c73
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>
src/drivers/i2c/rx6110sa/chip.h
src/drivers/i2c/rx6110sa/rx6110sa.c
src/drivers/i2c/rx6110sa/rx6110sa.h