From: Amber Kao <amber.kao@ite.com.tw>
To: Jeson Yang <jeson.yang@ite.com.tw>,
Yaode Fang <Yaode.Fang@ite.com.tw>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Heikki Krogerus <heikki.krogerus@linux.intel.com>
Cc: <linux-usb@vger.kernel.org>, <devicetree@vger.kernel.org>,
<linux-kernel@vger.kernel.org>, Amber Kao <amber.kao@ite.com.tw>,
Bling Chiang <Bling.Chiang@ite.com.tw>,
Eric Su <Eric.Su@ite.com.tw>, Doreen Lin <doreen.lin@ite.com.tw>
Subject: [PATCH v4 0/2] usb: typec: ucsi: Add ITE IT8851/IT8853 support
Date: Fri, 17 Jul 2026 17:59:48 +0800 [thread overview]
Message-ID: <20260717-ucsi-itepd-v4-0-f3ba5addd0df@ite.com.tw> (raw)
This series adds Device Tree bindings and minimal UCSI driver support
for the ITE IT8851/IT8853 USB Type-C Power Delivery controller over I2C.
Changes in v4:
- Use separate tx/rx buffers in itepd_read_reg() for DMA safety
- Rate-limit error prints in the I2C accessors
- Refactor IRQ and poll_cci() into a common itepd_process_event()
helper serialized by event_lock; poll_cci() now acks events
- Clear cached CCI on PPM_RESET
- Drain pending events in probe instead of a manual interrupt-clear
- Keep ucsi_unregister() before free_irq() in remove(): the IRQ
handler is the only event consumer/acker on this device, so
freeing the IRQ first stalls in-flight commands until timeout and
leaves the PPM with an unacked event. ucsi_unregister() disables
notifications before freeing connectors, closing the reported UAF
window in practice. Matches other UCSI I2C drivers.
- Use device-specific compatibles "ite,it8851"/"ite,it8853"
- Move version changelog below the "---" line (Krzysztof)
- Trim MAINTAINERS reviewer list (Krzysztof)
Link to v3: https://lore.kernel.org/all/20260710-ucsi-itepd-feature-v3-0-8523e1e1c47a@ite.com.tw/
Link to v2: https://lore.kernel.org/all/20260710-ucsi-itepd-feature-v2-0-41943fd5df38@ite.com.tw/
Link to v1: https://lore.kernel.org/all/20260615-ucsi-itepd-feature-v1-0-a826cfd0df6a@ite.com.tw/
Signed-off-by: Amber Kao <amber.kao@ite.com.tw>
---
Amber Kao (2):
dt-bindings: usb: Add ITE IT8851/IT8853 Type-C PD controllers
usb: typec: ucsi: Add ITE IT8851/IT8853 Type-C PD controller driver
.../devicetree/bindings/usb/ite,it8851.yaml | 142 ++++++++
MAINTAINERS | 9 +
drivers/usb/typec/ucsi/Kconfig | 10 +
drivers/usb/typec/ucsi/Makefile | 1 +
drivers/usb/typec/ucsi/ucsi_itepd.c | 381 +++++++++++++++++++++
5 files changed, 543 insertions(+)
---
base-commit: 8fde5d1d47f69db6082dfa34500c27f8485389a5
change-id: 20260717-ucsi-itepd-4e943e1382f0
Best regards,
--
Amber Kao <amber.kao@ite.com.tw>
next reply other threads:[~2026-07-17 10:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-17 9:59 Amber Kao [this message]
2026-07-17 9:59 ` [PATCH v4 1/2] dt-bindings: usb: Add ITE IT8851/IT8853 Type-C PD controllers Amber Kao
2026-07-19 7:37 ` Krzysztof Kozlowski
2026-07-17 9:59 ` [PATCH v4 2/2] usb: typec: ucsi: Add ITE IT8851/IT8853 Type-C PD controller driver Amber Kao
2026-07-21 9:05 ` Heikki Krogerus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260717-ucsi-itepd-v4-0-f3ba5addd0df@ite.com.tw \
--to=amber.kao@ite.com.tw \
--cc=Bling.Chiang@ite.com.tw \
--cc=Eric.Su@ite.com.tw \
--cc=Yaode.Fang@ite.com.tw \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=doreen.lin@ite.com.tw \
--cc=gregkh@linuxfoundation.org \
--cc=heikki.krogerus@linux.intel.com \
--cc=jeson.yang@ite.com.tw \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox