Re: [PATCH] arm64: dts: qcom: talos-lyra-evk: Add CYPD6129 Type-C support

From: Konrad Dybcio

Date: Thu Oct 15 2026 - 09:29:36 EST


On 10/12/26 3:11 PM, Akash Kumar wrote:
> Add support for the Cypress CYPD6129 dual Type-C PD controller on the
> Talos Lyra EVK.

[...]

> + regulator-usb1-vbus {
> + compatible = "regulator-fixed";
> + regulator-name = "USB1_VBUS";
> + gpio = <&pm8150_gpios 10 GPIO_ACTIVE_HIGH>;
> + pinctrl-0 = <&usb1_en>;
> + pinctrl-names = "default";
> + enable-active-high;
> + regulator-always-on;
> + };
> +
> };

Stray \n

>
> &i2c5 {
> @@ -59,6 +73,68 @@ expander3: gpio@3c {
> #gpio-cells = <2>;
> gpio-controller;
> };
> +
> + typec@40 {
> + compatible = "cypress,cypd6129";
> + reg = <0x40>;
> + interrupt-parent = <&tlmm>;
> + interrupts = <86 IRQ_TYPE_LEVEL_LOW>;

interrupts-extended = <&tlmm 86 IRQ..>;

> + pinctrl-0 = <&usb0_intr_state>;
> + pinctrl-names = "default";
> + wakeup-source;
> +
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + status = "okay";

Nodes are enabled by deafult

> +
> + /*
> + * connector@0 is the USB0 Type-C port with SuperSpeed support,
> + * routed to usb_1. connector@1 is the USB1 Type-C port with
> + * USB 2.0 HS-only support, routed to usb_2.
> + */

We can read this from the of_graph below, please drop this comment

[...]

> &usb_1 {
> - dr_mode = "peripheral";
> + dr_mode = "otg";

This is the default

> + usb-role-switch;

This belongs in the SoC DTSI

[...]

> &usb_2 {
> - dr_mode = "host";
> + dr_mode = "otg";
> + usb-role-switch;
>
> status = "okay";
> +
> + port {
> + usb_2_dwc3_hs: endpoint {
> + remote-endpoint = <&ucsi_ccg_port_1_hs>;
> + };
> + };

Likewise

Konrad