Devicetree
 help / color / mirror / Atom feed
* [PATCH v4 0/4] usb: typec: ucsi: Add IT527x/IT885x series support
@ 2026-12-04  6:46 Amber Kao
  2026-12-04  6:46 ` [PATCH v4 1/4] dt-bindings: usb: ite,it8851: Add IT527x and IT885x " Amber Kao
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Amber Kao @ 2026-12-04  6:46 UTC (permalink / raw)
  To: Amber Kao, Jeson Yang, Yaode Fang, Greg Kroah-Hartman,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heikki Krogerus
  Cc: linux-usb, devicetree, linux-kernel, Amber Kao, Conor Dooley

This series extends the itepd UCSI driver with support for more ITE
Type-C PD controllers.

The IT527x series and the IT8855, IT8856 and IT8857 run the same UCSI
firmware codebase as the IT8851 and are software compatible with it, so
they are described as fallbacks to "ite,it8851". The IT8853, IT8856,
IT8857, IT5272 and IT5274 drive two Type-C connectors, the other
variants drive one.

This series applies on top of usb-testing, after commit c17a6730ae5a
("usb: typec: ucsi: itepd: Add DisplayPort alternate mode support").

Signed-off-by: Amber Kao <ite_pd@ite.com.tw>
---
Changes in v4:
- Rebased onto usb-testing, on top of commit c17a6730ae5a.
- 1/4: picked up Rob's Reviewed-by from v2 (same diff minus the example
  changes).
- 2/4: keep the DisplayPort sentence in the Kconfig help text.
- 3/4, 4/4: new, add Amber Kao as binding maintainer and module author.
- Link to v3: https://patch.msgid.link/20260924-ucsi-itepd-it527x-v3-0-a7392aa087f5@ite.com.tw

Changes in v3:
- Drop DisplayPort alternate mode support, it will be sent separately.
- Move the Kconfig and MODULE_DESCRIPTION updates into a separate
  patch (Heikki).
- dt-bindings: restore the maintainers entry and drop the unrelated
  example changes
- Link to v2: https://patch.msgid.link/20260918-ucsi-itepd-it527x-v2-0-7b2d9437cc72@ite.com.tw

Changes in v2:
- dt-bindings: drop the second example, it only differs by the
  compatible string.
- dt-bindings: express the IT527x series, IT8853 and IT885[5-7] as
  fallbacks to "ite,it8851"; all parts run the same UCSI firmware
  codebase, so the driver needs no per-part handling.
- dt-bindings: add IT8855, IT8856 and IT8857.
- dt-bindings: move the variant description out of the 'compatible'
  property and shorten it.
- dt-bindings: fix indentation in the existing example.
- driver: drop the "ite,it5271" of_device_id entry, now covered by the
  fallback.
- driver: update MODULE_DESCRIPTION and the Kconfig prompt to cover the
  IT885x and IT527x series.
- Link to v1: https://patch.msgid.link/20260911-ucsi-itepd-it527x-v1-0-14c8041afb53@ite.com.tw

To: Amber Kao <amber.kao@ite.com.tw>
To: Jeson Yang <jeson.yang@ite.com.tw>
To: Yaode Fang <Yaode.Fang@ite.com.tw>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Rob Herring <robh@kernel.org>
To: Krzysztof Kozlowski <krzk+dt@kernel.org>
To: Conor Dooley <conor+dt@kernel.org>
To: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Cc: linux-usb@vger.kernel.org
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: Amber Kao <ite_pd@ite.com.tw>

---
Amber Kao (4):
      dt-bindings: usb: ite,it8851: Add IT527x and IT885x series support
      usb: typec: ucsi: itepd: Update descriptions for IT885x and IT527x series
      dt-bindings: usb: ite,it8851: Add Amber Kao as maintainer
      usb: typec: ucsi: itepd: Add Amber Kao as module author

 .../devicetree/bindings/usb/ite,it8851.yaml        | 34 +++++++++++++++++-----
 drivers/usb/typec/ucsi/Kconfig                     |  8 ++---
 drivers/usb/typec/ucsi/ucsi_itepd.c                |  3 +-
 3 files changed, 33 insertions(+), 12 deletions(-)
---
base-commit: 7018748a0ac67b08688dee4b26d226952346d38e
change-id: 20260911-ucsi-itepd-it527x-5b87a61a71bb

Best regards,
--  
Amber Kao <ite_pd@ite.com.tw>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH v4 1/4] dt-bindings: usb: ite,it8851: Add IT527x and IT885x series support
  2026-12-04  6:46 [PATCH v4 0/4] usb: typec: ucsi: Add IT527x/IT885x series support Amber Kao
@ 2026-12-04  6:46 ` Amber Kao
  2026-12-04  6:46 ` [PATCH v4 2/4] usb: typec: ucsi: itepd: Update descriptions for IT885x and IT527x series Amber Kao
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Amber Kao @ 2026-12-04  6:46 UTC (permalink / raw)
  To: Amber Kao, Jeson Yang, Yaode Fang, Greg Kroah-Hartman,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heikki Krogerus
  Cc: linux-usb, devicetree, linux-kernel, Amber Kao, Conor Dooley

Add compatible strings for the ITE IT527x series and for the IT8855,
IT8856 and IT8857. All parts run the same UCSI firmware codebase as the
IT8851 and are software compatible with it, so they are described as
fallbacks to "ite,it8851".

The IT8853, IT8856, IT8857, IT5272 and IT5274 drive two Type-C
connectors, the other variants drive one.

Signed-off-by: Amber Kao <ite_pd@ite.com.tw>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
---
 .../devicetree/bindings/usb/ite,it8851.yaml        | 33 +++++++++++++++++-----
 1 file changed, 26 insertions(+), 7 deletions(-)

diff --git a/Documentation/devicetree/bindings/usb/ite,it8851.yaml b/Documentation/devicetree/bindings/usb/ite,it8851.yaml
index 9f60017fb022..91e9e1824b07 100644
--- a/Documentation/devicetree/bindings/usb/ite,it8851.yaml
+++ b/Documentation/devicetree/bindings/usb/ite,it8851.yaml
@@ -4,22 +4,36 @@
 $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
+title: ITE USB Type-C Power Delivery Controllers
 
 maintainers:
   - Jeson Yang <jeson.yang@ite.com.tw>
 
-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.
+description: |
+  ITE IT885x and IT527x I2C-based USB Type-C Power Delivery controllers.
+  The later parts are software compatible with the IT8851 and use it as a
+  fallback.
+
+  The IT885x family covers the IT8851, IT8853, IT8855, IT8856 and IT8857.
+  The IT527x family covers the IT5271, IT5272, IT5273 and IT5274.
+
+  The IT8853, IT8856, IT8857, IT5272 and IT5274 drive two Type-C
+  connectors, the other variants drive one.
 
 properties:
   compatible:
     oneOf:
       - const: ite,it8851
       - items:
-          - const: ite,it8853
+          - enum:
+              - ite,it5271
+              - ite,it5272
+              - ite,it5273
+              - ite,it5274
+              - ite,it8853
+              - ite,it8855
+              - ite,it8856
+              - ite,it8857
           - const: ite,it8851
 
   reg:
@@ -63,7 +77,12 @@ allOf:
         properties:
           compatible:
             contains:
-              const: ite,it8853
+              enum:
+                - ite,it5272
+                - ite,it5274
+                - ite,it8853
+                - ite,it8856
+                - ite,it8857
     then:
       properties:
         connector@1: false

-- 
2.53.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH v4 2/4] usb: typec: ucsi: itepd: Update descriptions for IT885x and IT527x series
  2026-12-04  6:46 [PATCH v4 0/4] usb: typec: ucsi: Add IT527x/IT885x series support Amber Kao
  2026-12-04  6:46 ` [PATCH v4 1/4] dt-bindings: usb: ite,it8851: Add IT527x and IT885x " Amber Kao
