From mboxrd@z Thu Jan 1 00:00:00 1970 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 3C0A43EB0E5; Fri, 17 Jul 2026 10:02: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=1784282570; cv=none; b=CDyJs+LcYFmeLbxR6LSBZrHwjibFEX2a/ez2HuYizr/9RbWUD2xxNbx6R7xIv3vYjbjfMwW07qq7dT9v+BhbUmmcqrZc/APHzoJ8a+GK/PVirrx/inIIzN6MBiaCo7QI4Mnx1o27axahVt1fqifDzUJtCXuXmrLXBorDPS5RGVo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784282570; c=relaxed/simple; bh=qRbuU1fJONUFcXhwsNls3CqW9F1neg4PzJBapUH/D9Q=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=SKfNVpktMhP32ESPGQ8NKBKtaDHM7N8+SIM0vjvhIiDkS4tiPMGcWuZvFf8KWjAJs9e0jqfrSKwyBxDExXcxHcdnrKz471l22Nt2HwsAyp9AoktE/ECRJiFx2o9mOOwPjiT1rvwN+os/rgTm9inBjiHOSGi0AOgmQ191YA0ioTc= 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=akia1yoW; 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="akia1yoW" 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=LR4WdiBTr8AybkBsMPgR38RfaV4nk2T6g/AEoefKEsw=; b=akia1yoW0CigY/SfnO3hQjJbR0TLAq+3gzqHaPsWhox1yfDyRC+WX2Mk Rjxx1Oaz9J6WABVz+4eBHb7pen7AzUwtS+/P8uqEmik00QEm+LfZ3nNOb JjU37OdiWo+2g0BiXYTwQuStOHW/P5xln1ne+djE2m4F5BjJEWH96I6fy MMz+F3DDRCuvsXnJjhBahN1R1X3BnM/16WAHGzggWstyJCV5i4PwMCKad a02UYtro7QMMEwVcAi6fLTxE+HkraQR9iZvvthuZ4EzxvzpaV4VlkCas1 b2sbhcWvzlU4GVcO3vdtsNvWDBjrivVKxrxwPBWA5nE4F2MwSyDju/cEq g==; X-CSE-ConnectionGUID: DvZuyMllSPCvlqQlXPr66w== X-CSE-MsgGUID: kiJ5WEOjSWONzsw6fDWUKA== Received: from unknown (HELO mse.ite.com.tw) ([192.168.35.30]) by ironport.ite.com.tw with ESMTP; 17 Jul 2026 17:59:23 +0800 Received: from hscmail1.internal.ite.com.tw (HSCMAIL1.internal.ite.com.tw [192.168.35.58]) by mse.ite.com.tw with ESMTP id 66H9xEuE095317; Fri, 17 Jul 2026 17:59:14 +0800 (+08) (envelope-from amber.kao@ite.com.tw) Received: from [127.0.1.1] (192.168.37.107) by HSCMAIL1.internal.ite.com.tw (192.168.35.58) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.37; Fri, 17 Jul 2026 17:59:12 +0800 From: Amber Kao Date: Fri, 17 Jul 2026 17:59:49 +0800 Subject: [PATCH v4 1/2] dt-bindings: usb: Add ITE IT8851/IT8853 Type-C PD controllers Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: <20260717-ucsi-itepd-v4-1-f3ba5addd0df@ite.com.tw> References: <20260717-ucsi-itepd-v4-0-f3ba5addd0df@ite.com.tw> In-Reply-To: <20260717-ucsi-itepd-v4-0-f3ba5addd0df@ite.com.tw> To: Jeson Yang , Yaode Fang , Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heikki Krogerus CC: , , , Amber Kao , Bling Chiang , Eric Su , Doreen Lin X-Mailer: b4 0.15.2 X-ClientProxiedBy: TPEMAIL1.internal.ite.com.tw (192.168.15.58) To HSCMAIL1.internal.ite.com.tw (192.168.35.58) X-TM-SNTS-SMTP: 99561AA220601B9EE1261A8CC89F853DE619C57C64E1D819E72BAC1760A6C9D42002:8 X-MAIL:mse.ite.com.tw 66H9xEuE095317 Add device tree binding for the ITE IT8851 and IT8853 I2C-based USB Type-C Power Delivery controllers. The IT8851 supports one Type-C port; the IT8853 is the two-port variant sharing the same interface. Add a MAINTAINERS entry for the binding. Cc: Yaode Fang Cc: Jeson Yang Cc: Bling Chiang Cc: Eric Su Cc: Doreen Lin Signed-off-by: Amber Kao --- .../devicetree/bindings/usb/ite,it8851.yaml | 142 +++++++++++++++++++++ MAINTAINERS | 8 ++ 2 files changed, 150 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/ite,it8851.yaml b/Documentation/devicetree/bindings/usb/ite,it8851.yaml new file mode 100644 index 000000000000..97c1e5490518 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/ite,it8851.yaml @@ -0,0 +1,142 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/ite,it8851.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ITE IT8851/IT8853 USB Type-C Power Delivery Controller + +maintainers: + - Jeson Yang + +description: + The ITE IT8851 is an I2C-based USB Type-C Power Delivery (PD) controller + supporting one Type-C port. + The IT8853 is the two-port variant sharing the same programming interface. + +properties: + compatible: + enum: + - ite,it8851 + - ite,it8853 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + wakeup-source: true + + '#address-cells': + const: 1 + + '#size-cells': + const: 0 + +patternProperties: + "^connector@[01]$": + $ref: /schemas/connector/usb-connector.yaml# + unevaluatedProperties: false + +required: + - compatible + - reg + - interrupts + +allOf: + - if: + properties: + compatible: + contains: + const: ite,it8851 + then: + properties: + connector@1: false + +unevaluatedProperties: false + +examples: + - | + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + typec@40 { + compatible = "ite,it8853"; + reg = <0x40>; + interrupts-extended = <&tlmm 129 IRQ_TYPE_EDGE_FALLING>; + wakeup-source; + + #address-cells = <1>; + #size-cells = <0>; + + connector@0 { + compatible = "usb-c-connector"; + reg = <0>; + label = "USB-C-0"; + power-role = "dual"; + data-role = "dual"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + endpoint { + remote-endpoint = <&eud_con>; + }; + }; + + port@1 { + reg = <1>; + endpoint { + remote-endpoint = <&redriver_ss_out>; + }; + }; + + port@2 { + reg = <2>; + endpoint { + remote-endpoint = <&fsa4480_sbu_mux>; + }; + }; + }; + }; + + connector@1 { + compatible = "usb-c-connector"; + reg = <1>; + label = "USB-C-1"; + power-role = "dual"; + data-role = "dual"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + endpoint { + remote-endpoint = <&usb1_hs_con>; + }; + }; + port@1 { + reg = <1>; + endpoint { + remote-endpoint = <&redriver1_ss_out>; + }; + }; + port@2 { + reg = <2>; + endpoint { + remote-endpoint = <&sbu_mux1>; + }; + }; + }; + }; + }; + }; diff --git a/MAINTAINERS b/MAINTAINERS index 461a3eed6129..ec0eeea79b9e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -13720,6 +13720,14 @@ T: git https://gitlab.freedesktop.org/drm/misc/kernel.git F: Documentation/devicetree/bindings/display/bridge/ite,it66121.yaml F: drivers/gpu/drm/bridge/ite-it66121.c +ITE IT8851 TYPE-C PD CONTROLLER DRIVER +M: Amber Kao +R: Jeson Yang +R: Yaode Fang +L: linux-usb@vger.kernel.org +S: Maintained +F: Documentation/devicetree/bindings/usb/ite,it8851.yaml + IVTV VIDEO4LINUX DRIVER M: Andy Walls L: linux-media@vger.kernel.org -- 2.53.0