From nobody Sun Feb 8 18:18:43 2026 Received: from ironport.ite.com.tw (219-87-157-213.static.tfn.net.tw [219.87.157.213]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4CA2E3254AF; Mon, 22 Dec 2025 03:10:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=219.87.157.213 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766373050; cv=none; b=fXfrNV8G4/kBZvMKEct1mxpAEKmHSD+5Z/fuVuFnHC0XkVX5cwVfX2/m8beJbpvVyV/ia4dzHiCllkXEWHpzj+5pGtUH1mNgk0RZpU0qaeE/E2fz/rXelZ1NkFwztvgtncdoqVWfcbIOYLX8nsbOCL52fE3Om2N5CgNupmiVl4E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766373050; c=relaxed/simple; bh=XElwW9hs8LNozFkSAZVv6bHsQXqI1zrLpwvbMZHygv4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=nTMi6fMhY8l5sAnX7LrxUhhVlGs7opJVU8B8/scA1pTlma771wL8fgFdTOznkaAeUBpQ7uyVRaIUB/jBd/+z/Ah4ChP9I3jOJwnfvkZUd4pk9ziiMfcla+7jalcJTGkWAndpSFg1KrHq1P+8ZNETXunGPGWcLnpce1BoAlHiXdk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ite.com.tw; spf=pass smtp.mailfrom=ite.com.tw; dkim=pass (2048-bit key) header.d=ite.com.tw header.i=@ite.com.tw header.b=Esa81WLr; arc=none smtp.client-ip=219.87.157.213 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ite.com.tw Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ite.com.tw Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ite.com.tw header.i=@ite.com.tw header.b="Esa81WLr" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ite.com.tw; s=dkim; h=from:date:subject:mime-version:content-transfer-encoding: message-id:references:in-reply-to:to:cc; bh=JpYDUJToWDqrzA1FWOgU0z00m/lR3GxAeDGpy+BFzrs=; b=Esa81WLrS2NmgbmRcQ273bKXZWxs9CS/Gv1uSbgOPoB1pJDauPQeTnG+ Ldl8oSbUfXk2E9Jq9Lxbqkdbd7yEV6yhLS31/WryG3hmb07hQaJLJC9N6 TnkEmnoTyGtGkl3j2IDQcVwFbImtARW0rZtnrTtaAK0Cdm4N1TgaPrGoZ VcWyOc6TVlSmCTIYj5hEg1KflYoPnozhNNYMq8Fa5kK2ZTmh9ziqWnjIx zzip2SEPNhowrR83lcjAQVqGcXVrozOdPjaDiFs39Jc4lm3ojggGZR0SD wwU/z/VFE5h3if9z1cHYwSQcgoX4l5vxVAw1XuSX5jyzK2pXVj3zfWWIS Q==; X-CSE-ConnectionGUID: NAP//sBMTbair+I2L8GeVg== X-CSE-MsgGUID: U4S6JOB2TvO24g7vwtSKqQ== Received: from unknown (HELO mse.ite.com.tw) ([192.168.35.30]) by ironport.ite.com.tw with ESMTP; 22 Dec 2025 11:10:32 +0800 Received: from CSBMAIL1.internal.ite.com.tw (CSBMAIL1.internal.ite.com.tw [192.168.65.58]) by mse.ite.com.tw with ESMTP id 5BM3AZug076414; Mon, 22 Dec 2025 11:10:35 +0800 (+08) (envelope-from Pet.Weng@ite.com.tw) Received: from [127.0.1.1] (192.168.72.40) by CSBMAIL1.internal.ite.com.tw (192.168.65.58) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.57; Mon, 22 Dec 2025 11:10:33 +0800 From: Pet Weng Date: Mon, 22 Dec 2025 11:10:12 +0800 Subject: [PATCH v5 1/3] dt-binding: display: Add ITE IT61620 MIPI DSI to HDMI bridge Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-ID: <20251222-it61620-0714-v5-1-afb6479ad3ca@ite.com.tw> References: <20251222-it61620-0714-v5-0-afb6479ad3ca@ite.com.tw> In-Reply-To: <20251222-it61620-0714-v5-0-afb6479ad3ca@ite.com.tw> To: Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: , , , Hermes Wu , Kenneth Hung , Pet Weng , Pin-yen Lin X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1766373040; l=4445; i=pet.weng@ite.com.tw; s=20250702; h=from:subject:message-id; bh=XElwW9hs8LNozFkSAZVv6bHsQXqI1zrLpwvbMZHygv4=; b=PRouKRvCbqBx2ngFC9KppgyAB05VGqRYz3u1nUN7uE4C/VYqXyKPlTjsLkIoaYBjNrbne6OJs JHx0o1fr7/UDVQJvO0VcdWoL9xdcHRNgWaX2Q9SLY0mF+f2nUnmhN0A X-Developer-Key: i=pet.weng@ite.com.tw; a=ed25519; pk=wd08uBtTLb93x2ixbKVNsxiZPdMh1Ov4z5klodh2bqo= X-ClientProxiedBy: CSBMAIL1.internal.ite.com.tw (192.168.65.58) To CSBMAIL1.internal.ite.com.tw (192.168.65.58) X-TM-SNTS-SMTP: 61615E09DE9FF5489301F625DE445541F66A46045C7E43BAA55EB642EAD87D342002:8 X-MAIL: mse.ite.com.tw 5BM3AZug076414 This chip receives MIPI DSI input and outputs HDMI, and is commonly connected to SoCs via I2C and DSI. Signed-off-by: Pet Weng Reviewed-by: Krzysztof Kozlowski --- .../bindings/display/bridge/ite,it61620.yaml | 142 +++++++++++++++++= ++++ 1 file changed, 142 insertions(+) diff --git a/Documentation/devicetree/bindings/display/bridge/ite,it61620.y= aml b/Documentation/devicetree/bindings/display/bridge/ite,it61620.yaml new file mode 100644 index 0000000000000000000000000000000000000000..e195d192f6b1a2d092b3745e3e7= f62b8b1d2d8ce --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/ite,it61620.yaml @@ -0,0 +1,142 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/bridge/ite,it61620.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ITE IT61620 MIPI DSI to HDMI Bridge + +maintainers: + - Pet Weng + +description: | + The ITE IT61620 is a high-performance, low-power HDMI bridge that conver= ts + MIPI DSI input to HDMI 1.4b TMDS output. It supports up to 4 lanes of MI= PI + D-PHY 2.0 input at 2.5Gbps per lane (10Gbps total), compatible with DSI-2 + v2.0. + + The HDMI transmitter side supports up to 4Kx2K@30Hz resolutions, and is + compliant with HDMI 1.4b and HDCP 1.4. + + For audio, the IT61620 supports up to 8-channel LPCM via I2S (multi-line= or + TDM mode), with optional S/PDIF or DSD (for SACD). It supports audio + sampling rates up to 192kHz. + +allOf: + - $ref: /schemas/sound/dai-common.yaml# + +properties: + compatible: + const: ite,it61620 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + reset-gpios: + maxItems: 1 + + ivdd-supply: + description: core voltage + + ovdd-supply: + description: I/O voltage + + ovdd1833-supply: + description: flexible I/O voltage + + "#sound-dai-cells": + const: 0 + + ports: + $ref: /schemas/graph.yaml#/properties/ports + + properties: + port@0: + $ref: /schemas/graph.yaml#/$defs/port-base + unevaluatedProperties: false + description: Input port for MIPI DSI + + properties: + endpoint: + $ref: /schemas/media/video-interfaces.yaml# + unevaluatedProperties: false + required: + - data-lanes + + port@1: + $ref: /schemas/graph.yaml#/properties/port + description: Output port for HDMI output + + port@2: + $ref: /schemas/graph.yaml#/properties/port + description: Audio input port (I2S) + + required: + - port@0 + - port@1 + +required: + - compatible + - reg + - interrupts + - reset-gpios + - ivdd-supply + - ovdd-supply + - ovdd1833-supply + - ports + +unevaluatedProperties: false + +examples: + - | + #include + #include + + i2c { + #address-cells =3D <1>; + #size-cells =3D <0>; + + bridge@58 { + compatible =3D "ite,it61620"; + reg =3D <0x58>; + #sound-dai-cells =3D <0>; + interrupt-parent =3D <&pio>; + interrupts =3D <128 IRQ_TYPE_LEVEL_LOW>; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&it61620_pins>; + reset-gpios =3D <&pio 127 GPIO_ACTIVE_LOW>; + ivdd-supply =3D <&pp1000_hdmi_x>; + ovdd-supply =3D <&pp3300_vio28_x>; + ovdd1833-supply =3D <&pp1800_vcamio_x>; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + it61620_dsi_in: endpoint { + data-lanes =3D <0 1 2 3>; + remote-endpoint =3D <&dsi_out>; + }; + }; + + port@1 { + reg =3D <1>; + it61620_hdmi_out: endpoint { + remote-endpoint =3D <&hdmi_connector_in>; + }; + }; + + port@2 { + reg =3D <2>; + it61620_audio_in: endpoint { + remote-endpoint =3D <&i2s0_out>; + }; + }; + }; + }; + }; --=20 2.34.1 From nobody Sun Feb 8 18:18:43 2026 Received: from ironport.ite.com.tw (219-87-157-213.static.tfn.net.tw [219.87.157.213]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C58EE32548A; Mon, 22 Dec 2025 03:10:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=219.87.157.213 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766373052; cv=none; b=n8XIg00pOk7akGG00eCMaVCJ7FqfUeZBO8Ubjy06Cf6vKeSzmgmk3NTAWT/mS3AstQOfRvc+nXXv3d3JI0/VPbBBY9CVWBqe9iV+PnKLRhqLLNdWMlTWtPD2Rc5l6FVsQ0LM3ybgZvE2ZUCDEPd+vLqjcXWyLm7XVjYEWWhBYe0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766373052; c=relaxed/simple; bh=w26d3I9nwleuy7gug7eICHAjOyJXnU6Z0H2DeFEzvkI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=qzftiq2XxM73vSxYcG9rs+ZTA5AHoPFttyyl7EReMMbaArDo9viYnd2KpwVhd5bnWKEoH+0vMxU/UBkQXEsmXh4btVhmsd1Ok342AjuKdZ79qrT3FxHbPrUTfsULXVPbi7mlRk9YBJOEFwVoBJL+qUuFTHaRXyEvTFfUJRWFwdg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ite.com.tw; spf=pass smtp.mailfrom=ite.com.tw; dkim=pass (2048-bit key) header.d=ite.com.tw header.i=@ite.com.tw header.b=jsEHu6nB; arc=none smtp.client-ip=219.87.157.213 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ite.com.tw Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ite.com.tw Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ite.com.tw header.i=@ite.com.tw header.b="jsEHu6nB" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ite.com.tw; s=dkim; h=from:date:subject:mime-version:content-transfer-encoding: message-id:references:in-reply-to:to:cc; bh=k+9pTpM02A1ZPXkh2mWVEjGFFQuX0uPa3PjGcAOhLYI=; b=jsEHu6nBMve3v5SqSwQQTA6neyRjDJvtssQdFhCORyj0KA3ExEUvproT DtewSeiSgHaBz3C86eNXMrb2obmG4eymp9mkYnQ/QKszFqNjGW1aAB5ji TWga38ido7l7hGG+rHzoc5P5mButeACB9WFCj4ToGxDgYC6nDWT1o7295 pS6SFRhGE/TbtILnH6i2WllR+fuVH99b5aVn48fTiY/dob3jpWiBHLMns sKQtJVJlymJvYL3YCHWgCRRA00XM+234EBcvegj/5a4TkT8NuAz1UHEA8 42+DAll3822APCeS6Q61ZmZyYnMjDmI0bo4tz26v3oBvmhbklsPuc2TZA Q==; X-CSE-ConnectionGUID: IlTQkP3rTnStq+ef0nE1Mw== X-CSE-MsgGUID: nzPuNLBtTCCRc82zWN9IfQ== Received: from unknown (HELO mse.ite.com.tw) ([192.168.35.30]) by ironport.ite.com.tw with ESMTP; 22 Dec 2025 11:10:31 +0800 Received: from CSBMAIL1.internal.ite.com.tw (CSBMAIL1.internal.ite.com.tw [192.168.65.58]) by mse.ite.com.tw with ESMTP id 5BM3AYRq076402; Mon, 22 Dec 2025 11:10:34 +0800 (+08) (envelope-from Pet.Weng@ite.com.tw) Received: from [127.0.1.1] (192.168.72.40) by CSBMAIL1.internal.ite.com.tw (192.168.65.58) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.57; Mon, 22 Dec 2025 11:10:34 +0800 From: Pet Weng Date: Mon, 22 Dec 2025 11:10:13 +0800 Subject: [PATCH v5 2/3] drm/bridge: Add ITE IT61620 MIPI DSI to HDMI bridge driver Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-ID: <20251222-it61620-0714-v5-2-afb6479ad3ca@ite.com.tw> References: <20251222-it61620-0714-v5-0-afb6479ad3ca@ite.com.tw> In-Reply-To: <20251222-it61620-0714-v5-0-afb6479ad3ca@ite.com.tw> To: Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: , , , Hermes Wu , Kenneth Hung , Pet Weng , Pin-yen Lin X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1766373040; l=86918; i=pet.weng@ite.com.tw; s=20250702; h=from:subject:message-id; bh=w26d3I9nwleuy7gug7eICHAjOyJXnU6Z0H2DeFEzvkI=; b=iDIXqdTfrPdk3QQR/O5FD8PDFqlCOYBz3iQBAoxQihX+LYafcpgZaXMaJJeWzG5qBVfJ4M2eF EBPypHaH5A2B559ol46zp93MpFiKcCSgKByfp+V5jmVXgj1BVT/xN7x X-Developer-Key: i=pet.weng@ite.com.tw; a=ed25519; pk=wd08uBtTLb93x2ixbKVNsxiZPdMh1Ov4z5klodh2bqo= X-ClientProxiedBy: CSBMAIL1.internal.ite.com.tw (192.168.65.58) To CSBMAIL1.internal.ite.com.tw (192.168.65.58) X-TM-SNTS-SMTP: 37B1D660B79EA566D70C475FAFA990F0D0BC2F02183F07A9CBE135784E50EB6A2002:8 X-MAIL: mse.ite.com.tw 5BM3AYRq076402 This adds support for the ITE IT61620 bridge chip which converts MIPI DSI input to HDMI output. The Driver implements the basic bridge functions and integrates with the DRM bridge and connector frameworks. Supported fetures include: MIPI DSI input handling HDMI output setup Basic mode configuration I2C-based control and initialization HDCP 1.4 handling HPD handling clarification: Although IT61620 has an HPD pin, hotplug detection is handled by the system connector. The bridge only receives HPD notifications, and the HPD pin is used solely for short pulses during HDCP authentication. Therefore, this bridge does not implement OP_HPD or OP_DETECT, as it does not originate or determine hotplug or connection status. This driver will be used on platforms embedding the IT61620 for video output via HDMI from SoCs with MIPI DSI output. Signed-off-by: Pet Weng --- drivers/gpu/drm/bridge/Kconfig | 18 + drivers/gpu/drm/bridge/Makefile | 1 + drivers/gpu/drm/bridge/ite-it61620.c | 2787 ++++++++++++++++++++++++++++++= ++++ 3 files changed, 2806 insertions(+) diff --git a/drivers/gpu/drm/bridge/Kconfig b/drivers/gpu/drm/bridge/Kconfig index a250afd8d662200c250f8e7c1b968a956b9c180c..69430734faabae6e5eb8aa6c50c= dc47eca3545e1 100644 --- a/drivers/gpu/drm/bridge/Kconfig +++ b/drivers/gpu/drm/bridge/Kconfig @@ -111,6 +111,24 @@ config DRM_ITE_IT6263 help ITE IT6263 LVDS to HDMI bridge chip driver. =20 +config DRM_ITE_IT61620 + tristate "ITE IT61620 DSI/HDMI bridge" + depends on OF + select DRM_DISPLAY_CONNECTOR + select DRM_DISPLAY_HDMI_HELPER + select DRM_DISPLAY_HDCP_HELPER + select DRM_DISPLAY_HELPER + select DRM_MIPI_DSI + select DRM_KMS_HELPER + select DRM_HDMI_HELPER + select CRYPTO_LIB_SHA1 + help + Driver for ITE IT61620 MIPI DSI to HDMI bridge + chip driver. + + It enables display output through HDMI when connected to a MIPI + DSI source. The bridge translates the video signals for HDMI monitors. + config DRM_ITE_IT6505 tristate "ITE IT6505 DisplayPort bridge" depends on OF diff --git a/drivers/gpu/drm/bridge/Makefile b/drivers/gpu/drm/bridge/Makef= ile index c7dc03182e59273f52250ecd158d90ac3d29439c..41668786a909a217872ef2222b5= 45d2b5bf87b51 100644 --- a/drivers/gpu/drm/bridge/Makefile +++ b/drivers/gpu/drm/bridge/Makefile @@ -11,6 +11,7 @@ tda998x-y :=3D tda998x_drv.o obj-$(CONFIG_DRM_I2C_NXP_TDA998X) +=3D tda998x.o =20 obj-$(CONFIG_DRM_ITE_IT6263) +=3D ite-it6263.o +obj-$(CONFIG_DRM_ITE_IT61620) +=3D ite-it61620.o obj-$(CONFIG_DRM_ITE_IT6505) +=3D ite-it6505.o obj-$(CONFIG_DRM_LONTIUM_LT8912B) +=3D lontium-lt8912b.o obj-$(CONFIG_DRM_LONTIUM_LT9211) +=3D lontium-lt9211.o diff --git a/drivers/gpu/drm/bridge/ite-it61620.c b/drivers/gpu/drm/bridge/= ite-it61620.c new file mode 100644 index 0000000000000000000000000000000000000000..d150510c80ed0d6206edf869d56= a7000864616bc --- /dev/null +++ b/drivers/gpu/drm/bridge/ite-it61620.c @@ -0,0 +1,2787 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2025 ITE Tech. Inc. + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include