@ 2026-12-04  6:46 ` Amber Kao
  2026-12-04  6:46 ` [PATCH v4 3/4] dt-bindings: usb: ite,it8851: Add Amber Kao as maintainer Amber Kao
  2026-12-04  6:46 ` [PATCH v4 4/4] usb: typec: ucsi: itepd: Add Amber Kao as module author Amber Kao
  3 siblings, 0 replies; 6+ messages in thread
From: Amber Kao @ 2026-12-04  6:46 UTC (permalink / raw)
  To: Amber Kao, Jeson Yang, Yaode Fang, Greg Kroah-Hartman,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heikki Krogerus
  Cc: linux-usb, devicetree, linux-kernel, Amber Kao

The IT527x series and the IT8855, IT8856 and IT8857 run the same UCSI
firmware codebase as the IT8851 and are handled by this driver through
the "ite,it8851" fallback compatible. Update the Kconfig prompt, help
text and module description to cover the IT885x and IT527x series.

Signed-off-by: Amber Kao <ite_pd@ite.com.tw>
Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
---
 drivers/usb/typec/ucsi/Kconfig      | 8 ++++----
 drivers/usb/typec/ucsi/ucsi_itepd.c | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/usb/typec/ucsi/Kconfig b/drivers/usb/typec/ucsi/Kconfig
index 7c42f59a07ca..e116d2b137e1 100644
--- a/drivers/usb/typec/ucsi/Kconfig
+++ b/drivers/usb/typec/ucsi/Kconfig
@@ -105,15 +105,15 @@ config UCSI_HUAWEI_GAOKUN
 	  called ucsi_huawei_gaokun.
 
 config UCSI_ITEPD
-	tristate "UCSI Interface Driver for ITE IT8851/IT8853"
+	tristate "UCSI Interface Driver for ITE IT885x and IT527x series"
 	depends on I2C
 	depends on DRM || !DRM
 	select DRM_AUX_HPD_BRIDGE if DRM_BRIDGE && OF
 	help
 	  This driver enables UCSI support on platforms that expose an
-	  ITE IT8851/IT8853 Type-C Power Delivery controller over an I2C
-	  interface.  It also supports DisplayPort alternate mode, including
-	  HPD notification through the DRM bridge.
+	  ITE IT885x or IT527x series Type-C Power Delivery controller
+	  over an I2C interface.  It also supports DisplayPort alternate
+	  mode, including HPD notification through the DRM bridge.
 
 	  To compile the driver as a module, choose M here: the module
 	  will be called ucsi_itepd.
diff --git a/drivers/usb/typec/ucsi/ucsi_itepd.c b/drivers/usb/typec/ucsi/ucsi_itepd.c
index 9778d1fb156d..d3938e7c3cbd 100644
--- a/drivers/usb/typec/ucsi/ucsi_itepd.c
+++ b/drivers/usb/typec/ucsi/ucsi_itepd.c
@@ -763,5 +763,5 @@ static struct i2c_driver itepd_driver = {
 module_i2c_driver(itepd_driver);
 
 MODULE_AUTHOR("Jeson Yang <jeson.yang@ite.com.tw>");
-MODULE_DESCRIPTION("UCSI driver for ITE IT8851 and IT8853 Type-C PD controllers");
+MODULE_DESCRIPTION("UCSI driver for ITE IT885x/IT527x Type-C PD controllers");
 MODULE_LICENSE("GPL");

-- 
2.53.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH v4 3/4] dt-bindings: usb: ite,it8851: Add Amber Kao as maintainer
  2026-12-04  6:46 [PATCH v4 0/4] usb: typec: ucsi: Add IT527x/IT885x series support Amber Kao
  2026-12-04  6:46 ` [PATCH v4 1/4] dt-bindings: usb: ite,it8851: Add IT527x and IT885x " Amber Kao
  2026-12-04  6:46 ` [PATCH v4 2/4] usb: typec: ucsi: itepd: Update descriptions for IT885x and IT527x series Amber Kao
@ 2026-12-04  6:46 ` Amber Kao
  2026-12-04  6:58   ` sashiko-bot
  2026-12-04  6:46 ` [PATCH v4 4/4] usb: typec: ucsi: itepd: Add Amber Kao as module author Amber Kao
  3 siblings, 1 reply; 6+ messages in thread
