ACPI Driver for AMC6821 Fan Controller (SolidRun HoneyComb LX2 Board)

From: Pierre-Luc Drouin <pldrouin_at_pldrouin.net>
Date: Sun, 07 Jan 2024 04:43:39 UTC
Hi,

I would like to get access to the AMC6821 I2C fan controller on my SolidRun HoneyComb LX2 board. Currently I only see it here:

devinfo -v | grep I2C
unknown pnpinfo _HID=NXP0001 _UID=0 _CID=none at handle=\_SB_.I2C0
unknown pnpinfo _HID=NXP0002 _UID=0 _CID=none at handle=\_SB_.I2C0.MUX0
unknown pnpinfo _HID=PRP0001 _UID=0 _CID=none at handle=\_SB_.I2C0.MUX0.CH01.FAN1
unknown pnpinfo _HID=PRP0001 _UID=1 _CID=none at handle=\_SB_.I2C0.MUX0.CH03.THE1
unknown pnpinfo _HID=NXP0001 _UID=1 _CID=none at handle=\_SB_.I2C1

There is no iic device in /dev

There is info regarding fan control on this board here: https://community.solid-run.com/t/fan-control/205

Am I correct that the only way to get access to the controller from the OS side is to write an ACPI driver for it? What is involved exactly?

Thanks!