Re: [PATCH 1/2] dt-bindings: usb: Add ITE IT885x support

From: Conor Dooley

Date: Mon Jun 15 2026 - 12:41:41 EST


On Mon, Jun 15, 2026 at 09:47:39PM +0800, Amber Kao wrote:
> Add device tree binding documentation for the ITE IT885x.
> The ITE IT885x is an I2C-based USB Type-C Power Delivery (PD) controller.
>
> Cc: Yaode Fang <Yaode.Fang@xxxxxxxxxx>
> Cc: Jeson Yang <jeson.yang@xxxxxxxxxx>
> Cc: Bling Chiang <Bling.Chiang@xxxxxxxxxx>
> Cc: Eric Su <Eric.Su@xxxxxxxxxx>
> Cc: Doreen Lin <doreen.lin@xxxxxxxxxx>
> Signed-off-by: Amber Kao <amber.kao@xxxxxxxxxx>
> ---
> .../devicetree/bindings/usb/ite,itepd-it885x.yaml | 109 +++++++++++++++++++++
> MAINTAINERS | 11 +++
> 2 files changed, 120 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/usb/ite,itepd-it885x.yaml b/Documentation/devicetree/bindings/usb/ite,itepd-it885x.yaml
> new file mode 100644
> index 000000000000..59e4eaa32ff1
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/usb/ite,itepd-it885x.yaml
> @@ -0,0 +1,109 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/usb/ite,itepd-it885x.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: ITE IT885x USB Type-C Power Delivery Controller
> +
> +maintainers:
> + - Jeson Yang <jeson.yang@xxxxxxxxxx>
> +
> +description:
> + The ITE IT885x is an I2C-based USB Type-C Power Delivery (PD) controller.
> +
> +properties:
> + compatible:
> + const: ite,itepd-it885x
> +
> + reg:
> + maxItems: 1
> +
> + gpios:
> + maxItems: 1

Sashiko comments on this and on

> +
> + interrupts:
> + maxItems: 1
> +
> + wakeup-source: true
> +
> + pinctrl-names:
> + minItems: 1
> +
> + pinctrl-0: true
> +
> + '#address-cells':
> + const: 1
> +
> + '#size-cells':
> + const: 0
> +
> +patternProperties:
> + "^connector(@[0-9a-f]+)?$":
> + $ref: /schemas/connector/usb-connector.yaml#
> + unevaluatedProperties: false
> +
> +required:
> + - compatible
> + - reg
> + - interrupts
> +
> +unevaluatedProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/gpio/gpio.h>
> + #include <dt-bindings/interrupt-controller/irq.h>
> +
> + i2c {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + itepd@40 {
(usb-pd here as the node name please)

> + compatible = "ite,itepd-it885x";
> + reg = <0x40>;
> + gpios = <&tlmm 129 GPIO_ACTIVE_LOW>;
> + interrupts-extended = <&tlmm 129 IRQ_TYPE_EDGE_FALLING>;

This double use seem valid. Either this is a gpio or an interrupt, it's
not both.
pw-bot: changes-requested

Thanks,
Conor.

Attachment: signature.asc
Description: PGP signature