mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 0/2] usb: typec: ucsi: Add IT527x/IT885x series support
@ 2026-09-24  9:56 Amber Kao
  2026-09-24  9:56 ` [PATCH v3 1/2] dt-bindings: usb: ite,it8851: Add IT527x and IT885x " Amber Kao
  2026-09-24  9:56 ` [PATCH v3 2/2] usb: typec: ucsi: itepd: Update descriptions for IT885x and IT527x series Amber Kao
  0 siblings, 2 replies; 4+ messages in thread
From: Amber Kao @ 2026-09-24  9:56 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

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 depends on the following series, which has not been picked
up yet:

https://lore.kernel.org/linux-usb/20260807-ucsi-itepd-v7-0-998ac11ed0ef@ite.com.tw/

Signed-off-by: Amber Kao <ite_pd@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

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

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

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


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

* [PATCH v3 1/2] dt-bindings: usb: ite,it8851: Add IT527x and IT885x series support
  2026-09-24  9:56 [PATCH v3 0/2] usb: typec: ucsi: Add IT527x/IT885x series support Amber Kao
@ 2026-09-24  9:56 ` Amber Kao
  2026-09-24 16:56   ` Conor Dooley
  2026-09-24  9:56 ` [PATCH v3 2/2] usb: typec: ucsi: itepd: Update descriptions for IT885x and IT527x series Amber Kao
  1 sibling, 1 reply; 4+ messages in thread
From: Amber Kao @ 2026-09-24  9:56 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

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>
---
 .../devicetree/bindings/usb/ite,it8851.yaml        | 34 +++++++++++++++++-----
 1 file changed, 27 insertions(+), 7 deletions(-)

diff --git a/Documentation/devicetree/bindings/usb/ite,it8851.yaml b/Documentation/devicetree/bindings/usb/ite,it8851.yaml
index defd431aba97..fccdc1504a5b 100644
--- a/Documentation/devicetree/bindings/usb/ite,it8851.yaml
+++ b/Documentation/devicetree/bindings/usb/ite,it8851.yaml
@@ -4,22 +4,37 @@
 $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>
   - Amber Kao <amber.kao@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 +78,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	[flat|nested] 4+ messages in thread

* [PATCH v3 2/2] usb: typec: ucsi: itepd: Update descriptions for IT885x and IT527x series
  2026-09-24  9:56 [PATCH v3 0/2] usb: typec: ucsi: Add IT527x/IT885x series support Amber Kao
  2026-09-24  9:56 ` [PATCH v3 1/2] dt-bindings: usb: ite,it8851: Add IT527x and IT885x " Amber Kao
@ 2026-09-24  9:56 ` Amber Kao
  1 sibling, 0 replies; 4+ messages in thread
From: Amber Kao @ 2026-09-24  9:56 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>
---
 drivers/usb/typec/ucsi/Kconfig      | 5 +++--
 drivers/usb/typec/ucsi/ucsi_itepd.c | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/drivers/usb/typec/ucsi/Kconfig b/drivers/usb/typec/ucsi/Kconfig
index 0f10dac9b34b..5e32ff20ebb5 100644
--- a/drivers/usb/typec/ucsi/Kconfig
+++ b/drivers/usb/typec/ucsi/Kconfig
@@ -105,11 +105,12 @@ 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
 	help
 	  This driver enables UCSI support on platforms that expose an
-	  ITE IT8851/IT8853 Type-C Power Delivery controller over an I2C interface.
+	  ITE IT885x or IT527x series Type-C Power Delivery controller
+	  over an I2C interface.
 
 	  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 50a9eae656ab..5b39ba286db7 100644
--- a/drivers/usb/typec/ucsi/ucsi_itepd.c
+++ b/drivers/usb/typec/ucsi/ucsi_itepd.c
@@ -353,5 +353,5 @@ module_i2c_driver(itepd_driver);
 
 MODULE_AUTHOR("Jeson Yang <jeson.yang@ite.com.tw>");
 MODULE_AUTHOR("Amber Kao <amber.kao@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	[flat|nested] 4+ messages in thread

* Re: [PATCH v3 1/2] dt-bindings: usb: ite,it8851: Add IT527x and IT885x series support
  2026-09-24  9:56 ` [PATCH v3 1/2] dt-bindings: usb: ite,it8851: Add IT527x and IT885x " Amber Kao
@ 2026-09-24 16:56   ` Conor Dooley
  0 siblings, 0 replies; 4+ messages in thread
From: Conor Dooley @ 2026-09-24 16:56 UTC (permalink / raw)
  To: Amber Kao
  Cc: Amber Kao, Jeson Yang, Yaode Fang, Greg Kroah-Hartman,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heikki Krogerus,
	linux-usb, devicetree, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 75 bytes --]

Acked-by: Conor Dooley <conor.dooley@microchip.com>
pw-bot: not-applicable

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

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

end of thread, other threads:[~2026-09-24 16:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-24  9:56 [PATCH v3 0/2] usb: typec: ucsi: Add IT527x/IT885x series support Amber Kao
2026-09-24  9:56 ` [PATCH v3 1/2] dt-bindings: usb: ite,it8851: Add IT527x and IT885x " Amber Kao
2026-09-24 16:56   ` Conor Dooley
2026-09-24  9:56 ` [PATCH v3 2/2] usb: typec: ucsi: itepd: Update descriptions for IT885x and IT527x series Amber Kao

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

all inboxes | Powered by JetHome®