HomeFreeBSD

MFC r338111, r338215

Description

MFC r338111, r338215

r338111:
[ig4] add ACPI Device HID for AMD platforms

Added ACPI Device HID AMDI0010 for the designware I2C controllers in
future AMD platforms. Also, when verifying component version check for
minimal value instead of exact match.

PR: 230641
Submitted by: Rajesh <rajfbsd@gmail.com>
Reviewed by: cem, gonzo
Differential Revision: https://reviews.freebsd.org/D16670

r338215:
[ig4] Fix I/O timeout issue with Designware I2C controller on AMD platforms

Due to hardware limitation AMD I2C controller can't trigger pending
interrupt if interrupt status has been changed after clearing
interrupt status bits. So, I2C will lose the interrupt and IO will be
timed out. Implements a workaround to disable I2C controller interrupt
and re-enable I2C interrupt before existing interrupt handler.

Submitted by: rajfbsd@gmail.com
Differential Revision: https://reviews.freebsd.org/D16720

Details

Committed
gonzoSep 30 2018, 11:15 PM
Reviewer
cem
Differential Revision
D16670: Designware I2C: Add ACPI Device HID for AMD platforms
Parents
rS339029: MFC r336050-r336051, r336142, r336326, r337719
Branches
Unknown
Tags
Unknown