From nobody Fri Apr 3 08:02:06 2026 Received: from mail-qv1-f68.google.com (mail-qv1-f68.google.com [209.85.219.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 45E7D302147 for ; Fri, 20 Feb 2026 06:23:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.68 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771568591; cv=none; b=WPE0TKXGzwUZtRIT6zgGcTfgIdBgawoRIMrXZNMB9B0AMs/OgxytZmSAWiveVbxV9/ItFY/MfFssKXYppWLgu8OGK8OTix85GaQbFWrEbppt6bG7NoUYwpGmA2HXVfGstghOib0KWwtzNslk3nHHbZaN7MsXI0xMDwmePEqUJKg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771568591; c=relaxed/simple; bh=mUB+oWFMPId9h1Gwcmlg2XD1GQALPtczn82jDplWb+w=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=T6J4rfeGWg05nZ7TR5QItw/39LoohDl8+Cir8UCmsje17OmCxD6vuLUd0Wr5db/cF7BVr4yh4sBKY+4DQkKdA9e/IBtAxDGYz/rbBt58mGHqThQ31VhpPVShmUUi+6S+TeCTxpBmfTIHE5JdtbwPAW2bwgDOAdS6iDgl3bae8nY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=QaTAP/CV; arc=none smtp.client-ip=209.85.219.68 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="QaTAP/CV" Received: by mail-qv1-f68.google.com with SMTP id 6a1803df08f44-89545bd3324so20848786d6.1 for ; Thu, 19 Feb 2026 22:23:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1771568589; x=1772173389; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=LCKrSxgbtkE6sBorbcneokbI0mX+kuYA9Blctjh+gpw=; b=QaTAP/CVhdNPsKziDVSvEKQk/XeiNHOrtZ/LrvaGUSWVHt/lXHA0gICCxUGtYvAAAh 277gep20Ewkc3x2bfEDfxAAiXlwfz07EGKPcqVdcwZy1SJ1MXV7/I68OMOFLOUlCgXSC wAzTKEoT5teIMioshAWW2wzr5lEsPjUkworNV/kpPuB9NV3HDUKmNeucwXATwLXdJlTt wISetCdwKLX92peo+d6qyZYLoB3VTu8+3g8dtlpSVdILMzUy08P+VDI8h3I5GK+5nsiN 9iqTWTSrg1G7/2wnlB9K6MDj6dS/ZWGn0ci2ac7PhbEYiCgTNzeZ0oD9o9cmhxUTTjV0 J4lQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771568589; x=1772173389; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=LCKrSxgbtkE6sBorbcneokbI0mX+kuYA9Blctjh+gpw=; b=kf2T8cz73MdyOzryYI7kkefdC4Au3F1ldN5hbKMKOp/Nq2koWABzLogDSJqTdcDrWM MwWianKrqmQZu9+VVchsvZTmjuPvZO7j0XTzRNwU3UGObSz4/dgCj4V8v1D/uJ/4dHO1 UnA6b321ZyUQCz392YcBMdRLEtg0pOYBikfvbCtXt39r7S0Mo/EKBPOrMRUza8/4KNM9 mxwAyvrFuzSBw5rDVn8dspbcsSKoyqWvTzTuLTQnU6sGfDdXwvxWAWC3DdMLxdwIjj/i n5C5X5/09bg1wcgg7ABYiW5Silw7ptPIhWRGWOQFIyfDua6fN4mUzCj4+c2zyDuOixzl eK/A== X-Forwarded-Encrypted: i=1; AJvYcCUYBsnmj2jDsZiK//UruoKx2VHVWa/un+gGu8O7CJS/WecVPt2dzMjiKEx3Tq7SIf4HSXguJB30ZKbMnG0=@vger.kernel.org X-Gm-Message-State: AOJu0Yyzk/Wn+j7kZgaGFsBhOT/3TI8UWmZFxjrqku3lVnd2GQGJTlVe t9anzxzUTys+4rlMwjUd4srdxlCPZeSVMI+dOnbzkkVReZ3rX1xGDNzR X-Gm-Gg: AZuq6aLouchHCnQI8g/ZN/YCOjv5CY2L9Iuqhvpo7cnc7dHJCwZTetspmC3wAlCYb7D S4eH0i3poL5WNDYMiae5As7H1JX/HvtAYcdDT1UT0h8a7zD0sDGiZUx80maOZKHekYenJRdyTGY oe0tpoUNrFKYcFs2V4BA4YtQKVg3uqFWyvnOGSnTNG9ilPFVVdHCMg+mRpTqbxybM3z+DEGjXsF wrttiXpKc4cgk6Fr0pqn+TxuOP4cgyFDFZ/xIUN6yfOIW3LK0K1an1eRm0ZeBkdDDMMQMdNyejv OGF46/6PnVPTEInILsacCTYgcu2/ModWneM3bP92+FPfcbp5EGsOZZ55wVCNk4DDanIcSAzXPbH YLenevyWXDjkmftMO1fgV2RbzlL8jJIgkMoWZrHICalz9YilvQMa4II8EGSNZiiIVKWrjVJWEy1 AgS59aL3MwLu3Xae5aiuyCUPjDGj8= X-Received: by 2002:a05:6214:2301:b0:896:f767:966d with SMTP id 6a1803df08f44-89961fc1196mr69841406d6.11.1771568589064; Thu, 19 Feb 2026 22:23:09 -0800 (PST) Received: from [172.17.0.2] ([134.128.219.200]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-8971cd8a5ccsm234206306d6.25.2026.02.19.22.23.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Feb 2026 22:23:08 -0800 (PST) From: Yuanshen Cao Date: Fri, 20 Feb 2026 06:22:40 +0000 Subject: [PATCH v3 1/2] dt-bindings: usb: document the Etek ET7304 USB Type-C Port Controller 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: <20260220-et7304-v3-1-ede2d9634957@gmail.com> References: <20260220-et7304-v3-0-ede2d9634957@gmail.com> In-Reply-To: <20260220-et7304-v3-0-ede2d9634957@gmail.com> To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heikki Krogerus Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Yuanshen Cao X-Mailer: b4 0.14.3 Document the ETEK Micro ET7304 USB Type-C Port Controller with USB-PD. Signed-off-by: Yuanshen Cao Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/usb/richtek,rt1711h.yaml | 3 ++- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/usb/richtek,rt1711h.yaml b/D= ocumentation/devicetree/bindings/usb/richtek,rt1711h.yaml index ae611f7e57ca..1eb611f35998 100644 --- a/Documentation/devicetree/bindings/usb/richtek,rt1711h.yaml +++ b/Documentation/devicetree/bindings/usb/richtek,rt1711h.yaml @@ -19,10 +19,11 @@ description: | properties: compatible: enum: + - etekmicro,et7304 - richtek,rt1711h - richtek,rt1715 description: - RT1711H support PD20, RT1715 support PD30 except Fast Role Swap. + RT1711H support PD20, ET7304 and RT1715 support PD30 except Fast Rol= e Swap. =20 reg: maxItems: 1 diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Docum= entation/devicetree/bindings/vendor-prefixes.yaml index ee7fd3cfe203..5e504cebbcda 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -541,6 +541,8 @@ patternProperties: description: ESTeem Wireless Modems "^eswin,.*": description: Beijing ESWIN Technology Group Co. Ltd. + "^etekmicro,.*": + description: Wuxi ETEK Micro-Electronics Co.,Ltd. "^ettus,.*": description: NI Ettus Research "^eukrea,.*": --=20 2.53.0 From nobody Fri Apr 3 08:02:06 2026 Received: from mail-qv1-f43.google.com (mail-qv1-f43.google.com [209.85.219.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5ABAF32E6A2 for ; Fri, 20 Feb 2026 06:23:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771568592; cv=none; b=fA/M2hjnD5738jIfMQuLTkLvpQwWKle1mlUcLRc2WxNTfYeD+cx8AAEbrG+v4pH7l1/9DmDRisrHntlWWEg5GEHCgrVDwLXQAdSodHwK6Jcfgv02agH2ZghTW2IuHaSdilNadfWGtzHIuojftohEf6V98Y7tUk+jKaB1X+HfXn4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771568592; c=relaxed/simple; bh=N+heUpUpHRoLlSYpeT0QKAiwnnPwr/kVMMau4CF1jBs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=lq4AG+ycie7WCl9kbBmlF5VL9yv2WNBjh5ld1FuwMXqw2q03h0YU14otfHL4yTPi/GFVFxQPmWSXOZ9M2XlJHm3rNnJrK3QI3PaW3mcwKWTNWMJf2LSerslNXVHrK+BODHNH/NPe9/z/3uFHZL+J9hU+/juStIiQ1oaKQRpfRQY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=B+SGphOl; arc=none smtp.client-ip=209.85.219.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="B+SGphOl" Received: by mail-qv1-f43.google.com with SMTP id 6a1803df08f44-8954c181830so20054706d6.1 for ; Thu, 19 Feb 2026 22:23:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1771568590; x=1772173390; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=r4pFsMe3WWbMxm2HgYQHGTzj5G++S8g06QTHlbIujGQ=; b=B+SGphOloC1am7LeplFYR0ar1WZARYtvYPXkthG3E3bbl0CQfkbwZKdyprUJTycGfW SYXF0gtwjM6UR/Rtq9LZXWvxhmEyVPnXuC+6SHIvfP7Ne17n4xgjHvJqhyUTQAJtBMG6 WsDnTJ7Kcv00DvfoKdxtB98hW/YIE1imQISk0sVr05U+P1W+X4pnutRM8Sxt6SZrWc9y Vg52QEHdxj23+rnPk76tF/+f3lbRrNCeJTQOrP+Iz7z1/hhGIAUSKBr9hu/F+QdR1BmS 2W1Y0KOdN0LhKr4vkmrBODY558Rveh9y3oaGx70BUyt3nrjizzJy7nF4I5XCI4buSYSG WzDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771568590; x=1772173390; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=r4pFsMe3WWbMxm2HgYQHGTzj5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dtU7ZKx9tFY4+NRjGfl0zxzlV8= X-Received: by 2002:a05:6214:1d08:b0:894:7c5e:3368 with SMTP id 6a1803df08f44-897402d8d03mr299450516d6.4.1771568590006; Thu, 19 Feb 2026 22:23:10 -0800 (PST) Received: from [172.17.0.2] ([134.128.219.200]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-8971cd8a5ccsm234206306d6.25.2026.02.19.22.23.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Feb 2026 22:23:09 -0800 (PST) From: Yuanshen Cao Date: Fri, 20 Feb 2026 06:22:41 +0000 Subject: [PATCH v3 2/2] usb: typec: tcpm: Add vid and chip info for Etek ET7304 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: <20260220-et7304-v3-2-ede2d9634957@gmail.com> References: <20260220-et7304-v3-0-ede2d9634957@gmail.com> In-Reply-To: <20260220-et7304-v3-0-ede2d9634957@gmail.com> To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heikki Krogerus Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Yuanshen Cao X-Mailer: b4 0.14.3 Move VID field to chip info to accommodate different VIDs. Add chip info for Etek Micro ET7304. ET7304 is functionally identical to the Richtek RT1715, with the only difference being the VID. Signed-off-by: Yuanshen Cao Reviewed-by: Heikki Krogerus --- drivers/usb/typec/tcpm/tcpci_rt1711h.c | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/drivers/usb/typec/tcpm/tcpci_rt1711h.c b/drivers/usb/typec/tcp= m/tcpci_rt1711h.c index 88c50b984e8a..37cf55ad74f8 100644 --- a/drivers/usb/typec/tcpm/tcpci_rt1711h.c +++ b/drivers/usb/typec/tcpm/tcpci_rt1711h.c @@ -19,9 +19,11 @@ #include =20 #define RT1711H_VID 0x29CF +#define ET7304_VID 0x6DCF #define RT1711H_PID 0x1711 #define RT1711H_DID 0x2171 #define RT1715_DID 0x2173 +#define ET7304_DID 0x2173 =20 #define RT1711H_PHYCTRL1 0x80 #define RT1711H_PHYCTRL2 0x81 @@ -55,6 +57,7 @@ =20 struct rt1711h_chip_info { u32 rxdz_sel; + u16 vid; u16 did; bool enable_pd30_extended_message; }; @@ -308,7 +311,7 @@ static int rt1711h_check_revision(struct i2c_client *i2= c, struct rt1711h_chip *c ret =3D i2c_smbus_read_word_data(i2c, TCPC_VENDOR_ID); if (ret < 0) return ret; - if (ret !=3D RT1711H_VID) { + if (ret !=3D chip->info->vid) { dev_err(&i2c->dev, "vid is not correct, 0x%04x\n", ret); return -ENODEV; } @@ -405,17 +408,27 @@ static void rt1711h_remove(struct i2c_client *client) tcpci_unregister_port(chip->tcpci); } =20 +static const struct rt1711h_chip_info et7304 =3D { + .rxdz_sel =3D RT1711H_BMCIO_RXDZSEL, + .vid =3D ET7304_VID, + .did =3D ET7304_DID, + .enable_pd30_extended_message =3D true, +}; + static const struct rt1711h_chip_info rt1711h =3D { + .vid =3D RT1711H_VID, .did =3D RT1711H_DID, }; =20 static const struct rt1711h_chip_info rt1715 =3D { .rxdz_sel =3D RT1711H_BMCIO_RXDZSEL, + .vid =3D RT1711H_VID, .did =3D RT1715_DID, .enable_pd30_extended_message =3D true, }; =20 static const struct i2c_device_id rt1711h_id[] =3D { + { "et7304", (kernel_ulong_t)&et7304 }, { "rt1711h", (kernel_ulong_t)&rt1711h }, { "rt1715", (kernel_ulong_t)&rt1715 }, {} @@ -423,6 +436,7 @@ static const struct i2c_device_id rt1711h_id[] =3D { MODULE_DEVICE_TABLE(i2c, rt1711h_id); =20 static const struct of_device_id rt1711h_of_match[] =3D { + { .compatible =3D "etekmicro,et7304", .data =3D &et7304 }, { .compatible =3D "richtek,rt1711h", .data =3D &rt1711h }, { .compatible =3D "richtek,rt1715", .data =3D &rt1715 }, {} --=20 2.53.0