Re: [PATCH 2/2] usb: typec: ucsi: add ITE885x I2C transport driver
From: Heikki Krogerus
Date: Mon Mar 16 2026 - 10:59:24 EST
Hi,
> +// SPDX-License-Identifier: GPL-2.0-only
> +/*
> + * UCSI I2C transport driver for ITE885x USB-C controllers
> + *
> + * ITE8853/ITE8800-ITE8805 are UCSI-compliant USB-C controllers found on
> + * ASUS Z690/Z790/X670E motherboards. They communicate via I2C with
> + * ITE-proprietary register offsets and interrupt registers.
> + *
> + * Note: Some BIOS implementations declare both MSFT8000 (generic UCSI) and
> + * ITE8853 (vendor-specific) ACPI devices at the same I2C address. The i2c
> + * core skips the generic device when a vendor-specific sibling exists,
> + * allowing this driver to bind to the ITE8853 client with proper IRQ.
> + */
Besides the above comment, this looks okay to me.
But couldn't you use the resource managed version to request the irq:
devm_request_threaded_irq() ?
thanks,
--
heikki