Re: [PATCH v12 0/3] Firmware Support for USB-HID Devices and CP2112

From: Andy Shevchenko

Date: Wed Nov 26 2025 - 13:29:25 EST


On Wed, Nov 26, 2025 at 11:05:23AM -0600, Danny Kaehn wrote:
> This patchset allows USB-HID devices to have Firmware bindings through sharing
> the USB fwnode with the HID driver, and adds such a binding and driver
> implementation for the CP2112 USB to SMBus Bridge (which necessitated the
> USB-HID change). This change allows a CP2112 permanently attached in hardware to
> be described in DT and ACPI and interoperate with other drivers.
>
> Changes in v12:
> - dt-binding changes:
> - Drop "on the host controller" from top-level description based on
> comment from Rob H.
> - Correct "Properties must precede subnodes" dt_binding_check error by
> moving gpio_chip-related properties above the i2c subnode in the
> binding and in the example.
> - Include `interrupt-controller` property in the example
> - Modify hid-cp2112.c to support separate schemas for DT vs. ACPI - DT
> combines gpio subnode with the CP2112's node, but will have an I2C
> subnode; while ACPI will maintain separate child nodes for the GPIO
> I2C devices

Thanks for pursuing this! I have a few comments, but in general I'm fine with
the design.

--
With Best Regards,
Andy Shevchenko