Re: [PATCH v14 1/2] HID: cp2112: Add fwnode support
From: Bartosz Golaszewski
Date: Thu Jun 04 2026 - 08:47:14 EST
On Wed, 20 May 2026 18:13:06 +0200, Danny Kaehn <danny.kaehn@xxxxxxxxxx> said:
> Support describing the CP2112's I2C and GPIO interfaces in firmware.
>
> Bindings between the firmware nodes and the functions of the device
> are distinct between ACPI and DeviceTree.
>
> For ACPI, the i2c_adapter will use the child with _ADR equal to Zero
> and the gpio_chip will use the child with _ADR equal to One.
>
> For DeviceTree, the i2c_adapter will use the child with name "i2c",
> but the gpio_chip will share a firmware node with the CP2112.
>
> Signed-off-by: Danny Kaehn <danny.kaehn@xxxxxxxxxx>
> ---
Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>