From: Amber Kao @ 2026-12-04  6:46 UTC (permalink / raw)
  To: Amber Kao, Jeson Yang, Yaode Fang, Greg Kroah-Hartman,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heikki Krogerus
  Cc: linux-usb, devicetree, linux-kernel, Amber Kao

Amber Kao maintains the ITE Type-C PD controller support together with
Jeson Yang. Add her to the maintainers of the binding.

Signed-off-by: Amber Kao <ite_pd@ite.com.tw>
---
 Documentation/devicetree/bindings/usb/ite,it8851.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/usb/ite,it8851.yaml b/Documentation/devicetree/bindings/usb/ite,it8851.yaml
index 91e9e1824b07..370d6f7dced3 100644
--- a/Documentation/devicetree/bindings/usb/ite,it8851.yaml
+++ b/Documentation/devicetree/bindings/usb/ite,it8851.yaml
@@ -8,6 +8,7 @@ title: ITE USB Type-C Power Delivery Controllers
 
 maintainers:
   - Jeson Yang <jeson.yang@ite.com.tw>
+  - Amber Kao <ite_pd@ite.com.tw>
 
 description: |
   ITE IT885x and IT527x I2C-based USB Type-C Power Delivery controllers.

-- 
2.53.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH v4 4/4] usb: typec: ucsi: itepd: Add Amber Kao as module author
  2026-12-04  6:46 [PATCH v4 0/4] usb: typec: ucsi: Add IT527x/IT885x series support Amber Kao
                   ` (2 preceding siblings ...)
  2026-12-04  6:46 ` [PATCH v4 3/4] dt-bindings: usb: ite,it8851: Add Amber Kao as maintainer Amber Kao
