From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ironport.ite.com.tw (hc210-202-87-179.vdslpro.static.apol.com.tw [210.202.87.179]) (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 82C9546C4CD; Fri, 7 Aug 2026 10:17:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.202.87.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786097851; cv=none; b=sfpxSq9QOSWGDyfo3l5LIMEr+9AF2swCWHBP0206YlJv6oSY8W8DsIJ9pmzJrwv59s9DT0+M70+aF13NeyEWIYP8zkok9TL+UdJ4ORcziRgEnoPOEkXx91O+zMOPfxIiiPsniVkyl5AcswdVx6p5v3+nHAAo9wUAzj85cSxjRPo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786097851; c=relaxed/simple; bh=00Zqcx3g5CvGhu67DmPb5QHn/VUAJ/Kqu79xbs6kX2s=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=dL6vA8xnbkSPWS3+bS67dZCws9X49amssVGsRNtRtvHXB9vRygLdVu3b+SQI7UBb/AMMg3fHul+UAbszIH4vDkLjzyxMzRoERyJryWNp4CL6iRO3QrkeCgH3ybK6DLjfsomE6gvi04SBJku5IIZcrcwXTXogsFZrYnMtYFdX4zQ= 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=tKudDUl3; arc=none smtp.client-ip=210.202.87.179 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="tKudDUl3" 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=GFWRtbRAlOf7aWUH8X/rypIh34vF+iPklf2lA8m5A+g=; b=tKudDUl3CIzo8up8vN3rbpMNw7BXVkVaGuAi8Yi/tRTkmoBEREHZt9+/ 8Pz+ahLVw2pOhNB2MZG9WeI+5GjS1ZQbWWI/yeSaXMjhspb32cjx7m8i2 A4T+rjc3827NeoA50QEozO8zWjEUbR0TTRIxjJRyNaMMQ4tiWpZIUwXSA Xn+jA4aBclUYl7CUitETdFbp/ZtO2rNdtm+Nb1vRv22Rp0yqkZR1WSIck lWsXI7O3YgJnjDEWAUO3ltMjjUithZ5vtdTzCL+NROFO0EvRK5mK2Sd4t AVj4uCbZfpBrP/apyJam2mzYh2BGt/liXh1S15JcX7naMCC7NBQoC1G59 w==; X-CSE-ConnectionGUID: NqMMQt0/RyCvkpJg//3pfg== X-CSE-MsgGUID: K8jy4ZplS1mrerYXy6uXCw== Received: from unknown (HELO mse.ite.com.tw) ([192.168.35.30]) by ironport.ite.com.tw with ESMTP; 07 Aug 2026 18:17:16 +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 677AHASk092219; Fri, 7 Aug 2026 18:17:10 +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, 7 Aug 2026 18:17:08 +0800 From: Amber Kao Date: Fri, 7 Aug 2026 18:17:45 +0800 Subject: [PATCH v7 1/2] dt-bindings: usb: Add ITE IT8851/IT8853 Type-C PD controllers Precedence: bulk X-Mailing-List: devicetree@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: <20260807-ucsi-itepd-v7-1-998ac11ed0ef@ite.com.tw> References: <20260807-ucsi-itepd-v7-0-998ac11ed0ef@ite.com.tw> In-Reply-To: <20260807-ucsi-itepd-v7-0-998ac11ed0ef@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: CSBMAIL2.internal.ite.com.tw (192.168.65.41) To HSCMAIL1.internal.ite.com.tw (192.168.35.58) X-TM-SNTS-SMTP: F0BE1E4B254FE682D5F55F9BC78FE49E27926CB36AD5E807DA2DA456448F7C8A2002:8 X-MAIL:mse.ite.com.tw 677AHASk092219 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 | 156 +++++++++++++++++++++ MAINTAINERS | 8 ++ 2 files changed, 164 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..9f60017fb022 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/ite,it8851.yaml @@ -0,0 +1,156 @@ +# 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: + oneOf: + - const: ite,it8851 + - items: + - const: ite,it8853 + - const: ite,it8851 + + 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# + properties: + reg: + maxItems: 1 + required: + - reg + unevaluatedProperties: false + +required: + - compatible + - reg + - interrupts + +anyOf: + - required: + - connector@0 + - required: + - connector@1 + +allOf: + - if: + not: + properties: + compatible: + contains: + const: ite,it8853 + then: + properties: + connector@1: false + +unevaluatedProperties: false + +examples: + - | + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + typec@40 { + compatible = "ite,it8853", "ite,it8851"; + 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