Add aplsmc(4), a driver for the SMC found on Apple M1 SoCs.
authorkettenis <kettenis@openbsd.org>
Mon, 10 Jan 2022 09:07:28 +0000 (09:07 +0000)
committerkettenis <kettenis@openbsd.org>
Mon, 10 Jan 2022 09:07:28 +0000 (09:07 +0000)
commitd80548ace53d64d712ae062359a16cdad3988e24
treee046e28bd6809492fbcdf4379beb72c7c61991ba
parent6131d3a0073eca21781c3e725ea67d6adab972ce
Add aplsmc(4), a driver for the SMC found on Apple M1 SoCs.

The SMC implements a lot of functionality.  For now the driver only
implements a bunch of sensors.  This is a small subset of the sensors
that are made available by the SMC as we don't know what measurments
are provided for most sensors.

ok patrick@
sys/arch/arm64/conf/GENERIC
sys/arch/arm64/conf/files.arm64
sys/arch/arm64/dev/aplns.c
sys/arch/arm64/dev/aplsmc.c [new file with mode: 0644]
sys/arch/arm64/dev/rtkit.c
sys/arch/arm64/dev/rtkit.h