Re: [PATCH 2/2] Documentation: ACPI: Add Silicon Labs CP2112 enumeration document

From: Andy Shevchenko

Date: Thu Dec 03 2026 - 05:44:03 EST


On Tue, Dec 01, 2026 at 12:35:04PM -0600, Danny Kaehn wrote:
> The hid-cp2112 driver supports describing the CP2112 and its I2C and GPIO
> functions via ACPI, but there is no documentation of how the device is
> expected to be described.
>
> Document that the CP2112 is described as a child of the USB port it is
> attached to, with child device nodes for its I2C controller (_ADR 0) and
> GPIO controller (_ADR 1), and that the I2C bus speed can be set with the
> "clock-frequency" property. Include an example ASL showing an LM75
> temperature sensor on the CP2112 I2C bus and a hog on a CP2112 GPIO.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>

> Link: https://lore.kernel.org/linux-input/autpMnQT8t0Ecu-m@ashevche-desk.local/

Drop this.

And thanks for this one! I always appreciate documentation and test cases updates.

...

> +
> + Device (TMP0)
> + {
> + Name (_HID, "PRP0001")
> + Name (_CRS, ResourceTemplate () {
> + I2cSerialBusV2 (0x48, ControllerInitiated,
> + 400000, AddressingMode7Bit,
> + "\\_SB.PCI0.SE9.RHUB.CP2.I2C0")
> + })
> + Name (_DSD, Package () {
> + ToUUID ("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
> + Package () {
> + Package () { "compatible", "national,lm75" },
> + }
> + })
> + }

Not sure if we need this, but since there are not too many examples of how to
cook PRP0001 in the kernel, I'm fine with this additional piece.

--
With Best Regards,
Andy Shevchenko