@ 2026-12-04  6:46 ` Amber Kao
  3 siblings, 0 replies; 6+ messages in thread
From: Amber Kao @ 2026-12-04  6:46 UTC (permalink / raw)
  To: Amber Kao, Jeson Yang, Yaode Fang, Greg Kroah-Hartman,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heikki Krogerus
  Cc: linux-usb, devicetree, linux-kernel, Amber Kao

Amber Kao co-develops and maintains this driver. Add her as module
author.

Signed-off-by: Amber Kao <ite_pd@ite.com.tw>
---
 drivers/usb/typec/ucsi/ucsi_itepd.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/usb/typec/ucsi/ucsi_itepd.c b/drivers/usb/typec/ucsi/ucsi_itepd.c
index d3938e7c3cbd..ba04e2d602be 100644
--- a/drivers/usb/typec/ucsi/ucsi_itepd.c
+++ b/drivers/usb/typec/ucsi/ucsi_itepd.c
@@ -763,5 +763,6 @@ static struct i2c_driver itepd_driver = {
 module_i2c_driver(itepd_driver);
 
 MODULE_AUTHOR("Jeson Yang <jeson.yang@ite.com.tw>");
+MODULE_AUTHOR("Amber Kao <ite_pd@ite.com.tw>");
 MODULE_DESCRIPTION("UCSI driver for ITE IT885x/IT527x Type-C PD controllers");
 MODULE_LICENSE("GPL");

-- 
2.53.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH v4 3/4] dt-bindings: usb: ite,it8851: Add Amber Kao as maintainer
  2026-12-04  6:46 ` [PATCH v4 3/4] dt-bindings: usb: ite,it8851: Add Amber Kao as maintainer Amber Kao
@ 2026-12-04  6:58   ` sashiko-bot
  0 siblings, 0 replies; 6+ messages in thread
From: sashiko-bot @ 2026-12-04  6:58 UTC (permalink / raw)
  To: Amber Kao; +Cc: linux-usb, devicetree, robh, conor+dt

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] dt-bindings: usb: ite,it8851: maintainer email conflicts with
  MAINTAINERS
--

commit 9e4e3808cdf51cbf15632269902efbd2754cdd9f
Author: Amber Kao <ite_pd@ite.com.tw>

dt-bindings: usb: ite,it8851: Add Amber Kao as maintainer

This commit adds Amber Kao to the maintainers list in the ITE USB Type-C
Power Delivery controller binding.

> diff --git a/Documentation/devicetree/bindings/usb/ite,it8851.yaml b/Documentation/devicetree/bindings/usb/ite,it8851.yaml
> index 91e9e1824b078..370d6f7dced3b 100644
> --- a/Documentation/devicetree/bindings/usb/ite,it8851.yaml
> +++ b/Documentation/devicetree/bindings/usb/ite,it8851.yaml
> @@ -8,6 +8,7 @@ title: ITE USB Type-C Power Delivery Controllers
>
>  maintainers:
>    - Jeson Yang <jeson.yang@ite.com.tw>
> +  - Amber Kao <ite_pd@ite.com.tw>

[Severity: Low]
Should this email address match the existing MAINTAINERS entry for this
binding, which lists Amber Kao <amber.kao@ite.com.tw>?

With no .mailmap entry linking the two addresses, scripts/get_maintainer.pl
processes MAINTAINERS first and deduplicates by name in email_inuse(), so
ite_pd@ite.com.tw is silently dropped when querying this file.

Either this binding should use amber.kao@ite.com.tw, or MAINTAINERS (and
.mailmap if the old address is retired) should be updated to
ite_pd@ite.com.tw.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261204-ucsi-itepd-it527x-v4-0-0aa4ee23c790@ite.com.tw?part=3

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-12-04  6:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-04  6:46 [PATCH v4 0/4] usb: typec: ucsi: Add IT527x/IT885x series support Amber Kao
2026-12-04  6:46 ` [PATCH v4 1/4] dt-bindings: usb: ite,it8851: Add IT527x and IT885x " Amber Kao
2026-12-04  6:46 ` [PATCH v4 2/4] usb: typec: ucsi: itepd: Update descriptions for IT885x and IT527x series Amber Kao
2026-12-04  6:46 ` [PATCH v4 3/4] dt-bindings: usb: ite,it8851: Add Amber Kao as maintainer Amber Kao
2026-12-04  6:58   ` sashiko-bot
2026-12-04  6:46 ` [PATCH v4 4/4] usb: typec: ucsi: itepd: Add Amber Kao as module author Amber Kao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox