Re: [PATCH v2 2/2] usb: typec: ucsi: itepd: Add DisplayPort alternate mode support

From: Heikki Krogerus

Date: Tue Sep 22 2026 - 07:04:38 EST


On Fri, Sep 18, 2026 at 06:03:44PM +0800, Amber Kao wrote:
> Add support for DisplayPort alternate mode. The driver retrieves
> the current alternate mode from the PPM, configures the Type-C mux
> and retimer accordingly, and reports HPD state and HPD IRQ events
> through the DRM auxiliary HPD bridge.
>
> Signed-off-by: Amber Kao <ite_pd@xxxxxxxxxx>
> ---
> drivers/usb/typec/ucsi/Kconfig | 8 +-
> drivers/usb/typec/ucsi/ucsi_itepd.c | 404 +++++++++++++++++++++++++++++++++++-
> 2 files changed, 400 insertions(+), 12 deletions(-)
>
> diff --git a/drivers/usb/typec/ucsi/Kconfig b/drivers/usb/typec/ucsi/Kconfig
> index 0f10dac9b34b..c5eaf4967e4e 100644
> --- a/drivers/usb/typec/ucsi/Kconfig
> +++ b/drivers/usb/typec/ucsi/Kconfig
> @@ -105,11 +105,15 @@ config UCSI_HUAWEI_GAOKUN
> called ucsi_huawei_gaokun.
>
> config UCSI_ITEPD
> - tristate "UCSI Interface Driver for ITE IT8851/IT8853"
> + tristate "UCSI Interface Driver for ITE IT885x and IT527x series"
> depends on I2C
> + depends on DRM || !DRM
> + select DRM_AUX_HPD_BRIDGE if DRM_BRIDGE && OF
> help
> This driver enables UCSI support on platforms that expose an
> - ITE IT8851/IT8853 Type-C Power Delivery controller over an I2C interface.
> + ITE IT885x or IT527x series Type-C Power Delivery controller
> + over an I2C interface. It also supports DisplayPort alternate
> + mode, including HPD notification through the DRM bridge.

Please split this part into separate patch.

Thanks,

--
heikki