Maxim Polyakov uploaded patch set #3 to this change.
soc/intel/apl: Add ACPI for SMBus control
Add APCI code that allows the OS to control devices on the SMBus. This
is based on acpidump from AMI firmware on the Kontron mAL10 COMe [1]
module and SMBus Control Methods Interface Specification, Ver 1.0, 1999.
TEST = After loading the nct7802 module on the Kontron mAL-10 with Linux
OS, we can read the hwm registers, see temperature and fan speed:
user@user-apl:~$ sensors
coretemp-isa-0000
Adapter: ISA adapter
Package id 0: +41.0°C (high = +110.0°C, crit = +110.0°C)
Core 0: +40.0°C (high = +110.0°C, crit = +110.0°C)
Core 1: +40.0°C (high = +110.0°C, crit = +110.0°C)
Core 2: +41.0°C (high = +110.0°C, crit = +110.0°C)
Core 3: +41.0°C (high = +110.0°C, crit = +110.0°C)
nct7802-i2c-0-2e
Adapter: SMBus CMI adapter cmi
in0: +3.35 V (min = +0.00 V, max = +4.09 V)
in1: +1.92 V
in3: +1.21 V (min = +0.00 V, max = +2.05 V)
in4: +1.68 V (min = +0.00 V, max = +2.05 V)
fan1: 0 RPM (min = 0 RPM)
fan2: 868 RPM (min = 0 RPM)
fan3: 0 RPM (min = 0 RPM)
temp1: +42.5°C (low = +0.0°C, high = +85.0°C)
(crit = +100.0°C) sensor = thermistor
temp4: +44.0°C (low = +0.0°C, high = +85.0°C)
(crit = +100.0°C)
temp6: +0.0°C
[1] https://review.coreboot.org/c/coreboot/+/39133
Change-Id: I3846266d3155bbe831123fef4751748ff0e00511
Signed-off-by: Maxim Polyakov <max.senia.poliak@gmail.com>
---
A src/soc/intel/apollolake/acpi/smbus.asl
M src/soc/intel/apollolake/acpi/southbridge.asl
2 files changed, 490 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/07/44507/3
To view, visit change 44507. To unsubscribe, or for help writing mail filters, visit settings.